<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Baskar,<div><br></div><div>there are many inconsistencies/errors in the config you sent.</div><div><br></div><div>1) You can't have 2 default routes on a Unix box (well, you can, but the results will be unpredictable). The usual configuration is to have no default route for the LAN (eth0), or possibly some specific static routes, and a default route to the outside (eth1)</div><div>2) 10.10.10.3 is not part of the subnet on your eth0 (10.10.10.40/29), so you can't use that as a default route</div><div>3) 10.10.10.47 is the broadcast address of the subnet 10.10.10.40/29, so you can't use that. Perhaps 47 was a typo, that would also explain the issue above.</div><div>4) if 10.0.0.2 is the IP of your provider, you should really check that you can reach that with the routes you have (see 1 above). If you are running pure private on this box, I would recommend not setting any default route, but rather setting all the required static routes</div><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 24/06/2010 à 00:22, Baskar a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><b>Hi All,<br><br>I have set a freeswitch which has two ethernet cards, one is connected to local lan and the other is connected with our SIP providers trunk.Below is the config of both the ethernet cards</b><br><br><b style="color: rgb(0, 102, 0);">eth1 – SIP Provider IP: 172.16.61.27 MASK: 255.255.255.248 GW: 172.16.61.25<br> eht0 – Internal LAN IP: 10.10.10.47 MASK: 255.255.255.248 GW: 10.10.10.3<br><br></b><b style="color: rgb(0, 0, 153);">Dial plan for this SIP provider<br><br> <extension name="sify"><br> <condition field="destination_number" expression="^(\d{17}|\d{18|\d{19}})"><br> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/><br> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/><br> <action application="bridge" data="sofia/external/0109#001$<a href="mailto:1@10.0.0.2">1@10.0.0.2</a>"/><br> </condition><br> </extension></b><br><br><b><span style="color: rgb(255, 0, 0);">SIP Trunk settings from provider:</span><br style="color: rgb(255, 0, 0);"> <br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Protocol: SIP</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Prefix: 0109#001</span><br style="color: rgb(255, 0, 0);"> <span style="color: rgb(255, 0, 0);">Signaling IP: 10.0.0.2</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Authentication: IP based</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Sip port :5060</span></b><br> <br><b>There is no user account and password settings for this provider<br><br>I am able to dial out to local extension using this setting but am not able to make external calls through SIP trunk. The same settings are working fine with trixbox but it does not work with freeswitch.<br> <br>We have another SIP account from one more SIP provider with a username and password and its working fine with freeswitch.Below is the DIal plan of another provider which works fine.</b><br> <br><br style="color: rgb(0, 0, 153);"> <b><span style="color: rgb(0, 0, 153);">Dial Plan from the other provider</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> <extension name="Pulse"></span><br style="color: rgb(0, 0, 153);"> <span style="color: rgb(0, 0, 153);"> <condition field="destination_number" expression="^(\d{11}|\d{12|\d{13}})"></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> <action application="set" data="effective_caller_id_number=12223334444"/></span><br style="color: rgb(0, 0, 153);"> <span style="color: rgb(0, 0, 153);"> <param name="caller-id-in-form" value="true"/></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> <action application="record_session" data="$${base_dir}/${destination_number}-${caller_id_number}-${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/></span><br style="color: rgb(0, 0, 153);"> <span style="color: rgb(0, 0, 153);"> <action application="bridge" data="sofia/gateway/7257029/$1"/></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> </condition></span><br style="color: rgb(0, 0, 153);"> <span style="color: rgb(0, 0, 153);"> </extension></span><br style="color: rgb(0, 0, 153);"><br>Can you please help me to troubleshoot this issue. Any pointers would be most appreciated.<br clear="all"><br>-- <br> Thanks with Regards,<br><br>N.Baskar </b><br><br> _______________________________________________<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>