<div dir="ltr">Hi Nazim,<br><br>Do I need to add this into my deafult.xml file or public.xml file? <br><br>I have added bellow code into default.xml file <br><br><br>     &lt;extension name=&quot;Voicepulse&quot;&gt;<br>          &lt;condition field=&quot;destination_number&quot; expression=&quot;xxxxyyyxx&quot;&gt;  // xxxyyyxx -- &gt; my PRI number <br>

          &lt;action application=&quot;transfer&quot; data=&quot;1000 XML default&quot;/&gt;<br>          &lt;/condition&gt;<br>      &lt;/extension&gt;<br><br>After adding this rules, when I am trying to call from mobile to freeSwitch, its says that, number is busy. <br>
<br>then, I changed this code from <b>default.xml</b> to <b>public.xml</b> file. <br><br>Still, no luck :( <br><br><br>Regards,<br>Venkat. <br><br><br><div class="gmail_quote">On Wed, Jul 21, 2010 at 8:49 PM, Nazim Aghabayov <span dir="ltr">&lt;<a href="mailto:nazim.aghabayov@gmail.com">nazim.aghabayov@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">  Hello Venkat,<br>
<br>
I&#39;m glad it works for you. For incoming you could do something like:<br>
<br>
&lt;extension name=&quot;telco-incoming&quot;&gt;<br>
&lt;condition field=&quot;destination_number&quot; expression=&quot;^(4970000)$&quot;&gt;<br>
<br>
&lt;action application=&quot;transfer&quot; data=&quot;1003 XML default&quot;/&gt;<br>
&lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
Regards,<br>
Nazim<br>
<div class="im"><br>
<br>
On 07/20/2010 06:07 PM, ovvenkat wrote:<br>
&gt; Hi Nazim,<br>
&gt;<br>
&gt; Could you plz tell me, how to handle the incoming call if you could<br>
&gt; plz give me some sample dialplan to handle the incoming call would be<br>
&gt; great.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Venkat.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 20, 2010 at 6:32 PM, ovvenkat &lt;<a href="mailto:ovvenkatesan@gmail.com">ovvenkatesan@gmail.com</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:ovvenkatesan@gmail.com">ovvenkatesan@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     Thank you very  much Nazim , It works :) .<br>
&gt;<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Venkat.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     On Tue, Jul 20, 2010 at 4:02 PM, Nazim Aghabayov<br>
</div><div><div></div><div class="h5">&gt;     &lt;<a href="mailto:nazim.aghabayov@gmail.com">nazim.aghabayov@gmail.com</a> &lt;mailto:<a href="mailto:nazim.aghabayov@gmail.com">nazim.aghabayov@gmail.com</a>&gt;&gt; wrote:<br>

&gt;<br>
&gt;          Hello Venkat,<br>
&gt;<br>
&gt;         Below is my working configuration for q931 euro-isdn.<br>
&gt;         Please have a look at:<br>
&gt;         <a href="http://wiki.sangoma.com/wanpipe-freeswitch-config" target="_blank">http://wiki.sangoma.com/wanpipe-freeswitch-config</a><br>
&gt;         &amp;&amp; <a href="http://wiki.sangoma.com/wanpipe-pri-daemon-options" target="_blank">http://wiki.sangoma.com/wanpipe-pri-daemon-options</a><br>
&gt;<br>
&gt;<br>
&gt;         openzap.conf<br>
&gt;         ---------------------------------<br>
&gt;         [span wanpipe PRI_1]<br>
&gt;         name =&gt; PRI_1<br>
&gt;         number =&gt; 1<br>
&gt;         trunk_type =&gt; e1<br>
&gt;         b-channel =&gt; 1:1-15<br>
&gt;         b-channel =&gt; 1:17-31<br>
&gt;<br>
&gt;<br>
&gt;         openzap.conf.xml<br>
&gt;         -----------------------------------<br>
&gt;         &lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP<br>
&gt;         Configuration&quot;&gt;<br>
&gt;         &lt;settings&gt;<br>
&gt;         &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<br>
&gt;         &lt;/settings&gt;<br>
&gt;         &lt;boost_spans&gt;<br>
&gt;         &lt;span name=&quot;PRI_1&quot;&gt;<br>
&gt;         &lt;!-- Log Levels: none, alert, crit, err, warning, notice,<br>
&gt;         info, debug --&gt;<br>
&gt;         &lt;param name=&quot;q921loglevel&quot; value=&quot;alert&quot;/&gt;<br>
&gt;         &lt;param name=&quot;q931loglevel&quot; value=&quot;debug&quot;/&gt;<br>
&gt;         &lt;param name=&quot;mode&quot; value=&quot;user&quot;/&gt;<br>
&gt;         &lt;param name=&quot;dialect&quot; value=&quot;q931&quot;/&gt;<br>
&gt;         &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
&gt;         &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>
&gt;<br>
&gt;         &lt;!-- my mystical telco, they insisting on TON = NPI = 0  --&gt;<br>
&gt;         &lt;param name=&quot;outbound-called-ton&quot; value=&quot;unknown&quot;/&gt;<br>
&gt;         &lt;param name=&quot;outbound-called-npi&quot; value=&quot;unknown&quot;/&gt;<br>
&gt;         &lt;param name=&quot;outbound-rdnis-ton&quot; value=&quot;unknown&quot;/&gt;<br>
&gt;         &lt;param name=&quot;outbound-rdnis-npi&quot; value=&quot;unknown&quot;/&gt;<br>
&gt;         &lt;param name=&quot;outbound-calling-ton&quot; value=&quot;unknown&quot;/&gt;<br>
&gt;         &lt;param name=&quot;outbound-calling-npi&quot; value=&quot;unknown&quot;/&gt;<br>
&gt;         &lt;/span&gt;<br>
&gt;         &lt;/boost_spans&gt;<br>
&gt;         &lt;/configuration&gt;<br>
&gt;<br>
&gt;<br>
&gt;         dialplan<br>
&gt;         ---------------<br>
&gt;         &lt;extension name=&quot;priout&quot;&gt;<br>
&gt;<br>
&gt;         &lt;condition field=&quot;destination_number&quot;<br>
&gt;         expression=&quot;(?!4970000)\d{7}&quot;&gt;<br>
&gt;<br>
&gt;         &lt;action application=&quot;set&quot;<br>
&gt;         data=&quot;effective_caller_id_number=4970000&quot;/&gt;<br>
&gt;         &lt;action application=&quot;set&quot;<br>
&gt;         data=&quot;effective_caller_id_name=4970000&quot;/&gt;<br>
&gt;<br>
&gt;         &lt;action application=&quot;bridge&quot;<br>
&gt;         data=&quot;openzap/PRI_1/a/${destination_number}@g1&quot;/&gt;<br>
&gt;<br>
&gt;         &lt;/condition&gt;<br>
&gt;         &lt;/extension&gt;<br>
&gt;<br>
&gt;         Best Regards,<br>
&gt;         Nazim<br>
&gt;<br>
&gt;<br>
&gt;         On 07/19/2010 01:36 PM, ovvenkat wrote:<br>
&gt;         &gt; Hi to all,<br>
&gt;         &gt;<br>
&gt;         &gt; I am very new to this world.  I am not able to do outbound<br>
&gt;         call using<br>
&gt;         &gt; Sangoma A101 card  and freeSwitch.<br>
&gt;         &gt;<br>
&gt;         &gt; Here is the procedure I have followed<br>
&gt;         &gt;<br>
&gt;         &gt; *openzap.conf*<br>
&gt;         &gt;<br>
&gt;         &gt; [span wanpipe smg_prid]<br>
&gt;         &gt; name =&gt; smg_prid<br>
&gt;         &gt; trunk_type =&gt;e1<br>
&gt;         &gt; b-channel =&gt; 1:1-15<br>
&gt;         &gt; d-chennel =&gt; 1:16<br>
&gt;         &gt; b-channel =&gt; 1:17-31<br>
&gt;         &gt;<br>
&gt;         &gt; I have one span in *openzap.conf.xml*<br>
&gt;         &gt;<br>
&gt;         &gt; &lt;configuration name=&quot;openzap.conf&quot; description=&quot;OpenZAP<br>
&gt;         Configuration&quot;&gt;<br>
&gt;         &gt; &lt;settings&gt;<br>
&gt;         &gt; &lt;param name=&quot;debug&quot; value=&quot;0&quot;/&gt;<br>
&gt;         &gt; &lt;/settings&gt;<br>
&gt;         &gt; &lt;boot_spans&gt;<br>
&gt;         &gt; &lt;span id=&quot;smg_prid&quot;/&gt;<br>
&gt;         &gt; &lt;param name=&quot;node&quot; value=&quot;cpe&quot;/&gt;<br>
&gt;         &gt; &lt;param name=&quot;switch&quot; value=&quot;ni1&quot;&gt;<br>
&gt;         &gt; &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;&gt;<br>
&gt;         &gt; &lt;param name=&quot;context&quot; value=&quot;default&quot;&gt;<br>
&gt;         &gt; &lt;/span&gt;<br>
&gt;         &gt; &lt;boot_spans&gt;<br>
&gt;         &gt; &lt;analog_spans&gt;<br>
&gt;         &gt; &lt;/analog_spans&gt;<br>
&gt;         &gt; &lt;/configuration &gt;<br>
&gt;         &gt; &lt;/analog_spans&gt;<br>
&gt;         &gt;<br>
&gt;         &gt; *My Dial plan is<br>
&gt;         &gt;<br>
&gt;         &gt; *added one extension in default.xml file<br>
&gt;         &gt;<br>
&gt;         &gt; &lt;extension name=&quot;outgoing-pri&quot;&gt;<br>
&gt;         &gt; &lt;condition field=&quot;destination_number&quot; expression=&quot;12345&quot;&gt;<br>
&gt;         &gt; &lt;action application=&quot;bridge&quot; data=&quot;OpenZAP/smg_prid/a/&lt;my<br>
&gt;         number&gt;@g1&quot;/&gt;<br>
&gt;         &gt; &lt;/condition&gt;<br>
&gt;         &gt; &lt;/extension&gt;<br>
&gt;         &gt;<br>
&gt;         &gt; When i trying to call &quot;12345&quot; I am getting following output<br>
&gt;         in *fs_cli* ,<br>
&gt;         &gt;<br>
&gt;         &gt; 2010-07-19 01:50:17.531933 [DEBUG] sofia.c:5992 IP 192.168.1.100<br>
&gt;         &gt; Rejected by acl &quot;domains&quot;. Falling back to Digest auth.<br>
&gt;         &gt; 2010-07-19 01:50:17.562934 [DEBUG] sofia.c:5992 IP 192.168.1.100<br>
&gt;         &gt; Rejected by acl &quot;domains&quot;. Falling back to Digest auth.<br>
&gt;         &gt; 2010-07-19 01:50:17.581933 [NOTICE] switch_channel.c:776 New<br>
&gt;         Channel<br>
&gt;         &gt; sofia/internal/<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
</div></div>&gt;         &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>&gt; &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
<div class="im">&gt;         &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>&gt;&gt;<br>
&gt;         &gt; [36c842f2-8078-4ca0-a6e0-36f5d65f81f8]<br>
&gt;         &gt; 2010-07-19 01:50:17.583936 [DEBUG]<br>
&gt;         switch_core_state_machine.c:314<br>
&gt;         &gt; (sofia/internal/<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
</div>&gt;         &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>&gt; &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
<div class="im">&gt;         &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>&gt;&gt;)<br>
&gt;         &gt; Running State Change CS_NEW<br>
&gt;         &gt; 2010-07-19 01:50:17.583936 [DEBUG]<br>
&gt;         switch_core_state_machine.c:320<br>
&gt;         &gt; (sofia/internal/<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
</div>&gt;         &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>&gt; &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
<div class="im">&gt;         &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>&gt;&gt;) State NEW<br>
&gt;         &gt; 2010-07-19 01:50:17.615937 [DEBUG] sofia.c:4310 Channel<br>
&gt;         &gt; sofia/internal/<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
</div>&gt;         &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>&gt; &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
<div class="im">&gt;         &lt;mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>&gt;&gt; entering<br>
&gt;         &gt; state [received][100]<br>
&gt;         &gt; 2010-07-19 01:50:17.615937 [DEBUG] sofia.c:4321 Remote SDP:<br>
&gt;         &gt; v=0<br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         FreeSWITCH-users mailing list<br>
&gt;         <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div>&gt;         &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;         <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;         UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;         <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;<br>
&gt;     If you have come to help me, you are wasting your time.<br>
&gt;     If you have come to because your liberation is bound up in mine,<br>
&gt;     we can work together.<br>
&gt;<br>
&gt;<br>
&gt;     Regards<br>
&gt;     Venkatesan OV.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; If you have come to help me, you are wasting your time.<br>
&gt; If you have come to because your liberation is bound up in mine, we<br>
&gt; can work together.<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Venkatesan OV.<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><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>
 <br>Regards<br>Venkatesan OV.<br>
</div>