[Freeswitch-users] uuid_bridge causing hangup
Sumit Birla
sbirla at tampahost.net
Fri Oct 31 05:08:46 MSK 2014
I am having an issue bridging calls with the following call flow:
Dial plan:
<condition field="destination_number" expression="^(20\d\d)$">
<action application="answer" data=""/>
<action application="eval" data="${luarun leg_b.lua ${uuid}}"/>
<action application="park" data="”/>
</condition>
leg_b.lua:
uuid = argv[1]
api = freeswitch.API()
session = freeswitch.Session("{ignore_early_media=true}sofia/gateway/myvoipgw/18135551212")
api:execute("uuid_bridge", uuid..' '..session:get_uuid())
The incoming caller is parked as expected, and leg_b.lua makes its call. However, as soon as the called party answers, both ends hangup. I see the following notices in the log:
[NOTICE] switch_cpp.cpp:1054 Hangup sofia/external/18135551212 [CS_RESET] [NORMAL_CLEARING]
...
[NOTICE] switch_ivr_bridge.c:951 Hangup sofia/internal/2000 at default [CS_SOFT_EXECUTE] [DESTINATION_OUT_OF_ORDER]
Does any one know why above may be happening? Perhaps a threading issue?
Thanks,
- Sumit
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list