<html><head></head><body><div class="gmail_quote">Am 2. November 2016 15:18:05 MEZ, schrieb Brian West &lt;brian@freeswitch.org&gt;:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><span style="font-family:calibri,sans-serif;font-size:14.6667px">bgapi originate {variable=foo,baz=bar}sofia/external/user@pbx &amp;socket(...)</span><br /><div><span style="font-family:calibri,sans-serif;font-size:14.6667px"><br /></span></div><div><span style="font-family:calibri,sans-serif;font-size:14.6667px">You set the variables you wish to influence the sip leg inside the {}</span></div><div><span style="font-family:calibri,sans-serif;font-size:14.6667px"><br /></span></div><div><font face="calibri, sans-serif"><span style="font-size:14.6667px">/b</span></font></div></div><div class="gmail_extra"><br /><div class="gmail_quote">On Wed, Nov 2, 2016 at 2:24 AM, Dimitry Nagorny <span dir="ltr">&lt;<a href="mailto:dimitry.nagorny@gmx.de" target="_blank">dimitry.nagorny@gmx.de</a>&gt;</span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div>
<div class="m_3849771658504750531_rp_S3 m_3849771658504750531ms-font-weight-regular m_3849771658504750531ms-font-color-neutralDark">
<div>
<div>
<div>
<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Good morning all,</span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"> </span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">I have a quick question: Is it possible that a received command through mod_event_socket can be send through a (default) dialplan?</span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"> </span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Like „bgapi originate /sofia/external/user@pbx &amp;socket(...)“ goes before the INVITE through the dialplan to get details from DB.</span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"> </span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Why I want this? I want to enrich the sip of the INVITE with some additional information. I already searched the wiki/Confluence and couldn’t find an answer.</span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"> </span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"> </span></font></span></div>

<div style="margin:0"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt">Best Regards</span></font></span></div><span class="HOEnZb"><font color="#888888">

</font><div style="margin:0"><font color="#888888"><span lang="de"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><b>Dimitry Nagorny</b></span></font></span></font></div>
</span></div>
</div>
</div>
</div>
</div></div></div>

<br />______________________________<wbr />______________________________<wbr />_____________<br />
Professional FreeSWITCH Consulting Services:<br />
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br />
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr />freeswitchsolutions.com</a><br />
<br />
Official FreeSWITCH Sites<br />
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br />
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr />org</a><br />
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br />
<br />
FreeSWITCH-users mailing list<br />
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr />freeswitch.org</a><br />
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr />mailman/listinfo/freeswitch-<wbr />users</a><br />
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr />freeswitch.org/mailman/<wbr />options/freeswitch-users</a><br />
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br /></blockquote></div><br /><br clear="all" /><div><br /></div>-- <br /><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br /><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png" /><br /></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br /><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a> (50% Discount using code FreeSwitch50)<br /><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a> </font><span style="font-family:monospace,monospace;font-size:small">(50% Discount using code FreeSwitch50)</span><font size="2" face="monospace, monospace"><br /></font><a href="https://www.gofundme.com/freeswitch_ubuntu" style="font-size:12.8px" target="_blank"><font face="monospace, monospace">https://www.gofundme.com/freeswitch_ubuntu</font></a></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br /><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />Professional FreeSWITCH Consulting Services: <br />consulting@freeswitch.org<br /><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br /><br />Official FreeSWITCH Sites<br /><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br /><a href="http://www.cluecon.com">http://www.cluecon.com</a><br /><br />FreeSWITCH-users mailing list<br />FreeSWITCH-users@lists.freeswitch.org<br /><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br />UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre></blockquote></div><br clear="all">Thanks you for your answer Brian but maybe my question was wrong.<br>
<br>
I try to do something like <br>
bgapi sofia/default/user &amp;socket (...)<br>
but this throws Invalid Profile. So instead of external/gateway I want it to go to dialplan &quot;default&quot;. <br>
<br>
Or something similar that gives me the opperrunity to open a DB connection for a recieved request on the event_socket. I can&#39;t grab this info from within the third party system which sends the request.<br>
<br>
<br>
Thanks<br>
Dimitry<br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>