[cisco-voip] Tcl Script DNIS

Witold Bulak witekbulak at gmail.com
Tue Mar 8 07:50:09 EST 2011


OK, I made some changes and now script is attached as outbound
application, so I got the DNIS with [infotag get evt_handoff dnis]
command but I can't make the call active, I was using

leg setup $DestinationNumber callInfo leg_incoming

Do you know how to make call in this case?

2011/3/8 Witold Bulak <witekbulak at gmail.com>:
> It is null
>
> 2011/3/8 Erik Goppel <egoppel at gmail.com>:
>> Is the DNIS null or is it a single digit like 1 or 0 as seen in you q931
>> debug ?
>>
>> On Tue, Mar 8, 2011 at 9:12 AM, Witold Bulak <witekbulak at gmail.com> wrote:
>>>
>>> It didn't work, DNIS is still null
>>>
>>> Witek
>>>
>>> 2011/3/8 Dana Tong <Dana.Tong at ivision.com.au>:
>>> > Hi there,
>>> >
>>> >
>>> >
>>> > You might need to configure ISDN overlap receiving to obtain the
>>> > complete
>>> > called party number.
>>> >
>>> >
>>> >
>>> > Ie
>>> >
>>> >
>>> >
>>> > Interface serial0/x/0:15   [or 24 for T1]
>>> >
>>> > isdn overlap-receiving t302 3000      (for a 3 second inter-digit
>>> > timeout)
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > This should then wait for all of the digits to be sent before performing
>>> > any
>>> > call routing decisions.
>>> >
>>> >
>>> >
>>> > Regards
>>> >
>>> > Dana
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: cisco-voip-bounces at puck.nether.net
>>> > [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Witold Bulak
>>> > Sent: Monday, 7 March 2011 9:53 PM
>>> > To: cisco-voip at puck.nether.net
>>> > Subject: [cisco-voip] Tcl Script DNIS
>>> >
>>> >
>>> >
>>> > I've got an problem with TCL script, with one part that reads outgoing
>>> > number, if called party number is sent in one part I've been using
>>> >
>>> >
>>> >
>>> > infotag get leg_dnis
>>> >
>>> >
>>> >
>>> > And it returned me this number, when Called Party Number is sent in
>>> > parts I
>>> > can't read it, could you help me?
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > *Mar  7 16:39:12.012: ISDN Se0/3/0:15 Q931: RX <- INFORMATION pd = 8
>>> > callref
>>> > = 0x010F
>>> >
>>> >        Called Party Number i = 0x81, '1'
>>> >
>>> >                Plan:ISDN, Type:Unknown
>>> >
>>> > *Mar  7 16:39:12.192: ISDN Se0/3/0:15 Q931: RX <- INFORMATION pd = 8
>>> > callref
>>> > = 0x010F
>>> >
>>> >        Called Party Number i = 0x81, '0'
>>> >
>>> >                Plan:ISDN, Type:Unknown
>>> >
>>> > *Mar  7 16:39:12.332: ISDN Se0/3/0:15 Q931: RX <- INFORMATION pd = 8
>>> > callref
>>> > = 0x010F
>>> >
>>> >        Called Party Number i = 0x81, '1'
>>> >
>>> >                Plan:ISDN, Type:Unknown
>>> >
>>> > *Mar  7 16:39:12.504: ISDN Se0/3/0:15 Q931: RX <- INFORMATION pd = 8
>>> > callref
>>> > = 0x010F
>>> >
>>> >        Called Party Number i = 0x81, '0'
>>> >
>>> >
>>> >
>>> > This is example with called party number in parts
>>> > _______________________________________________
>>> >
>>> > cisco-voip mailing list
>>> >
>>> > cisco-voip at puck.nether.net
>>> >
>>> > https://puck.nether.net/mailman/listinfo/cisco-voip
>>> >
>>> >
>>> >
>>> > ______________________________________________________________________
>>> >
>>> > This email has been scanned by the MessageLabs Email Security System.
>>> >
>>> > For more information please visit http://www.messagelabs.com/email
>>> > ______________________________________________________________________
>>> >
>>> > ______________________________________________________________________
>>> > This email has been scanned by the MessageLabs Email Security System.
>>> > For more information please visit http://www.messagelabs.com/email
>>> > ______________________________________________________________________
>>> >
>>>
>>> _______________________________________________
>>> 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