How to change alphabet ANI to Numaric ANI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



your roles wont accept abcd in CALLERID(num)

On Mon, Jul 26, 2010 at 1:32 PM, Ahmad <linuxgurus at gmail.com> wrote:
> we want to append in start four digits with every incoming number and we
> want to display only four digits on those calls whose comes with alphabets.
> We set the following rules
>
> exten => _X!,1,Set(CALLERID(num)=1666${CALLERID(num)})
> exten => _X!,1,GotoIf($["${CALLERID(num)}" = "Unknown"]?changeCLI)
> exten => _X!,s(changeCLI),Set(CALLERID(num)=1666)
>
> these rules works fine for numeric cli but if we get abcd in cli then calls
> goes with ?1666abcd? and our carrier rejected that call because they only
> accept numeric cli. We just want to send 1666 instead of 1666abcd.
>
> thanks in advance and your prompt reply will be highly appreciated.
>
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> ? http://lists.digium.com/mailman/listinfo/asterisk-ss7
>



[Index of Archives]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Backpacking]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]     [Asterisk Books]

  Powered by Linux