<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi, <br>
    For freetdm, the context is specified in<br>
    <br>
    /usr/local/freeswitch/conf/autoload_configs/freetdm.conf.xml
    (default)<br>
    <br>
    &lt;sangoma_pri_spans&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;span name="wp1" cfgprofile="profile1"&gt;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name="dialplan" value="XML"/&gt;<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;param name="context" value="<b><font color="#3333ff">YOUR
        CONTEXT HERE</font></b>"/&gt;<br>
    &nbsp;&nbsp;&nbsp; &lt;/span&gt;<br>
    &nbsp;&nbsp;&nbsp; :<br>
    &nbsp;&nbsp;&nbsp; :<br>
    &nbsp;&nbsp;&nbsp; :<br>
    &lt;/sangoma_pri_spans&gt;<br>
    <br>
    Your context should match the context that you specifed in your
    dialplan. <br>
    <br>
    <br>
    <div class="moz-signature">
      <table style="border-top: thin dotted rgb(128, 176, 214);
        border-bottom: thin dotted rgb(128, 176, 214); font-family:
        Arial,Helvetica,sans-serif; font-size: 8pt; color: rgb(0, 92,
        165);" cellpadding="3 0 0 0" cellspacing="0" width="600">
        <tbody>
          <tr>
            <td valign="middle"><strong>David Yat Sin, BEng</strong><br>
              <font style="font-style: italic; font-weight: bold;"
                color="#80b0d6">Software Engineer</font><br>
              Sangoma Technologies<br>
              100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada</td>
            <td valign="middle"><br>
              <br>
              t.&nbsp;&nbsp; +1 800 388 2475 x119&nbsp; <br>
              t.&nbsp;&nbsp; +1 905 474 1990 x119&nbsp; <br>
              f.&nbsp;&nbsp; +1 905 474 9223</td>
            <td rowspan="2" valign="middle"><a
href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"><img
                  src="cid:part1.02010907.01010701@sangoma.com"
                  alt="SANGOMA" align="right" border="0"></a></td>
          </tr>
          <tr>
            <td colspan="2"><a
href="http://sangoma.com/products?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"
                style="color: rgb(128, 176, 214);" target="_blank">Products</a>
              | <a
href="http://sangoma.com/solutions?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"
                style="color: rgb(128, 176, 214);" target="_blank">Solutions</a>
              | <a
href="http://sangoma.com/about_us/events?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"
                style="color: rgb(128, 176, 214);" target="_blank">Events</a>
              | <a
href="http://www.sangoma.com/contact?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"
                style="color: rgb(128, 176, 214);" target="_blank">Contact</a>
              | <a
href="http://wiki.sangoma.com/?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"
                style="color: rgb(128, 176, 214);" target="_blank">Wiki</a>
              | <a
href="http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"
                style="color: rgb(128, 176, 214);" target="_blank">Facebook</a>
              | <a
href="http://www.twitter.com/sangoma?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=email%2Bsignatures"
                style="color: rgb(128, 176, 214);" target="_blank">Twitter</a></td>
          </tr>
        </tbody>
      </table>
    </div>
    <br>
    On 11/16/2010 5:00 PM, ovvenkat wrote:
    <blockquote
      cite="mid:AANLkTimuzJ960iG_+m+x09qBjYpaFXpWzgu8ifD-1ee3@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Milena, <br>
        <br>
        Thanks for you reply, <br>
        I am using below dialplan <br>
        to handle the incoming call <br>
        <br>
        &nbsp;&nbsp;&nbsp; &lt;!-- a sample PRI&nbsp; --&gt;<br>
        &nbsp;&nbsp;&nbsp; &lt;extension name="pri_demo"&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number"
        expression="^(1100)$"&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="answer"/&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="sleep" data="2000"/&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="ivr"
        data="demo_ivr"/&gt;<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
        <br>
        If I call "1100" from sip phone, its working fine. <br>
        Here is the logs for the sip call<br>
        <br>
        <a moz-do-not-send="true"
          href="http://pastebin.freeswitch.org/14508">http://pastebin.freeswitch.org/14508</a><br>
        <br>
        If I trying to access the same application <br>
        from my phone, call is landing. But, <br>
        Application is not getting called.<br>
        Here is the logs for pri line <br>
        <br>
        <a moz-do-not-send="true"
          href="http://pastebin.freeswitch.org/14509">http://pastebin.freeswitch.org/14509</a><br>
        <br>
        <br>
        Regards,<br>
        Venkat. <br>
        <br>
        <br>
        <div class="gmail_quote">On Wed, Nov 17, 2010 at 2:46 AM, Milena
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:testeador01@gmail.com">testeador01@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div><br>
            </div>
            <div>Hello,</div>
            I'm not sure that your error is specific to freetdm, check
            your public dialplan, in the place where you route your
            number to 1100, you probably have it transfer to "1100 XML
            $some_empty_var"
            <div>
              <br>
            </div>
          </blockquote>
          <div><br>
            <br>
            &nbsp;</div>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div>-Milena<br>
              <br>
              <div class="gmail_quote">
                On Tue, Nov 16, 2010 at 3:49 PM, ovvenkat <span
                  dir="ltr">&lt;<a moz-do-not-send="true"
                    href="mailto:ovvenkatesan@gmail.com" target="_blank">ovvenkatesan@gmail.com</a>&gt;</span>
                wrote:<br>
                <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">Hi to all, <br>
                    <div class="im"><br>
                      <span style="background-color: rgb(153, 255,
                        153);"><span style="background-color: rgb(255,
                          0, 0);">2010-11-17 02:10:16.853170 [INFO]
                          mod_dialplan_xml.c:331 Processing&nbsp;
                          &lt;1234012480&gt;-&gt;1100 in context</span>
                      </span><br style="background-color: rgb(153, 255,
                        153);">
                      <span style="background-color: rgb(255, 102,
                        102);">2010-11-17 02:10:16.853170 [WARNING]
                        mod_dialplan_xml.c:361 Context&nbsp; not found</span><br
                        style="background-color: rgb(153, 255, 153);">
                    </div>
                    <div dir="ltr">Venkatesan OV.</div>
                  </div>
                </blockquote>
              </div>
              <br>
            </div>
            <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>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div dir="ltr"><br>
          If you have come to help me, you are wasting your time. <br>
          If you have come to because your liberation is bound up in
          mine, we can work together.<br>
          <br>
          &nbsp;<br>
          Regards<br>
          Venkatesan OV.</div>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
  </body>
</html>