[Asterisk-Dev] escaping @ in extensions ?
    Tilghman Lesher 
    tilghman at mail.jeffandtilghman.com
       
    Wed May 25 09:12:25 MST 2005
    
    
  
On Wednesday 25 May 2005 04:08, Luigi Rizzo wrote:
> quick question - SIP "addresses" are of the type 'foo at some.address',
> but the @ is also used in asterisk to separate extension and context.
>
> Do you expect any ill side effect if we use \@ to allow @ in
> 'extensions' ?
There's no need.  You have only 3 possible syntaxes.  Just parse your
arguments right to left, and you'll get the right syntax:
SIP/address
SIP/foo at address
SIP/foo at context@address
-- 
Tilghman
    
    
More information about the asterisk-dev
mailing list