Cisco T37 OnRamp

Version 1
    This document was generated from CDN thread

    Created by: Prasanth Abraham on 16-03-2012 01:53:49 PM
    Hi All
     
    We integrated a Cisco Voice Gateway with Ericsson PBX MD110 and we configured 2 E1 channels one as MGCP and other as H.323
    And for Fax t37 On Ramp we configured over H323 trunk and did the configuration as per cisco available guide.
    But some how the call is rejecting and it is rejecting the incoming dial-peer.  And it shows cause code =1, Unallocated number. Could anyone help me to point one mistake I made on this configuration
     
    The FAX number is 1489 and it sending 4832 (Where it sends as a TIFF message to an email)
    The log is
     
     
    ISDN Q931
    Mar 16 15:28:26.438: ISDN Se0/0/1:15 Q931: RX <- SETUP pd = 8  callref = 0x6BBE
            Bearer Capability i = 0x8090A3
                    Standard = CCITT
                    Transfer Capability = Speech
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xA18387
                    Preferred, Channel 7
            Progress Ind i = 0x8183 - Origination address is non-ISDN
            Calling Party Number i = 0x0181, '1489'
                    Plan:ISDN, Type:Unknown
            Called Party Number i = 0x81, '4832'
                    Plan:ISDN, Type:Unknown
    Mar 16 15:28:26.438: ISDN Se0/0/1:15 Q931: Received SETUP  callref = 0xEBBE callID = 0x0052 switch = primary-net5 interface = User
    Mar 16 15:28:26.446: ISDN Se0/0/1:15 Q931: TX -> CALL_PROC pd = 8  callref = 0xEBBE
            Channel ID i = 0xA98387
                    Exclusive, Channel 7
    Mar 16 15:28:26.446: ISDN Se0/0/1:15 Q931: TX -> DISCONNECT pd = 8  callref = 0xEBBE
            Cause i = 0x8081 - Unallocated/unassigned number
    Mar 16 15:28:26.630: ISDN Se0/0/1:15 Q931: RX <- RELEASE pd = 8  callref = 0x6BBE
            Cause i = 0x8181 - Unallocated/unassigned number
    Mar 16 15:28:26.630: ISDN Se0/0/1:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0xEBBE


    Voice CCAPI INOUT
    Mar 16 16:42:10.382: //-1/CF4FF5BF8065/CCAPI/cc_api_display_ie_subfields:
       cc_api_call_setup_ind_common:
       cisco-username=
       ----- ccCallInfo IE subfields -----
       cisco-ani=1489
       cisco-anitype=0
       cisco-aniplan=1
       cisco-anipi=0
       cisco-anisi=1
       dest=4832
       cisco-desttype=0
       cisco-destplan=1
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=-1
       cisco-rdnplan=-1
       cisco-rdnpi=-1
       cisco-rdnsi=-1
       cisco-redirectreason=-1   fwd_final_type =0
       final_redirectNumber =
       hunt_group_timeout =0

    Mar 16 16:42:10.382: //-1/CF4FF5BF8065/CCAPI/cc_api_call_setup_ind_common:
       Interface=0x2CBC76F4, Call Info(
       Calling Number=1489,(Calling Name=)(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
       Called Number=4832(TON=Unknown, NPI=ISDN),
       Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
       Incoming Dial-peer=35, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=TRUE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
    Mar 16 16:42:10.382: //-1/CF4FF5BF8065/CCAPI/ccCheckClipClir:
       In: Calling Number=1489(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
    Mar 16 16:42:10.382: //-1/CF4FF5BF8065/CCAPI/ccCheckClipClir:
       Out: Calling Number=1489(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
    Mar 16 16:42:10.382: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

    Mar 16 16:42:10.382: :cc_get_feature_vsa malloc success
    Mar 16 16:42:10.382: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

    Mar 16 16:42:10.382:  cc_get_feature_vsa count is 1
    Mar 16 16:42:10.382: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

    Mar 16 16:42:10.382: :FEATURE_VSA attributes are: feature_name:0,feature_time:729044520,feature_id:123
    Mar 16 16:42:10.382: //123/CF4FF5BF8065/CCAPI/cc_api_call_setup_ind_common:
       Set Up Event Sent;
       Call Info(Calling Number=1489(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
       Called Number=4832(TON=Unknown, NPI=ISDN))
    Mar 16 16:42:10.386: //123/CF4FF5BF8065/CCAPI/cc_process_call_setup_ind:
       Event=0x2CA3AB50
    Mar 16 16:42:10.386: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
       Try with the demoted called number 4832
    Mar 16 16:42:10.386: //123/CF4FF5BF8065/CCAPI/ccCallSetContext:
       Context=0x30065B44
    Mar 16 16:42:10.386: //123/CF4FF5BF8065/CCAPI/cc_process_call_setup_ind:
       >>>>CCAPI handed cid 123 with tag 35 to app "_ManagedAppProcess_fax_detect"
    Mar 16 16:42:10.386: //123/CF4FF5BF8065/CCAPI/ccCallProceeding:
       Progress Indication=NULL(0)
    Mar 16 16:42:10.386: //123/CF4FF5BF8065/CCAPI/ccCallModify:
       Nominator=0x800000, Params=0x42D72768, Call Id=123
    Mar 16 16:42:10.386: //123/CF4FF5BF8065/CCAPI/ccCallDisconnect:
       Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)

    Mar 16 16:42:10.386: //123/CF4FF5BF8065/CCAPI/ccCallDisconnect:
       Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)
    Mar 16 16:42:10.386: //123/CF4FF5BF8065/CCAPI/cc_api_get_transfer_info:
       Transfer Number Is Null
    Mar 16 16:42:10.390: //123/CF4FF5BF8065/CCAPI/cc_api_call_modify_done:
       Result=0, Interface=0x2CBC76F4, Call Id=123
    Mar 16 16:42:10.590: //123/CF4FF5BF8065/CCAPI/cc_api_call_disconnect_done:
       Disposition=0, Interface=0x2CBC76F4, Tag=0x0, Call Id=123,
       Call Entry(Disconnect Cause=1, Voice Class Cause Code=0, Retry Count=0)
    Mar 16 16:42:10.590: //123/CF4FF5BF8065/CCAPI/cc_api_call_disconnect_done:
       Call Disconnect Event Sent
    Mar 16 16:42:10.590: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

    Mar 16 16:42:10.590: :cc_free_feature_vsa freeing 2B745620
    Mar 16 16:42:10.590: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

     
     
    Regarding the Configuration
     
    ip domain name dir.abc-group.com
    voice service voip
     allow-connections h323 to h323
     allow-connections h323 to sip
     allow-connections sip to h323
     allow-connections sip to sip
     fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
     h323
    !

    fax receive called-subscriber $d$
    fax interface-type fax-mail
    mta send server SMTP.UCB.COM port 25
    mta send server smtp.ucb.com port 25
    mta send subject FAX RECIEVED
    mta send postmaster Sebastian.Jacob@abc.com
    mta send mail-from hostname Sebastian.Jacob@abc.com
    mta send mail-from username $s$
    mta send return-receipt-to username $s$
    !
    application
     service fax_detect flash:app_fax_detect.2.1.2.2.tcl
    !
    controller E1 0/0/0
     pri-group timeslots 1-31 service mgcp
    !
    controller E1 0/0/1
     pri-group timeslots 1-31
    !
    interface Serial0/0/0:15
     no ip address
     encapsulation hdlc
     isdn switch-type primary-qsig
     isdn incoming-voice modem 64
     isdn bind-l3 ccm-manager
     no cdp enable
    !
    interface Serial0/0/1:15
     no ip address
     encapsulation hdlc
     isdn switch-type primary-net5
     isdn incoming-voice modem
     no cdp enable
    !
    ip forward-protocol nd
    !
    ip http server
    ip http access-class 23
    ip http authentication local
    ip http secure-server
    ip http timeout-policy idle 60 life 86400 requests 10000
    !
    ip route 0.0.0.0 0.0.0.0 10.201.2.74
    !
    access-list 23 permit 10.10.10.0 0.0.0.7
    ccm-manager redundant-host 10.1.97.10
    ccm-manager mgcp
    no ccm-manager fax protocol cisco
    ccm-manager music-on-hold
    ccm-manager config server 10.1.97.10
    ccm-manager config
    !
    mgcp
    mgcp call-agent 10.1.98.10 2427 service-type mgcp version 0.1
    mgcp rtp unreachable timeout 1000 action notify
    mgcp modem passthrough voip mode nse
    mgcp package-capability rtp-package
    mgcp package-capability sst-package
    mgcp package-capability pre-package
    no mgcp package-capability res-package
    no mgcp timer receive-rtcp
    mgcp sdp simple
    mgcp fax t38 inhibit
    !
    mgcp profile default
    !
    !
    dial-peer voice 1 pots
     description ## E1 PRI pots INBOUND Dial-Peer for H323 ##
     incoming called-number .
     direct-inward-dial
     port 0/0/1:15
     forward-digits all
    !
     
    dial-peer voice 40 mmoip
     service fax_on_vfc_onramp_app out-bound
     destination-pattern 4832
     information-type fax
     session target mailto:$d$@PrasanthThomas.Abraham.ucb.com
    !
    dial-peer voice 35 pots
     service fax_detect
     information-type fax
     incoming called-number 483.
     direct-inward-dial
     port 0/0/1:15
     
    We need to send an incoming fax to an email inbox.
    Advance Thanks
     
     

    Subject: RE: Cisco T37 OnRamp
    Replied by: Yaw-Ming Chen on 16-03-2012 02:22:37 PM
    I think the issue is Unallocated number --  4832. Doesn't know where to route it.
    If you download the script from CCO Cisco TAC can help you on configuration.

    Thanks,

    Yawming

    Subject: RE: Cisco T37 OnRamp
    Replied by: Prasanth Abraham on 16-03-2012 06:19:04 PM
    Thanks Yaw-Ming.

    Will open a case with Cisco TAC.  From the log i can see it goes to TCL then it goes disconnecting. Is in TCL script have selecting any number in it or anything similar kind of operation in script ?

    Regards
    Prasanth Thomas Abraham

    Subject: RE: Cisco T37 OnRamp
    Replied by: Yaw-Ming Chen on 16-03-2012 06:24:28 PM
    Whatever number you call to trigger the Tcl script will be the DNIS Tcl will connect that number as destination number.

    Subject: RE: Cisco T37 OnRamp
    Replied by: Prasanth Abraham on 20-03-2012 07:27:10 AM
    Hi  Yaw-Ming Chen

    I open the case with Cisco TAC and they found that TCL script is not working. So we loaded another tcl script app_faxmail_onramp.2.0.1.3.tcl and it worked. Then it was able to reach incoming dial-peer but it was trying to send and getting error message. So we changed the following configuration to
    mta send postmaster Sebastian.Jacob@abc.com
    mta send mail-from hostname Sebastian.Jacob@abc.com

    to

    mta send postmaster abc.com
    mta send mail-from hostname abc.com

    and it worked !!

    Thanks Yaw-Ming for your valuable inputs.

    Regards
    Prasanth Thomas Abraham