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

Stian Selnes stianse at gmail.com
Thu Jun 16 01:02:28 MST 2005


Hi.

Tanks for your answer. So I understand you correct if you mean that
there is no way to let asterisk leave the SDP untouched? I have tried
SER, and I just wanted to look at the possibilities that Asterisk
offered. A bit dissapointing that it doesn't satisfy my needs :-)

- Stian 


On 6/16/05, steve at daviesfam.org <steve at daviesfam.org> wrote:
> 
> 
> 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