PMF to allow outgoing calls through SIP Trunk Without Registering

Hello,
I have an intermitant issue with one of our UC320W's running 2.3.2(6) firmware.  The customers VOIP SIP trunk becomes unregistered for periods of time, stopping incoming and outgoing calls.  Once unregistered it takes quite a while to rergister.  Our service provider has informed us that the re-register period is the cause and we should try and shorten it, so first question is there a way to do this, also what is the re-register retry window in the first place?
I have an analogue line that can receive calls only so I have made this the fallover number with the VOIP provider, that gives a little releife for incoming calls, but not outgoing.  I beleive in other phone systems a SIP trunk does not need to be registered to make an outgoing call, and it is usually an option to say only make outgoing calls if the SIP trunk is registered.  I cannot find that option anywhere to deselect it, is there a PMF I could apply to allow outgoing calls without registering?
Thank you,
Tony

Hi Tony,
Please install the SIP_Trunk_Register_Timer.pmf at status->Devices->Alter PMFs in configure utility. Please remember to apply the configuration afterwards. This PMF can let user to select the re-register period. You can find the PMF at https://supportforums.cisco.com/docs/DOC-16301
Regards,
Wendy Yang

Similar Messages

  • Unable to perform call transfer or call park for an outbound call via SIP Trunk (SKYPE)

    We have configured the SIP Trunk & SIP profile and successfull make outbound call through SIP Trunk (SKYPE). However, we are not able to perform call transfer or call park when the call is connected.
    The scenario is:
    A call to an phone number via SIP trunk, when call established, A perform call-transfer to B. After the call-transfer, the call Drop and Phone B show error code "Temp Fail"        
    When i select "enable MTP" in SIP trunk, we are able to call transfer and call park. But it limit the number of call session to 1.

    You are probably running into some sort of Codec issue.  IE, your phone is G.711 and the trunk is G.729. You will need to transcode the call at somepoint.     

  • Calls from Sip Trunk to UC540 and then to CUE returned ** Service Unavailable**

    Hi to all
    i have something strange here and i need your assistance
    Call Flow:
    Sip trunk-->UC540--> CUE
    When calls coming to UC540 from outside and then going to cue then we send back service unavailable.I made a translation and i sent directly the incoming calls to CUE
    The same behavior is also if i send the calls to dummy number and then from there set forward all to voice mail.
    Incoming voicemail is working fine
    Incoming calls to phones also ok
    Uc540: 8.6
    CUE: 8.6.5
    A number: 99999999
    B number: 22777777
    Voice Mail Number:111
    Attached is the trace
    i see that we hit the correct dial peers .
    I have enable only trancoder since MTP is not register ( don't know why , but i don't think also that is necessary..
    voice service voip
     ip address trusted list
      ipv4 172.16.80.0 255.255.255.0
      ipv4 172.16.81.0 255.255.255.0
     allow-connections sip to sip
     supplementary-service h450.12
     no supplementary-service sip moved-temporarily
     no supplementary-service sip refer
     supplementary-service media-renegotiate
     sip
      no update-callerid
    dial-peer voice 1000 voip
     description **SIP TRUNK**
     translation-profile incoming SIP-INCOMING
     translation-profile outgoing SIP-OUTGOING
     destination-pattern 9T
     modem passthrough nse codec g711alaw
     session protocol sipv2
     session target sip-server
     incoming called-number .T
     voice-class codec 2  
     voice-class sip dtmf-relay force rtp-nte
     dtmf-relay rtp-nte
     fax-relay ecm disable
     no fax-relay sg3-to-g3
     fax rate 9600
     fax protocol pass-through g711alaw
     no vad
    dial-peer voice 2001 voip
     description ** cue voicemail pilot number **
     destination-pattern 111
     b2bua
     session protocol sipv2
     session target ipv4:10.1.10.1
     incoming called-number 111
     no voice-class sip outbound-proxy   
     dtmf-relay sip-notify
     codec g711ulaw
     no vad
    Regards
    chrysostomos

    Hi
    Interface                  IP-Address      OK? Method Status                Protocol
    FastEthernet0/0            unassigned      YES NVRAM  up                    up
    FastEthernet0/0.10         192.168.0.10    YES DHCP   up                    up   ----> For internet
    FastEthernet0/0.20         10.151.5.130    YES NVRAM  up                    up  ------> For sip trunk
    In0/0                      10.1.10.2       YES unset  up                    up    --------> default gw for cue
    Vlan1                      unassigned      YES unset  up                    up
    Vlan100                    unassigned      YES unset  up                    up
    Vlan200                    unassigned      YES unset  up                    down
    Vlan300                    unassigned      YES unset  up                    down
    NVI0                       10.1.10.2       YES unset  up                    up
    BVI1                       192.168.20.1    YES NVRAM  up                    up
    BVI100                     10.1.1.1        YES NVRAM  up                    up   ---------> ip for cme
    Loopback0                  10.1.10.2       YES NVRAM  up                    up   ------> default gw for cue
    dial-peer voice 2001 voip
     description ** cue voicemail pilot number **
     destination-pattern 111
     b2bua
     session protocol sipv2
     session target ipv4:10.1.10.1
     incoming called-number 111
     no voice-class sip outbound-proxy
     voice-class sip bind control source-interface BVI100
     voice-class sip bind media source-interface BVI100
     dtmf-relay sip-notify
     codec g711ulaw
     no vad
    interface FastEthernet0/0.10
     description **FOR INTERNET**
     encapsulation dot1Q 10
     ip address dhcp
     ip access-group 105 in
     ip nat outside
     ip inspect SDM_LOW out
     ip virtual-reassembly in
    interface FastEthernet0/0.20
     description **FOR SIP TRUNK WITH ISP**
     encapsulation dot1Q 20
     ip address 10.151.5.130 255.255.255.240
    ip route 10.1.10.1 255.255.255.255 Integrated-Service-Engine0/0
    ping 10.1.10.1 source bvi100
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.1.10.1, timeout is 2 seconds:
    Packet sent with a source address of 10.1.1.1
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
    I have bind the interface of cme ( 10.1.1.1) but the call fails again
    Attached is the trace
    Anything to advice?

  • Cisco CME: calls through SIP-provider again

    Hello,friends!
    I have already published a discussion here https://supportforums.cisco.com/discussion/12089656/cisco-cme-and-calls-through-sip-provider and you helped me, everything works well for Russian numbers.
    When I tried to add the configuration for calls to Belarus, again, there was a problem. I do not understand why, although the configuration ideintichnaya.
    My config:
    voice service voip
     ip address trusted list
      ipv4 178.16.26.122 255.255.255.255
      ipv4 144.76.42.108 255.255.255.255
      ipv4 176.9.145.115 255.255.255.255
      ipv4 5.9.108.25 255.255.255.255
      ipv4 78.46.95.118 255.255.255.255
      ipv4 89.249.23.194 255.255.255.255
      ipv4 178.16.26.124 255.255.255.255
      ipv4 176.9.85.133 255.255.255.255
      ipv4 46.4.53.86 255.255.255.255
      ipv4 5.9.84.165 255.255.255.255
      ipv4 78.16.26.122 255.255.255.255
      ipv4 77.235.62.222 255.255.255.255
      ipv4 81.88.86.11 255.255.255.255
      ipv4 192.168.1.50 255.255.255.255
      ipv4 217.150.198.44 255.255.255.255
      ipv4 178.63.96.3 255.255.255.255
      ipv4 178.63.96.28 255.255.255.255
     allow-connections h323 to h323
     allow-connections h323 to sip
     allow-connections sip to h323
     allow-connections sip to sip
     supplementary-service h450.12
     no supplementary-service sip moved-temporarily
     sip
      registrar server
    voice class codec 1
     codec preference 1 g711ulaw
     codec preference 2 g729r8
     codec preference 3 g711alaw
    voice class sip-profiles 20
     request INVITE sip-header From modify "\"(.*)\" <sip:(.*)@(.*)>" "\"\" <sip:[email protected]>"
    voice translation-rule 9
     rule 1 /^98/ /7/
    voice translation-rule 10
     rule 1 /^9/ //
    voice translation-rule 1020
     rule 1 /^.*$/ /141756/
    voice translation-rule 1030
     rule 1 /^.*/ /141756/
    voice translation-rule 1040
     rule 1 /^.*$/ /21/
    voice translation-profile incoming
     translate called 1040
    voice translation-profile outgoing
     translate calling 1030
     translate called 9
    voice translation-profile outgoing-mezhdunarod
     translate calling 1030
     translate called 10
    voice-card 0
    dial-peer voice 2 voip
     description TO-RUSSIA
     translation-profile outgoing outgoing
     preference 1
     destination-pattern 98..........
     session protocol sipv2
     session target sip-server
     voice-class codec 1
     no voice-class sip outbound-proxy
     voice-class sip profiles 20
     voice-class sip bind control source-interface FastEthernet0/0
     voice-class sip bind media source-interface FastEthernet0/0
     dtmf-relay rtp-nte sip-notify
     no vad
    dial-peer voice 3 voip
     translation-profile incoming incoming
     incoming called-number 141756
     voice-class codec 1
     voice-class sip bind control source-interface FastEthernet0/0
     voice-class sip bind media source-interface FastEthernet0/0
     dtmf-relay rtp-nte
     no vad
    dial-peer voice 4 voip
     description To-Belarus
     translation-profile outgoing outgoing-mezhdunarod
     destination-pattern 9375.........
     session protocol sipv2
     session target sip-server
     voice-class codec 1
     no voice-class sip outbound-proxy
     voice-class sip profiles 20
     voice-class sip bind control source-interface FastEthernet0/0
     voice-class sip bind media source-interface FastEthernet0/0
     dtmf-relay rtp-nte sip-notify
     no vad
    sip-ua
     credentials username 141756 password 7<pass> realm sip.zadarma.com
     authentication username 141756 password 7 <pass>
     no remote-party-id
     registrar 1 dns:sip.zadarma.com expires 3600
     sip-server dns:sip.zadarma.com
     connection-reuse
     host-registrar
    DEBUG ccsip message:
    Jun 17 14:23:09.033: //14293/D2C3B137AE52/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK36571F65
    From: "" <sip:[email protected]>;tag=40FCB218-23D7
    To: <sip:[email protected]>
    Date: Tue, 17 Jun 2014 09:23:09 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE: 1800
    Cisco-Guid: 3536040247-4114026979-2924673736-0741251102
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1402996989
    Contact: <sip:[email protected]:5060>
    Call-Info: <sip:92.63.108.115:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 309
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 6656 8059 IN IP4 92.63.108.115
    s=SIP Call
    c=IN IP4 92.63.108.115
    t=0 0
    m=audio 18252 RTP/AVP 0 18 8 101
    c=IN IP4 92.63.108.115
    a=rtpmap:0 PCMU/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    Jun 17 14:23:09.089: //14293/D2C3B137AE52/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 407 Proxy Authentication Required
    Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK36571F65;rport=5060
    From: "" <sip:[email protected]>;tag=40FCB218-23D7
    To: <sip:[email protected]>;tag=b638310eda6e4a73cf10b7fe3c94c572.6d40
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Proxy-Authenticate: Digest realm="sip.zadarma.com", nonce="U6AYAFOgFtT86kmu2Fr5tYxLYGEexIl1", qop="auth"
    Server: kamailio (4.1.2 (x86_64/linux))
    Content-Length: 0
    Jun 17 14:23:09.169: //14293/D2C3B137AE52/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK36571F65
    From: "Vankuver" <sip:[email protected]>;tag=40FCB218-23D7
    To: <sip:[email protected]>;tag=b638310eda6e4a73cf10b7fe3c94c572.6d40
    Date: Tue, 17 Jun 2014 09:23:09 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: telephone-event
    Content-Length: 0
    Jun 17 14:23:09.169: //14293/D2C3B137AE52/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK365820F2
    From: "" <sip:[email protected]>;tag=40FCB218-23D7
    To: <sip:[email protected]>
    Date: Tue, 17 Jun 2014 09:23:09 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE: 1800
    Cisco-Guid: 3536040247-4114026979-2924673736-0741251102
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 102 INVITE
    Max-Forwards: 70
    Timestamp: 1402996989
    Contact: <sip:[email protected]:5060>
    Call-Info: <sip:92.63.108.115:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
    Expires: 180
    Allow-Events: telephone-event
    Proxy-Authorization: Digest username="141756",realm="sip.zadarma.com",uri="sip:[email protected]:5060",response="9534322838cbf2e265b2004bc0aa240e",nonce="U6AYAFOgFtT86kmu2Fr5tYxLYGEexIl1",cnonce="FFF9A231",qop=auth,algorithm=md5,nc=00000001
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 309
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 6656 8059 IN IP4 92.63.108.115
    s=SIP Call
    c=IN IP4 92.63.108.115
    t=0 0
    m=audio 18252 RTP/AVP 0 18 8 101
    c=IN IP4 92.63.108.115
    a=rtpmap:0 PCMU/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    Jun 17 14:23:09.637: //14293/D2C3B137AE52/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK365820F2
    From: "" <sip:[email protected]>;tag=40FCB218-23D7
    To: <sip:[email protected]>
    Date: Tue, 17 Jun 2014 09:23:09 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE: 1800
    Cisco-Guid: 3536040247-4114026979-2924673736-0741251102
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 102 INVITE
    Max-Forwards: 70
    Timestamp: 1402996989
    Contact: <sip:[email protected]:5060>
    Call-Info: <sip:92.63.108.115:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
    Expires: 180
    Allow-Events: telephone-event
    Proxy-Authorization: Digest username="141756",realm="sip.zadarma.com",uri="sip:[email protected]:5060",response="9534322838cbf2e265b2004bc0aa240e",nonce="U6AYAFOgFtT86kmu2Fr5tYxLYGEexIl1",cnonce="FFF9A231",qop=auth,algorithm=md5,nc=00000001
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 309
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 6656 8059 IN IP4 92.63.108.115
    s=SIP Call
    c=IN IP4 92.63.108.115
    t=0 0
    m=audio 18252 RTP/AVP 0 18 8 101
    c=IN IP4 92.63.108.115
    a=rtpmap:0 PCMU/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    Jun 17 14:23:10.621: //14293/D2C3B137AE52/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK365820F2
    From: "" <sip:[email protected]>;tag=40FCB218-23D7
    To: <sip:[email protected]>
    Date: Tue, 17 Jun 2014 09:23:10 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE: 1800
    Cisco-Guid: 3536040247-4114026979-2924673736-0741251102
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 102 INVITE
    Max-Forwards: 70
    Timestamp: 1402996990
    Contact: <sip:[email protected]:5060>
    Call-Info: <sip:92.63.108.115:5060>;method="NOTIFY;Event=telephone-event;Duration=2000"
    Expires: 180
    Allow-Events: telephone-event
    Proxy-Authorization: Digest username="141756",realm="sip.zadarma.com",uri="sip:[email protected]:5060",response="9534322838cbf2e265b2004bc0aa240e",nonce="U6AYAFOgFtT86kmu2Fr5tYxLYGEexIl1",cnonce="FFF9A
    All possible debugging has been turned off
    DC#231",qop=auth,algorithm=md5,nc=00000001
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 309
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 6656 8059 IN IP4 92.63.108.115
    s=SIP Call
    c=IN IP4 92.63.108.115
    t=0 0
    m=audio 18252 RTP/AVP 0 18 8 101
    c=IN IP4 92.63.108.115
    a=rtpmap:0 PCMU/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    Debug voice ccapi inout:
     Destination Pattern=9375........., Called Number=375298911396, Digit Strip=FALSE
    Jun 17 15:22:13.073: //14425/13366763AF35/CCAPI/ccCallSetupRequest:
       Calling Number=141756(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
       Called Number=375298911396(TON=Unknown, NPI=Unknown),
       Redirect Number=, Display Info=Vankuver
       Account Number=, Final Destination Flag=FALSE,
       Guid=13366763-F540-11E3-AF35-FAC82C2E981E, Outgoing Dial-peer=4
    Jun 17 15:22:13.073: //14425/13366763AF35/CCAPI/cc_api_display_ie_subfields:
       ccCallSetupRequest:
       cisco-username=
       ----- ccCallInfo IE subfields -----
       cisco-ani=141756
       cisco-anitype=0
       cisco-aniplan=0
       cisco-anipi=0
       cisco-anisi=0
       dest=375298911396
       cisco-desttype=0
       cisco-destplan=0
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=0
       cisco-rdnplan=0
       cisco-rdnpi=0
       cisco-rdnsi=0
       cisco-redirectreason=0   fwd_final_type =0
       final_redirectNumber =
       hunt_group_timeout =0
    Jun 17 15:22:13.073: //14425/13366763AF35/CCAPI/ccIFCallSetupRequestPrivate:
       Interface=0x6968AA04, Interface Type=3, Destination=, Mode=0x0,
       Call Params(Calling Number=141756,(Calling Name=Vankuver)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
       Called Number=375298911396(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
       Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE, Outgoing Dial-peer=4, Call Count On=FALSE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
    Jun 17 15:22:13.073: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    Jun 17 15:22:13.073: :cc_get_feature_vsa malloc success
    Jun 17 15:22:13.073: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    Jun 17 15:22:13.077:  cc_get_feature_vsa count is 2
    Jun 17 15:22:13.077: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
    Jun 17 15:22:13.077: :FEATURE_VSA attributes are: feature_name:0,feature_time:1819298856,feature_id:3371
    Jun 17 15:22:13.077: //14427/13366763AF35/CCAPI/ccIFCallSetupRequestPrivate:
       SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
    Jun 17 15:22:13.077: //14427/13366763AF35/CCAPI/ccCallSetContext:
       Context=0x6C726BF4
    Jun 17 15:22:13.077: //14425/13366763AF35/CCAPI/ccSaveDialpeerTag:
       Outgoing Dial-peer=4
    Jun 17 15:22:13.085: //14427/13366763AF35/CCAPI/cc_api_call_proceeding:
    Please help me... I don't know what to do!

    You need to contact service provider for this , after authentication challenge your sip provider is not sending any response.
    Contact them and ask whether they had received INVITE with proxy authentication details or not.

  • How to remove historical of incoming and outgoing calls from a Z10 without loosing anything else

    Greetings,
    I would like to remove the history of all incoming and outgoing calls from my Z10 without reformatting the device or loosing other history like SMSs incoming and outgoing, or visited web sites etc. I havfe been looking for it in the help, but I have not found it. 
    Regards,
    Jean-Pierre

    Hub, calls, press and hold date at top, then tap delete.
    Phone, settings, call summary, tap icon at bottom middle to reset call timer.
    - Ira

  • Unable to perform call transfer & call park through SIP Trunk (SKYPE)

    The Scenario is:
    I have set up a SIP trunk to SKYPE and we are able to make outbound call to a number via SIP Trunk.
    After the call is established, when we tried to make call transfer, the call DROP and the phone at the other end shows error "Temp Fail".
    I tried to "enable MTP" in SIP Trunk and We are able to perform call-transfer but it limits the call session to 1.
    Anyone has facing the same issue?

    MTP is needed to invoke supplementary functions like hold, transfer etc. Make sure that the MTP is checked on SIP trunk, MTP is assigned to the MRGL of the device pool on SIP trunk and has sufficient resources.
    HTH
    Manish

  • Cisco CME and Calls through SIP provider

    Hello, friends.
    There are Cisco (C2801-ADVENTERPRISEK9_IVS-M), Version 15.1 (4) M7.
    Telephones connected to SCCP, registered SIP from the provider.
    When I try to call to test number 4444 through sip in debug I see:
    *Feb 10 01:51:25.317: //53363/2739DFE79696/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 407 Proxy Authentication Required
    Via: SIP/2.0/UDP XXXXXXXXXXX:5060;branch=z9hG4bK100D02077;rport=5060
    From: "TEST" <sip:[email protected]>;tag=131CC60C-1D40
    To: <sip:[email protected]>;tag=b638310eda6e4a73cf10b7fe3c94c572.bef7
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Proxy-Authenticate: Digest realm="sip.zadarma.com", nonce="Uvf1OFL39Awnou/oMiaFQrf9jyybhFmf", qop="auth"
    Server: kamailio (4.0.3 (x86_64/linux))
    Content-Length: 0
    *Feb 10 01:51:25.325: //53363/2739DFE79696/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP XXXXXXXXXX:5060;branch=z9hG4bK100D02077
    From: "TEST" <sip:[email protected]>;tag=131CC60C-1D40
    To: <sip:[email protected]>;tag=b638310eda6e4a73cf10b7fe3c94c572.bef7
    Date: Sun, 09 Feb 2014 21:51:25 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: telephone-event
    Content-Length: 0
    Cisco при этом зарегана у провайдера SIP
    DC#show sip-ua register status
    Line peer expires(sec) registered P-Associ-URI
    Configuration:
    voice service voip
    ip address trusted list
      ipv4 178.16.26.122 255.255.255.255
      ipv4 144.76.42.108 255.255.255.255
      ipv4 176.9.145.115 255.255.255.255
      ipv4 5.9.108.25 255.255.255.255
      ipv4 78.46.95.118 255.255.255.255
      ipv4 89.249.23.194 255.255.255.255
      ipv4 178.16.26.124 255.255.255.255
      ipv4 176.9.85.133 255.255.255.255
      ipv4 46.4.53.86 255.255.255.255
      ipv4 5.9.84.165 255.255.255.255
      ipv4 78.16.26.122 255.255.255.255
      ipv4 77.235.62.222 255.255.255.255
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    sip
      registrar server
    voice class codec 1
    codec preference 1 g711ulaw
    codec preference 2 g729r8
    codec preference 3 g711alaw
    voice register global
    max-dn 10
    max-pool 10
    voice register dn  1
    number 150
    voice register dn  2
    number 151
    voice translation-rule 9
    rule 1 /^95/ //
    voice translation-rule 1020
    rule 1 /^.$/ /40232/
    voice translation-profile outgoing
    translate calling 1020
    translate called 9
    mgcp fax t38 ecm
    mgcp profile default
    dial-peer voice 2 voip
    translation-profile outgoing outgoing
    destination-pattern 95....
    session protocol sipv2
    session target sip-server
    voice-class codec 1
    no voice-class sip outbound-proxy
    voice-class sip bind control source-interface FastEthernet0/0
    voice-class sip bind media source-interface FastEthernet0/0
    dtmf-relay rtp-nte
    no vad
    sip-ua
    credentials username 40232 password 7 XXXXXXXXXX realm sip.zadarma.com
    authentication username 40232 password 7 XXXXXXXXXXXX realm sip.zadarma.com
    registrar dns:sip.zadarma.com:5060 expires 3600
    sip-server dns:sip.zadarma.com:5060
    connection-reuse
    host-registrar
    DC#show sip-ua register status
    Line                             peer       expires(sec) registered P-Associ-URI
    ================================ ========== ============ ========== ============
    150                              40001      12           no
    40232                            -1         550          yes
    SIP provider says cisco trying to call with the internal call number, and it is necessary in order that have an SIP provider:
    Wrong Remote-Party-ID: "Vankuver" <sip:61@<my ip>>;party=calling;
    Should be so sip:40232@<my ip>
    Please help me!

    Yes, I behind nat.
    *Feb 10 18:11:53.425: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    INVITE sip:[email protected] SIP/2.0
    Via: SIP/2.0/TCP 192.168.11.14:42294;branch=z9hG4bK-d8754z-e645887cf7416a27-1---d8754z-;rport
    Max-Forwards: 70
    Contact:
    To: "954444"
    From: "150";tag=7b409f06
    Call-ID: ZjUzNjkwMWMyZDAyYmY1OWU2NjgzYzQwZjYyZWM5ZGU.
    CSeq: 1 INVITE
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
    Content-Type: application/sdp
    User-Agent: X-Lite release 1104o stamp 56125
    Content-Length: 314
    v=0
    o=- 2 2 IN IP4 192.168.11.14
    s=CounterPath X-Lite 3.0
    c=IN IP4 192.168.11.14
    t=0 0
    m=audio 5724 RTP/AVP 107 0 8 101
    a=alt:1 2 : gNONJ/Dj BaLJhmb/ 10.200.16.55 5724
    a=alt:2 1 : DQ3e8qud c1qVrWui 192.168.11.14 5724
    a=fmtp:101 0-15
    a=rtpmap:107 BV32/16000
    a=rtpmap:101 telephone-event/8000
    a=sendrecv
    *Feb 10 18:11:53.477: //54341/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK1038E7FF
    From: "" >;tag=169E6BC4-1E16
    To: [email protected]>
    Date: Mon, 10 Feb 2014 14:11:53 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE:  1800
    Cisco-Guid: 0541864002-2442400227-2618163141-2285537806
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Timestamp: 1392041513
    Contact: outside ip cisco cme:5060>
    Expires: 180
    Allow-Events: telephone-event
    Max-Forwards: 69
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 262
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 8076 2450 IN IP4 92.63.108.115
    s=SIP Call
    c=IN IP4 92.63.108.115
    t=0 0
    m=audio 18534 RTP/AVP 0 8 101
    c=IN IP4 92.63.108.115
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    *Feb 10 18:11:53.481: //54340/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 100 Trying
    Via: SIP/2.0/TCP 192.168.11.14:42294;branch=z9hG4bK-d8754z-e645887cf7416a27-1---d8754z-;rport
    From: "150";tag=7b409f06
    To: "954444"
    Date: Mon, 10 Feb 2014 14:11:53 GMT
    Call-ID: ZjUzNjkwMWMyZDAyYmY1OWU2NjgzYzQwZjYyZWM5ZGU.
    CSeq: 1 INVITE
    Allow-Events: telephone-event
    Server: Cisco-SIPGateway/IOS-12.x
    Content-Length: 0
    *Feb 10 18:11:53.625: //54341/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 407 Proxy Authentication Required
    Via: SIP/2.0/UDP outside ip cisco cme:5060;branch=z9hG4bK1038E7FF;rport=5060
    From: "" ;tag=169E6BC4-1E16
    To: [email protected]>;tag=9fedfddccf3bcc4a1975d2cdb2a664b8.7066
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Proxy-Authenticate: Digest realm="sip.zadarma.com", nonce="Uvja/1L42dNbKQpCc2GzgagslkjyE1Pn", qop="auth"
    Server: kamailio (4.0.3 (x86_64/linux))
    Content-Length: 0
    *Feb 10 18:11:53.633: //54341/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDPoutside ip cisco cme:5060;branch=z9hG4bK1038E7FF
    From: "150" [email protected]>;tag=169E6BC4-1E16
    To: [email protected]>;tag=9fedfddccf3bcc4a1975d2cdb2a664b8.7066
    Date: Mon, 10 Feb 2014 14:11:53 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: telephone-event
    Content-Length: 0
    *Feb 10 18:11:53.637: //54341/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDPoutside ip cisco cme:5060;branch=z9hG4bK1038F25FC
    From: "" ;tag=169E6BC4-1E16
    To: [email protected]>
    Date: Mon, 10 Feb 2014 14:11:53 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE:  1800
    Cisco-Guid: 0541864002-2442400227-2618163141-2285537806
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 102 INVITE
    Timestamp: 1392041513
    Contact: :5060>
    Expires: 180
    Allow-Events: telephone-event
    Proxy-Authorization: Digest username="40232",realm="sip.zadarma.com",uri="sip:[email protected]:5060",response="df38cd7f4af8e4a808fbbfdf5a7dd6a1",nonce="Uvja/1L42dNbKQpCc2GzgagslkjyE1Pn",cnonce="E701683F",qop=auth,algorithm=md5,nc=00000001
    Max-Forwards: 69
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 262
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 8076 2450 IN IP4 92.63.108.115
    s=SIP Call
    c=IN IP4 92.63.108.115
    t=0 0
    m=audio 18534 RTP/AVP 0 8 101
    c=IN IP4 92.63.108.115
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    *Feb 10 18:11:53.981: //54341/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 100 trying -- your call is important to us
    Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK1038F25FC;rport=5060
    From: "" ;tag=169E6BC4-1E16
    To: [email protected]>
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Server: kamailio (4.0.3 (x86_64/linux))
    Content-Length: 0
    *Feb 10 18:11:54.385: //54341/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 200 OK
    Via: SIP/2.0/UDP 92.63.X:5060;rport=5060;branch=z9hG4bK1038F25FC
    Record-Route:
    From: "k40232" ;tag=169E6BC4-1E16
    To: [email protected]>;tag=as7e8de8e5
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Server: Zadarma Voip
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
    Supported: replaces, timer
    Contact:
    Content-Type: application/sdp
    Content-Length: 281
    v=0
    o=root 1942395501 1942395501 IN IP4 178.16.26.124
    s=Asterisk PBX
    c=IN IP4 178.16.26.124
    t=0 0
    m=audio 12164 RTP/AVP 8 0 101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=silenceSupp:off - - - -
    a=ptime:20
    a=sendrecv
    *Feb 10 18:11:54.409: //54341/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 92.63.xxxx.xxxx:5060;branch=z9hG4bK10390E63
    From: "150" [email protected]>;tag=169E6BC4-1E16
    To: [email protected]>;tag=as7e8de8e5
    Date: Mon, 10 Feb 2014 14:11:53 GMT
    Call-ID: [email protected]
    Route:
    Max-Forwards: 70
    CSeq: 102 ACK
    Proxy-Authorization: Digest username="40232",realm="sip.zadarma.com",uri="sip:[email protected]:5060",response="df38cd7f4af8e4a808fbbfdf5a7dd6a1",nonce="Uvja/1L42dNbKQpCc2GzgagslkjyE1Pn",cnonce="E701683F",qop=auth,algorithm=md5,nc=00000001
    Allow-Events: telephone-event
    Content-Length: 0
    *Feb 10 18:11:54.429: //54340/204C30429C0D/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 192.168.11.14:42294;branch=z9hG4bK-d8754z-e645887cf7416a27-1---d8754z-;rport
    From: "150";tag=7b409f06
    To: "954444";tag=169E6F78-88E
    Date: Mon, 10 Feb 2014 14:11:53 GMT
    Call-ID: ZjUzNjkwMWMyZDAyYmY1OWU2NjgzYzQwZjYyZWM5ZGU.
    CSeq: 1 INVITE
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    Allow-Events: telephone-event
    Contact: :5060;transport=tcp>
    Supported: replaces
    Server: Cisco-SIPGateway/IOS-12.x
    Supported: timer
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 193
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 149 3396 IN IP4 92.63.108.115
    s=SIP Call
    c=IN IP4 92.63.108.115
    t=0 0
    m=audio 17190 RTP/AVP 8
    c=IN IP4 92.63.108.115
    a=rtpmap:8 PCMA/8000
    a=ptime:20
    *Feb 10 18:11:54.653: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    ACK sip:[email protected]:5060;transport=tcp SIP/2.0
    Via: SIP/2.0/TCP 91.231.141.230:42294;branch=z9hG4bK-d8754z-95374017c126c928-1---d8754z-;rport
    Max-Forwards: 70
    Contact:
    To: "954444";tag=169E6F78-88E
    From: "150";tag=7b409f06
    Call-ID: ZjUzNjkwMWMyZDAyYmY1OWU2NjgzYzQwZjYyZWM5ZGU.
    CSeq: 1 ACK
    User-Agent: X-Lite release 1104o stamp 56125
    Content-Length: 0

  • ILBC calls via SIP Trunk with CUBE and CUCM7

    hi there,
    our SIP Provider offers the IBLC codec which promises to provide better quality compard to G.729.
    I'm using this scenario:
    IP-Phone(G711) --- CUCM7 --- (SIP-Trunk1) --- CUBE --- (SIP-Trunk2) --- Provider
    Everything workes unless I'm configuring IBLC at the provider and on trunk2.
    I have the CUBE router acting as a trancoding device and also specified IBLC as codec to be handled.
    SIP trunk 2 was placed in a region with IBLC as codec.
    On the trunk configuration in CUCM the media ressource group with XCODE capability is configured
    Transcoding workes between two IP Phones in different regions with different codecs within the intranet.
    Unfortunately the CUBE router doesn't seem to use the transcoder to change internal G711u calls into IBLC codec
    so calls are blocked by the CUBE device:
    deb ccsip calls
    for incoming call:
    .Mar 13 17:43:17.231: //145/BDB403DD8134/SIP/Call/sipSPICallInfo:
    The Call Setup Information is:
    Call Control Block (CCB) : 0x4AE7AC98
    State of The Call        : STATE_DEAD
    TCP Sockets Used         : NO
    Calling Number           : 0237892992
    Called Number            : 036677725231
    Source IP Address (Sig  ): 10.100.100.50
    Destn SIP Req Addr:Port  : <IP SIP Provicer>
    Destn SIP Resp Addr:Port : <IP SIP Provicer>:5060
    Destination Name         : <IP SIP Provicer>
    .Mar 13 17:43:17.231: //145/BDB403DD8134/SIP/Call/sipSPIMediaCallInfo:
    Number of Media Streams: 1
    Media Stream             : 1
    Negotiated Codec         : ilbc
    Negotiated Codec Bytes   : 0
    Nego. Codec payload      : 255 (tx), 255 (rx)
    Negotiated Dtmf-relay    : 6
    Dtmf-relay Payload       : 101 (tx), 101 (rx)
    Source IP Address (Media): <IP CUBE>
    Source IP Port    (Media): 0
    Destn  IP Address (Media): <IP SIP Provicer>
    Destn  IP Port    (Media): 22022
    Orig Destn IP Address:Port (Media): [ - ]:0
    .Mar 13 17:43:17.231: //145/BDB403DD8134/SIP/Call/sipSPICallInfo:
    Disconnect Cause (CC)    : 65
    Disconnect Cause (SIP)   : 488
    (Output lookes similar to outgoing calls)
    I set up ccm on cube and assigned dsp ressources without success:
    Here are the relevant configuration parts:
    voice class codec 1
    codec preference 1 iblc
    voice service voip
    address-hiding
    allow-connections sip to sip
    allow-connections h323 to sip
    allow-connections sip to h323
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
    h323
    sip
      header-passing error-passthru
      no update-callerid
      midcall-signaling passthru
      privacy-policy passthru
    voice-card 0
    dspfarm
    dsp services dspfarm
    dial-peer voice 40991 voip
    description *** Incoming from SIP-Provider
    destination-pattern 03667772523.%
    session protocol sipv2
    session target ipv4:<IP_of_CUCM>
    voice-class codec 1
    voice-class sip asserted-id pai
    voice-class sip privacy-policy passthru
    dtmf-relay rtp-nte
    fax-relay sg3-to-g3
    fax rate 14400
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
    ip qos dscp cs5 media
    ip qos dscp cs5 signaling
    sccp local GigabitEthernet0/0
    sccp ccm 10.100.100.50 identifier 11 version 4.1
    sccp
    sccp ccm group 11
    description *** lokaler CCM fuer Codec-Konvertierung von SIP/DUS.NET
    associate ccm 11 priority 1
    associate profile 21 register DE_WGT_MTP02
    dspfarm profile 21 transcode
    codec g711ulaw
    codec g711alaw
    codec g729ar8
    codec g729abr8
    codec g729r8
    codec ilbc
    maximum sessions 10
    associate application SCCP
    telephony-service
    sdspfarm units 1
    sdspfarm transcode sessions 10
    sdspfarm tag 1 DE_WGT_MTP02
    max-ephones 30
    max-dn 30
    ip source-address 10.100.100.50 port 2000
    max-conferences 8 gain -6
    transfer-system full-consult
    create cnf-files version-stamp 7960 Mar 14 2010 02:10:34
    sh sccp
    SCCP Admin State: UP
    Gateway Local Interface: GigabitEthernet0/0
            IPv4 Address: 10.100.100.50
            Port Number: 2000
    IP Precedence: 5
    User Masked Codec list: None
    Call Manager: 10.100.100.50, Port Number: 2000
                    Priority: N/A, Version: 4.1, Identifier: 11
                    Trustpoint: N/A
    Call Manager: 10.1.1.55, Port Number: 2000
                    Priority: N/A, Version: 7.0, Identifier: 10
                    Trustpoint: N/A
    Transcoding Oper State: ACTIVE - Cause Code: NONE
    Active Call Manager: 10.100.100.50, Port Number: 2000
    TCP Link Status: CONNECTED, Profile Identifier: 21
    Reported Max Streams: 20, Reported Max OOS Streams: 0
    Supported Codec: g711ulaw, Maximum Packetization Period: 30
    Supported Codec: g711alaw, Maximum Packetization Period: 30
    Supported Codec: g729ar8, Maximum Packetization Period: 60
    Supported Codec: g729abr8, Maximum Packetization Period: 60
    Supported Codec: g729r8, Maximum Packetization Period: 60
    Supported Codec: ilbc, Maximum Packetization Period: 120
    Supported Codec: rfc2833 dtmf, Maximum Packetization Period: 30
    Supported Codec: rfc2833 pass-thru, Maximum Packetization Period: 30
    Supported Codec: inband-dtmf to rfc2833 conversion, Maximum Packetization Period: 30
    sh dspfarm dsp all
    SLOT DSP VERSION  STATUS CHNL USE   TYPE    RSC_ID BRIDGE_ID PKTS_TXED PKTS_RXED
    0    1   26.3.4   UP     N/A  FREE  xcode  1      -         -         -
    0    1   26.3.4   UP     N/A  FREE  xcode  1      -         -         -
    0    2   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    0    2   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    0    2   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    0    2   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    0    2   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    0    2   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    1    1   26.3.4   UP     N/A  FREE  xcode  1      -         -         -
    1    1   26.3.4   UP     N/A  FREE  xcode  1      -         -         -
    1    1   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    1    1   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    1    1   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    1    1   26.3.4   UP     N/A  FREE  xcode  2      -         -         -
    Thanks in advance,
    David

    Hi there,
    Just wondering whether you ever got this resolved? I seem to have a very similiar problem.
    Regards
    Karen

  • Outbound Call Failure - SIP Trunk

    All phones are unable to dial a single target number on the PSTN.  The symptom is that it rings once and goes fast busy.
    The call flow is:
    Phone >>> CUCM >>> CUBE >>> Verizon SIP Trunk >>> PSTN >>> Target Number
    As seen in the CUBE debug ccsip messages, the CUBE receives a "SIP/2.0 480 Temporarily unavailable" message.  debug ccsip messages, dial-peer and voice class information follows:
    Received:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 192.168.106.11:5060;branch=z9hG4bK6c4bb65f140c8
    From: "" <sip:[email protected]>;tag=4037968~a812c08a-f7f0-43a7-a92c-e5ac2a38867c-65745615
    To: <sip:[email protected]>
    Date: Wed, 18 Dec 2013 21:48:27 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces
    Min-SE:  1800
    User-Agent: Cisco-CUCM8.6
    Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
    CSeq: 101 INVITE
    Expires: 180
    Allow-Events: presence, kpml
    Supported: X-cisco-srtp-fallback,X-cisco-original-called
    Call-Info: <sip:192.168.106.11:5060>;method="NOTIFY;Event=telephone-event;Duration=500"
    Cisco-Guid: 0520523008-0000065536-0000067523-0191539392
    Session-Expires:  1800
    P-Asserted-Identity: "" <sip:[email protected]>
    Remote-Party-ID: "" <sip:[email protected]>;party=calling;screen=yes;privacy=off
    Contact: <sip:[email protected]:5060;transport=tcp>
    Max-Forwards: 70
    Content-Type: application/sdp
    Content-Length: 390
    v=0
    o=CiscoSystemsCCM-SIP 4037968 1 IN IP4 192.168.106.11
    s=SIP Call
    c=IN IP4 10.139.64.171
    b=TIAS:64000
    b=AS:64
    t=0 0
    m=audio 30688 RTP/AVP 0 8 116 18 101
    a=rtpmap:0 PCMU/8000
    a=ptime:20
    a=rtpmap:8 PCMA/8000
    a=ptime:20
    a=rtpmap:116 iLBC/8000
    a=ptime:20
    a=maxptime:60
    a=fmtp:116 mode=20
    a=rtpmap:18 G729/8000
    a=ptime:20
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Sent:
    INVITE sip:[email protected]:5073 SIP/2.0
    Via: SIP/2.0/UDP 10.139.64.52:5060;branch=z9hG4bK636B313D7
    Remote-Party-ID: "" <sip:[email protected]>;party=calling;screen=yes;privacy=off
    From: "" <sip:[email protected]>;tag=78FC5414-198D
    To: <sip:[email protected]>
    Date: Wed, 18 Dec 2013 21:40:10 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE:  1800
    Cisco-Guid: 0520523008-0000065536-0000067523-0191539392
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Timestamp: 1387402810
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Max-Forwards: 69
    Session-Expires:  1800
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 348
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 4778 3356 IN IP4 10.139.64.52
    s=SIP Call
    c=IN IP4 10.139.64.52
    t=0 0
    m=audio 23372 RTP/AVP 0 8 116 18 101
    c=IN IP4 10.139.64.52
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:116 iLBC/8000
    a=fmtp:116
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=yes
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    079120: Dec 18 2013 16:40:10.008: //314738/1F068D000001/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 100 Trying
    Via: SIP/2.0/TCP 192.168.106.11:5060;branch=z9hG4bK6c4bb65f140c8
    From: "" <sip:[email protected]>;tag=4037968~a812c08a-f7f0-43a7-a92c-e5ac2a38867c-65745615
    To: <sip:[email protected]>
    Date: Wed, 18 Dec 2013 21:40:09 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow-Events: telephone-event
    Server: Cisco-SIPGateway/IOS-12.x
    Content-Length: 0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    079121: Dec 18 2013 16:40:10.080: //314739/1F068D000001/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 100 Trying
    Via: SIP/2.0/UDP 10.139.64.52:5060;branch=z9hG4bK636B313D7
    From: "" <sip:[email protected]>;tag=78FC5414-198D
    To: <sip:[email protected]>
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Timestamp: 1387402810
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    079122: Dec 18 2013 16:40:11.176: //314739/1F068D000001/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 180 Ringing
    Via: SIP/2.0/UDP 10.139.64.52:5060;branch=z9hG4bK636B313D7
    From: "" <sip:[email protected]>;tag=78FC5414-198D
    To: <sip:[email protected]>;tag=182903799-1387403308449
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Timestamp: 1387402810
    Supported:
    Contact: <sip:[email protected]:5073;transport=udp>
    Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY,UPDATE
    Content-Length: 0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Sent:
    SIP/2.0 180 Ringing
    Via: SIP/2.0/TCP 192.168.106.11:5060;branch=z9hG4bK6c4bb65f140c8
    From: "" <sip:[email protected]>;tag=4037968~a812c08a-f7f0-43a7-a92c-e5ac2a38867c-65745615
    To: <sip:[email protected]>;tag=78FC58A8-1B6B
    Date: Wed, 18 Dec 2013 21:40:09 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    Allow-Events: telephone-event
    Remote-Party-ID: <sip:[email protected]>;party=called;screen=no;privacy=off
    Contact: <sip:[email protected]:5060;transport=tcp>
    Server: Cisco-SIPGateway/IOS-12.x
    Content-Length: 0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    079128: Dec 18 2013 16:40:12.384: //314739/1F068D000001/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 480 Temporarily unavailable
    Via: SIP/2.0/UDP 10.139.64.52:5060;branch=z9hG4bK636B313D7
    From: "" <sip:[email protected]>;tag=78FC5414-198D
    To: <sip:[email protected]>;tag=182903799-1387403308449
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Timestamp: 1387402810
    Content-Length: 0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Sent:
    SIP/2.0 480 Temporarily Not Available
    Via: SIP/2.0/TCP 192.168.106.11:5060;branch=z9hG4bK6c4bb65f140c8
    From: "" <sip:[email protected]>;tag=4037968~a812c08a-f7f0-43a7-a92c-e5ac2a38867c-65745615
    To: <sip:[email protected]>;tag=78FC58A8-1B6B
    Date: Wed, 18 Dec 2013 21:40:09 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow-Events: telephone-event
    Server: Cisco-SIPGateway/IOS-12.x
    Reason: Q.850;cause=18
    Content-Length: 0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    079146: Dec 18 2013 16:40:12.388: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5073 SIP/2.0
    Via: SIP/2.0/UDP 10.139.64.52:5060;branch=z9hG4bK636B313D7
    From: "" <sip:[email protected]>;tag=78FC5414-198D
    To: <sip:[email protected]>;tag=182903799-1387403308449
    Date: Wed, 18 Dec 2013 21:40:10 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: telephone-event
    Content-Length: 0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    079147: Dec 18 2013 16:40:12.404: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 192.168.106.11:5060;branch=z9hG4bK6c4bb65f140c8
    From: "" <sip:[email protected]>;tag=4037968~a812c08a-f7f0-43a7-a92c-e5ac2a38867c-65745615
    To: <sip:[email protected]>;tag=78FC58A8-1B6B
    Date: Wed, 18 Dec 2013 21:48:27 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: presence, kpml
    Content-Length: 0
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    dial-peer voice 9100 voip
    description inboubd dial-peer for outgoing calls from CUCM (11D)
    preference 1
    session protocol sipv2
    incoming called-number ^1..........$
    voice-class codec 10
    dtmf-relay rtp-nte digit-drop
    ip qos dscp cs5 media
    ip qos dscp cs3 signaling
    no vad 
    outbound DP
    dial-peer voice 8100 voip
    description outbound dial-peer for outgoing calls to Verizon (11D)
    destination-pattern ^1..........$
    session protocol sipv2
    session target sip-server
    voice-class codec 10
    voice-class sip dtmf-relay force rtp-nte
    voice-class sip early-offer forced
    dtmf-relay rtp-nte digit-drop
    ip qos dscp cs5 media
    ip qos dscp cs3 signaling
    no vad
    no supplementary-service sip moved-temporarily
    no supplementary-service sip refer
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    voice class codec 1
    codec preference 1 g729r8
    codec preference 2 g711ulaw
    voice class codec 10
    codec preference 1 transparent
    voice class codec 2
    codec preference 1 g711ulaw
    codec preference 2 g722-64

    I created the new voice class and mapped it to the outgoing dial-peer 8100. The call was then successful. 
    See new voice class:
    #sh run | be voice class codec 11
    voice class codec 11
    codec preference 1 g711ulaw
    codec preference 2 g711alaw
    codec preference 3 g729r8
    See revised dial-peer 8100:
    dial-peer voice 8100 voip
    description outbound dial-peer for outgoing calls to Verizon (11D)
    destination-pattern ^1..........$
    session protocol sipv2
    session target sip-server
    voice-class codec 11
    voice-class sip dtmf-relay force rtp-nte
    voice-class sip early-offer forced
    dtmf-relay rtp-nte digit-drop
    ip qos dscp cs5 media
    ip qos dscp cs3 signaling
    no vad
    no supplementary-service sip moved-temporarily
    no supplementary-service sip refer
    My only remaining question is why did the CUBE invite NOT include the m line for g729r8? 
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    See the ccapi inout snippet showing the hit with dial-peer 8100:
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    080927: Dec 19 2013 15:27:57.810: //316459/32C4F8800001/CCAPI/ccCallSetupRequest:
       Destination=, Calling IE Present=TRUE, Mode=0,
       Outgoing Dial-peer=8100, Params=0x2B912E08, Progress Indication=NULL(0)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    See the debug ccsip messages output showing original CUCM invite received by CUBE with 5 a line references:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    080907: Dec 19 2013 15:27:57.806: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/TCP 192.168.106.11:5060;branch=z9hG4bK6d715c9c6ad1
    From: "XXXXXXXXXX" ;tag=4077346~a812c08a-f7f0-43a7-a92c-e5ac2a38867c-65761788
    To:
    Date: Thu, 19 Dec 2013 20:36:14 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces
    Min-SE:  1800
    User-Agent: Cisco-CUCM8.6
    Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
    CSeq: 101 INVITE
    Expires: 180
    Allow-Events: presence, kpml
    Supported: X-cisco-srtp-fallback,X-cisco-original-called
    Call-Info: ;method="NOTIFY;Event=telephone-event;Duration=500"
    Cisco-Guid: 0851769472-0000065536-0000068412-0191539392
    Session-Expires:  1800
    P-Asserted-Identity: "XXXXXXXXXX"
    Remote-Party-ID: "XXXXXXX" ;party=calling;screen=yes;privacy=off
    Contact:
    Max-Forwards: 70
    Content-Type: application/sdp
    Content-Length: 464
    v=0
    o=CiscoSystemsCCM-SIP 4077346 1 IN IP4 192.168.106.11
    s=SIP Call
    c=IN IP4 10.139.64.52
    b=TIAS:64000
    b=AS:64
    t=0 0
    m=audio 26738 RTP/AVP 0 8 116 116 18 101
    a=rtpmap:0 PCMU/8000
    a=ptime:20
    a=rtpmap:8 PCMA/8000
    a=ptime:20
    a=rtpmap:116 iLBC/8000
    a=ptime:20
    a=maxptime:60
    a=fmtp:116 mode=20
    a=rtpmap:116 iLBC/8000
    a=ptime:30
    a=maxptime:60
    a=fmtp:116 mode=30
    a=rtpmap:18 G729/8000
    a=ptime:20
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    See ccsip messages output showing CUBE sending invite to Verizon:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Sent:
    INVITE sip:[email protected]:5073 SIP/2.0
    Via: SIP/2.0/UDP 10.139.64.52:5060;branch=z9hG4bK63F9C611
    Remote-Party-ID: "David Callahan" ;party=calling;screen=yes;privacy=off
    From: "David Callahan" ;tag=7DE0957C-1CAB
    To:
    Date: Thu, 19 Dec 2013 20:27:57 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE:  1800
    Cisco-Guid: 0851769472-0000065536-0000068412-0191539392
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Timestamp: 1387484877
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Max-Forwards: 69
    Session-Expires:  1800
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 259
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 6966 4178 IN IP4 10.139.64.52
    s=SIP Call
    c=IN IP4 10.139.64.52
    t=0 0
    m=audio 32502 RTP/AVP 0 8 101
    c=IN IP4 10.139.64.52
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15

  • Delay Outbound through SIP Trunk

    Hi there,
    When calling Outbound through a SIP trunk takes about 20 seconds. Inbound calls are going fine. I tried the following scenario's:
    IP Phone > CUCM > SIP Trunk > CUBE > SIP Provider
    IP Phone > CUCM > H323 Gateway > CUBE > SIP Provider
    I'm attachting CCSIP logs and if you look at the timestamps, you can see there is a delay of around 10 seconds.
    Any suggestions will be highly appreciated.
    thanks.

    Hi Brian,
    A few weeks back I did same kind of configuration with another customer (with the same SIP Provider) and I don't have this probleem there. I did the same on CUCM and also on the CUBE (same version of IOS and almost same configuration).
    !dial-peer voice 1010 voip
    destination-pattern T
    progress_ind alert enable 8
    session protocol sipv2
    session target dns:pbx.signet.nl
    incoming called-number T
    dtmf-relay rtp-nte cisco-rtp
    codec g711ulaw
    no vad
    dial-peer voice 1000 voip
    destination-pattern 717470101
    session target ipv4:192.168.1.250
    incoming called-number 717470101
    dtmf-relay h245-alphanumeric
    codec g711ulaw
    no vad
    dial-peer voice 1020 voip
    destination-pattern 8886401..
    progress_ind alert enable 8
    session target ipv4:192.168.1.250
    incoming called-number 8886401..
    dtmf-relay h245-alphanumeric
    codec g711ulaw
    no vad

  • 2901 CME: Problem with incoming call via SIP Trunk

    Dear All,
    I have seen some others posted similar question regarding this but mine still doesn't work by using the reference solution.
    Mine is quite standard setup too -> CME setup on my 2901 router, analog phone attach to my FXS port my outgoing calls are working  fine via SIP but my incoming calls are not.  Caller only listen to engage tone and analog phone is not ringing at all. Attached with my config and trace log of ccsip messages. Kindly assist. Thank you so much.

    Hi Carlo,
    Here it is
    CME_2901#show sip-ua timers
    SIP UA Timer Values (millisecs unless noted)
    trying 500, expires 180000, connect 500, disconnect 500
    prack 500, rel1xx 500, notify 500, update 500
    refer 500, register 500, info 500, options 500, hold 2880 minutes
    , registrar-dns-cache 3600 seconds
    tcp/udp aging 5 minutes
    CME_2901#show sip-ua retry
    SIP UA Retry Values
    invite retry count = 6   response retry count = 6
    bye retry count    = 10  cancel retry count   = 10
    prack retry count  = 10  update retry count    = 6
    reliable 1xx count = 6   notify retry count   = 10
    refer retry count  = 10  register retry count = 6
    info retry count   = 6   subscribe retry count = 6
    options retry count = 6
    CME_2901#show sip-ua min-se
    SIP UA MIN-SE Value (seconds)
    Min-SE: 1800

  • Preventing outgoing calls through Call Block?

    I read a blog that stated that the 5 free incoming call blocking spaces also restrict outgoing calls to those numbers? Its not worded as incoming and outgoing, only Familybase is worded that way( for $5 a month). Does anyone know if the free blocking feature actually does block outgoing calls and texts to the specified numbers?

        Mik11,
    Great question, let's get to the bottom of this and address any confusion! The Call and Message Block will prevent incoming calls/messages it will not prevent outgoing calls or messages. If you are looking to block both incoming and outgoing then I would suggest going with our FamilyBase feature. Please let us know if you have additional questions or concerns. http://vz.to/1gRCDEj
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • Cucm , Cube via Sip and Sip Trunk to ISP , Outgoing calls not working

    Hi
    We have issue with the outgoing calls to sip trunk
    Below is the config and the debugs
    It will be great if you give your thoughts since we have stuck here
    My thoughts are:
    i see that for unknown reason the called number is going with 4 digits instead of 8 digits
    i dont see any sip message comming from ISP
    Maybe the call not going there ? to isp trunk? From the trace the call hit the correct dialpeer 888 but i see 4 digits as a called number , but i dodnt understant the reason to translated in 4 digits the called number.Not apply a translation rule for that
    confused!!!
    Calling Numbner:22324086
    Called Number: 23823690
    CUCM:192.168.1.241 and 242
    CUBE:192.168.1.10
    voice service voip
    ip address trusted list
      ipv4 0.0.0.0 0.0.0.0
    dtmf-interworking rtp-nte
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    supplementary-service h450.12
    no supplementary-service h225-notify cid-update
    no supplementary-service sip moved-temporarily
    no supplementary-service sip refer
    fax protocol none
    no fax-relay sg3-to-g3
    h323
    sip
      registrar server
      localhost dns:bbtb.cyta.com.cy
      outbound-proxy dns:sbg.bbtb.cyta.com.cy
      no update-callerid
      early-offer forced
    voice class codec 2
    codec preference 1 g711alaw
    codec preference 2 g711ulaw
    codec preference 3 g729br8
    codec preference 4 g729r8
    voice translation-rule 1
    rule 1 /.*\(....\)/ /\1/
    voice translation-rule 3
    rule 1 /^9/ //
    voice translation-rule 4
    rule 1 /\+/ /900/
    rule 2 /^\(9\)\(.......$\)/ /99\2/
    rule 3 /^\(2\)\(.......$\)/ /92\2/
    rule 4 /^0/ /90/
    rule 5 /^1/ /9001/
    rule 6 /^3/ /9003/
    rule 7 /^4/ /9004/
    rule 8 /^5/ /9005/
    rule 9 /^6/ /9006/
    rule 10 /^7/ /9007/
    rule 11 /^8/ /9008/
    rule 12 /^9/ /9009/
    rule 13 /^2/ /9002/
    voice translation-rule 5
    rule 1 // /2232/
    rule 2 /^9/ //
    voice translation-profile SIP_Incoming
    translate calling 4
    translate called 1
    voice translation-profile SIP_Outgoing
    translate calling 5
    translate called 3
    interface FastEthernet0/0
    ip address 192.168.1.10 255.255.255.0
    duplex auto
    speed auto
    interface FastEthernet0/1
    description **SIP TRUNK WITH CYTA**
    ip address 10.249.13.130 255.255.255.252
    duplex auto
    speed auto
    interface FastEthernet0/0
    ip address 192.168.1.10 255.255.255.0
    duplex auto
    speed auto
    interface FastEthernet0/1
    description **SIP TRUNK WITH CYTA**
    ip address 10.249.13.130 255.255.255.252
    duplex auto
    speed auto
    dial-peer voice 889 voip
    description **SIP Trunk to CUCM**
    destination-pattern 4086
    session protocol sipv2
    session target ipv4:192.168.1.242:5060
    voice-class codec 2 
    voice-class sip dtmf-relay force rtp-nte
    no voice-class sip outbound-proxy  
    voice-class sip bind control source-interface FastEthernet0/0
    voice-class sip bind media source-interface FastEthernet0/0
    dtmf-relay sip-notify
    no vad
    dial-peer voice 890 voip
    description **SIP Trunk to CUCM2**
    destination-pattern 4086
    session protocol sipv2
    session target ipv4:192.168.1.241:5060
    voice-class codec 2 
    voice-class sip dtmf-relay force rtp-nte
    no voice-class sip outbound-proxy  
    voice-class sip bind control source-interface FastEthernet0/0
    voice-class sip bind media source-interface FastEthernet0/0
    dtmf-relay sip-notify
    no vad
    dial-peer voice 888 voip
    description **SIP Trunk to CYTA OUTGOING**
    translation-profile incoming SIP_Incoming
    translation-profile outgoing SIP_Outgoing
    destination-pattern 9T
    session protocol sipv2
    session target sip-server
    incoming called-number .
    voice-class codec 2 
    voice-class sip dtmf-relay force rtp-nte
    dtmf-relay rtp-nte
    no vad
    voice service voip
    ip address trusted list
      ipv4 0.0.0.0 0.0.0.0
    dtmf-interworking rtp-nte
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    supplementary-service h450.12
    no supplementary-service h225-notify cid-update
    no supplementary-service sip moved-temporarily
    no supplementary-service sip refer
    fax protocol none
    no fax-relay sg3-to-g3
    h323
    sip
      registrar server
      localhost dns:bbtb.cyta.com.cy
      outbound-proxy dns:sbg.bbtb.cyta.com.cy
      no update-callerid
      early-offer forced
    voice class codec 2
    codec preference 1 g711alaw
    codec preference 2 g711ulaw
    codec preference 3 g729br8
    codec preference 4 g729r8
    voice translation-rule 1
    rule 1 /.*\(....\)/ /\1/
    voice translation-rule 3
    rule 1 /^9/ //
    voice translation-rule 4
    rule 1 /\+/ /900/
    rule 2 /^\(9\)\(.......$\)/ /99\2/
    rule 3 /^\(2\)\(.......$\)/ /92\2/
    rule 4 /^0/ /90/
    rule 5 /^1/ /9001/
    rule 6 /^3/ /9003/
    rule 7 /^4/ /9004/
    rule 8 /^5/ /9005/
    rule 9 /^6/ /9006/
    rule 10 /^7/ /9007/
    rule 11 /^8/ /9008/
    rule 12 /^9/ /9009/
    rule 13 /^2/ /9002/
    voice translation-rule 5
    rule 1 // /2232/
    rule 2 /^9/ //
    voice translation-profile SIP_Incoming
    translate calling 4
    translate called 1
    voice translation-profile SIP_Outgoing
    translate calling 5
    translate called 3
    dial-peer voice 889 voip
    description **SIP Trunk to CUCM**
    destination-pattern 4086
    session protocol sipv2
    session target ipv4:192.168.1.242:5060
    voice-class codec 2 
    voice-class sip dtmf-relay force rtp-nte
    no voice-class sip outbound-proxy  
    voice-class sip bind control source-interface FastEthernet0/0
    voice-class sip bind media source-interface FastEthernet0/0
    dtmf-relay sip-notify
    no vad
    dial-peer voice 890 voip
    description **SIP Trunk to CUCM2**
    destination-pattern 4086
    session protocol sipv2
    session target ipv4:192.168.1.241:5060
    voice-class codec 2 
    voice-class sip dtmf-relay force rtp-nte
    no voice-class sip outbound-proxy  
    voice-class sip bind control source-interface FastEthernet0/0
    voice-class sip bind media source-interface FastEthernet0/0
    dtmf-relay sip-notify
    no vad
    dial-peer voice 888 voip
    description **SIP Trunk to CYTA OUTGOING**
    translation-profile incoming SIP_Incoming
    translation-profile outgoing SIP_Outgoing
    destination-pattern 9T
    session protocol sipv2
    session target sip-server
    incoming called-number .
    voice-class codec 2 
    voice-class sip dtmf-relay force rtp-nte
    dtmf-relay rtp-nte
    no vad

    Hi Aok
    I change the default value for IPVMS from g711ulaw to g711alaw but the results remained the same
    Also i have  restarted the IPVMS
    SIP-GW#
    SIP-GW#
    *Mar  5 14:19:57.854: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    INVITE sip:[email protected]:5060;transport=tcp SIP/2.0
    Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK79816bbd4196
    From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
    To: ;tag=125E62C-1354
    Date: Tue, 05 Mar 2013 13:52:31 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces
    Min-SE:  1800
    User-Agent: Cisco-CUCM9.0
    Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
    CSeq: 102 INVITE
    Max-Forwards: 70
    Expires: 180
    Allow-Events: presence
    Supported: X-cisco-srtp-fallback
    Supported: Geolocation
    Session-Expires:  1800;refresher=uac
    P-Asserted-Identity:
    Remote-Party-ID: ;party=calling;screen=yes;privacy=off
    Contact:
    Content-Type: application/sdp
    Content-Length: 244
    v=0
    o=CiscoSystemsCCM-SIP 38874 2 IN IP4 192.168.1.241
    s=SIP Call
    c=IN IP4 0.0.0.0
    b=TIAS:64000
    b=AS:64
    t=0 0
    m=audio 24784 RTP/AVP 8 101
    a=rtpmap:8 PCMA/8000
    a=ptime:20
    a=inactive
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    *Mar  5 14:19:57.878: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060;transport=udp SIP/2.0
    Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK355253C
    From: [email protected]>;tag=125E594-5C7
    To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
    Date: Tue, 05 Mar 2013 14:19:57 GMT
    Call-ID: [email protected]
    Route:
    Supported: 100rel,timer,resource-priority,replaces,sdp-anat
    Min-SE:  1800
    Cisco-Guid: 3698592896-0000065536-0000000107-4043417792
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 102 INVITE
    Max-Forwards: 70
    Timestamp: 1362493197
    Contact:
    Expires: 60
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Length: 262
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 6506 3807 IN IP4 10.249.13.130
    s=SIP Call
    c=IN IP4 10.249.13.130
    t=0 0
    m=audio 19234 RTP/AVP 8 101
    c=IN IP4 10.249.13.130
    a=inactive
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:20
    *Mar  5 14:19:57.878: //716/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 100 Trying
    Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK79816bbd4196
    From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
    To: ;tag=125E62C-1354
    Date: Tue, 05 Mar 2013 14:19:57 GMT
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Allow-Events: telephone-event
    Server: Cisco-SIPGateway/IOS-12.x
    Content-Length: 0
    *Mar  5 14:19:57.926: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 200 OK
    Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK355253C
    To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
    From: [email protected]>;tag=125E594-5C7
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Contact:
    Require: timer
    Session-Expires: 1800;refresher=uac
    Content-Type: application/sdp
    Content-Length: 213
    Allow: ACK, BYE, CANCEL, INVITE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE, INFO
    Accept: application/media_control+xml
    Accept: application/sdp
    Accept: application/x-broadworks-call-center+xml
    v=0
    o=BroadWorks 96335268 2 IN IP4 10.224.42.164
    s=-
    c=IN IP4 10.224.42.72
    t=0 0
    m=audio 54932 RTP/AVP 8 101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:20
    a=inactive
    *Mar  5 14:19:57.942: //716/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK79816bbd4196
    From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
    To: ;tag=125E62C-1354
    Date: Tue, 05 Mar 2013 14:19:57 GMT
    Call-ID: [email protected]
    CSeq: 102 INVITE
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    Allow-Events: telephone-event
    Contact:
    Supported: replaces
    Supported: sdp-anat
    Server: Cisco-SIPGateway/IOS-12.x
    Session-Expires:  1800;refresher=uac
    Require: timer
    Supported: timer
    Content-Type: application/sdp
    Content-Length: 259
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 9410 5774 IN IP4 192.168.1.10
    s=SIP Call
    c=IN IP4 192.168.1.10
    t=0 0
    m=audio 19314 RTP/AVP 8 101
    c=IN IP4 192.168.1.10
    a=inactive
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=ptime:20
    *Mar  5 14:19:57.946: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060;transport=udp SIP/2.0
    Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK3562A4
    From: [email protected]>;tag=125E594-5C7
    To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
    Date: Tue, 05 Mar 2013 14:19:57 GMT
    Call-ID: [email protected]
    Route:
    Max-Forwards: 70
    CSeq: 102 ACK
    Allow-Events: telephone-event
    Content-Length: 0
    *Mar  5 14:19:57.946: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    ACK sip:[email protected]:5060;transport=tcp SIP/2.0
    Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK798246ab3597
    From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
    To: ;tag=125E62C-1354
    Date: Tue, 05 Mar 2013 13:52:31 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 102 ACK
    Allow-Events: presence
    Content-Length: 0
    *Mar  5 14:19:58.146: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    INVITE sip:[email protected]:5060;transport=tcp SIP/2.0
    Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK7983739137ab
    From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
    To: ;tag=125E62C-1354
    Date: Tue, 05 Mar 2013 13:52:31 GMT
    Call-ID: [email protected]
    Supported: timer,resource-priority,replaces
    Min-SE:  1800
    User-Agent: Cisco-CUCM9.0
    Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
    CSeq: 103 INVITE
    Max-Forwards: 70
    Expires: 180
    Allow-Events: presence
    Supported: X-cisco-srtp-fallback
    Supported: Geolocation
    Session-Expires:  1800;refresher=uac
    P-Asserted-Identity:
    Remote-Party-ID: ;party=calling;screen=yes;privacy=off
    Contact:
    Content-Length: 0
    *Mar  5 14:19:58.158: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060;transport=udp SIP/2.0
    Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK3571933
    From: [email protected]>;tag=125E594-5C7
    To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
    Date: Tue, 05 Mar 2013 14:19:58 GMT
    Call-ID: [email protected]
    Route:
    Supported: timer,resource-priority,replaces,sdp-anat
    Min-SE:  1800
    Cisco-Guid: 3698592896-0000065536-0000000107-4043417792
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 103 INVITE
    Max-Forwards: 70
    Timestamp: 1362493198
    Contact:
    Expires: 60
    Allow-Events: telephone-event
    Content-Length: 0
    *Mar  5 14:19:58.158: //716/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 100 Trying
    Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK7983739137ab
    From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
    To: ;tag=125E62C-1354
    Date: Tue, 05 Mar 2013 14:19:58 GMT
    Call-ID: [email protected]
    CSeq: 103 INVITE
    Allow-Events: telephone-event
    Server: Cisco-SIPGateway/IOS-12.x
    Content-Length: 0
    *Mar  5 14:19:58.218: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 200 OK
    Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK3571933
    To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
    From: [email protected]>;tag=125E594-5C7
    Call-ID: [email protected]
    CSeq: 103 INVITE
    Contact:
    Require: timer
    Session-Expires: 1800;refresher=uac
    Content-Type: application/sdp
    Content-Length: 216
    Allow: ACK, BYE, CANCEL, INVITE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE, INFO
    Accept: application/media_control+xml
    Accept: application/sdp
    Accept: application/x-broadworks-call-center+xml
    v=0
    o=BroadWorks 96335268 3 IN IP4 10.224.42.164
    s=-
    c=IN IP4 10.224.42.72
    t=0 0
    m=audio 54932 RTP/AVP 8 18 96 99
    a=rtpmap:96 AMR/8000
    a=rtpmap:99 telephone-event/8000
    a=fmtp:99 0-15
    a=ptime:20
    a=sendrecv
    *Mar  5 14:19:58.234: //716/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    SIP/2.0 200 OK
    Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK7983739137ab
    From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
    To: ;tag=125E62C-1354
    Date: Tue, 05 Mar 2013 14:19:58 GMT
    Call-ID: [email protected]
    CSeq: 103 INVITE
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    Allow-Events: telephone-event
    Contact:
    Supported: replaces
    Supported: sdp-anat
    Server: Cisco-SIPGateway/IOS-12.x
    Session-Expires:  1800;refresher=uac
    Require: timer
    Supported: timer
    Content-Type: application/sdp
    Content-Length: 283
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 9410 5775 IN IP4 192.168.1.10
    s=SIP Call
    c=IN IP4 192.168.1.10
    t=0 0
    m=audio 19314 RTP/AVP 8 18 101
    c=IN IP4 192.168.1.10
    a=rtpmap:8 PCMA/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=yes
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    *Mar  5 14:19:58.242: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    ACK sip:[email protected]:5060;transport=tcp SIP/2.0
    Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK7985648033f2
    From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
    To: ;tag=125E62C-1354
    Date: Tue, 05 Mar 2013 13:52:31 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 103 ACK
    Allow-Events: presence
    Content-Type: application/sdp
    Content-Length: 192
    v=0
    o=CiscoSystemsCCM-SIP 38874 3 IN IP4 192.168.1.241
    s=SIP Call
    c=IN IP4 192.168.1.241
    t=0 0
    m=audio 4000 RTP/AVP 8
    a=X-cisco-media:umoh
    a=rtpmap:8 PCMA/8000
    a=ptime:20
    a=sendonly
    *Mar  5 14:19:58.262: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060;transport=udp SIP/2.0
    Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK358582
    From: [email protected]>;tag=125E594-5C7
    To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
    Date: Tue, 05 Mar 2013 14:19:58 GMT
    Call-ID: [email protected]
    Route:
    Max-Forwards: 70
    CSeq: 103 ACK
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Length: 259
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 6506 3808 IN IP4 10.249.13.130
    s=SIP Call
    c=IN IP4 10.249.13.130
    t=0 0
    m=audio 19234 RTP/AVP 8 99
    c=IN IP4 10.249.13.130
    a=sendonly
    a=rtpmap:8 PCMA/8000
    a=rtpmap:99 telephone-event/8000
    a=fmtp:99 0-15
    a=ptime:20
    SIP-GW#
    SIP-GW#sh voip rtp connections
    VoIP RTP active connections :
    No. CallId     dstCallId  LocalRTP RmtRTP     LocalIP                                RemoteIP
    1     716        717        19314    4000     192.168.1.10                           192.168.1.241
    2     717        716        19234    54932    10.249.13.130                          10.224.42.72
    Found 2 active RTP connections

  • Confused by basic SIP Trunk configuration.

    I've went through a few basic SIP trunk configurations and Youtube videos the last couple days but can't figure out what I'm doing wrong.
    I've set up H323 and MGCP no problem, but I can't figure out the SIP trunk set up. I'm guessing there are some concepts I'm not understanding yet.
    I've got a CUCM lab set up. A 2851 PSTN Simulator, 2851 H323 Gateway at the Main site with a 9.0 CUCM setup in that site and a Branch site that I'm trying to set up as a SIP trunk to connect two phones.
    CUCM is on the 192.168.5.x/24 subnet. 172.16.0.x/24 is the subnet connecting the serial(internet) cable between the two gateways in which I'm trying to establish the trunk between.
    The Branch phones are still registering with the CUCM at the main site. The Route Pattern is looking to the Branch Route List which has the SIP Trunk listed. I'm just getting a fast busy when trying to place a call from the branch site to the main site.
    The most frustrating thing I'm not understanding, is that the debug ccsip and call debugs on my SIP Branch gateway shows absolutely nothing.  I've tried registering the branch phones with the SIP Trunk, but stopped when I figured that shouldn't be necessary.
    If someone can make some sense of this, I'd truly appreciate it!

    Hello Aditya and thanks for the consideration!
    I do have a direct IP connection, but I want to set up a SIP trunk and use it just to know how to do it before I do it in production. 
    I did end up deleting the phones from CUCM so they can register with the 2851 CME that I'm setting up as a SIP trunk. So it is registering there, and I set the allow connections and bind sip commands.
    I am now getting Debugs and calls from the SIP Trunk router going to CUCM, but the error message is No Codec, and I Get the fast busy after the call rings on the CUCM Main Site side. So looks like the negotiation is failing. Here is my CLI for the SIP Trunk now after the changes have been made and phones registered to the SIP Branch site as well as the Debug when I tried to place a call to extension "5000":
    Note: I did try to change the codecs in the dial-peers to g729r8 instead of 711 and same fast busy after answering.
    ==============================================
    Branch_SIP#show run
    Building configuration...
    Current configuration : 3529 bytes
    ! Last configuration change at 03:15:11 UTC Thu Apr 2 2015
    version 15.1
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    hostname Branch_SIP
    boot-start-marker
    boot-end-marker
    ! card type command needed for slot/vwic-slot 0/2
    enable secret 5 $1$hOXF$gvfmWW1ZIQE0mAMVg.u1c/
    no aaa new-model
    dot11 syslog
    ip source-route
    ip cef
    ip dhcp excluded-address 10.0.10.1 10.0.10.10
    ip dhcp excluded-address 10.0.30.1 10.0.30.10
    ip dhcp pool Data
     network 10.0.10.0 255.255.255.0
     default-router 10.0.10.254
     option 150 ip 192.168.5.250
     dns-server 192.168.5.200
    ip dhcp pool Voice
     network 10.0.30.0 255.255.255.0
     default-router 10.0.30.254
     dns-server 192.168.5.200
     option 150 ip 172.16.0.1
    ip dhcp pool data
     option 150 ip 172.16.0.2
    no ipv6 cef
    multilink bundle-name authenticated
    voice service voip
     allow-connections sip to sip
     sip
      bind media source-interface Loopback1
    voice-card 0
    crypto pki token default removal timeout 0
    license udi pid CISCO2851 sn FTX1031A2FM
    redundancy
    interface Loopback1
     ip address 2.2.2.2 255.255.255.255
    interface GigabitEthernet0/0
     no ip address
     duplex auto
     speed auto
    interface GigabitEthernet0/0.10
     encapsulation dot1Q 10
     ip address 10.0.10.254 255.255.255.0
    interface GigabitEthernet0/0.30
     encapsulation dot1Q 30
     ip address 10.0.30.254 255.255.255.0
    interface GigabitEthernet0/1
     no ip address
     shutdown
     duplex auto
     speed auto
    interface Serial0/3/0
     no ip address
     shutdown
     clock rate 2000000
    interface Serial0/3/1
     ip address 172.16.0.1 255.255.255.0
     clock rate 250000
    interface Internal-Service-Module0/0
     no ip address
     shutdown
     !Application: CUE Running on AIM2
     hold-queue 512 out
    router eigrp 1
     network 0.0.0.0
     network 2.2.2.2 0.0.0.0
     network 10.0.0.0
     network 10.0.10.0 0.0.0.255
     network 10.0.30.0 0.0.0.255
     network 172.16.0.0
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    ip route 0.0.0.0 0.0.0.0 172.16.0.2
    tftp-server flash:term45.default.loads
    tftp-server flash:jar45sccp.8-5-3TH1-6.sbn
    tftp-server flash:cnu45.8-5-3TH1-6.sbn
    tftp-server flash:apps45.8-5-3TH1-6.sbn
    tftp-server flash:dsp45.8-5-3TH1-6.sbn
    tftp-server flash:cvm45sccp.8-5-3TH1-6.sbn
    control-plane
    voice-port 0/0/0
    voice-port 0/0/1
    mgcp profile default
    dial-peer voice 1 voip
     description **Incoming Call from SIP Trunk**
     session protocol sipv2
     session target sip-server
     codec g711ulaw
    dial-peer voice 2 voip
     description **Outgoing Call to SIP Trunk**
     destination-pattern 5...
     session protocol sipv2
     session target sip-server
     codec g711ulaw
    sip-ua
     sip-server ipv4:192.168.5.250
    telephony-service
     codec g711ulaw
     max-ephones 24
     max-dn 48
     ip source-address 172.16.0.1 port 2000
     system message SIP Branch Site
     cnf-file location flash:
     load 7960-7940 P00308010200.bin
     max-conferences 8 gain -6
     transfer-system full-consult
    ephone-dn  1
     number 4008
    ephone-dn  2
     number 4005
    ephone  1
     device-security-mode none
     mac-address 001D.A21A.2065
     button  1:1
    line con 0
     exec-timeout 0 0
    line aux 0
    line 194
     no activation-character
     no exec
     transport preferred none
     transport input all
     transport output lat pad telnet rlogin lapb-ta mop udptn v120 ssh
     stopbits 1
     speed 115200
    line vty 0 4
     password cisco
     login
     transport input all
    line vty 5 15
     password cisco
     login
     transport input all
    scheduler allocate 20000 1000
    end
    Branch_SIP#show debug
    TFTP:
      TFTP Event debugging is on
    CCSIP SPI: SIP Call Statistics tracing is enabled       (filter is OFF)
    Branch_SIP#
    *Apr  2 03:20:32.351: //25/0C496935804A/SIP/Call/sipSPICallInfo:
    The Call Setup Information is:
    Call Control Block (CCB) : 0x4B6C5C28
    State of The Call        : STATE_DEAD
    TCP Sockets Used         : NO
    Calling Number           : 4008
    Called Number            : 5005
    Source IP Address (Sig  ): 172.16.0.1
    Destn SIP Req Addr:Port  : 192.168.5.250:5060
    Destn SIP Resp Addr:Port : 192.168.5.250:5060
    Destination Name         : 192.168.5.250
    *Apr  2 03:20:32.351: //25/0C496935804A/SIP/Call/sipSPIMediaCallInfo:
    Number of Media Streams: 1
    Media Stream             : 1
    Negotiated Codec         : No Codec
    Negotiated Codec Bytes   : 0
    Nego. Codec payload      : 255 (tx), 255 (rx)
    Negotiated Dtmf-relay    : 0
    Dtmf-relay Payload       : 0 (tx), 0 (rx)
    Source IP Address (Media): 2.2.2.2
    Source IP Port    (Media): 19472
    Destn  IP Address (Media):  -
    Destn  IP Port    (Media): 0
    Orig Destn IP Address:Port (Media): [ - ]:0
    *Apr  2 03:20:32.351: //25/0C496935804A/SIP/Call/sipSPICallInfo:
    Disconnect Cause (CC)    : 63
    Disconnect Cause (SIP)   : 503
    Branch_SIP#

  • Prevent called party number changes on outgoing call to PSTN

    Hello Folks,
    we have CUCM 9.1 with SIP trunks to cisco 2951 connected to the PSTN either by BRI or PRI module.
    we have implemented internal full e.164 (including +) dialplan
    when    we do an outgoing call (via SIP trunk and 2951) the phones first  shows   the full e.164 number i.e. +4970366431002. As soon as the call  goes  out  to the PSTN, the display changes to the number format in  which the  2951  sends the call to the ISDN.
    Because in  ISDN  there  is no +, the gateway translates the called number to (in  this  example)  70366431002 TON national. and sends this back to CUCM in  the  Session  progress Remote-Party-ID value (see output from debug  on the 2951 below)
    how can we prevend that the phone is showing this number instead of the original number?
    thanks a lot - mat
    debug isdn q931
        Calling Party Number i = 0x1081, '497142500290'
            Plan:Unknown, Type:International
        Called Party Number i = 0xA1, '70346431002'
            Plan:ISDN, Type:National
    debug ccsip  messages:
    Sent:
    SIP/2.0 183 Session Progress
    Via: SIP/2.0/TCP 10.1.60.2:5060;branch=z9hG4bK3b5c02cb10b0d
    From: <sip:[email protected]>;tag=3018449~a209bda8-de62-43dc-9e6a-6ebfafc31bde-46236303
    To: <sip:[email protected]>;tag=ED03BF44-10BA
    Date: Mon, 02 Sep 2013 12:41:56 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    Allow-Events: telephone-event
    Remote-Party-ID: <sip:[email protected]>;party=called;screen=no;privacy=off
    Contact: <sip:[email protected]:5060;transport=tcp>

    Hi,
    any calling or called transformation in the route pattern appears in the screen.
    you can discard the 9 in the route pattern and add prefix 9 in the route list level.
    for the 2nd point there is a service parameter in the call manager to keep the original dialed number
    HTH
    Anas
    don't forget to rate the helpful posts

Maybe you are looking for