06-17-2014 04:43 AM - edited 03-16-2019 11:08 PM
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:141756@92.63.108.115>"
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:375298911396@sip.zadarma.com:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK36571F65
From: "" <sip:141756@92.63.108.115>;tag=40FCB218-23D7
To: <sip:375298911396@sip.zadarma.com>
Date: Tue, 17 Jun 2014 09:23:09 GMT
Call-ID: D48B9FA6-F53711E3-AE57FAC8-2C2E981E@92.63.108.115
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:141756@92.63.108.115: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:141756@92.63.108.115>;tag=40FCB218-23D7
To: <sip:375298911396@sip.zadarma.com>;tag=b638310eda6e4a73cf10b7fe3c94c572.6d40
Call-ID: D48B9FA6-F53711E3-AE57FAC8-2C2E981E@92.63.108.115
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:375298911396@sip.zadarma.com:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK36571F65
From: "Vankuver" <sip:141756@92.63.108.115>;tag=40FCB218-23D7
To: <sip:375298911396@sip.zadarma.com>;tag=b638310eda6e4a73cf10b7fe3c94c572.6d40
Date: Tue, 17 Jun 2014 09:23:09 GMT
Call-ID: D48B9FA6-F53711E3-AE57FAC8-2C2E981E@92.63.108.115
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:375298911396@sip.zadarma.com:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK365820F2
From: "" <sip:141756@92.63.108.115>;tag=40FCB218-23D7
To: <sip:375298911396@sip.zadarma.com>
Date: Tue, 17 Jun 2014 09:23:09 GMT
Call-ID: D48B9FA6-F53711E3-AE57FAC8-2C2E981E@92.63.108.115
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:141756@92.63.108.115: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:375298911396@sip.zadarma.com: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:375298911396@sip.zadarma.com:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK365820F2
From: "" <sip:141756@92.63.108.115>;tag=40FCB218-23D7
To: <sip:375298911396@sip.zadarma.com>
Date: Tue, 17 Jun 2014 09:23:09 GMT
Call-ID: D48B9FA6-F53711E3-AE57FAC8-2C2E981E@92.63.108.115
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:141756@92.63.108.115: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:375298911396@sip.zadarma.com: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:375298911396@sip.zadarma.com:5060 SIP/2.0
Via: SIP/2.0/UDP 92.63.108.115:5060;branch=z9hG4bK365820F2
From: "" <sip:141756@92.63.108.115>;tag=40FCB218-23D7
To: <sip:375298911396@sip.zadarma.com>
Date: Tue, 17 Jun 2014 09:23:10 GMT
Call-ID: D48B9FA6-F53711E3-AE57FAC8-2C2E981E@92.63.108.115
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:141756@92.63.108.115: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:375298911396@sip.zadarma.com: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!
06-17-2014 08:10 AM
could you please attach the complete debug output with calling/called number details?
06-17-2014 11:19 PM
06-18-2014 12:15 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide