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