[OpenSIPS-Users] Limit call duration - Timeout in Dialog module?

2009-05-01 Thread John Quick
What is the best technique for limiting the maximum call duration in OpenSIPS? I want to set the time limit within the Request_Route section that is handing the initial INVITE when the call starts. I tried setting a 30 second timeout in the Dialog module using a value put into the timeout_avp, but

Re: [OpenSIPS-Users] Limit call duration - Timeout in Dialog module?

2009-05-01 Thread Adrian Georgescu
You should look at call_control module for this purpose. Adrian On May 1, 2009, at 11:57 AM, John Quick wrote: What is the best technique for limiting the maximum call duration in OpenSIPS? I want to set the time limit within the Request_Route section that is handing the initial INVITE

Re: [OpenSIPS-Users] Limit call duration - Timeout in Dialog module?

2009-05-01 Thread Bogdan-Andrei Iancu
Hi john, Using the dialog module should do the trick. When the dialog is setup, use an AVP to set the dialog timeout (see the timeout_avp at http://www.opensips.org/html/docs/modules/1.5.x/dialog.html#timeout-avp-id) to force dialog termination after certain time and also enable BYE sending

Re: [OpenSIPS-Users] Limit call duration - Timeout in Dialog module?

2009-05-01 Thread John Quick
So whichever solution I use requires upgrading to version 1.5.x. I thought maybe 1.4.x was more stable so have not yet upgraded to 1.5. Perhaps now is the time! Thanks for the comments. Regards, John Quick -Original Message- From: Bogdan-Andrei Iancu [mailto:bog...@voice-system.ro]

Re: [OpenSIPS-Users] Limit call duration - Timeout in Dialog module?

2009-05-01 Thread Brett Nemeroff
On Fri, May 1, 2009 at 7:00 AM, Bogdan-Andrei Iancu bog...@voice-system.rowrote: John Quick wrote: So whichever solution I use requires upgrading to version 1.5.x. I thought maybe 1.4.x was more stable so have not yet upgraded to 1.5. Perhaps now is the time! I know no one's asking,

[OpenSIPS-Users] CDRTool - MaxSessionTime and Debit balance cannot longer find the account info

2009-05-01 Thread Dan-Cristian Bogos
Guys, I did a CDRTool upgrade to the latest 6.7.8 and it looks like there is something wrong with the account matching. Both MaxSessionTime and DebitBalance are failing (in mysql it looks like the account is queried as empty string). Let me know if the same scenario works for you. Ta, DanB

Re: [OpenSIPS-Users] Limit call duration - Timeout in Dialog module?

2009-05-01 Thread John Quick
Brett Thanks. I have been working on the upgrade for the last 2 hours. I think it is working now, but it did complain about old versions of tables in the database so I just dropped the entire DB and created a new one. Lucky for me these servers are still in the trial/testing phase so there is no

[OpenSIPS-Users] modparam with RLS

2009-05-01 Thread Michael Ciupka
Hello, i want to configure RLS in Opensips. In the docs/module i found this parameters: modparam(rls, rlsubs_table, rls_subscriptions) modparam(rls, rlpres_table, rls_notify) but i dont found the table´s in database opensips. do i need this modparam? or which table i must write there? Regards

Re: [OpenSIPS-Users] modparam with RLS

2009-05-01 Thread Michael Ciupka
Hello Iñaki, okay. but which table is the rls_subscription, the rls_watchers or the rls_presentity? REgards Michael Original-Nachricht Datum: Fri, 1 May 2009 16:38:49 +0200 Von: Iñaki Baz Castillo i...@aliax.net An: Michael Ciupka opens...@michael-ciupka.de CC:

[OpenSIPS-Users] Code

2009-05-01 Thread Michael Ciupka
Hello, what are the difference between the two commands: 1. if (method == INVITE) 2. if (ismethod(INVITE)) i hope somebody can help me. Regards Michael ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] Code

2009-05-01 Thread Brett Nemeroff
I *think* programing style. :) I'd be interested in knowing if there is a performance improvement for one versus the other. -Brett On Fri, May 1, 2009 at 10:21 AM, Michael Ciupka opens...@michael-ciupka.dewrote: Hello, what are the difference between the two commands: 1. if (method ==

Re: [OpenSIPS-Users] Code

2009-05-01 Thread Bogdan-Andrei Iancu
Actually it is a performance difference between: (method == INVITE) does a string comparison, so slower (is_method(INVITE)) does an ID/integer comparison, so faster Regards, Bogdan Brett Nemeroff wrote: I *think* programing style. :) I'd be interested in knowing if there is a performance

[OpenSIPS-Users] ACK message loops while behind firewall

2009-05-01 Thread msp
Hi all, My Opensips server is behind firewall. All the messages comes at port 5060 on firewall are routed to Opensips Server. Then calls are routed based on LCR. See below: Caller === | | | Firewall | Opensips Server Callee === |

[OpenSIPS-Users] modparam with RLS

2009-05-01 Thread Michael Ciupka
Hello, sorry but i dont know and i cant go on with work. Which table i must fill in here: modparam(rls, rlsubs_table, rls_subscriptions) modparam(rls, rlpres_table, rls_notify) now i have in my database opensips rls_watchers and rls_presentity. Regards Michael

Re: [OpenSIPS-Users] ACK message loops while behind firewall

2009-05-01 Thread Bogdan-Andrei Iancu
Hi, You need to post the whole trace (from the begining of the calls) to see what the problem is. Regards, Bogdan msp wrote: Hi all, My Opensips server is behind firewall. All the messages comes at port 5060 on firewall are routed to Opensips Server. Then calls are routed based on LCR.

[OpenSIPS-Users] modparam with RLS

2009-05-01 Thread Michael Ciupka
i solved the problem by my self. :) Hello, sorry but i dont know and i cant go on with work. Which table i must fill in here: modparam(rls, rlsubs_table, rls_subscriptions) modparam(rls, rlpres_table, rls_notify) now i have in my database opensips rls_watchers and rls_presentity. Regards

[OpenSIPS-Users] uac_replace_from BUG in Opensips 1.5.1-2

2009-05-01 Thread Stefan Tobé
Hi, when I apply the function: uac_replace_from(Anonymous, sip:anonym...@anonymous.invalid); in opensips.cfg the following bogus replacement FROM header appears: From: Anonymous sip:+12345678...@x.x.x.xsip:anonym...@anonymous.invalid; tag=f83392d09c75504fo0 SIP Display info: Anonymous SIP from

[OpenSIPS-Users] Undelivered Mail Returned to Sender

2009-05-01 Thread JFRKRVFAXDHB
This is the mail system at host posta.websolutions.it. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster If you do so, please include this problem report. You can delete