<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>