Dear All,
I need some reading advice/pointers on the following: I want to use FreeSwitch as a bridge from a custom client to SIP. The SIP part is easy and works. The non-SIP part is the challenge.
I have my audio sending client hooked up via mod_event_socket. I really like the way events and ESL work in FreeSwitch, by the way. Good control and easy to code. But I digress. So I have my client hooked up over ESL for signalling and need to know where to send the RTP stream to from the non-SIP client side.
Call flow (A-leg is the custom client, B-leg is sofia-SIP)
[1] custom client starts call to SIP side over ESL [1]
FreeSwitch handles the signalling with the SIP client
SIP client answers the call
[2] FreeSwitch sends event which tells the client where the RTP stream should go to
custom client starts sending RTP audio
FreeSwitch bridges the two legs and people talk
either side hangs up and the call is done
The reverse (SIP dialling the custom client) won't happen and does not have to be supported.
My concrete question is how [1] should happen. The custom client should issue an "bgapi originate". The
arguments for the SIP side are clear, but what to use for the custom client? What should I fill in for [1], below?
bgapi originate [1] sofia/internal/
1002@example.com--
Kees Jan
http://java-monitor.com/kjkoster@kjkoster.org+31651838192
The secret of success lies in the stability of the goal. -- Benjamin Disraeli
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.orghttp://www.freeswitchsolutions.comFreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.comOfficial FreeSWITCH Sites
http://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.comFreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org