[OpenSIPS-Users] Faking invite with sdp if invite comes without sdp

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri May 29 10:09:06 CEST 2009


I agree with Inaki here - it is not a matter of just adding a body, but 
the most important is if this body is valid or not.

Anyhow, for such situation there is the "add_body" function :
    http://www.opensips.org/html/docs/modules/1.5.x/textops.html#id271958

Regards,
Bogdan

Iñaki Baz Castillo wrote:
> 2009/5/29 Uwe Kastens <kiste at kiste.org>:
>   
>> Hello,
>>
>> I have two units unable to communicate. Unit A sends an Invite without
>> SDP, Unit B drops the call, because there is no sdp in the Invite.
>>     
>
> An INVITE with no SDP offer is 100% valid. Then the SDP offer should
> take place in the 200 Ok from the callee and the SDP response in the
> ACK.
>
>
>   
>> Somehow I was wondering if its possible to fake a kind of initial SDP?
>>     
>
> That wouldn't work at all !!
> The UAC sending the INVITE (without SDP) has no port open ready to receive RTP !
>
>
>
>   
>> If not I have to but an asterisk in the middle.
>>     
>
> Or change your broken UA.
>
>
>
>   




More information about the Users mailing list