[cisco-voip] TCL script to parse *ANI*DNIS*

Teodor Georgiev tgeorgiev at is-bg.net
Mon Jan 2 06:14:27 EST 2006


Yes, it is possible.

you should use the "set ani" and "set dnis" commands. In example, configure
in the incoming TCL to set both the ANI and DNIS
to the "ANI" number. Then configure an outgoing sed-style translation to the
CCM to strip the "*" and the second part from the ANI
and to the "*" and first part from the DNIS. Should work, in theory <grin>

----- Original Message -----
From: "Patrick Mowry" <pmowry at getgds.com>
To: <cisco-voip at puck.nether.net>
Sent: Wednesday, December 28, 2005 7:18 PM
Subject: [cisco-voip] TCL script to parse *ANI*DNIS*


> Hello,
>  I have a carrier providing a T1 E&M-II wink start trunk to a Fujitsu
> F9600.  They provide caller-id information by formatting the digits send
> as *ANI*DNIS.  If I configure the controller as:
> ds0-group 1 timeslots 1-24 type e&m-wink-start dnis
>
> I can place outbound calls, but for inbound calls I'll see a number like
> *3375551212*3600* , and this of course would not match anything my
> dail-peers or CallManager expects.  Can a TCL script be used to break
> this number up and pass the caller-id and DID to CallManager?  The IOS
> is 12.4T AdvancedIP Services, and CCM 4.1.3sr2
>
> Thanks,
>
> -Patrick
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip



More information about the cisco-voip mailing list