"302 Moved Temporarily" invokes ${hold_music} instead of ${transfer_ringback}
Hi! I've been tinkering with ringback/transfer_ringback and moh lately and i'm a bit confused about the behaviour in certain cases: I've configured ringback, transfer_ringback and hold_music with three different local-streams(ringback and transfer_ringback are set in the bridging extension, moh is set as a sip_profile-parameter). What i expect to get is hearing "ringback" before the call is answered, "transfer_ringback" when i transfer the answered call from b-leg-endpoint and "moh" wenn the call is set "on hold". Unfortunately this only works when the transfer is initiated via the transfer-command in FreeSWITCH(Default features.xml dx). If the answered calls is transfered by the b-leg-endpoint with "302 Moved Temporarily", FreeSWITCH plays "hold_music". Is there a way to change this behaviour? Best regards Christian
transfer-command in FreeSWITCH(Default features.xml dx). If the answered calls is transfered by the b-leg-endpoint with "302 Moved Temporarily", FreeSWITCH plays "hold_music".
Clarification: When the transfer is invoked by FS with the "transfer"-command, the "transfer_ringback"-stream is played. When the transfer is initiated from the endpoint(302 Moved Temporarily), the "hold_music"-stream is played.
ringback is only generated by the originate process when an a leg is supplied. This means when you run the bridge app. ringback is used on unanswered calls and transfer_ringback is used on answered calls unless its blank then ringback is used. originate, by default terminates when media is reached (aka 183) if {ignore_early_media=true} is specified in the dial string, then it will remain in the originate state until 200ok is received. if ringback var is set, as soon as the b leg sends in ringing indication 180/183 the data from that variable will be played to the inbound leg or A leg. The hold_music is used by the system for any other time something wants to send music while busy. On Wed, Dec 14, 2011 at 9:52 AM, Christian Benke <benkokakao@gmail.com>wrote:
transfer-command in FreeSWITCH(Default features.xml dx). If the answered calls is transfered by the b-leg-endpoint with "302 Moved Temporarily", FreeSWITCH plays "hold_music".
Clarification: When the transfer is invoked by FS with the "transfer"-command, the "transfer_ringback"-stream is played. When the transfer is initiated from the endpoint(302 Moved Temporarily), the "hold_music"-stream is played.
_________________________________________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
transfer_ringback is used on answered calls unless its blank then ringback is used
Looks like i've confused my traces and quoted the wrong one - it doesn't happen on "Moved Temporarily" but on "REFER" obviously. Sorry for this misleading information. However, i was actually talking about an already answered call where transfer_ringback is not used on a attended-transfer. But setting a channel-specific hold_music has solved this issue too. Best regards Christian
participants (2)
-
Anthony Minessale
-
Christian Benke