[Freeswitch-users] Not send a ptime attr in SDP

I put the Who? in Mishehu mishehu at freeswitch.org
Wed Sep 18 05:25:53 MSD 2013


Just to elaborate on what Chris was recommending:   He was suggesting 
that you run OpenSIPS as a SIP proxy between FreeSWITCH and your 
carrier.  And yes, I do believe that OpenSIPS has the ability to 
modify/remove the ptime attribute.  I too am puzzled as to why they 
would ask for it to be removed, it's kind of important to 
negotiation...  But then again, I've had carriers tell me to reformat my 
Contact: headers so that they're e164 format (mod_sofia at IP:PORT anybody?)...

-Yossi

On 09/17/2013 01:18 PM, Christopher Rienzo wrote:
> opensips should be able to hack up the SDP before you send it to the 
> carrier
>
>
> On Tue, Sep 17, 2013 at 1:37 PM, Cal Leeming [Simplicity Media Ltd] 
> <cal.leeming at simplicitymedialtd.co.uk 
> <mailto:cal.leeming at simplicitymedialtd.co.uk>> wrote:
>
>     Ask your carrier for the exact reason behind why he wants to
>     remove it.
>
>     I'd be curious to hear what they say..
>
>     Cal
>
>
>     On Tue, Sep 17, 2013 at 6:26 PM, Ashou Han
>     <ashou at mobile-sphere.com <mailto:ashou at mobile-sphere.com>> wrote:
>
>         One of our carriers ask us to remove this attribute for calls
>         to them, I do not understand that either.
>
>
>         On 9/17/2013 1:19 PM, Michael Jerris wrote:
>>         There isn't another way other than hacking at the sdp.  Why
>>         would you want to remove it?
>>
>>         On Sep 17, 2013, at 12:39 PM, Cal Leeming [Simplicity Media
>>         Ltd] <cal.leeming at simplicitymedialtd.co.uk
>>         <mailto:cal.leeming at simplicitymedialtd.co.uk>> wrote:
>>
>>>         Had a look through google/wiki but cannot find anything
>>>         relating to removing 'ptime' from the SDP.
>>>
>>>         There is a few sections on rewriting SDP, but not sure if
>>>         this would work as expected;
>>>
>>>         http://wiki.freeswitch.org/wiki/Codec_Negotiation#Rewriting_SDP
>>>         http://wiki.freeswitch.org/wiki/Codec_Negotiation#Modifying_the_codec_when_using_proxy_media_mode
>>>
>>>         Perhaps give those a try and see how you get on - in the
>>>         mean time maybe someone else might reply with a better answer.
>>>
>>>         Cal
>>>
>>>
>>>         On Tue, Sep 17, 2013 at 4:22 PM, Ashou Han
>>>         <ashou at mobile-sphere.com <mailto:ashou at mobile-sphere.com>>
>>>         wrote:
>>>
>>>             Hi,
>>>
>>>             How to set the FreeSwitch to NOT send the ptime
>>>             attribute in SDP part,
>>>             that is the
>>>
>>>             a=ptime:20
>>>
>>>             not show up in the SDP message.
>>>
>>>             Thanks,
>>>             Ashou Han
>>>
>>
>>
>>
>>         _________________________________________________________________________
>>         Professional FreeSWITCH Consulting Services:
>>         consulting at freeswitch.org  <mailto:consulting at freeswitch.org>
>>         http://www.freeswitchsolutions.com
>>
>>         
>>         
>>
>>         Official FreeSWITCH Sites
>>         http://www.freeswitch.org
>>         http://wiki.freeswitch.org
>>         http://www.cluecon.com
>>
>>         FreeSWITCH-users mailing list
>>         FreeSWITCH-users at lists.freeswitch.org  <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>         http://www.freeswitch.org
>
>
>         _________________________________________________________________________
>         Professional FreeSWITCH Consulting Services:
>         consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>         http://www.freeswitchsolutions.com
>
>         
>         
>
>         Official FreeSWITCH Sites
>         http://www.freeswitch.org
>         http://wiki.freeswitch.org
>         http://www.cluecon.com
>
>         FreeSWITCH-users mailing list
>         FreeSWITCH-users at lists.freeswitch.org
>         <mailto:FreeSWITCH-users at lists.freeswitch.org>
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>         UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>         http://www.freeswitch.org
>
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130917/f38d5285/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list