bertrand.lupart at lin... Guest
|
Posted: Wed Aug 17, 2016 11:25 am Post subject: [asterisk-users] SIP client open URL upon answer (was : Re: |
|
|
Hello,
Quote: | 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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|