asterisk behind nat

Home » Asterisk Users » asterisk behind nat
Asterisk Users 1 Comment

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

One thought on - asterisk behind nat

  • Den 02-03-2011 16:12, Jeremy Kister skrev:
    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
    Call-ID: 13bca406eacc2ef8@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: ^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