<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> <extension name="Voicepulse"><br> <condition field="destination_number" expression="xxxxyyyxx"> // xxxyyyxx -- > my PRI number <br>
<action application="transfer" data="1000 XML default"/><br> </condition><br> </extension><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"><<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>
I'm glad it works for you. For incoming you could do something like:<br>
<br>
<extension name="telco-incoming"><br>
<condition field="destination_number" expression="^(4970000)$"><br>
<br>
<action application="transfer" data="1003 XML default"/><br>
</condition><br>
</extension><br>
<br>
Regards,<br>
Nazim<br>
<div class="im"><br>
<br>
On 07/20/2010 06:07 PM, ovvenkat wrote:<br>
> Hi Nazim,<br>
><br>
> Could you plz tell me, how to handle the incoming call if you could<br>
> plz give me some sample dialplan to handle the incoming call would be<br>
> great.<br>
><br>
> Regards,<br>
> Venkat.<br>
><br>
><br>
><br>
> On Tue, Jul 20, 2010 at 6:32 PM, ovvenkat <<a href="mailto:ovvenkatesan@gmail.com">ovvenkatesan@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:ovvenkatesan@gmail.com">ovvenkatesan@gmail.com</a>>> wrote:<br>
><br>
><br>
><br>
><br>
> Thank you very much Nazim , It works :) .<br>
><br>
><br>
> Regards,<br>
> Venkat.<br>
><br>
><br>
><br>
> On Tue, Jul 20, 2010 at 4:02 PM, Nazim Aghabayov<br>
</div><div><div></div><div class="h5">> <<a href="mailto:nazim.aghabayov@gmail.com">nazim.aghabayov@gmail.com</a> <mailto:<a href="mailto:nazim.aghabayov@gmail.com">nazim.aghabayov@gmail.com</a>>> wrote:<br>
><br>
> Hello Venkat,<br>
><br>
> Below is my working configuration for q931 euro-isdn.<br>
> Please have a look at:<br>
> <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>
> trunk_type => e1<br>
> b-channel => 1:1-15<br>
> b-channel => 1:17-31<br>
><br>
><br>
> openzap.conf.xml<br>
> -----------------------------------<br>
> <configuration name="openzap.conf" description="OpenZAP<br>
> Configuration"><br>
> <settings><br>
> <param name="debug" value="0"/><br>
> </settings><br>
> <boost_spans><br>
> <span name="PRI_1"><br>
> <!-- Log Levels: none, alert, crit, err, warning, notice,<br>
> 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>
> <param name="dialplan" value="XML"/><br>
> <param name="context" value="default"/><br>
><br>
> <!-- 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"<br>
> expression="(?!4970000)\d{7}"><br>
><br>
> <action application="set"<br>
> data="effective_caller_id_number=4970000"/><br>
> <action application="set"<br>
> 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>
><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<br>
> 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<br>
> 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<br>
> number>@g1"/><br>
> > </condition><br>
> > </extension><br>
> ><br>
> > When i trying to call "12345" I am getting following output<br>
> 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<br>
> Channel<br>
> > sofia/internal/<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
</div></div>> <mailto:<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">> <mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>>><br>
> > [36c842f2-8078-4ca0-a6e0-36f5d65f81f8]<br>
> > 2010-07-19 01:50:17.583936 [DEBUG]<br>
> switch_core_state_machine.c:314<br>
> > (sofia/internal/<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
</div>> <mailto:<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">> <mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>>>)<br>
> > Running State Change CS_NEW<br>
> > 2010-07-19 01:50:17.583936 [DEBUG]<br>
> switch_core_state_machine.c:320<br>
> > (sofia/internal/<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
</div>> <mailto:<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">> <mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>>>) State NEW<br>
> > 2010-07-19 01:50:17.615937 [DEBUG] sofia.c:4310 Channel<br>
> > sofia/internal/<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a><br>
</div>> <mailto:<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">> <mailto:<a href="mailto:1000@192.168.1.110">1000@192.168.1.110</a>>> entering<br>
> > state [received][100]<br>
> > 2010-07-19 01:50:17.615937 [DEBUG] sofia.c:4321 Remote SDP:<br>
> > v=0<br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
</div>> <mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>><br>
<div><div></div><div class="h5">> <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>
><br>
><br>
><br>
><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,<br>
> we can work together.<br>
><br>
><br>
> Regards<br>
> Venkatesan OV.<br>
><br>
><br>
><br>
><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<br>
> can work together.<br>
><br>
><br>
> Regards<br>
> Venkatesan OV.<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>
<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>