Try the uuid_hold / uuid_unhold APIs, or hold / unhold applications depending on how you want to trigger it.



On Thu, 9 Aug 2018 at 16:41, Martin Gordian <Martin.Gordian@c4b.de> wrote:

Hello List,

 

basically I want to know if there is any possibility to set the media attribute inactive/sendrecv in SPD. If there is any command I can use, or something else.

 

Thank you.

 

Von: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Martin Gordian
Gesendet: Dienstag, 7. August 2018 15:52
An: freeswitch-users@lists.freeswitch.org
Betreff: [Freeswitch-users] Change media attribute of existing call

 

Hello List,

 

we have the following scenario with innovaphone PBX (could be any other PBX):

-          In the PBX there are users configured

-          Native innovaphones register with the PBX via SIP as some of these users (one user per phone)

-          FreeSWITCH is used as a call controller for other of these users, and registers for them with the PBX (via user gateways), when the user registers with FreeSWITCH from its SoftPhone

 

I want to use the native hold/unhold of that PBX. Therefor I used WireShark to to find that the native phones send an INVITE to the PBX, for the party to go on hold, with media attribute inactive.

 

Now, if I have a call between a FreeSWITCH user and a native phone, how can I make FreeSWITCH to make the PBX put the phone on hold? Somehow send that INVITE by command or any other methods.  

 

Thank you.

_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com