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)}"
On Thu, Jul 4, 2013 at 12:24 AM, James B. Byrne wrote:
> 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 b
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 be "SIP/41712-0181"
-- Executing [41720@from-internal:5] GotoI