<div dir="ltr">what is wrong with:<div><br></div><div>&lt;action application=&quot;bridge&quot; data=&quot;sofia/profile/<a href="mailto:sip%3Asomeone@somedomain.com">sip:someone@somedomain.com</a>&quot;/&gt;</div><div><br></div><div>???</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 18, 2015 at 12:23 PM, Tanguy <span dir="ltr">&lt;<a href="mailto:phenix@vfemail.net" target="_blank">phenix@vfemail.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Hello Sergey<br>
      <br>
      I am agree with you that my dial plan can be risky I used ACL but
      this can be not sufficient. I want to be able to call any internal
      sip extension, but i don&#39;t want that this piece dialplan to be
      usable reach external numbers. <br>
      <br>
      I probably need to protect theses variables ( sip_to_user must be
      only a locally registered sip extension )  or avoid using them (
      maybe using multiple conditions field for each domain ? )<br>
      <br>
      I don&#39;t fully understand your initial example:<span class=""><br>
      <br>
      <font face="Courier New, Courier, monospace">&lt;action
        application=&quot;bridge&quot; data=&quot;{sip_invite_to_uri=&lt;sip:${<a href="mailto:destination_number%7D@mydomain.org" target="_blank">destination_number}@mydomain.org</a>&gt;}user/<a href="mailto:reg_user@mydomain.org" target="_blank">reg_user@mydomain.org</a>&quot;/&gt;</font><br>
      <br></span>
      What is <b>reg_user</b> for freeswitch1 ? What should i use on
      freeswitch2 dialplan to recognize the inbound call ?<br>
      <br>
      Thanks<span class=""><br>
      <br>
      <br>
      <br>
       <br>
      <br>
      On 18/09/2015 07:10, Sergey Safarov wrote:<br>
    </span></div><span class="">
    <blockquote type="cite">
      <p dir="ltr">1) I recommend not use &quot;domain&quot; and dereviated
        variables. This variables may be used in bridge and other
        application.<br>
        2) try send invite as in example provided early. </p>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Thu, Sep 17, 2015, 23:22 Tanguy &lt;<a href="mailto:phenix@vfemail.net" target="_blank">phenix@vfemail.net</a>&gt;
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <div>I am now able to call a extension from a remote server,
              for those who are interested i used theses options on
              freeswitch2 public dialplan<br>
              <br>
              &lt;action application=&quot;set&quot;
              data=&quot;call_direction=inbound&quot;/&gt;<br>
              &lt;action application=&quot;set&quot;
              data=&quot;domain_name=${sip_to_host}&quot; &gt;<br>
              &lt;action application=&quot;set&quot;
              data=&quot;domain=${sip_to_host}&quot;/&gt;<br>
              &lt;action application=&quot;transfer&quot; data=&quot;${sip_to_user} XML
              ${sip_to_host}&quot; /&gt;</div>
          </div>
          <div bgcolor="#FFFFFF" text="#000000">
            <div><br>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </span></div>

<br>_________________________________________________________________________<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.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.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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/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"><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><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></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>