วิธีทำให้ Asterisk ติดต่อกับภายนอกทาง SIP Trunk
โพสต์แล้ว: 16 ธ.ค. 2009 00:08
วิธีทำให้ Asterisk ติดต่อกับภายนอกทาง SIP Trunk
Issabel, VoIP, FreePBX, CentOS, IPPBX, IPPhone, Asterisk, Elastix, Elastix MT, GSM VoIP, GSM VoIP Gateway, OpenSIPS, SIP, H.323, Gateway, Softphone, Calling Card, Callback, A2Billing, VPS, VOS3000, VoipSwitch, FreePBX, 3CX Phone System and More...
http://voip4share.com/
http://www.voip4share.com/asterisk-sip-server-f12/topic52.html
[general]
register => USERID:PW@203.113.125.82/USERID
[totnetcall]
username=USERID
type=friend
fromuser=USERID
realm=10.10.2.50
secret=PW
host=203.113.125.82
outboundproxy=203.113.125.82
fromdomain=203.113.125.82
insecure=invite,port
canreinvite=no
dtmfmode=rfc2833
call-limit=1
allow=g729
allow=alaw
allow=ulaw
nat=yes
[default]
exten => _9.,1,Dial(SIP/${EXTEN:1}@totnetcall,45,r)
[Feb 27 06:54:07] NOTICE[7016]: rtp.c:1130 process_rfc3389: Comfort noise support incomplete in Asterisk (RFC 3389). Please turn off on client if possible. Client IP: 203.113.125.82
-- SIP/totnetcall-00000015 answered SIP/100-00000014
-- Packet2Packet bridging SIP/100-00000014 and SIP/totnetcall-00000015
== Spawn extension (from-internal, 9081443xxxx, 1) exited non-zero on 'SIP/100-00000014'
0.000000 192.168.1.5 -> 203.113.125.82 SIP/SDP Request: INVITE sip:081443xxxx@203.113.125.82, with session description
0.052307 203.113.125.82 -> 192.168.1.5 SIP Status: 100 Trying
3.493114 203.113.125.82 -> 192.168.1.5 SIP/SDP Status: 183 Session Progress, with session description
20.192113 203.113.125.82 -> 192.168.1.5 SIP/SDP Status: 200 OK, with session description
20.192848 192.168.1.5 -> 203.113.125.82 SIP Request: ACK sip:081443xxxx@203.113.125.82:5060;transport=udp
33.607236 192.168.1.5 -> 203.113.125.82 SIP Request: REGISTER sip:203.113.125.82
33.653543 203.113.125.82 -> 192.168.1.5 SIP Status: 401 Unauthorized (0 bindings)
33.654054 192.168.1.5 -> 203.113.125.82 SIP Request: REGISTER sip:203.113.125.82
33.729102 203.113.125.82 -> 192.168.1.5 SIP Status: 200 OK (1 bindings)
50.886072 192.168.1.5 -> 203.113.125.82 SIP Request: BYE sip:081443xxxx@203.113.125.82:5060;transport=udp
50.939948 203.113.125.82 -> 192.168.1.5 SIP Status: 200 OK
33.653543 203.113.125.82 -> 192.168.1.5 SIP Status: 401 Unauthorized (0 bindings)