RE: CallBack trigger

Version 1
    This document was generated from CDN thread

    Created by: srikanth satturi on 18-08-2010 01:04:04 PM
    hello please anyone help me out


    Hi, 
        I am sri working on callback. how to write the email that trigger the gateway which later initiate a call. could anyone please brief me abt the same..
     
     Thanx a lot..

    Subject: RE: CallBack trigger
    Replied by: Yaw-Ming Chen on 18-08-2010 04:24:01 PM
    This is Tcl IVR API(different from IOS TCL). We cannot use email to trigger the script.
     
    Thanks,
     
    Yawming

    Subject: RE: CallBack trigger
    Replied by: srikanth satturi on 18-08-2010 05:31:31 PM
    This is Tcl IVR API(different from IOS TCL). We cannot use email to trigger the script.
     
    Thanks,
     
    Yawming[/quote
     
     
    Very thnx Yawming for your reply..
     
    Probably I was not properly presented my problem. My Issue is I have AS5400.i got webcallback tcl script from Portaone. They have given four ways to initiate the call. 
     
    One of them is through Email.
    Could you please have a look at this link.
    http://www.portaone.com/solutions/callback/
     
     
    Thanks a lot

    Subject: RE: CallBack trigger
    Replied by: Yaw-Ming Chen on 18-08-2010 06:01:06 PM
    Thanks for sharing the information.
    As you can see from the picture for email trigger.
    The call flow is like this.
    Send the email to App server, App server send a call to trigger Tcl script on gateway, Tcl script  connect the destination and disconnect the incoming call from App server, Tcl script dial out to caller(who sent email) when caller pick up Tcl connect caller to destination.
     
     

    Subject: RE: CallBack trigger
    Replied by: srikanth satturi on 18-08-2010 07:57:39 PM
    Thanks for sharing the information.
    As you can see from the picture for email trigger.
    The call flow is like this.
    Send the email to App server, App server send a call to trigger Tcl script on gateway, Tcl script  connect the destination and disconnect the incoming call from App server, Tcl script dial out to caller(who sent email) when caller pick up Tcl connect caller to destination.
     
     

     
    Thnx a lot

    Subject: RE: CallBack trigger
    Replied by: Raghavendra Gutty Veeranagappa on 19-08-2010 08:22:53 AM
    Hi nitin,
     
    The TCL script on Gateway gets triggered by making a call from the application which deployed on web server
     
    Thanks
    Raghavendra

    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 19-08-2010 07:17:21 AM
    Thanks for sharing the information.
    As you can see from the picture for email trigger.
    The call flow is like this.
    Send the email to App server, App server send a call to trigger Tcl script on gateway, Tcl script  connect the destination and disconnect the incoming call from App server, Tcl script dial out to caller(who sent email) when caller pick up Tcl connect caller to destination.
     
     


     
    Thnx a lot


    Hi, we have a web server with porta, but we don't have an app server  and we set things up on our own platform when we can thats why I want to trigger this tcl script with our request from our client on mobile phone.Please let me know how the tcl script gets triggered.
     
    thanks
    nitin

    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 19-08-2010 07:48:44 AM
    Thanks for sharing the information.
    As you can see from the picture for email trigger.
    The call flow is like this.
    Send the email to App server, App server send a call to trigger Tcl script on gateway, Tcl script  connect the destination and disconnect the incoming call from App server, Tcl script dial out to caller(who sent email) when caller pick up Tcl connect caller to destination.
     
     


     
    Thnx a lot


    Hi, we have a web server with porta, but we don't have an app server  and we set things up on our own platform when we can thats why I want to trigger this tcl script with our request from our client on mobile phone.Please let me know how the tcl script gets triggered.
     
    thanks
    nitin


    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 19-08-2010 09:22:03 AM
    Hi nitin,
     
    The TCL script on Gateway gets triggered by making a call from the application which deployed on web server
     
    Thanks
    Raghavendra

     
     
    thanks Raghavendra
    But how the mobile client application can be deployed and how it can be use to trigger the TCL script.
    Can u exaplain in steps .
     
    thanks
    nitin

    Subject: RE: CallBack trigger
    Replied by: Raghavendra Gutty Veeranagappa on 19-08-2010 10:41:14 AM
    Hi Nitin,
     
    you cannot trigger the tcl script with client on mobile phone, to trigger TCL script you can make a call to Cisco Gateway
     
    for example below configuration need to be done in cisco GateWay to trigger newapp.tcl
     
    (config)#application 
    (config-app)#service  newapp tftp://server/newapp.tcl
    (config)# dial-peer voice 3 pots
    (conf-dial-peer)# incoming called-number 125
    (conf-dial-peer)# application newapp
     
     
    Thanks
    Raghavendra
     
     

    Subject: RE: CallBack trigger
    Replied by: Raghavendra Gutty Veeranagappa on 27-08-2010 07:47:17 AM
    Hi Nitin,
     
    please check the below link it will be helpful for you
     
    http://www.cisco.com/en/US/products/sw/voicesw/ps2237/products_configuration_example09186a0080327711.shtml
     
    Thanks
    Raghavendra

    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 27-08-2010 04:45:04 AM
    Hi Nitin,
     
    you cannot trigger the tcl script with client on mobile phone, to trigger TCL script you can make a call to Cisco Gateway
     
    for example below configuration need to be done in cisco GateWay to trigger newapp.tcl
     
    (config)#application 
    (config-app)#service  newapp tftp://server/newapp.tcl
    (config)# dial-peer voice 3 pots
    (conf-dial-peer)# incoming called-number 125
    (conf-dial-peer)# application newapp
     
     
    Thanks
    Raghavendra
     
     

    Hi
     
    How to send email to gateway for callback?
    what are the To and From  fields will be in the email?

    Subject: RE: CallBack trigger
    Replied by: srikanth satturi on 31-08-2010 12:31:54 PM
    Hi Nitin,
     
    the follwing configuration need to done in gateway
     
    application 
    service offramp flash:app_faxmail_offramp.2.0.1.1.tcl
    fax interface-type fax-mail
    mta send server 14.84.31.12 port 25
    mta receive aliases vnt-3725-51.gateway.com
    mta receive maximum-recipients 10
    mta receive generate permanent-error

    dial-peer voice 5590 pots
    destination-pattern 991....
    port 2/0:23
    forward-digits all
    prefix 9
    !
    dial-peer voice 2 mmoip
    description off-ramp inbound SMTP from Unity
    application offramp
    information-type fax
    incoming called-number 991

    Thanks
    Raghavendra

     
    I tried with above configurations tried sending Email to gateway. i could see this error when i enabled debugging for mta services
     

    <!--StartFragment-->ALL_ERROR; faxmail_server_tel_number_translate failed
    CALL_ERROR; Error 2 from smtp verb RCPT TO:<111111111@GatewayIP>
    <!--EndFragment-->

     
    Thnx

    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 31-08-2010 08:46:46 AM
    Hi Nitin,
     
    please check the below link it will be helpful for you
     
    http://www.cisco.com/en/US/products/sw/voicesw/ps2237/products_configuration_example09186a0080327711.shtml
     
    Thanks
    Raghavendra

     
    Hi
     
    Please tell me the settings for sending email to gateway.
     
    Thanks
     

    Subject: RE: CallBack trigger
    Replied by: Raghavendra Gutty Veeranagappa on 31-08-2010 11:33:18 AM
    Hi Nitin,
     
    the follwing configuration need to done in gateway
     
    application 
    service offramp flash:app_faxmail_offramp.2.0.1.1.tcl
    fax interface-type fax-mail
    mta send server 14.84.31.12 port 25
    mta receive aliases vnt-3725-51.gateway.com
    mta receive maximum-recipients 10
    mta receive generate permanent-error

    dial-peer voice 5590 pots
    destination-pattern 991....
    port 2/0:23
    forward-digits all
    prefix 9
    !
    dial-peer voice 2 mmoip
    description off-ramp inbound SMTP from Unity
    application offramp
    information-type fax
    incoming called-number 991

    Thanks
    Raghavendra

    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 03-09-2010 09:03:50 AM


    Hi Nitin,
     
    the follwing configuration need to done in gateway
     
    application 
    service offramp flash:app_faxmail_offramp.2.0.1.1.tcl
    fax interface-type fax-mail
    mta send server 14.84.31.12 port 25
    mta receive aliases vnt-3725-51.gateway.com
    mta receive maximum-recipients 10
    mta receive generate permanent-error

    dial-peer voice 5590 pots
    destination-pattern 991....
    port 2/0:23
    forward-digits all
    prefix 9
    !
    dial-peer voice 2 mmoip
    description off-ramp inbound SMTP from Unity
    application offramp
    information-type fax
    incoming called-number 991

    Thanks
    Raghavendra


     
    I tried with above configurations tried sending Email to gateway. i could see this error when i enabled debugging for mta services
     

    <!--StartFragment-->ALL_ERROR; faxmail_server_tel_number_translate failed
    CALL_ERROR; Error 2 from smtp verb RCPT TO:<111111111@GatewayIP>
    <!--EndFragment-->

     
    Thnx

     
    Hi ,
     
    Is the  port 2/0:23 in the above configuration is correct for cisco 5400.
    i tried as mention in the above config details .I got message  " % Invalid input detected at '^' marker "
    Pls advice
     
    Thanks



    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 03-09-2010 12:21:49 PM
    Hi Nitin,
     
    In the configs provided, it just specifies the sample port numbers. We need to modify the configs based on our connectivity. Please do the configuration based on your port connectivity.
     
    Thanks,
    Anusha

     
    Hi
     
    I dont have any idea wat is the voice port / port settings for cisco 5400.Please give the command or port value if u know.
     
    Thanks.
     

    Subject: RE: CallBack trigger
    Replied by: Raghavendra Gutty Veeranagappa on 03-09-2010 01:14:16 PM
    Hi Nitin,

    please use  the following command to verify ports
     
    show voice port summary    
     
    show voice port [<em class="cEmphasis">slot/<em class="cEmphasis" style="font-style: italic;">controller:{<em class="cEmphasis">ds0-group-number | <strong class="cKeyword">D}] [<strong class="cKeyword">summary]
     
    Thanks
    Raghavendra

    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 03-09-2010 01:21:36 PM
    Hi Nitin,

    please use  the following command to verify ports
     
    show voice port summary    
     
    show voice port [<em class="cEmphasis">slot/<em class="cEmphasis" style="font-style: italic;">controller:{<em class="cEmphasis">ds0-group-number | <strong class="cKeyword">D}] [<strong class="cKeyword">summary]
     
    Thanks
    Raghavendra

     
    Hi
     
    I didnt found the output .Only headers are available without details
    like -- PORT            CH   SIG-TYPE....... etc...
     
    Please advice
     
    Thanks

    Subject: RE: CallBack trigger
    Replied by: Raghavendra Gutty Veeranagappa on 03-09-2010 01:46:20 PM
    Hi Nitin,

    then you need to configure ports in global config mode
     
    for example
    voice-port  1/0:1
     
    Thanks
    Raghavendra

    Subject: RE: CallBack trigger
    Replied by: Anusha Kannappan on 03-09-2010 09:26:05 AM
    Hi Nitin,
     
    In the configs provided, it just specifies the sample port numbers. We need to modify the configs based on our connectivity. Please do the configuration based on your port connectivity.
     
    Thanks,
    Anusha

    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 06-09-2010 05:17:58 AM
    Hi Nitin,

    please use  the following command to verify ports
     
    show voice port summary    
     
    show voice port [<em class="cEmphasis">slot/<em class="cEmphasis" style="font-style: italic;">controller:{<em class="cEmphasis">ds0-group-number | <strong class="cKeyword">D}] [<strong class="cKeyword">summary]
     
    Thanks
    Raghavendra

     
    Hi
     
    i tried but no output found.
     
    thanks

    Subject: RE: CallBack trigger
    Replied by: nitin chopra on 06-09-2010 11:27:16 AM
    Hi Nitin,

    please post  your running configuration by running following command
    show running-conning
     
    please explain your toplogy and call flow

    Thanks
    Raghavendra

     

     
    Hi Raghavendra
     
    Is this command "show running-conning" correct ?
     
     
    Thanks
    Nitin

    Subject: RE: CallBack trigger
    Replied by: Raghavendra Gutty Veeranagappa on 06-09-2010 06:51:39 AM
    Hi Nitin,

    please post  your running configuration by running following command
    show running-conning
     
    please explain your toplogy and call flow

    Thanks
    Raghavendra

     

    Subject: RE: CallBack trigger
    Replied by: Raghavendra Gutty Veeranagappa on 06-09-2010 11:34:51 AM
    Hi Nitin,

    sorry, it was miss spelt the command ,please run the below command

     
    "show running-config"

    Thanks
    Raghavendra