Stian Selnes
2005-Jun-16 00:10 UTC
[Asterisk-Users] How to stop Asterisk from changing the SDP?
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 Thanks.
steve@daviesfam.org
2005-Jun-16 00:42 UTC
[Asterisk-Users] How to stop Asterisk from changing the SDP?
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 problemHi, 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
Maybe Matching Threads
- Asterisk translates 200 OK + SDP into 488 not acceptable here after both side agreed on codec.
- SDP a=ice-ufrag & a=ice-pwd UNSUPPORTED OR FAILED
- How to defer SDP in ACK for unit testing purposes
- No change in payload. (SDP)
- Send 200 OK with SDP instead of 183 with SDP when ringing starts