Thanks Mario for taking time to replay. Its resolved now by using scripting variable return code '$rc', it is returning the carrier release code to caller.
Now i am looking how can i display time in siptrace window of CDRTool ... will you advice me about this. -- *Cheers, Amanpreet Singh * On Sun, Jun 5, 2011 at 3:30 PM, <[email protected]> wrote: > Send Users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Users digest..." > > > Today's Topics: > > 1. Re: /etc/init.d/opensips restart returns OK when opensips is > down... (Advantia VoIP Systems) > 2. Re: OpenSips always returning cause code 503 > (Advantia VoIP Systems) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 4 Jun 2011 08:08:56 -0700 > From: Advantia VoIP Systems <[email protected]> > Subject: Re: [OpenSIPS-Users] /etc/init.d/opensips restart returns OK > when opensips is down... > To: OpenSIPS users mailling list <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Hi Toyima, > > The start-stop-daemon function of the init script returns successfully when > launching OpenSIPS as long as your script is syntactically correct and a > pidfile can be created. You likely have an external resource (database > perhaps) that is required but not available (database credentials??) > causing > OpenSIPS to exit after the init script exits. > > Cheers, > > Mario > http://advantia.ca > > On Fri, Jun 3, 2011 at 4:46 AM, Toyima Dias <[email protected]> wrote: > > > Hello, > > > > I've a doubt regarding opensips.init script; it use to happend that > > restarting opensips with: > > > > /etc/init.d/opensips restart > > > > It returns OK, but checking with ps -ef | grep opensips does not show > > opensips running, by the way, checking the opensips.log shows many errors > > for example that the DB does not exist or whatever the issue, my doubt is > > not regarding why opensips is not able tu up for X reason, my doubt is > why > > /etc/init.d/opensips restart returns OK even if this is not true? > > > > Thanks in advance for any help! > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.opensips.org/pipermail/users/attachments/20110604/3f29b971/attachment.html > > > > ------------------------------ > > Message: 2 > Date: Sat, 4 Jun 2011 08:39:16 -0700 > From: Advantia VoIP Systems <[email protected]> > Subject: Re: [OpenSIPS-Users] OpenSips always returning cause code 503 > To: OpenSIPS users mailling list <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > Amanpreet > This may be because of where you are calling t_reply("code", > "reason"); in your routing script. ?t_reply("code", "reason"); works > if there is an established transaction to reply to. ?You may be at a > point in your routing where sl_send_reply("code", "reason"); is more > appropriate. > > Cheers, > > Mario > http://advantia.ca > > On Thu, Jun 2, 2011 at 1:21 AM, Tushar Jain <[email protected]> > wrote: > > > > 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 <[email protected]> > wrote: > >> > >> In your config do you have the following > >> > >> loadmodule "tm.so" > >> > >> > >> > >> On Wed, Jun 1, 2011 at 9:20 AM, Aman <[email protected]> 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 > >>> [email protected] > >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >>> > >> > >> > >> > >> -- > >> -- > >> *--*--*--*--*--* > >> Duane > >> *--*--*--*--*--* > >> -- > >> > >> _______________________________________________ > >> Users mailing list > >> [email protected] > >> 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 " > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > > > ------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > End of Users Digest, Vol 35, Issue 8 > ************************************ > **
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
