[asterisk-users] Accessing SIP URI (not ${SIPURI})
Olle E Johansson
oej at edvina.net
Fri Aug 18 00:33:57 MST 2006
17 aug 2006 kl. 22.03 skrev kjcsb:
> How to I access the URI from an Invite:
>
> INVITE sip:5556678 at 60.234.111.222
>
> I want to set a variable to equal 5556678. The variable ${SIPURI}
> returns the From URI.
>
The extension processed in the dialplan is the userinfo part of the
URI - the part before
the @ sign.
The domain part is to be found in the SIPDOMAIN channel variable.
/Olle
---
* Asterisk at von - Asterisk seminars at Voice On The net Fall, Boston,
Sept 11-14
* See http://www.pulver.com/asterisk/
More information about the asterisk-users
mailing list