[Freeswitch-users] transfer B-leg to a custom extension with execute_on_answer : fails
julien.terrasson at gmail.com
Tue Dec 18 17:49:48 UTC 2018
I'm looking from advices on that issue :
In the following scenario, where A & B are PSTN subscribers :
STEP 1 : A call freeswitch, freeswitch answers and play an audio prompt.
STEP 2 : when the prompt ends, freeswitch attempt to bridge A with B
STEP 3 : B_answer.
I set a no_local::execute_on_answer hook to park A and play B an audio
prompt (warning message) when B_answer.
But thuis is what happen when the bridge command is executed :
CASE 1 : If the INVITE TO B is responded with a 183-SESSION_PROGRESS before
the 200-OK, the execute_on_answer hook work as i expect (A is parked, B is
played the audio prompt)
CASE 2 : If the INVITE TO B is responded with a 200-OK, the
execute_on_answer hook does not work as i expect (A is parked but hangup B
with cause destination_out_of_order).
>From the trace i can see that in CASE 1, B party is put in
CS_EXCHANGE_MEDIA earlier than in CASE2
Would this be likely to create the problem ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users