cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
31256
Views
20
Helpful
58
Replies
Highlighted
Frequent Contributor

SIP trunk early offer

Hi,

We have configured a trunk with a provider using CUBE.

Callmanager--------CUBE--------Provider

The provider wants early offer and G729r8

So we configured a SIP trunk with a device pool/region so that only g729 is allowed between SIP trunk and the rest.

We have configured an IOS MTP resource, and this is registered on callmanager:

!

dspfarm profile 2 mtp

codec g729r8

maximum sessions software 20

associate application SCCP

!

!

The mtp resource is assign to the trunk using MR-list and MR-group

The trunk has MTP enabled with "MTP prefered Codec" G729b/G729ab

On CUBE we enable "deb ccsip mess" and we see the invite comming from callmanager, but without attached SDP

What must be done to make callmanager use early-offer?

Thanks for the help,

Jan

Everyone's tags (1)
58 REPLIES 58
Highlighted
Cisco Employee

Re: SIP trunk early offer

Check MTP required on the SIP trunk configuration page or if you are on CUCM 8.5 or later go to the SIP Profile (Device > Device Settings > SIP Profile) and check "Early Offer support for voice and video calls (insert MTP if needed)".

Highlighted
Frequent Contributor

Re: SIP trunk early offer

Hello Joe,

I have MTP required enabled on the trunk, but it doesn't really change anything.

If I enable, or don't enable "MTP required" the SIP INVITE from callmanager is the same.

We are running Callmanager 7.1.5, so we don't have the option in the SIP profile.

When we establish a call I can see that the IOS MTP is involved (show sccp connections) but no early offer.

To make a successfull cal we force the provider dial-peer to use G729 only.

Unfortunately this IOS doesn't have the forced early offer option.

Is there someone who has succeeded in making CM 7.1.5 do an early offer?

Thanks,

Jan

Highlighted
Cisco Employee

Re: SIP trunk early offer

Hi Jan,

Here is your answer

http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/srnd/7x/media.html#wp1055833

Snippet from above

SIP Early Offer

SIP negotiates media exchange via Session Description Protocol (SDP),  where one side offers a set of capabilities to which the other side  answers, thus converging on a set of media characteristics. SIP allows  the initial offer to be sent either by the caller in the initial INVITE  message or, if the caller chooses not to, the called party can send the  initial offer in the first reliable response. By default, Unified CM  sends the INVITE without an initial offer, and it requires MTP resources  to send the offer in the INVITE. Note that this initial offer is  limited to the G.711 codec only.

Also note that MTP resources are not required for incoming INVITE messages, whether or not they contain an initial offer.

Regards

Niket

Highlighted
Frequent Contributor

Re: SIP trunk early offer

Hi Niket,

You seem to be right, when I force 711 I see early offer.

But it is weird that on the trunk configuration page, it allows me to select a g729 codec as prefered codec.

Can you explain why this option is there, although it doesn't sem to work?

Thanks for your help,

Jan

Highlighted
Cisco Employee

Re: SIP trunk early offer

Hi Jan,

I dont know whats the logic and i dont have a confirmed answer, behind not supporting the g729 codec in CM 7.1.5 , however when i open the SRND for CM 8.x

http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/srnd/8x/trunks.html#wp1126420

I dont see any requirements on the codec.

So somewhere between CM 7.x and CM 8.x there must be a fix for supporting the g729 codec on early offer.

Hope this helps.

Regards

Niket

Highlighted
Frequent Contributor

Re: SIP trunk early offer

Hi Niket,

Thank you very much.

We are testing now with another router that has an IOS which supports 'SIP early offer forced' and we hope that this will work.

So the callmanager will send a normal INVITE (delayed offer) and the CUBE will send out a early offer to the provider.

Regards,

Jan

Highlighted
VIP Mentor

SIP trunk early offer

J,

Did the early offer-forced work?

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts
Highlighted
Frequent Contributor

SIP trunk early offer

Hi,

We haven't configured yet. I shall let the community know.

Thanks for all,

Jan

VIP Mentor

SIP trunk early offer

J,

I just saw your query on the ask the expert forum. I thought I should chip in here for you.

Yes CUCM can send delay offer and CUBE can send early offer. This is how we have it configured for one of my biggest customers with 3 clusters (8 server/cluster) and it works very well...

Here is a snippet from our CUBE config..

sip

early-offer forced.

Here is a sample trace..

+++++CUCM sends invite without early offer+++++++++

Received:
INVITE sip:07544455678@172.16.10.74:5060 SIP/2.0
Via: SIP/2.0/UDP 172.16.10.174:5060;branch=z9hG4bKa41e64e002602
From: "Chelmsford" <01256748210>;tag=517285~ffa80926-5fac-4dd6-b405-2dbbc56ae9a2-400694295
To: <07544455678>
Date: Mon, 18 Jun 2012 09:46:00 GMT
Call-ID: 67d44180-fde1f8d8-3aead-ae28690a@172.16.10.174
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
Supported: Geolocation
Call-Info: <172.16.10.174:5060>;method="NOTIFY;Event=telephone-event;Duration=500"
Cisco-Guid: 1741963648-0000065536-0000064326-2921883914
Session-Expires:  84600
Contact: <01256748210>
Max-Forwards: 70
Content-Length: 0

++++++++++++++CUBE sends a trying to CUCM++++++++++++++++

Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.16.10.174:5060;branch=z9hG4bKa41e64e002602
From: "Chelmsford" <01256748210>;tag=517285~ffa80926-5fac-4dd6-b405-2dbbc56ae9a2-400694295
To: <07544455678>
Date: Mon, 18 Jun 2012 09:46:00 GMT
Call-ID: 67d44180-fde1f8d8-3aead-ae28690a@172.16.10.174
CSeq: 101 INVITE
Allow-Events: kpml, telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0

+++++++++CUBE sends an invite to ITSP with Early Offer++++++++++


010625: Jun 18 09:46:00.371: //452987/67D441800000/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:07544455678@10.100.33.54:5070 SIP/2.0
Via: SIP/2.0/UDP 172.16.10.74:5060;branch=z9hG4bKFE71F2421
Remote-Party-ID: "Chelmsford" <441256748210>;party=calling;screen=no;privacy=off
From: "Chelmsford" <441256748210>;tag=88EFEFBA-14A2
To: <07544455678>
Date: Mon, 18 Jun 2012 09:46:00 GMT
Call-ID: 3EDB1C4A-B86111E1-94E48F4D-5D7E5E41@172.16.10.74
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 1741963648-0000065536-0000064326-2921883914
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 101 INVITE
Timestamp: 1340012760
Contact: <441256748210>
Expires: 180
Allow-Events: kpml, telephone-event
Max-Forwards: 69
Session-Expires:  84600
Content-Type: application/sdp
Content-Disposition: session;handling=required
Content-Length: 354

v=0
o=CiscoSystemsSIP-GW-UserAgent 6030 604 IN IP4 172.16.10.74
s=SIP Call
c=IN IP4 172.16.10.74
t=0 0
m=audio 18110 RTP/AVP 18 0 8 100 101
c=IN IP4 172.16.10.74
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:100 X-NSE/8000
a=fmtp:100 192-194
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts
Highlighted
Frequent Contributor

SIP trunk early offer

Thank you very much!

We are going to configure it like this.

Unfortunately one of our CUBE router has not the forced SIP early offer command, and we need to install more flash and memory and then do an IOS upgrade.

We now make a test with a 2811 that has the correct IOS, but this router has such a weird issue that I think I have to open a TAC case. In this router I can not apply the "bind control source-interface" command. I can type it, but the"show run" doesn't show it. So weird.

We did format flash, install another IOS, but it doesn't apply the bind commands.

Thanks!

Jan

Highlighted
VIP Mentor

SIP trunk early offer

How did you apply the command..Is it like this..

sip

  bind control source-interface gig0/0

  bind media source-interface gig0/0

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts
Highlighted
Frequent Contributor

SIP trunk early offer

Exactly!

but in the show run we don't see it

Thanks,

Jan

Highlighted
VIP Mentor

SIP trunk early offer

What IOS version are you running?

Please rate useful posts

"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"

Please rate all useful posts
Highlighted
Frequent Contributor

SIP trunk early offer

c2800nm-ipvoice_ivs-mz.124-20.T6.bin

c2800nm-adventerprisek9-mz.124-24.T7.bin

c2800nm-adventerprisek9-mz.124-24.T4.bin

c2800nm-adventerprisek9-mz.124-24.T5.bin

Pick one

We tried all of them.

Thanks,

Jan

CreatePlease to create content