[asterisk-users] SIP client open URL upon answer (was : Re: SIP client able to handle Access-URL: header)

Bertrand LUPART - Linkeo.com bertrand.lupart at linkeo.com
Wed Aug 17 11:25:03 CDT 2016


Hello,


> I'm playing with the optional URL parameter of the Dial() command, which "will also be sent to the called party upon successful connection, if the channel technology supports the sending of URLs in this way."[1]
> 
> Basically, the following asterisk dialplan directive :
> 
> - - 8< - - 8< - - 8< - -
> same => n,Dial(SIP/1234,30,tr,http://www.example.com/)
> - - >8 - - >8 - - >8 - -
> 
> Will generate the following SIP header in the INVITE request :
> 
> - - 8< - - 8< - - 8< - -
> Access-URL: <http://www.example.com/)>;mode=active
> - - >8 - - >8 - - >8 - -
> 
> Does anyone know about a SIP client able to handle this header ? I'd expect it to automatically open this webpage.

Self-answering after some research on this topic.

Seems like "Access-URL" isn't an official SIP header :
http://www.iana.org/assignments/sip-parameters/sip-parameters.xhtml#sip-parameters-2

This Dial() optional URL parameter looks like the same beast than SendURL() added nearly 10 years ago in asterisk SIP stack :
https://github.com/asterisk/asterisk/commit/04e45cfda35bd3cb4e508aad9286b5deb99ccf56

Is anyone aware of a SIP client which would open an URL sent by asterisk?


Thank you,

-- 
Bertrand LUPART



More information about the asterisk-users mailing list