signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.46k stars 1.4k forks source link

segfault performing uuid_dual_transfer on callcenter agent channel #130

Open wmasilva opened 4 years ago

wmasilva commented 4 years ago

i'm using mod_callcenter to locate a free agent and when it answer i transfer both uuids using uuid_dual_transfer to a conference where i can later invite other parties.

It was working ok on commit 7861ec937ea969f9ce801f5f293a412b11e188d8, with current master FS segfaults.

Attach bt. bt_crash_uuid_dual_transfer.txt

If i do a uuid_dual_transfer on a call without callcenter no problem

I'm trying to bisec to get the bad commit.

I was testing it on debian jessie.

Testing on debian buster also happens but also in commit i mark as ok. bt: bt_uuid_dual_transfer_debian_buster.txt

mochouinard commented 4 years ago

The the commit is still not good even if it worked with jessie... There might be a question on the order of event that the code execute that cause it to work or not to work. We would need more information on how it happen. Is there loopback situation, both end are SIP... How long do you wait before doing that uuid_dual_transfer, how does it get triggered... As much information as possible would be helpful