[asterisk-bugs] [Asterisk 0017785]: Encoded URI in a subscription does not work

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 3 07:23:58 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17785 
====================================================================== 
Reported By:                ramonpeek
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17785
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.33.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-03 07:21 CDT
Last Modified:              2010-08-03 07:23 CDT
====================================================================== 
Summary:                    Encoded URI in a subscription does not work
Description: 
When a phone sends an encoded URI for an subscription the URI is not
matched with the actual hint that is in decoded format.
For example if I have an extension with a hint that is named:
"https://issues.asterisk.org/view.php?id=5601" or
"*5601".
The subscription will work fine if the phone subscribes with an already
decoded URI, but when its decoded like "%255601" or "%2A5601" asterisk is
unable to match it with the correct hint.

Note: In the setup the option pedantic checking was set to "yes".

====================================================================== 

---------------------------------------------------------------------- 
 (0125459) ramonpeek (reporter) - 2010-08-03 07:23
 https://issues.asterisk.org/view.php?id=17785#c125459 
---------------------------------------------------------------------- 
See the attached debug.txt to see what is happening.
Off course the hint for https://issues.asterisk.org/view.php?id=5601 is
existing:

pbx*CLI> show hints

    -= Registered Asterisk Dial Plan Hints =-
                    406 at subscriptions       : SIP/406              
State:Unavailable     Watchers  1
                    422 at subscriptions       : SIP/422              
State:Idle            Watchers  1
                    407 at subscriptions       : SIP/407              
State:Unavailable     Watchers  0
                    452 at subscriptions       : Custom:452-state     
State:Unavailable     Watchers  1
                    451 at subscriptions       : Custom:451-state     
State:Unavailable     Watchers  1
                  https://issues.asterisk.org/view.php?id=5601@subscriptions    
  : Custom:01-parkedcall 
State:Unavailable     Watchers  0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-03 07:23 ramonpeek      Note Added: 0125459                          
======================================================================




More information about the asterisk-bugs mailing list