<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Yes, I'd seen that - but I'm currently
      the wrong side of the "got it" fence. However, I did this:<br>
      <br>
      originate
      {origination_caller_id_name=CallBack,origination_caller_id_number=07775123456}user/0095302
&amp;bridge({<a class="moz-txt-link-abbreviated" href="mailto:origination_caller_id_number=2070602000}sofia/internal/07775123456@pstngateway.com">origination_caller_id_number=2070602000}sofia/internal/07775123456@pstngateway.com</a>)<br>
      <br>
      and it kind of did what I wanted.<br>
      <br>
      However, what I really want to do is to simulate as closely as
      possible what happens when ext 0095302 makes an outbound call to
      07775123456 from a handset - preferably using the dp0095 context
      of the xml (?) dialplan.<br>
      <br>
      So I thought I'd try using the dialplan and context parameters
      like this:<br>
      <br>
      originate
      {origination_caller_id_name=CallBack,origination_caller_id_number=07775123456}user/0095302
      &amp;bridge(07775123456) xml dp0095<br>
      <br>
      But I've clearly got the wrong end of the stick!<br>
      <br>
    </div>
    <blockquote
cite="mid:CALNZuwnHV=PQ7gFGQG3RtBW9EzZSK8oNfaWpvSR+-bAsfDvSDg@mail.gmail.com"
      type="cite">
      <div dir="ltr">There's a whole bunch of examples here:
        <div><a moz-do-not-send="true"
            href="http://wiki.freeswitch.org/wiki/Mod_commands#originate">http://wiki.freeswitch.org/wiki/Mod_commands#originate</a></div>
        <div><br>
        </div>
        <div>The first arg rings first, and must be an endpoint, e.g.
          sofia/, user/.</div>
        <div>Once they pick up, the second arg is called.</div>
        <div><br>
        </div>
        <div>So originating to a local user or to a remote endpoint is
          nearly the same... especially if you can use the lcr/
          endpoint.</div>
        <div>Your leg B can be a brige, a conference&nbsp;<span
            style="line-height:1.1em;background-color:rgb(255,255,255)">&amp;conference(conf_uuid-TEST_CON),
            or just hit the dialplan.</span></div>
        <div><br>
        </div>
        <div><br clear="all">
          <div>
            <div dir="ltr"><span
                style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi
                Marcus</span><br>
            </div>
          </div>
          <br>
          <div class="gmail_quote">On Thu, Mar 7, 2013 at 1:00 PM, Alex
            Lake <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">I was
              wondering where's a good place to find some examples of
              how, by<br>
              sending the right commands to the event_socket, I could
              have Freeswitch<br>
              establish callbacks for me.<br>
              <br>
              Essentially there are a couple of different termination
              types - PSTN<br>
              (via a gateway) and internally registered SIP accounts<br>
              <br>
              I would wish to be able to set up A-&gt;B (and maybe small
              conferences)<br>
              using these types of destination in any combination.<br>
              <br>
              I've looked through the event_socket pages and the
              "originate" syntax,<br>
              but would like to put together something a little more
              "idiot-friendly"<br>
              so am looking around for precedents/tips...<br>
              <br>
              <br>
              <br>
              <br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com"
                target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com"
                target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <p class="" avgcert""="" color="#000000" align="left">No virus
        found in this message.<br>
        Checked by AVG - <a moz-do-not-send="true"
          href="http://www.avg.com">www.avg.com</a><br>
        Version: 2012.0.2240 / Virus Database: 2641/5652 - Release Date:
        03/06/13</p>
    </blockquote>
    <br>
  </body>
</html>