[asterisk-bugs] [JIRA] (ASTERISK-23539) Crash when attempting to dial from a PJSIP endpoint

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Apr 3 19:02:18 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-23539:
------------------------------------

    Description: 
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]

  was:
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?

---------------------
pjsip.conf
---------------------

[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0

[7001]
type=endpoint
transport=transport-udp
context=IS
disallow=all
allow=ulaw
auth=7001
aors=7001

[7001]
type=aor
max_contacts=1
contact=sip:7001 at 192.168.9.142:5063    ; Line 4 on my phone is setup for port 5063. 
                                                                   ; I have also tried without this setting and am seeing the exact same scenario

[7001]
type=auth
auth_type=userpass
password=1234
username=7001

---------------------
extensions.conf
---------------------
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no

[globals]
CONSOLE=Console/dsp                             ; Console interface for demo
IAXINFO=guest                                   ; IAXtel username/password
TRUNK=DAHDI/G2                                  ; Trunk interface
TRUNKMSD=1                   

[IS]
exten => 1,1,Verbose(1,Unrouted call handler)
exten => 1,n,Answer()
exten => 1,n,Wait(1)
exten => 1,n,Playback(tt-weasels)
exten => 1,n,Hangup()

[edit by Rusty - removed inline debug as per issue guidelines]



> 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
>            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