[asterisk-users] Extensions.conf changed but not take effect
Warren Selby
wcselby at selbytech.com
Wed Mar 10 13:15:16 CST 2010
On Wed, Mar 10, 2010 at 3:38 AM, Zhang Shukun <bitzsk at gmail.com> wrote:
> [95040]
>
> exten => _95040XXXXX,1,Set(CALLINNUM=${CALLERID(dnid)})
> exten => _95040XXXXX,n(start),Answer
> exten => _95040XXXXX,n(welcome),Background(${welcomefile},,123)
> ...
>
> exten => i,1,Playback(invalid)
> exten => i,2,Goto(${CALLINNUM},welcome)
>
Try setting CALLINNUM to ${EXTEN}.
exten => _95040XXXXX,1,Set(CALLINNUM=${EXTEN}).
This way you'll capture whatever is matching the _95040XXXXX pattern,
instead of the value in the CALLERID(dnid).
--
Thanks,
--Warren Selby
http://www.selbytech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100310/47ba9562/attachment.htm
More information about the asterisk-users
mailing list