<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Sorry, I just copy/pasted your previous line without looking. It
    should be<br>
    <br>
    &lt;action application="bridge" data="{execute_on_answer=curl
    <a class="moz-txt-link-freetext" href="http://myLink?uuid=$uuid&amp;bnr=$1">http<a class="moz-txt-link-abbreviated" href="mailto:http://myLink?uuid=$uuid&amp;bnr=$1}sofia/external/$1@2.2.2.2">http://myLink?uuid=$uuid&amp;bnr=$1}sofia/external/$1@2.2.2.2</a>"/&gt;<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 02/06/2016 09:40 PM, Adrian Andrei
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABvcZyYuAB+d-t9E8DC+VrY=5V9xRkTQkO8cApXC1jWcGZiofQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Mod_curl is loaded and in separate extension it's working
          fine. The problem is with the following syntax:</div>
        <div><br>
        </div>
        <div>I need something like this: </div>
        <div><br>
        </div>
        &lt;action application="bridge" data=<span
          style="font-size:12.8px">"{execute_on_answer='</span><span
          style="font-size:12.8px">curl myLink?uuid=$uuid&amp;bnr=$1</span><span
          style="font-size:12.8px">'}sofia/</span><span
          style="font-size:12.8px">external/$1</span>at2.2.2.2<span
          style="font-size:12.8px">"/&gt;</span><br>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Feb 6, 2016 at 10:10 PM, Denis
          Papeš <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:denis.papes@zg.t-com.hr" target="_blank">denis.papes@zg.t-com.hr</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> You should load
              mod_curl and use syntax<br>
              <br>
              <div>&lt;action data="{execute_on_answer='curl <a
                  moz-do-not-send="true"
                  href="http://localhost/answer.php?uuid=$uuid&amp;bnr=$1"
                  target="_blank"><a class="moz-txt-link-freetext" href="http://localhost/answer.php?uuid=$uuid&amp;bnr=$1">http://localhost/answer.php?uuid=$uuid&amp;bnr=$1</a></a>'}sofia/external/$<a
                  moz-do-not-send="true" href="mailto:1@2.2.2.2"
                  target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:1@2.2.2.2">1@2.2.2.2</a></a>"/&gt;<br>
              </div>
              <div>
                <div class="h5">
                  <div><br>
                  </div>
                  <br>
                  <br>
                  <div>On 02/06/2016 09:03 PM, Adrian Andrei wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Ok. It works on a separate extension,
                      but I can't figure out what is the syntax for
                      inline approach
                      <div><br>
                      </div>
                      <div>&lt;action data="{execute_on_answer='system
                        curl <a moz-do-not-send="true"
                          href="http://localhost/answer.php?uuid=$uuid&amp;bnr=$1"
                          target="_blank">http://localhost/answer.php?uuid=$uuid&amp;bnr=$1</a> inline=true'}sofia/external/$<a
                          moz-do-not-send="true" href="mailto:1@2.2.2.2"
                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:1@2.2.2.2">1@2.2.2.2</a></a>"/&gt;<br>
                      </div>
                      <div><br>
                      </div>
                      <div>This doesn't work.</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Sat, Feb 6, 2016 at
                        8:55 PM, Ken Rice <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:krice@freeswitch.org"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:krice@freeswitch.org">krice@freeswitch.org</a></a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div dir="auto">
                            <div>You cant run an http location you need
                              to call it with curl<br>
                              <br>
                              Sent from my iPhone</div>
                            <div>
                              <div>
                                <div><br>
                                  On Feb 6, 2016, at 12:29 PM, Adrian
                                  Andrei &lt;<a moz-do-not-send="true"
                                    href="mailto:koralu@gmail.com"
                                    target="_blank">koralu@gmail.com</a>&gt;

                                  wrote:<br>
                                  <br>
                                </div>
                                <blockquote type="cite">
                                  <div>
                                    <div dir="ltr">Hello,
                                      <div><br>
                                      </div>
                                      <div>I try to execute a php script
                                        after the call is answered but I
                                        can't figure how. I need
                                        something like this.<br>
                                        <div><br>
                                        </div>
                                        <div>&lt;extension
                                          name="execOnAnswer"&gt;</div>
                                        <div>&lt;condition
                                          field="destination_number"
                                          expression="^07"&gt;</div>
                                        <div>&lt;action
                                          application="bridge"
                                          data="{execute_on_answer='run
                                          <a moz-do-not-send="true"
                                            href="http://localhost/answer.php?uuid=$uuid&amp;bnr=$1"
                                            target="_blank">http://localhost/answer.php?uuid=$uuid&amp;bnr=$1</a>'}sofia/external/$<a
                                            moz-do-not-send="true"
                                            href="mailto:1@2.2.2.2"><a class="moz-txt-link-abbreviated" href="mailto:1@2.2.2.2">1@2.2.2.2</a></a>"/&gt;</div>
                                        <div>&lt;/condition&gt;</div>
                                        <div>&lt;/extension&gt;<br>
                                        </div>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div>So what I try to do is to
                                        pass the uuid and
                                        caller-destination-number to an
                                        external source after the call
                                        is answered. Is any other
                                        approach?</div>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div>Thank you</div>
                                    </div>
                                  </div>
                                </blockquote>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div><span>_________________________________________________________________________</span><br>
                                <span>Professional FreeSWITCH Consulting
                                  Services: </span><br>
                                <span><a moz-do-not-send="true"
                                    href="mailto:consulting@freeswitch.org"
                                    target="_blank">consulting@freeswitch.org</a></span><br>
                                <span><a moz-do-not-send="true"
                                    href="http://www.freeswitchsolutions.com"
                                    target="_blank">http://www.freeswitchsolutions.com</a></span><br>
                                <span></span><br>
                                <span>Official FreeSWITCH Sites</span><br>
                                <span><a moz-do-not-send="true"
                                    href="http://www.freeswitch.org"
                                    target="_blank">http://www.freeswitch.org</a></span><br>
                                <span><a moz-do-not-send="true"
                                    href="http://confluence.freeswitch.org"
                                    target="_blank">http://confluence.freeswitch.org</a></span><br>
                                <span><a moz-do-not-send="true"
                                    href="http://www.cluecon.com"
                                    target="_blank">http://www.cluecon.com</a></span><br>
                                <span></span><br>
                                <span>FreeSWITCH-users mailing list</span><br>
                                <span><a moz-do-not-send="true"
                                    href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                                    target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
                                <span><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></span><br>
                                <span>UNSUBSCRIBE:<a
                                    moz-do-not-send="true"><a class="moz-txt-link-freetext" href="http://">http://</a></a><a
                                    moz-do-not-send="true"
                                    href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                    target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
                                <span><a moz-do-not-send="true"
                                    href="http://www.freeswitch.org"
                                    target="_blank">http://www.freeswitch.org</a></span></div>
                            </blockquote>
                          </div>
                          <br>
_________________________________________________________________________<br>
                          Professional FreeSWITCH Consulting Services:<br>
                          <a moz-do-not-send="true"
                            href="mailto:consulting@freeswitch.org"
                            target="_blank">consulting@freeswitch.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://www.freeswitchsolutions.com"
                            rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
                          <br>
                          Official FreeSWITCH Sites<br>
                          <a moz-do-not-send="true"
                            href="http://www.freeswitch.org"
                            rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://confluence.freeswitch.org"
                            rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://www.cluecon.com"
                            rel="noreferrer" 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"
                            target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                          <a moz-do-not-send="true"
                            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 moz-do-not-send="true"
                            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                            rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                          <a moz-do-not-send="true"
                            href="http://www.freeswitch.org"
                            rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<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>
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>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <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" rel="noreferrer"
              target="_blank">http://www.freeswitchsolutions.com</a><br>
            <br>
            Official FreeSWITCH Sites<br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
            <a moz-do-not-send="true"
              href="http://confluence.freeswitch.org" rel="noreferrer"
              target="_blank">http://confluence.freeswitch.org</a><br>
            <a moz-do-not-send="true" href="http://www.cluecon.com"
              rel="noreferrer" 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"
              rel="noreferrer" 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"
              rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a moz-do-not-send="true" href="http://www.freeswitch.org"
              rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
      </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>

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://confluence.freeswitch.org">http://confluence.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>
    </blockquote>
    <br>
  </body>
</html>