[asterisk-bugs] [JIRA] (ASTERISK-26491) After public ip address change pjsip does not accept OK from provider

Daniel Heckl (JIRA) noreply at issues.asterisk.org
Fri Oct 21 06:14:01 CDT 2016


Daniel Heckl created ASTERISK-26491:
---------------------------------------

             Summary: After public ip address change pjsip does not accept OK from provider
                 Key: ASTERISK-26491
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26491
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 13.11.2
            Reporter: Daniel Heckl
            Severity: Critical
         Attachments: log.txt

Our Asterisk is behind an NAT and has an public ip. Sometimes our public ip address changes. Asterisk sends an REGISTER all 480 seconds.

If our public ip address changes and Asterisk sends an re-REGISTER, our provider sends an OK. But asterisk does not realize it. Instead asterisk sends multiple times a new REGISTER and gets always an OK. After some time it logs "res_pjsip_outbound_registration.c:761 schedule_retry: No response received". Why!? Asterisk received multiple times an OK!

After some wait time it retries again, gets an 403 Forbidden from our provider and permanently stops outbound registration.

Chan_sip handle properly this situation.

Attached a log from the communication between asterisk and tel.t-online.de.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list