[OpenSIPS-Users] OpenSips always returning cause code 503

Tushar Jain tusshar.jain at gmail.com
Thu Jun 2 10:21:24 CEST 2011


Hi Duane,

We have "loadmodule "tm.so"" in our configuration but
t_reply("$T_reply_code"); is giving error.

Regards
Tushar

On Thu, Jun 2, 2011 at 2:03 AM, Duane Larson <duane.larson at gmail.com> wrote:

> In your config do you have the following
>
> loadmodule "tm.so"
>
>
>
>
> On Wed, Jun 1, 2011 at 9:20 AM, Aman <goforaman at gmail.com> wrote:
>
>> Hi All,
>>
>> I am facing some challenges in the testing of the OpenSIPs (V:1.6.2-tls),
>> OpenSips always returning cause code '503 Service not available, no more
>> gateways' 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,
>>
>>
>>         else {
>>                 t_reply("503", "Service not available, no more gateways");
>>                 exit;
>>                 }
>>
>>
>>  I looked into the forums and tried  t_reply("$T_reply_code");, but its
>> giving error,
>>
>>                     unknown command <t_reply>, missing loadmodule?
>>                     Jun  1 12:59:46 [21787] ERROR:core:main: bad config
>> file (1 errors)
>>
>>
>> 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.
>>
>>
>>
>>
>>
>>
>>
>>
>> Any suggestions will really be helpful.
>>
>>
>> --
>> *Cheers,
>> Amanpreet Singh *
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
> --
> *--*--*--*--*--*
> Duane
> *--*--*--*--*--*
> --
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Regards

Tushar Jain


"two roads diverged in a wood, and I - I took the one less traveled by, and
that has made all the difference"

--Robert Frost "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110602/43ac74f7/attachment-0001.htm>


More information about the Users mailing list