<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div><span>hmm, then I don't see much other possibilities. Probably it's easier to add the SIP agent functionality to your non-SIP part?</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"><span>If it's a Java application, there are multiple implementations of SIP for java.<br></span></div><div><br></div> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 10pt;"> <div
style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Kees Jan Koster <kjkoster@kjkoster.org><br> <b><span style="font-weight: bold;">To:</span></b> Stanislav Sinyagin <ssinyagin@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 1, 2014 2:34 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] handling signalling externally, RTP via freeswitch<br> </font> </div> <div class="y_msg_container"><br>Dear Stanislav,<br clear="none"><br clear="none">No, the audio will be bi-directional. Other than the custom signalling it will be a regular voice call.<br clear="none"><br clear="none">Kees
Jan<br clear="none"><br clear="none"><br clear="none">On 1 Jul 2014, at 14:31, Stanislav Sinyagin <<a shape="rect" ymailto="mailto:ssinyagin@yahoo.com" href="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</a>> wrote:<br clear="none"><br clear="none">> Kees, do I understand it correctly that you're only sending audio towards the SIP endpoint, so it's not a bidirectional conversation?<br clear="none">> <br clear="none">> In this case, you can utilize audio streaming via HTTP, probably it's the easiest way to deliver audio toward FreeSWITCH:<br clear="none">> <br clear="none">> session.streamFile("shout://some.server.com/file.mp3", "")<br clear="none">> <a shape="rect" href="https://wiki.freeswitch.org/wiki/Mod_shout" target="_blank">https://wiki.freeswitch.org/wiki/Mod_shout</a><br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> From: Kees Jan Koster <<a shape="rect"
ymailto="mailto:kjkoster@java-monitor.com" href="mailto:kjkoster@java-monitor.com">kjkoster@java-monitor.com</a>><br clear="none">> To: FreeSWITCH Users Help <<a shape="rect" ymailto="mailto:freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>; <a shape="rect" ymailto="mailto:ssinyagin@yahoo.com" href="mailto:ssinyagin@yahoo.com">ssinyagin@yahoo.com</a> <br clear="none">> Sent: Tuesday, July 1, 2014 1:27 PM<br clear="none">> Subject: Re: [Freeswitch-users] handling signalling externally, RTP via freeswitch<br clear="none">> <br clear="none">> Dear Stanislav,<br clear="none">> <br clear="none">> I was rather hoping to avoid that path. My C is not all that great. :-/ But if I have to...<br clear="none">> <br clear="none">> Any endpoints that come close that I might want to look at?<br clear="none">> <br clear="none">> Kees Jan<br
clear="none">> <br clear="none">> > AFAIK the RTP parameters and streaming are handled from the endpoint module:<br clear="none">> > <a shape="rect" href="https://wiki.freeswitch.org/wiki/Modules" target="_blank">https://wiki.freeswitch.org/wiki/Modules</a><br clear="none">> > <br clear="none">> > so, you might end up in writing your own module for what you want.<br clear="none">> > <br clear="none">> > <br clear="none">> > From: Kees Jan Koster <<a shape="rect" ymailto="mailto:kjkoster@kjkoster.org" href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a>><br clear="none">> > To: <a shape="rect" ymailto="mailto:freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a> <br clear="none">> > Sent: Tuesday, July 1, 2014 9:21 AM<br clear="none">> > Subject: [Freeswitch-users] handling signalling
externally, RTP via freeswitch<br clear="none">> > <br clear="none">> > Dear All,<br clear="none">> > <br clear="none">> > 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.<br clear="none">> > <br clear="none">> > 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.<br clear="none">> > <br clear="none">> > Call flow (A-leg is the custom client, B-leg is sofia-SIP)<br clear="none">> > [1] custom client starts call to SIP side over ESL [1] <br clear="none">> > FreeSwitch
handles the signalling with the SIP client<br clear="none">> > SIP client answers the call<br clear="none">> > [2] FreeSwitch sends event which tells the client where the RTP stream should go to<br clear="none">> > custom client starts sending RTP audio<br clear="none">> > FreeSwitch bridges the two legs and people talk<br clear="none">> > either side hangs up and the call is done<br clear="none">> > <br clear="none">> > The reverse (SIP dialling the custom client) won't happen and does not have to be supported.<br clear="none">> > <br clear="none">> > 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?<br clear="none">> > <br clear="none">>
> bgapi originate [1] sofia/internal/<a shape="rect" ymailto="mailto:1002@example.com" href="mailto:1002@example.com">1002@example.com</a><br clear="none">> > <br clear="none">> > --<br clear="none">> > Kees Jan<br clear="none">> > <br clear="none">> > <a shape="rect" href="http://java-monitor.com/" target="_blank">http://java-monitor.com/</a><br clear="none">> > <a shape="rect" ymailto="mailto:kjkoster@kjkoster.org" href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a><br clear="none">> > +31651838192<br clear="none">> > <br clear="none">> > The secret of success lies in the stability of the goal. -- Benjamin Disraeli<br clear="none">> > <br clear="none">> > <br clear="none">> > _________________________________________________________________________<br clear="none">> > Professional FreeSWITCH Consulting Services:<br clear="none">> > <a shape="rect"
ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">> > <a shape="rect" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br clear="none">> > <br clear="none">> > FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none">> > <a shape="rect" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br clear="none">> > <br clear="none">> > Official FreeSWITCH Sites<br clear="none">> > <a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none">> > <a shape="rect" href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br clear="none">> > <a shape="rect" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br clear="none">> > <br
clear="none">> > FreeSWITCH-users mailing list<br clear="none">> > <a shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">> > <a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">> > UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">> > <a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none">> > <br clear="none">> > <br clear="none">> > _________________________________________________________________________<br clear="none">> > Professional FreeSWITCH
Consulting Services:<br clear="none">> > <a shape="rect" ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br clear="none">> > <a shape="rect" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br clear="none">> > <br clear="none">> > FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none">> > <a shape="rect" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br clear="none">> > <br clear="none">> > Official FreeSWITCH Sites<br clear="none">> > <a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none">> > <a shape="rect" href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br clear="none">> > <a shape="rect" href="http://www.cluecon.com/"
target="_blank">http://www.cluecon.com</a><br clear="none">> > <br clear="none">> > FreeSWITCH-users mailing list<br clear="none">> > <a shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">> > <a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">> > UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">> > <a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none">> <br clear="none">> <br clear="none">> --<br clear="none">> Kees Jan<br clear="none">> <br
clear="none">> <a shape="rect" ymailto="mailto:kjkoster@java-monitor.com" href="mailto:kjkoster@java-monitor.com">kjkoster@java-monitor.com</a><br clear="none">> <br clear="none">> <a shape="rect" href="http://java-monitor.com/" target="_blank">http://java-monitor.com/</a><br clear="none">> +31651838192<br clear="none">> <br clear="none">> The secret of success lies in the stability of the goal. -- Benjamin Disraeli<div class="qtdSeparateBR"><br><br></div><div class="yqt9212553544" id="yqtfd49804"><br clear="none">> <br clear="none">> <br clear="none"><br clear="none"><br clear="none">--<br clear="none">Kees Jan<br clear="none"><br clear="none"><a shape="rect" href="http://java-monitor.com/" target="_blank">http://java-monitor.com/</a><br clear="none"><a shape="rect" ymailto="mailto:kjkoster@kjkoster.org" href="mailto:kjkoster@kjkoster.org">kjkoster@kjkoster.org</a><br clear="none">+31651838192</div><br clear="none"><br
clear="none">Change is good. Granted, it is good in retrospect, but change is good.<div class="yqt9212553544" id="yqtfd20550"><br clear="none"></div><br><br></div> </div> </div> </div></body></html>