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