by jojo1031 » Tue Oct 13, 2009 12:13 am
It shows nothing on the cli and a promt "the person you are calling is unavailble" will be heard over the phone. When I tried to manually add the DID in the extensions.conf, everything is Ok.
Below is the cli output with sip debug enabled:
<-- SIP read from 119.111.121.7:33638:
INVITE sip:8005555555@202.57.38.98 SIP/2.0
Via: SIP/2.0/UDP 192.168.100.88:33638;branch=z9hG4bK-d87543-393aeb3354213d7d-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:802@119.111.121.7:33638>
To: "8005555555"<sip:8005555555@202.57.38.98>
From: "802"<sip:802@202.57.38.98>;tag=695f5761
Call-ID: MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: eyeBeam release 1004p stamp 31962
Content-Length: 449
v=0
o=- 7 2 IN IP4 192.168.100.88
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.100.88
t=0 0
m=audio 23568 RTP/AVP 107 100 106 6 0 105 18 3 5 101
a=alt:1 1 : u3ayO06n fmtMDMcb 192.168.100.88 23568
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=x-rtp-session-id:E880E7873AB049FA8D0D15A2A1903917
--- (12 headers 16 lines) ---
Using INVITE request as basis request - MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.
Sending to 192.168.100.88 : 33638 (NAT)
Reliably Transmitting (NAT) to 119.111.121.7:33638:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.100.88:33638;branch=z9hG4bK-d87543-393aeb3354213d7d-1--d87543-;received=119.111.121.7;rport=33638
From: "802"<sip:802@202.57.38.98>;tag=695f5761
To: "8005555555"<sip:8005555555@202.57.38.98>;tag=as287f72c2
Call-ID: MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="0e4e7219"
Content-Length: 0
---
Scheduling destruction of call 'MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.' in 15000 ms
Found user '802'
vicidial*CLI>
<-- SIP read from 119.111.121.7:33638:
ACK sip:8005555555@202.57.38.98 SIP/2.0
Via: SIP/2.0/UDP 192.168.100.88:33638;branch=z9hG4bK-d87543-393aeb3354213d7d-1--d87543-;rport
To: "8005555555"<sip:8005555555@202.57.38.98>;tag=as287f72c2
From: "802"<sip:802@202.57.38.98>;tag=695f5761
Call-ID: MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.
CSeq: 1 ACK
Content-Length: 0
--- (7 headers 0 lines) ---
vicidial*CLI>
<-- SIP read from 119.111.121.7:33638:
INVITE sip:8005555555@202.57.38.98 SIP/2.0
Via: SIP/2.0/UDP 192.168.100.88:33638;branch=z9hG4bK-d87543-a0401c2727440869-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:802@119.111.121.7:33638>
To: "8005555555"<sip:8005555555@202.57.38.98>
From: "802"<sip:802@202.57.38.98>;tag=695f5761
Call-ID: MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
Proxy-Authorization: Digest username="802",realm="asterisk",nonce="0e4e7219",uri="sip:8005555555@202.57.38.98",response="cf2cc136c2ffa0be3a0148661953e968",algorithm=MD5
User-Agent: eyeBeam release 1004p stamp 31962
Content-Length: 449
v=0
o=- 7 2 IN IP4 192.168.100.88
s=CounterPath eyeBeam 1.5
c=IN IP4 192.168.100.88
t=0 0
m=audio 23568 RTP/AVP 107 100 106 6 0 105 18 3 5 101
a=alt:1 1 : u3ayO06n fmtMDMcb 192.168.100.88 23568
a=fmtp:18 annexb=no
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=x-rtp-session-id:E880E7873AB049FA8D0D15A2A1903917
--- (13 headers 16 lines) ---
Using INVITE request as basis request - MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.
Sending to 192.168.100.88 : 33638 (NAT)
Found user '802'
Found RTP audio format 107
Found RTP audio format 100
Found RTP audio format 106
Found RTP audio format 6
Found RTP audio format 0
Found RTP audio format 105
Found RTP audio format 18
Found RTP audio format 3
Found RTP audio format 5
Found RTP audio format 101
Peer audio RTP is at port 192.168.100.88:23568
Found description format BV32
Found description format SPEEX
Found description format SPEEX-FEC
Found description format SPEEX-FEC
Found description format telephone-event
Capabilities: us - 0x100 (g729), peer - audio=0x326 (gsm|ulaw|adpcm|g729|speex)/video=0x0 (nothing), combined - 0x100 (g729)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Looking for 8005555555 in default (domain 202.57.38.98)
Reliably Transmitting (NAT) to 119.111.121.7:33638:
SIP/2.0 484 Address Incomplete
Via: SIP/2.0/UDP 192.168.100.88:33638;branch=z9hG4bK-d87543-a0401c2727440869-1--d87543-;received=119.111.121.7;rport=33638
From: "802"<sip:802@202.57.38.98>;tag=695f5761
To: "8005555555"<sip:8005555555@202.57.38.98>;tag=as287f72c2
Call-ID: MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
---
vicidial*CLI>
<-- SIP read from 119.111.121.7:33638:
ACK sip:8005555555@202.57.38.98 SIP/2.0
Via: SIP/2.0/UDP 192.168.100.88:33638;branch=z9hG4bK-d87543-a0401c2727440869-1--d87543-;rport
To: "8005555555"<sip:8005555555@202.57.38.98>;tag=as287f72c2
From: "802"<sip:802@202.57.38.98>;tag=695f5761
Call-ID: MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.
CSeq: 2 ACK
Content-Length: 0
--- (7 headers 0 lines) ---
Destroying call 'MWU0ZTYyMDZlMjRkNWJjMDIzYTY4ZTIwMjFjMDI4NzU.'
vicidial*CLI>
<-- SIP read from 119.111.121.7:33638:
--- (0 headers 1 lines) ---
vicidial*CLI>
<-- SIP read from 119.111.121.7:33638: