[Freeswitch-users] set ptime and handle "a=sendonly"

Brian West brian at freeswitch.org
Thu Jun 5 17:03:56 MSD 2014


File a JIRA.
--
Brian West
brian at freeswitch.org



Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)















On Jun 5, 2014, at 5:21 AM, Dmitriy Shumaev <pm_zefman_r at mail.ru> wrote:

> Hi.
> 1.
> I'm trying to send 40 ms of speech in each RTP frame when working with a specific/certain gateway.
> By means of modifying [var.xml]:
> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA at 8000h@40i,PCMU at 8000h@40i"/>
> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMA at 8000h@40i,PCMU at 8000h@40i"/>
> , it is possible to call FROM this gateway (gateway does not send ptime in SDP).
> But, when the call comes from the other client with ptime set to 20 in SDP, outgoing INVITE messange TO this gateway contains ptime set to 20.
> How can I set ptime to 40 (it's desirable to do so only for one specific gateway).
> 
> 2.
> I'm using FS for PTT (Push-To_Talk) services.
> 2.1
> When FS gets incoming INVITE / reINVITE with "a=sendonly" in SDP and responde with "a=recvonly" it MUST *NOT* send RTP packets to UAC, but FS does so.
> So, how can I fix this?
> 2.2
> To start talking FS sends reINVITE (I use "uuid_media_reneg __uuid" command for this).
> I need to add "a=sendonly" to this reINVITE.
> How it can be done?
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140605/d73c5bfe/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: whmcslogo.png
Type: image/png
Size: 21896 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140605/d73c5bfe/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140605/d73c5bfe/attachment-0001.bin 


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