call rejection in simultaneous ringing
Hi, I'm trying to ring my extension and mobile ring simultaneously and it worked. Now, I want to stop ringing the other phone when I reject the call from one phone, same as the other phone stops ringing when I answer in one phone. I tried few channel variables but I couldn't get that working. My dial string is as follows: dial_string = string.format("{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@ ${dialed_domain}}sofia/internal/1%s%s%s@xx.xx.x.xx ,[leg_delay_start=%d]${sofia_contact(${dialed_user}@${dialed_domain})} Thanks & regards, Trivedi
https://confluence.freeswitch.org/display/FREESWITCH/Channel+Variables#Chann... We also have hangup_on_single_reject but that doesn't appear to be documented. -- Brian West brian@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 16, 2014, at 1:22 PM, Preeti Trivedi <sweetpt31@gmail.com> wrote:
Hi,
I'm trying to ring my extension and mobile ring simultaneously and it worked. Now, I want to stop ringing the other phone when I reject the call from one phone, same as the other phone stops ringing when I answer in one phone.
I tried few channel variables but I couldn't get that working. My dial string is as follows:
dial_string = string.format("{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@${dialed_domain}}sofia/internal/1%s%s%s@xx.xx.x.xx,[leg_delay_start=%d]${sofia_contact(${dialed_user}@${dialed_domain})}
Thanks & regards, Trivedi _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.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 http://www.freeswitch.org
participants (2)
-
Brian West
-
Preeti Trivedi