[asterisk-users] asterisk behind nat

Leif Neland leifn at neland.dk
Thu Mar 3 17:42:08 CST 2011


Den 02-03-2011 16:12, Jeremy Kister skrev:
> On 3/2/2011 9:46 AM, Leif Neland wrote:
>> Some of the phones are being disconnected with Asterisk saying "no reply
>> to critical packet"
>
> What kind of phones are they?  I might have nothing to do with your 
> network configuration;  try adding to sip.conf [general]:
>
> session-timers=refuse
>
Did no change.

A Budgetone 200 always gets disconnected, appearently not answering this:
Retransmitting #5 (no NAT) to 192.168.5.140:5060:
SIP/2.0 200 OK^M
Via: SIP/2.0/UDP 
192.168.5.140:5060;branch=z9hG4bK9fd529935f5b4f0e;received=192.168.5.140^M
From: "Merethe Neland" <sip:merethe at arnold.neland.dk>;tag=9c97c540dba5aceb^M
To: <sip:6000 at arnold.neland.dk>;tag=as4d2cf5b3^M
Call-ID: 13bca406eacc2ef8 at 192.168.5.140^M
CSeq: 5145 INVITE^M
Server: Asterisk PBX 1.8.2.4^M
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, 
INFO, PUBLISH^M
Supported: replaces^M
Contact: <sip:6000 at 94.18.45.10:5060>^M
Content-Type: application/sdp^M
Content-Length: 204^M
^M
v=0^M
o=root 1348141594 1348141594 IN IP4 94.18.45.10^M
s=Asterisk PBX 1.8.2.4^M
c=IN IP4 94.18.45.10^M
t=0 0^M
m=audio 14144 RTP/AVP 3^M
a=rtpmap:3 GSM/8000^M
a=silenceSupp:off - - - -^M
a=ptime:20^M
a=sendrecv^M

It is a call from phone 192.168.5.140 to echotest (6000 on 94.18.45.10)
The intro from echotest is heard until asterisk disconnects.

On a Budgetone 100, it works,
getting this line on the console -- Locally bridging SIP/9-00000006 and 
SIP/musimi-00000007




More information about the asterisk-users mailing list