[asterisk-bugs] [Asterisk 0018489]: Problems with Escaping Characters on SIP Calls in Dial() and Transfer() Applications

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 16 18:21:56 UTC 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18489 
====================================================================== 
Reported By:                John4Asterisk
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18489
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.0 
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-12-16 12:21 CST
Last Modified:              2010-12-16 12:21 CST
====================================================================== 
Summary:                    Problems with Escaping Characters on SIP Calls in
Dial() and Transfer() Applications
Description: 
There is an inability to escape characters and send certain characters in
Dial() and Transfer().

Specifically:

(1) Using Transfer(), Semicolons cannot be sent without using a backslash
to escape them. If you send the semicolon without a preceding backslash,
the Transfer() application ignores anything to the right of the semicolon
as if you are desiginating a comment to be ignored in execution.  

The problem is that when using a backslash to send a semicolon or other 
character, the Transfer() application embeds the backslash in the SIP
dialog.  

(2) In both the Dial() and Transfer() applications, you can no longer
embed a % to create an escaped character in the SIP dialog.  (This seemed
to work in Asterisk 1.6)  Asterisk converts the % to %25 in the SIP dialog.
 So, there is no way to escape other characters in a SIP dialog.  My tests
show that ncluding a preceding backslash does not prevent the conversion of
the % to %25 in the SIP dialog.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-16 12:21 John4Asterisk  New Issue                                    
2010-12-16 12:21 John4Asterisk  Asterisk Version          => 1.8.0           
2010-12-16 12:21 John4Asterisk  Regression                => No              
2010-12-16 12:21 John4Asterisk  SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list