[Asterisk-Users] Extra parameters in SIP URIs
Skuse, Phil
Phil.Skuse at vicorp.com
Wed Jun 18 09:32:30 MST 2003
Yes. I wrote a patch for this so that I could use * with our Snowshore A1.
The patch has been included in asterisk.
In my case I needed to send to
sip:606 at 192.168.0.1;voicexml=http://192.168.0.2/snowshore/test.vxml
Here is the relevant part of extensions.conf
exten =>
606,1,Setvar,VXML_URL=voicexml=http%3A%2F%2F192.168.0.2%2Fsnowshore%2Ftest.v
xml
exten => 606,2,Dial,sip/192.168.0.1
The variable VXML_URL should probably be renamed URI_PARAM or something more
generic.
-----Original Message-----
From: Cerrajetto [mailto:cerrajetto at pyme.net]
Sent: 18 June 2003 16:46
To: Asterisk Users
Subject: [Asterisk-Users] Extra parameters in SIP URIs
Hello,
I've seen that Nuance SIP audio provider supports additional information
(parameters and extra headers) in SIP URIs, using the format:
sip:user:password at host:port;uri-param1;uri-param2?header1&header2
For example,
sip:1234 at myserver.com;extra_header=Uui?Uui=Hello
Does Asterisk support this format?
Is there a way to retrieve the value of these additional headers, and then
decide the action (Dial, Playback, etc.) as desired? (I'm thinking in an "if
... then ... elsif ... else ...").
Thanks,
Cerrajetto
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list