[asterisk-bugs] [JIRA] (ASTERISK-26776) res_pjsip_pubsub: Asterisk crash using Cisco 7962 on PJSIP when typing previously dialed number on phone

Andrew Green (JIRA) noreply at issues.asterisk.org
Fri Feb 10 09:57:10 CST 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235143#comment-235143 ] 

Andrew Green commented on ASTERISK-26776:
-----------------------------------------

1. The specific steps or actions you took that caused you to encounter the problem.
Set up extension using chan_pjsip for Cisco 7962 phone (let me know if you need the PJSIP configs or other console output). Created XML config as attached to allow phone to connect to Asterisk server. Note I am using the Cisco phone behind a NAT and incoming calls work fine, and outgoing calls if you engage the line first.
2. The behavior you expected and the location of documentation that led you to that expectation.
Asterisk stay running and respond to the phone with a correct XML SIP SUBSCRIBE response.
3. The behavior you actually encountered.
Asterisk crash and subsequent restart (through safe_asterisk) and phone reboot due to lost registration. Somehow it also looks like the PJSIP modules stored the failed SIP SUBSCRIBE and would not start without crashing, I've attached those logs as well. I worked around the crashes by removing res_pjsip_xpidf_body_generator.so from Asterisk's loaded modules to prevent an attempted response to the SUBSCRIBE message.

> res_pjsip_pubsub: Asterisk crash using Cisco 7962 on PJSIP when typing previously dialed number on phone
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-26776
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26776
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_pubsub
>    Affects Versions: 13.13.1
>         Environment: FreePBX 13 SHMZ release 6.6 (Final)
> Linux freepbx 2.6.32-504.8.1.el6.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> Cisco 7962 using firmware SIP42.9-4-2SR2-2S
>            Reporter: Andrew Green
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: asterisk console and pjsip log.txt, Asterisk crash on start.txt, backtrace.core.1757 crash on start.txt, backtrace.core.29832.txt, dialplan.xml, SEPmachere.cnf.xml, softkeys.xml, XMLDefault.cnf.xml
>
>
> Asterisk crashes randomly when using chan_pjsip and Cisco 7962 phones. This is the first repeatable bug I found, the other crashes happened when the phone would attempt registration and do not happen after upgrading from 13.12 to 13.13.1. I have not tried other phone firmware versions but I can upon request. Server backtrace is attached.
> Actions to reproduce:
> -Register Cisco 7962 to chan_pjsip using TCP transport (see attached XML config files)
> -Dial an internal three digit extension, call completes correctly
> -After call try typing extension number again and Asterisk will crash and phone will reset indicating lost registration with SIP server. 
> Note: On my phone external numbers do not cause this issue



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



More information about the asterisk-bugs mailing list