[OpenSIPS-Users] all sip body headers regarding video removed

Razvan Crainea razvancrainea at opensips.org
Thu Aug 4 17:19:05 CEST 2011


Hi Dani,

You can try by deleting the most common video codecs (like H261, H263, 
H264).
You can do that using the codec_delete[1] functions from the textops module.
I think you should also replace the video port with 0.

[1] http://www.opensips.org/html/docs/modules/devel/textops.html#id293910

Regards,

Razvan Crainea
OpenSIPS Developer


On 04.08.2011 18:03, Dani Popa wrote:
> Hi,
>
> In fact, i have some problems with one of my pstn gw's that send "400 
> Incorrect content length", i think, because of too long sip packet. 
> So, because it is pstn, i want to remove video capability(many lines 
> in first invite packet).
>
> Dani
>
> On 08/04/11 17:02, Razvan Crainea wrote:
>> Hi Dani,
>>
>> Why would you do that? If you don't want to allow video, you can 
>> simply replace the video port in the "m=" line with 0.
>>
>> Regards,
>>
>> Razvan Crainea
>> OpenSIPS Developer
>>
>>
>> On 04.08.2011 16:58, Dani Popa wrote:
>>> Hi all,
>>>
>>> How can i remove all sip video body headers regardin video. Should i 
>>> remove any line from body after "m=video", or how. Please give me a 
>>> hint, if you have.
>>>
>>> Thanks,
>>> Dani
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list