[Freeswitch-dev] Bridge problem...
Mathieu Rene
mrene_lists at avgs.ca
Mon Jul 13 15:24:30 PDT 2009
Kevin,
You can't call that function directly, you need to tell the core to
bridge the 2 channels together, or else you end up with 2 threads
trying to do media on the same thread.
Look at switch_ivr_uuid_bridge(const char *originator_uuid, const char
*originatee_uuid);
Also don't forget to switch_core_session_rwunlock() the session you
got out of originate, FS uses reader-writer locks as a reference
counting system for session structures, the session thread will do a
write lock before freeing the memory. If your call doesn't disappear,
you probably are missing that unlock (ivr_originate locks it before
returning)
Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca
On 13-Jul-09, at 6:20 PM, Kevin Snow wrote:
> switch_ivr_multi_threaded_bridge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090713/24458fbf/attachment.html
More information about the Freeswitch-dev
mailing list