[asterisk-bugs] [JIRA] (ASTERISK-23539) Crash when attempting to dial from a PJSIP endpoint
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Mon Apr 21 15:45:19 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217476#comment-217476 ]
Rusty Newton commented on ASTERISK-23539:
-----------------------------------------
[~daninmadison] , I've used your exact configs as provided and cannot reproduce the issue.
I talked with Mark Michelson, who reviewed the backtrace and stated that this crash shouldn't have anything to do with the packets the phones are sending Asterisk.
Therefore the likely culprit is a bad/older/different installation of pjrproject on the system. Had you installed pjproject before you used our fork from git?
You may want to try uninstalling pjproject and after that, verifying there are no pjproject libraries existing on the system (verify the uninstallation was clean and that another version does not remain). There are [some instructions at this link|https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject?src=search#BuildingandInstallingpjproject-UninstallingaPreviousVersionofpjproject].
After that.. reinstall, you might even recompile Asterisk, and try again.
When you recompile Asterisk, be sure you have BETTER_BACKTRACES and DONT_OPTIMIZE set in Compiler Flags so that you can get a good backtrace in the case of another crash.
If the issue reoccurs, we will probably want more debug, following these instructions: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information . Be sure that the debug and verbose messages are present in the log, as I didn't see either in your current log. Plus a packet capture along with that. That is an actual pcap.
> Crash when attempting to dial from a PJSIP endpoint
> ---------------------------------------------------
>
> Key: ASTERISK-23539
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23539
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip
> Affects Versions: 12.1.1
> Environment: Debian GNU/Linux 7.4 (wheezy)
> Reporter: Dan Cropp
> Assignee: Rusty Newton
> Severity: Critical
> Attachments: backtrace.txt, configs.txt, debug.txt
>
>
> I am trying to make PJSIP work with my Cisco SPA504G phone. I have no problems making it work with the chan_sip driver.
> When I configure my phone, it indicates the contact was added
> -- Added contact 'sip:7001 at 192.168.9.142:5063' to AOR '7001' with expiration of 3600 seconds
> Phone shows green light for the line.
> I then attempt to dial extension 1 and Asterisk crashes. I’m not seeing anything in the messages log.
> I’m sure I’m doing something wrong, just not sure where to look or how to track down the problem.
> Can anyone offer some hints?
> [edit by Rusty - removed inline configs as per issue guidelines]
> [edit by Rusty - removed inline debug as per issue guidelines]
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list