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)}" < "41700"]]?notfromlocal:)
>
> --Satish Barot
> Ahmedabad, India
>

That works.  Thank you.
-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to