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

Allen Ford (JIRA) noreply at issues.asterisk.org
Thu Jan 15 16:11:34 CST 2015


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

Allen Ford commented on ASTERISK-24654:
---------------------------------------

I think this was closed Prematurely ...  I am not asking asterisk to do anything special with it other than not cut it off.   It works with Sip_Chan,    it it is used for Push Notifications on mobile phones...  It is not my custom url it is what sip clients on mobile phones are using now.
  keeping this from getting cut off is making PJSIP channel not support WP 8.1  and maybe any other push notifications as well out there

Also the second logs uploaded today  pjsip set logger was not turned off before registration,  actually i reregisted many times in that debug file..  like 10 or more times

> 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
>            Assignee: Allen Ford
>         Attachments: pjsip-debug.txt, pjsip-trace.txt
>
>
> 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 
> {noformat}
> 0.0.0.4:12345:3600:3003:sip:3003 at 192.168.111.34:48574,rinstance=1d02f625bec01f51,transport=UDP,X-PUSH-URI
> {noformat}
> (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