Call forwarding in TCL

Version 1
    This document was generated from CDN thread

    Created by: Ilya Stolyarevskiy on 12-04-2011 04:43:24 AM
    Hello All
     
      Could anyone explain please, if it's possible to place a call from TCL-application which would be considered redirected? I mean, I'd like to know how could I fill in "Redirecting number" field in ISDN Setup message. The standard "leg setup" operator places a regular call and only "calling" and "called" parties fields are used. The main goal is to inform external provider that the call was not initiated by the gateway, but just redirected by it. In this case it will be possible to pass calls through the provider even if "calling" number is not within the msisdn-range that provider gave us. In this case provider will check "redirecting" party for the allowed number. Afterall we expect to deliver proped Caller-ID to the called subscriber. For now, we have to supress real caller ID with the fixed number from our range. 
      Thanks in advance for any help.
     
    BR

    Subject: RE: Call forwarding in TCL
    Replied by: Raghavendra Gutty Veeranagappa on 12-04-2011 12:11:21 PM
    HI IIya,

    please try to set callinfo redirectnum param and pass to leg setup

    for example:

    set callInfo(redirectNum) 77777

    for more information please refer TCL-IVR API document
    http://www.cisco.com/en/US/docs/ios/voice/tcl/developer/guide/tclivrv2.html

    Thanks,
    Raghavendra

    Subject: RE: Call forwarding in TCL
    Replied by: Ilya Stolyarevskiy on 12-04-2011 12:49:59 PM
    Thanks for your reply!

      I did try to set redirectNum parameter, but with no success: router takes it but there is still no redirecting party field in ISDN message.

      Here is the leg setup call:

        set callInfo(originationNum) 8612170985
        set callInfo(redirectNum) 8612170994
        set dest "79184442244"
        leg setup $dest callInfo leg_incoming

      and ISDN Setup:

    Apr 12 20:45:08.540: ISDN Se7/1:15 Q931: TX -> SETUP pd = 8  callref = 0x0080
            Sending Complete
            Bearer Capability i = 0x9090A3
                    Standard = CCITT
                    Transfer Capability = 3.1kHz Audio
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xA9839F
                    Exclusive, Channel 31
            Progress Ind i = 0x8283 - Origination address is non-ISDN 
            Calling Party Number i = 0x2183, '8612170985'
                    Plan:ISDN, Type:National
            Called Party Number i = 0xA1, '79184442244'
                    Plan:ISDN, Type:National

      Thanks in advance for your help!

    Regards,

    Ilya

    Subject: RE: Call forwarding in TCL
    Replied by: Raghavendra Gutty Veeranagappa on 14-04-2011 12:18:40 AM
    Hi Ilya,

    Use the isdn outgoing ie redirecting-number command in interface configuration mode to enable passing of the redirect number IE in the setup message from the Cisco router to its peer.

    for Example:

    interface Serial 0:15

    isdn outgoing ie redirecting-number

    Thanks,
    Raghavendra

    Subject: RE: Call forwarding in TCL
    Replied by: Ilya Stolyarevskiy on 14-04-2011 05:36:17 AM
    Thank you very much for your reply, that helped!

    My last question in this matter is about Original Called Number IE and Redirection Information IE. These IEs are required when passing call to the SS7 channel (considering that call goes to the signalling converter). I did found appropriate callInfo fields, however I can't find anything redarding how to set up the IEs on the ISDN interface.
    Could you please explain, if my need is feasible?

    Thank you in advance

    BR,

    Ilya.

    Subject: RE: Call forwarding in TCL
    Replied by: Raghavendra Gutty Veeranagappa on 14-04-2011 09:46:30 AM
    Hi Ilya,

    OCN and RNI will be sent as part of GTD Messages with isdn gtd command under interace mode which will be enabled by default no need to configure any command under interface mode i guess, you can just add callinfo params alone to leg setup.

    thanks,
    Raghavendra

    Subject: RE: Call forwarding in TCL
    Replied by: Ilya Stolyarevskiy on 17-04-2011 02:14:29 AM
    Hi Raghavendra

      Thank you for the answer
      It still looks like all the IEs, that we are discussing are not passed "as is". At least, I don't see them from the ISDN trace taken on the remote side (telco switch that as5400xm is connected to). However I found that if I put "isdn supp-service calldiversion" on the Serial interface, then router will not provide "Redirecting number" in the ISDN:Setup but will put "Facility" IE. This IE contains some coded information which is passed to the remote telco switch which can't decode it. Do you think "Original called number" and "Redirection information" might be contained in that data?

    BR,

    Ilya

    Subject: RE: Call forwarding in TCL
    Replied by: Raghavendra Gutty Veeranagappa on 20-04-2011 07:15:17 AM
    Hi Ilya,

    I don't have much idea on ISDN Configuration, please contact cisco TAC Support they will help you.

    Thanks,
    Raghavendra

    Subject: RE: Call forwarding in TCL
    Replied by: Paul Onwude on 20-12-2012 10:30:37 AM
    Hi Ilya,
    COuld you let me know which scrpit you used to achieve this and where i can download it from?
    Thanks in advance
    Paul
    Ilya Stolyarevskiy:
    Thanks for your reply!

    I did try to set redirectNum parameter, but with no success: router takes it but there is still no redirecting party field in ISDN message.

    Here is the leg setup call:

    set callInfo(originationNum) 8612170985
    set callInfo(redirectNum) 8612170994
    set dest "79184442244"
    leg setup $dest callInfo leg_incoming

    and ISDN Setup:

    Apr 12 20:45:08.540: ISDN Se7/1:15 Q931: TX -> SETUP pd = 8 callref = 0x0080
    Sending Complete
    Bearer Capability i = 0x9090A3
    Standard = CCITT
    Transfer Capability = 3.1kHz Audio
    Transfer Mode = Circuit
    Transfer Rate = 64 kbit/s
    Channel ID i = 0xA9839F
    Exclusive, Channel 31
    Progress Ind i = 0x8283 - Origination address is non-ISDN
    Calling Party Number i = 0x2183, '8612170985'
    Plan:ISDN, Type:National
    Called Party Number i = 0xA1, '79184442244'
    Plan:ISDN, Type:National

    Thanks in advance for your help!

    Regards,

    Ilya