[cisco-voip] CUBE not requesting codec... call fails... need to force SDP in invite...

Jonathan Charles jonvoip at gmail.com
Tue Jan 24 17:03:11 EST 2012


>From the attached debug, we are sending an invite without codec info;
carrier comes back and says G729 and we drop it. Users hear one ring and
fast busy.

Route is running SP Services 15.1.4M1

Network is Phone to CCM, H.323 to CUBE, SIP to Provider.

LD calls work cuz they are G.711 all the way, 800 numbers fail (cuz the
carrier points it at a G.729 trunk).


I have implemented the fix here:

http://www.markholloway.com/blog/?p=1325

But it doesn't work.

The H.323 gateway does NOT have MTP required checked currently (it made no
difference.




[relevant config]
!
voice service voip
 ip address trusted list
  ipv4 10.0.0.0 255.0.0.0
  ipv4 172.16.0.0 255.240.0.0
  ipv4 172.20.0.0 255.255.255.0
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 fax protocol pass-through g711ulaw
 h323
  h225 display-ie ccm-compatible
 modem passthrough nse payload-type 101 codec g711ulaw
 sip
  bind control source-interface GigabitEthernet0/0
  bind media source-interface GigabitEthernet0/0
!
voice class codec 1
 codec preference 1 g711ulaw
 codec preference 2 g729r8
!
dial-peer voice 201 voip
 translation-profile outgoing Last10
 preference 1
 destination-pattern ^1[1-9].........
 session protocol sipv2
 session target ipv4:72.11.192.82
 session transport udp
 voice-class codec 1
 no voice-class sip pass-thru content sdp
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 202 voip
 translation-profile outgoing Last10
 preference 2
 destination-pattern ^1[1-9].........
 session protocol sipv2
 session target ipv4:72.11.193.82
 session transport udp
 no voice-class sip g729 annexb-all
 no voice-class sip pass-thru content sdp
 dtmf-relay rtp-nte
 no vad
!


So, the question is, how do I force an SDP specifying G.711 in the invite?




Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20120124/f3dddb98/attachment.html>
-------------- next part --------------

CUBE#
CUBE#
CUBE#deb ccsip messages 
SIP Call messages tracing is enabled
CUBE#
*Jan 24 21:46:50.048 UTC: //1546/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Sent: 
INVITE sip:8005532447 at 10.1.1.1:5060 SIP/2.0
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8818CE
Remote-Party-ID: <sip:2025550155 at 172.20.0.3>;party=calling;screen=yes;privacy=off
From: <sip:2025550155 at 172.20.0.3>;tag=675A968C-8DE
To: <sip:8005532447 at 10.1.1.1>
Date: Tue, 24 Jan 2012 21:46:50 GMT
Call-ID: C15C0AFB-460B11E1-8CC5B54C-7FA6CFDA at 172.20.0.3
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 2163761123-3190223345-1493215746-2887056912
User-Agent:
CUBE# 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: 1327441610
Contact: <sip:2025550155 at 172.20.0.3:5060>
Expires: 180
Allow-Events: telephone-event
Content-Length: 0


*Jan 24 21:46:50.076 UTC: //1546/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Received: 
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8818CE
From: <sip:2025550155 at 172.20.0.3>;tag=675A968C-8DE
To: <sip:8005532447 at 10.1.1.1>
Call-ID: C15C0AFB-460B11E1-8CC5B54C-7FA6CFDA at 172.20.0.3
CSeq: 101 INVITE
Timestamp: 1327441610


CUBE#
*Jan 24 21:46:52.104 UTC: //1546/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Received: 
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8818CE
From: <sip:2025550155 at 172.20.0.3>;tag=675A968C-8DE
To: <sip:8005532447 at 10.1.1.1>;tag=1300124975-1327441600272
Call-ID: C15C0AFB-460B11E1-8CC5B54C-7FA6CFDA at 172.20.0.3
CSeq: 101 INVITE
Timestamp: 1327441610
Supported: 
Contact: <sip:10.1.1.1:5060;transport=udp>
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY
Content-Length: 0


*Jan 24 21:46:52.548 UTC: //1546/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Received: 
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8818CE
From: <sip:2025550155 at 172.20.0.3>;tag=675A968C-8DE
To: <sip:8005532447 at 10.1.1.1>;tag=1300124975-1327441600272
Call-ID: C15C0AFB-460B11E1-8CC5B54C-7FA6CFDA at 172.20.0.3
CSeq: 101 INVITE
Timestamp: 1327441610
Supported: 
Contact: <sip:10.1.1.1:5060;transport=udp>
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY
Accept: multipart/mixed,application/media_control+xml,application/sdp
Content-Type: application/sdp
Content-Length: 182

v=0
o=- 2166704496 1 IN IP4 72.11.192.93
s=-
c=IN IP4 72.11.192.93
t=0 0
m=audio 45074 RTP/AVP 18 101
a=silenceSupp:off - - - -
a=ptime:20
a=rtpmap:101 telephone-event/8000

*Jan 24 21:46:52.556 UTC: //1546/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Sent: 
ACK sip:10.1.1.1:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK882E38
From: <sip:2025550155 at 172.20.0.3>;tag=675A968C-8DE
To: <sip:8005532447 at 10.1.1.1>;tag=1300124975-1327441600272
Date: Tue, 24 Jan 2012 21:46:50 GMT
Call-ID: C15C0AFB-460B11E1-8CC5B54C-7FA6CFDA at 172.20.0.3
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0


*Jan 24 21:46:52.556 UTC: //1546/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Sent: 
BYE sip:10.1.1.1:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8831EDC
From: <sip:2025550155 at 172.20.0.3>;tag=675A968C-8DE
To: <sip:8005532447 at 10.1.1.1>;tag=1300124975-1327441600272
Date: Tue, 24 Jan 2012 21:46:50 GMT
Call-ID: C15C0AFB-460B11E1-8CC5B54C-7FA6CFDA at 172.20.0.3
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1327441612
CSeq: 102 BYE
Reason: Q.850;cause=65
P-RTP-Stat: PS=0,OS=0,PR=0,OR=0,PL=0,JI=0,LA=0,DU=1733992
Content-Length: 0


*Jan 24 21:46:52.584 UTC: //1546/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Received: 
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8831EDC
From: <sip:2025550155 at 172.20.0.3>;tag=675A968C-8DE
To: <sip:8005532447 at 10.1.1.1>;tag=1300124975-1327441600272
Call-ID: C15C0AFB-460B11E1-8CC5B54C-7FA6CFDA at 172.20.0.3
Timestamp: 1327441612
CSeq: 102 BYE
Content-Length: 0


*Jan 24 21:46:52.604 UTC: //1547/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Sent: 
INVITE sip:8005532447 at 72.11.193.82:5060 SIP/2.0
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8841EA
Remote-Party-ID: <sip:2025550155 at 172.20.0.3>;party=calling;screen=yes;privacy=off
From: <sip:2025550155 at 172.20.0.3>;tag=675AA084-B51
To: <sip:8005532447 at 72.11.193.82>
Date: Tue, 24 Jan 2012 21:46:52 GMT
Call-ID: C2E17171-460B11E1-8CC7B54C-7FA6CFDA at 172.20.0.3
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 2163761123-3190223345-1493215746-2887056912
User-Agent:
CUBE# 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: 1327441612
Contact: <sip:2025550155 at 172.20.0.3:5060>
Expires: 180
Allow-Events: telephone-event
Content-Length: 0


*Jan 24 21:46:52.632 UTC: //1547/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Received: 
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8841EA
From: <sip:2025550155 at 172.20.0.3>;tag=675AA084-B51
To: <sip:8005532447 at 72.11.193.82>
Call-ID: C2E17171-460B11E1-8CC7B54C-7FA6CFDA at 172.20.0.3
CSeq: 101 INVITE
Timestamp: 1327441612


CUBE#
*Jan 24 21:46:54.888 UTC: //1547/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Received: 
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8841EA
From: <sip:2025550155 at 172.20.0.3>;tag=675AA084-B51
To: <sip:8005532447 at 72.11.193.82>;tag=1007683268-1327441603042
Call-ID: C2E17171-460B11E1-8CC7B54C-7FA6CFDA at 172.20.0.3
CSeq: 101 INVITE
Timestamp: 1327441612
Supported: 
Contact: <sip:72.11.193.82:5060;transport=udp>
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY
Content-Length: 0


*Jan 24 21:46:55.212 UTC: //1547/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Received: 
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8841EA
From: <sip:2025550155 at 172.20.0.3>;tag=675AA084-B51
To: <sip:8005532447 at 72.11.193.82>;tag=1007683268-1327441603042
Call-ID: C2E17171-460B11E1-8CC7B54C-7FA6CFDA at 172.20.0.3
CSeq: 101 INVITE
Timestamp: 1327441612
Supported: 
Contact: <sip:72.11.193.82:5060;transport=udp>
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY
Accept: multipart/mixed,application/media_control+xml,application/sdp
Content-Type: application/sdp
Content-Length: 182

v=0
o=- 3775613043 1 IN IP4 72.11.193.93
s=-
c=IN IP4 72.11.193.93
t=0 0
m=audio 47696 RTP/AVP 18 101
a=silenceSupp:off - - - -
a=ptime:20
a=rtpmap:101 telephone-event/8000

*Jan 24 21:46:55.220 UTC: //1547/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Sent: 
ACK sip:72.11.193.82:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK885253B
From: <sip:2025550155 at 172.20.0.3>;tag=675AA084-B51
To: <sip:8005532447 at 72.11.193.82>;tag=1007683268-1327441603042
Date: Tue, 24 Jan 2012 21:46:52 GMT
Call-ID: C2E17171-460B11E1-8CC7B54C-7FA6CFDA at 172.20.0.3
Max-Forwards: 70
CSeq: 101 ACK
Allow-Events: telephone-event
Content-Length: 0


*Jan 24 21:46:55.220 UTC: //1547/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Sent: 
BYE sip:72.11.193.82:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8861AFB
From: <sip:2025550155 at 172.20.0.3>;tag=675AA084-B51
To: <sip:8005532447 at 72.11.193.82>;tag=1007683268-1327441603042
Date: Tue, 24 Jan 2012 21:46:52 GMT
Call-ID: C2E17171-460B11E1-8CC7B54C-7FA6CFDA at 172.20.0.3
User-Agent: Cisco-SIPGateway/IOS-12.x
Max-Forwards: 70
Timestamp: 1327441615
CSeq: 102 BYE
Reason: Q.850;cause=65
P-RTP-Stat: PS=0,OS=0,PR=0,OR=0,PL=0,JI=0,LA=0,DU=1733995
Content-Length: 0


*Jan 24 21:46:55.288 UTC: //1547/80F85FE35900/SIP/Msg/ccsipDisplayMsg:
Received: 

CUBE#SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.20.0.3:5060;branch=z9hG4bK8861AFB
From: <sip:2025550155 at 172.20.0.3>;tag=675AA084-B51
To: <sip:8005532447 at 72.11.193.82>;tag=1007683268-1327441603042
Call-ID: C2E17171-460B11E1-8CC7B54C-7FA6CFDA at 172.20.0.3
Timestamp: 1327441615
CSeq: 102 BYE
Content-Length: 0


CUBE#
CUBE#
CUBE#
CUBE#


More information about the cisco-voip mailing list