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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 20 15:22:59 UTC 2010


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18489 
====================================================================== 
Reported By:                John4Asterisk
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18489
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
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-20 09:18 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-20 09:18 lmadsen        Description Updated                          
2010-12-20 09:18 lmadsen        Additional Information Updated                  
 
======================================================================




More information about the asterisk-bugs mailing list