[Asterisk-Users] Channel name (and substring)
Vyom A
vyom2k4 at yahoo.com
Thu Mar 17 22:17:39 MST 2005
I too have a doubt regarding the variables:
currently, to forward a call to a SIP proxy, I use
exten => _0.,1,Dial(SIP/${EXTEN:1}@sipproxy)
where 'sipproxy' is defined as a peer in sip.conf. Using this, I can only
use the 'name' part of the URI as anything after @ is removed.
But how can I retain the 'domain' part and still forward the calls to the
proxy?.
i.e. I have to send the whole string ${EXTEN:1}@${SIPDOMAIN} to
the peer sipproxy. Can this be done?
---------------------------------
Do you Yahoo!?
Make Yahoo! your home page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050317/bc89c4db/attachment.htm
More information about the asterisk-users
mailing list