[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
Fri Jan 2 08:55:34 CST 2015


Allen Ford created ASTERISK-24654:
-------------------------------------

             Summary: 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: 13.1.0, 12.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:
'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

If i disable push and remove extra uri headers it registers fine, 
full debug log is here:  http://pastebin.com/raw.php?i=7e8Bm9Hi

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

[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







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



More information about the asterisk-bugs mailing list