Re: [asterisk-users] Question on AEL2 string comparisons

2013-07-04 Thread Satish Barot
On Thu, Jul 4, 2013 at 12:24 AM, James B. Byrne byrn...@harte-lyne.cawrote: I have this code in a dial plan: exten = _417XX,n,GotoIf($[${CALLERID(num)} SIP/41799]?notfromlocal) exten = _417XX,n,GotoIf($[${CALLERID(num)} SIP/41700]?notfromlocal) The value of ${CALLERID(num)} appears to

Re: [asterisk-users] Question on AEL2 string comparisons

2013-07-04 Thread James B. Byrne
On Thu, July 4, 2013 02:14, Satish Barot wrote: ${CALLERID(num)} should give you only number and not technology i.e. 41712. Give this a shot, exten = _417XX,n,Noop(CALLERIDNUM=${CALLERID(num)}) exten = _417XX,n,GotoIf($[$[${CALLERID(num)} 41799] | $[${CALLERID(num)}