[Asterisk-Users] How to stop Asterisk from changing the SDP?

steve at daviesfam.org steve at daviesfam.org
Thu Jun 16 00:42:07 MST 2005



On Thu, 16 Jun 2005, Stian Selnes wrote:

> I'm trying to set up a direct SIP connection and have Asterisk stay
> out of the media stream. When I look at the INVITE messages, I see
> that Asterisk is changing the Session Description Protocol in the
> INVITE message it receives, and send a INVITE message with a different
> SDP to the receiver. This is not what I want. Is there any way to make
> Asterisk leave the SDP exactly like it is sent from the sender?
> 
> I have set canreinvite=yes on both participants and my dialingplan is simply: 
> exten => _.,1, Dial(SIP/${EXTEN},20) 
> and NAT is not a problem


Hi,

Asterisk isn't a SIP proxy.  And here is an example of where the 
difference shows.

You should probably look at using SER for this SIP stuff and only send 
calls to Asterisk where necessary (treat Asterisk like a pstn gateway or 
sip service box).

Steve




More information about the asterisk-users mailing list