Hi Duane,<div><br></div><div>We have "loadmodule "tm.so"" in our configuration but <span class="Apple-style-span" style="font-family: verdana, sans-serif; "><span style="color: rgb(255, 0, 0); ">t_reply("$T_reply_code");</span> is giving error.</span></div>
<div><font class="Apple-style-span" face="verdana, sans-serif"><br></font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Regards</font></div><div><font class="Apple-style-span" face="verdana, sans-serif">Tushar</font></div>
<div><br><div class="gmail_quote">On Thu, Jun 2, 2011 at 2:03 AM, Duane Larson <span dir="ltr"><<a href="mailto:duane.larson@gmail.com">duane.larson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>In your config do you have the following</div>
<div> </div>
<div>loadmodule "tm.so"</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote"><div><div></div><div class="h5">On Wed, Jun 1, 2011 at 9:20 AM, Aman <span dir="ltr"><<a href="mailto:goforaman@gmail.com" target="_blank">goforaman@gmail.com</a>></span> wrote:<br>
</div></div><blockquote style="border-left:#ccc 1px solid;margin:0px 0px 0px 0.8ex;padding-left:1ex" class="gmail_quote"><div><div></div><div class="h5"><span style="font-family:verdana, sans-serif">Hi All,</span><br style="font-family:verdana, sans-serif">
<br style="font-family:verdana, sans-serif"><span style="font-family:verdana, sans-serif">I am facing some challenges in the testing of the OpenSIPs (V:1.6.2-tls), OpenSips always returning cause code '</span><font style="font-family:verdana, sans-serif"><a name="1304ce9692c38291_1304b93c10394248_#top"></a><a name="1304ce9692c38291_1304b93c10394248_packet5"><font color="red">503 Service not available, no more gateways</font></a></font><span style="font-family:verdana, sans-serif">' to caller doesn't matter whatever it is getting from the carrier (Screenshot as below) ... i guess its happening due to following code in opensips.cfg,<br>
<br><br><span style="color:rgb(255,0,0)"> else {</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)"> t_reply("503", "Service not available, no more gateways");</span><br style="color:rgb(255,0,0)">
<span style="color:rgb(255,0,0)"> exit;</span><br style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)"> }</span><br><br></span><br style="font-family:verdana, sans-serif"><span style="font-family:verdana, sans-serif"> I looked into the forums and tried <span style="color:rgb(255,0,0)">t_reply("$T_reply_code");</span>, but its giving error,</span><br style="font-family:verdana, sans-serif">
<br style="font-family:verdana, sans-serif"><span style="font-family:verdana, sans-serif;color:rgb(255,0,0)"> unknown command <t_reply>, missing loadmodule?</span><br style="font-family:verdana, sans-serif;color:rgb(255,0,0)">
<span style="font-family:verdana, sans-serif;color:rgb(255,0,0)"> Jun 1 12:59:46 [21787] ERROR:core:main: bad config file (1 errors)</span><br style="font-family:verdana, sans-serif"><br style="font-family:verdana, sans-serif">
<br style="font-family:verdana, sans-serif"><span style="font-family:verdana, sans-serif">One more thing, its not showing the time in the field 'Time', do i need to add some code to get the time print in the CDRToll SIP trace.</span><br style="font-family:verdana, sans-serif">
<br style="font-family:verdana, sans-serif"><span style="font-family:verdana, sans-serif"></span><br><br><br><img alt=""><br style="font-family:verdana, sans-serif" clear="all"><br><br><br><span style="font-family:verdana, sans-serif">Any suggestions will really be helpful.<br>
<br><br style="font-family:verdana, sans-serif"></span><span style="font-family:verdana, sans-serif">-- </span><br style="font-family:verdana, sans-serif"><font style="font-family:verdana, sans-serif"><b><font color="#999999">Cheers,<br>
Amanpreet Singh </font></b><br></font><br><br></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>--<br>*--*--*--*--*--*<br>Duane<br>*--*--*--*--*--*<br><font color="#888888">--<br>
</font><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards<br> <br>Tushar Jain<br><br> <br>"two roads diverged in a wood, and I - I took the one less traveled by, and that has made all the difference" <br> <br>
--Robert Frost " <br>
</div>