[asterisk-bugs] [JIRA] (ASTERISK-24654) Cant Register when extra data is added to Registers URI using PJSIP

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Jan 2 12:43:34 CST 2015


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

Richard Mudgett edited comment on ASTERISK-24654 at 1/2/15 12:43 PM:
---------------------------------------------------------------------

Please attach log files as {{.txt}} files to the issue itself rather than linking them to a third party site.  Pastebin does not keep posts for very long.

Attach files using {{More --> Attach files}}


was (Author: rmudgett):
Please attach log files as {{.txt} files to the issue itself rather than linking them to a third party site.  Pastebin does not keep posts for very long.

Attach files using {{More --> Attach files}}

> Cant Register when extra data is added to Registers URI using PJSIP
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-24654
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24654
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 12.1.0, 13.1.0
>         Environment: centos 6.6
> asterisk 13
> freepbx 12
> pjsips 2.2.1
>            Reporter: Allen Ford
>
> when trying to get Push notifications to work  our soft phones on the mobile device  sends uri like the following:
> {noformat}
> '0.0.0.4:12345:3600:3003:sip:3003 at 192.168.111.34:48574,rinstance=1d02f625bec01f51,transport=UDP,X-PUSH-URI=http://s.notify.live.net/u/1/bn1/HmQAAABIJvDa7TlcHYdOD8P8GKw5K14l7MmE_eS_NeuMzo4h-AF32Y-pf_8Ux0XF24N5AIY1fV3InvnglTNyjJlFRByH/d2luZG93c3Bob25lZGVmYXVsdA/EW_BnIu3fUOH7FePoWYHNw/mdWiTaGBmvmq8Bc6a1kHWu41kJ4
> {noformat}
> If i disable push and remove extra uri headers it registers fine, Also registers fine with chan_sip.
> full debug log is here:  http://pastebin.com/raw.php?i=7e8Bm9Hi    (searching for X-PUSH-URI  would help see what i mean)
> After recompiling Pjsips to disable strict registration i am sometime able to register with {{0.0.0.4:12345:3600:3003:sip:3003 at 192.168.111.34:48574,rinstance=1d02f625bec01f51,transport=UDP,X-PUSH-URI}}  
> (somehow it cuts  the rest of the data off starting with =)
> but when it doesn't cut the data off i get errors like this
> {noformat}
> [2015-01-02 14:41:55] ERROR[9487]: res_pjsip_registrar.c:504 rx_task: Unable to bind contact 'sip:3003 at 76.122.73.37:40300;rinstance=4e9e15dba6b67bf4;X-PUSH-URI=▒94' to AOR '3003'
> [2015-01-02 14:41:55] WARNING[9487]: res_pjsip_pubsub.c:2858 pubsub_on_rx_publish_request: No registered publish handler for event presence
> [2015-01-02 14:41:55] WARNING[9487]: res_pjsip_pubsub.c:608 subscription_get_handler_from_rdata: No registered subscribe handler for event presence.winfo
>     -- Attempted to remove non-existent contact 'sip:3003 at 76.122.73.37:40300;rinstance=4e9e15dba6b67bf4;X-PUSH-URI=if' from AOR '3003' by request
> {noformat}



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



More information about the asterisk-bugs mailing list