, Asterisk , VoIP . , SIP- Youmagic (MTT) Asterisk 13.7.1 FreePBX 13.


SIP - FreePBX

, , : Connectivity -> Trunks. :

 SIP    Youmagic

Add Trunk. , Add SIP (chan_sip) Trunk

, Caller ID, , ͒.

 Asterisk   ( Youmagic)

, sip Settings Outgoing Incoming, ,

Outgoing :

type=friend
defaultuser=74957775566
secret=_
host=voip.mtt.ru
dtmfmode=rfc2833
disallow=all
allow=alaw&ulaw&g729
canreinvite=no
insecure=port,invite
qualify=200

secret - , , defaultuser - , host -

 Outgoing SIP

Incoming, Register String, :

defaultuser:_@host/defaultuser
,      , 
74957775566:_@voip.mtt.ru/74957775566
 Register String  Youmagic

Submit Apply Config


(Youmagic)

, . Connectivity -> Inbound Routes, Add Inbound Route. - , DID Number , (Youmagic). Set Destination , , . : IVR, , - . , IVR.

  FreePBX  (Youmagic)
(Youmagic)

. Connectivity -> Outbound Routes, Add Outbound Route. , Trunk Sequence for Matched Routes

  Asterisk  (Youmagic)

Dial Patterns ,

  Asterisk  (Youmagic)

Submit Apply Config. , , Youmagic ()

:


Asterisk, sip.conf, :

[general]
register => 74957775566:_@voip.mtt.ru/74957775566
[youmagic]
type=friend
dtmfmode=rfc2833
host= voip.mtt.ru
disallow=all
allow=g729
directmedia=no
insecure=port,invite
qualify=no

extensions.conf, :

[youmagic]
exten => _8XXXXXXXXXX,1,Dial(SIP/youmagic/${EXTEN})
exten => _8XXXXXXXXXX,n,Hangup

[from-youmagic]
exten => _4957775566,1,Dial (SIP/trunk/${EXTEN})
exten => _4957775566,n,HangUp()

?

 .

P.S. , :)

"",