Re: Asterisk + Синтерра
С исходящими беда, вот дебаг:
Audio is at 10.105.66.10 port 16044
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 10.101.64.25:5060:
INVITE sip:73422401717@10.101.64.25:5060 SIP/2.0
Via: SIP/2.0/UDP 10.105.66.10:5060;branch=z9hG4bK26504df8;rport
Max-Forwards: 70
From: "Test" <sip:73422017755@10.101.64.25>;tag=as4f75596c
To: <sip:73422401717@10.101.64.25:5060>
Contact: <sip:73422017755@10.105.66.10>
Call-ID: 4983ec42200b47dc43f2addf6957b098@10.101.64.25
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.0.22-samy-r60
Date: Tue, 08 Jun 2010 14:50:11 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 271
v=0
o=root 634150696 634150696 IN IP4 10.105.66.10
s=Asterisk PBX 1.6.0.22-samy-r60
c=IN IP4 10.105.66.10
t=0 0
m=audio 16044 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
---
-- Called Synterra55/73422401717
<--- SIP read from UDP://10.101.64.25:5060 --->
SIP/2.0 100 Trying
From: "Test" <sip:73422017755@10.101.64.25>;tag=as4f75596c
To: <sip:73422401717@10.101.64.25:5060>
Call-ID: 4983ec42200b47dc43f2addf6957b098@10.101.64.25
CSeq: 102 INVITE
Via: SIP/2.0/UDP 10.105.66.10:5060;branch=z9hG4bK26504df8;rport=5060
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
<--- SIP read from UDP://10.101.64.25:5060 --->
SIP/2.0 404 Not Found
From: "Test" <sip:73422017755@10.101.64.25>;tag=as4f75596c
To: <sip:73422401717@10.101.64.25:5060>;tag=1940650a-13c4-4c0e2067-caa56c0c-3f343ac2
Call-ID: 4983ec42200b47dc43f2addf6957b098@10.101.64.25
CSeq: 102 INVITE
Via: SIP/2.0/UDP 10.105.66.10:5060;branch=z9hG4bK26504df8;rport=5060
Content-Length: 0
<------------->
--- (7 headers 0 lines) ---
Transmitting (NAT) to 10.101.64.25:5060:
ACK sip:73422401717@10.101.64.25:5060 SIP/2.0
Via: SIP/2.0/UDP 10.105.66.10:5060;branch=z9hG4bK26504df8;rport
Max-Forwards: 70
From: "Test" <sip:73422017755@10.101.64.25>;tag=as4f75596c
To: <sip:73422401717@10.101.64.25:5060>;tag=1940650a-13c4-4c0e2067-caa56c0c-3f343ac2
Contact: <sip:73422017755@10.105.66.10>
Call-ID: 4983ec42200b47dc43f2addf6957b098@10.101.64.25
CSeq: 102 ACK
User-Agent: Asterisk PBX 1.6.0.22-samy-r60
Content-Length: 0
Упирается в 404 ошибку. телефон стоит на 192.168.137.59. требование оператора это набор намера в Е164, 11 знаков, так и набираю. Оператор отбивает или у меня с логикой напутано?
|