Summary: | ASTERISK-24694: CLONE - Cant Register when extra data is added to Registers URI using PJSIP | ||||
Reporter: | Allen Ford (cyford33) | Labels: | |||
Date Opened: | 2015-01-15 16:22:13.000-0600 | Date Closed: | 2015-01-15 19:36:53.000-0600 | ||
Priority: | Blocker | Regression? | |||
Status: | Closed/Complete | Components: | pjproject/pjsip | ||
Versions: | 12.1.0 13.1.0 | Frequency of Occurrence | |||
Related Issues: |
| ||||
Environment: | centos 6.6 asterisk 13 freepbx 12 pjsips 2.2.1 | Attachments: | ( 0) pjsip-debug.txt ( 1) pjsip-trace.txt | ||
Description: | 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@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@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@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@76.122.73.37:40300;rinstance=4e9e15dba6b67bf4;X-PUSH-URI=if' from AOR '3003' by request {noformat} | ||||
Comments: | By: Matt Jordan (mjordan) 2015-01-15 19:38:16.759-0600 Don't clone issues. That makes a mess of the issue tracker and wastes bug marshal's time. That's not really very nice. I'll comment again on the original issue. |