[asterisk-users] Adding ;password=foo;method=bar to SIP uri

Johansson Olle E oej at edvina.net
Thu Jun 19 04:40:33 CDT 2008


19 jun 2008 kl. 00.34 skrev Tom Browning:

>
> To send calls into a custom SER implementation, I need to be able to  
> add some items to the URI that Asterisk will then send as part of  
> the INVITE
>
>
> Asterisk dial   SIP/xyz at abc.com
>
> needs to become
>
> Asterisk dial SIP/xyz at abc.com;password=foo;method=bar
>
> This is not a registration password.  It is a passsword associated  
> with the destination xyz at location abc.com
>
> Asterisk 1.4.18.1 seems to glue the data as part of the hostname and  
> fail to lookup abc.com
>
> Is there a way to manipulate the URI that will be sent in the INVITE  
> to accomplish this?

 From doc/channelvariables.txt

${SIP_URI_OPTIONS}      * additional options to add to the URI for an  
outgoing call

/Olle :-)


---
* Olle E. Johansson - oej at edvina.net
* Asterisk Training http://edvina.net/training/






More information about the asterisk-users mailing list