[Freeswitch-users] Freeswitch unable to redirect to contact received in 302 Moved Temporarily
botelist at gmail.com
Wed Oct 7 08:03:31 UTC 2020
Perhaps this is by design.
A mailing list message from 2016 advises:
"But bear in mind that the client might not follow the 302. FreeSWITCH for example either terminates the call on 302 or returns to the dialplan so you can validate the new destination, so that you don't (as an example) have someone redirecting you to a premium rate number without the caller's knowledge."
Perhaps you might be required to set some combination of
and continue processing the call? I don't know what else you could do at that point.
BnC Group U.S.A.
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Shahnawaj Khan
Sent: Tuesday, 6 October, 2020 09:42
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: [Freeswitch-users] Freeswitch unable to redirect to contact received in 302 Moved Temporarily
I am running a test scenario where freeswitch is getting "302 Moved Temporarily" in response to an invite generated for b-leg. Response also contains the contact for redirection but freeswitch is unable to process the response. It is neither sending ACK for the initiated transaction nor generating the new invite for the contact received in response. my dialplan looks like this.
<condition field="destination_number" expression="^(5010)$">
I don't want to manually handle the 302 response. I just need FS to forward the call. Please let me know if anything needs to be added in dialplan or some configuration needs to be updated.
I have also attached the console logs of the freeswitch with siptrace.
Thanks & Regards,
More information about the FreeSWITCH-users