<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just in case, don't forget to reloadxml after you changed the dialplan.<div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#1C00FF">David Ponzone </font><font class="Apple-style-span" color="#000000" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Direction Technique</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">email: <a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a></span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 01 74 03 18 97</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">gsm: 06 66 98 76 34</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'"><br></font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">Service Client<span class="Apple-converted-space"> </span></font><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" color="#FF0000">IP</font></font><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'">eva</font></div><div><font class="Apple-style-span" color="#1C00FF" face="'Helvetica Neue'"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; "><div><font class="Apple-style-span" face="'Helvetica Neue'"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 13px; ">tel: 0811 46 26 26</span></font></font></div><div><font class="Apple-style-span" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 13px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span style="text-decoration: underline; "><a href="BLOCKED::http://www.ipeva.fr/">www.ipeva.fr</a></span><span style="color: rgb(101, 104, 149); "> - <span style="color: rgb(0, 34, 243); text-decoration: underline; "><a href="BLOCKED::http://www.ipeva-studio.com/">www.ipeva-studio.com</a></span></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span" style="text-decoration: underline; "><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Arial; color: rgb(0, 34, 243); "><span class="Apple-style-span"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-align: justify; font: normal normal normal 10px/normal Arial; color: rgb(192, 192, 192); "><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div><div style="text-decoration: underline; text-align: justify; "><font class="Apple-style-span" color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br><div><div>Le 21/07/2010 à 18:35, ovvenkat a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><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> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>