[OpenSIPS-Users] Errors while setting up Opensips

2011-02-23 Thread Begg Sin
Hi, list: I have had the same error as follows( appeared in the this list before, below): "Same problem chieftec:~# opensipsctl db show subscriber /usr/sbin/opensipsctl: line 954: select * FROM subscriber;: command not found ..." *The subject and date were the followings:* [OpenSIPS-Users] Erro

[OpenSIPS-Users] Errors while setting up Opensips

2011-02-23 Thread Begg Sin
Hi, list: I have had the same error as follows( appeared in the this list before, below): "Same problem chieftec:~# opensipsctl db show subscriber /usr/sbin/opensipsctl: line 954: select * FROM subscriber;: command not found ..." *The subject and date were the followings:* [OpenSIPS-Users] Erro

Re: [OpenSIPS-Users] pseudo-variable problem with increasing cps

2011-02-23 Thread Dave Singer
Ronald, The only time I've seen it be null in failure route is if there was no reply received, you might add a check to see if it was a local timeout: if ( t_local_replied("all") ) { xlog("did not get any response"); } else { xlog("$(ci): $C(rx)failure route: $(rs) $(rr)$C(xx)\n"); } Dave

[OpenSIPS-Users] IRC meeting 22 Feb 2011 - Follow up

2011-02-23 Thread Bogdan-Andrei Iancu
Hi all, I structured a bit the website section for managing the monthly OpenSIPS meetings: http://www.opensips.org/Resources/PublicMeetings You have there the listing of past and future meetings and the description and rules of these meetings. The conclusions and the logs of the meeting

Re: [OpenSIPS-Users] Modify a URI

2011-02-23 Thread Dave Singer
Or just: $rU = "12345#" + $rU; Dave On Wed, Feb 23, 2011 at 10:36 AM, Max Mühlbronner wrote: > Hello, > > > > if you just want to add a prefix, you could use prefix() which is very easy > to use. J > > > > Regards > > > > Max M. > > > > *Von:* users-boun...@lists.opensips.org [mailto: > users

Re: [OpenSIPS-Users] Modify a URI

2011-02-23 Thread Max Mühlbronner
Hello, if you just want to add a prefix, you could use prefix() which is very easy to use. J Regards Max M. Von: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] Im Auftrag von Brian Artigas Gesendet: Mittwoch, 23. Februar 2011 19:31 An: users@lists.opensip

Re: [OpenSIPS-Users] Modify a URI

2011-02-23 Thread Stefano Pisani
You can do that in several ways. A simple way could be: $ru = "sip:12345#" + $rU + "@" + $rd other ways are possible Il 23/02/2011 19:31, Brian Artigas ha scritto: Can anyone give me a code example how I would take a URI and inject a string between the sip: and the actual number. I found the

[OpenSIPS-Users] Modify a URI

2011-02-23 Thread Brian Artigas
Can anyone give me a code example how I would take a URI and inject a string between the sip: and the actual number. I found the rewriteuri() function but cannot find any code examples on how to use it. For instance take the request URI: sip:5615551212@111.222.333.444 And change it to: sip

Re: [OpenSIPS-Users] ratelimit: per group/account limiting

2011-02-23 Thread Ovidiu Sas
There are two different things: a. channel limitation or concurrent call limit; b. ratelimit or cps limitation (cps = cals per second). With the dialog module, you limit _only_ the number of concurrent calls (a). How fast will a SIP trunk be saturated is up to the cps. If you have a limit of 30

[OpenSIPS-Users] pseudo-variable problem with increasing cps

2011-02-23 Thread Ronald Cepres
Hi all, I'm setting up opensips as a stateful proxy, and i have the following snippet of code on the failure route: failure_route[1] { xlog("$(ci): $C(rx)failure route: $(rs) $(rr)$C(xx)\n"); # Failure route routine... } The values of the call-id, response code and reason are normally t

Re: [OpenSIPS-Users] ratelimit: per group/account limiting

2011-02-23 Thread Ronald Cepres
On Wed, Feb 23, 2011 at 6:10 AM, Ovidiu Sas wrote: > > If a virtual PRI is set up (23 channels for NA or 30 channels for > Europe), again the cps doesn't really count. As soon as the virtual > PRI is maxed out (in terms of channels) all subsequent calls will be > rejected (and the cps will be 0)

Re: [OpenSIPS-Users] b2b modules restart-safeness / database use

2011-02-23 Thread Anca Vamanu
On 02/23/2011 06:16 PM, Jeff Pyle wrote: Anca, Ok. Any plans to add a db_mode in the future? Add a feature request for this. Also, I noticed yesterday there are no options to choose the table names as almost all the other modules have. Any thoughts on that? Haven't given much attention on

Re: [OpenSIPS-Users] b2b modules restart-safeness / database use

2011-02-23 Thread Jeff Pyle
Anca, Ok. Any plans to add a db_mode in the future? Also, I noticed yesterday there are no options to choose the table names as almost all the other modules have. Any thoughts on that? - Jeff From: Anca Vamanu mailto:a...@opensips.org>> Reply-To: OpenSIPS users mailling list mailto:users@

[OpenSIPS-Users] Request Timeout (for PUBLISH and SUBSCRIBE) in IMS+Presence Server

2011-02-23 Thread abid khan
*Hi! * I configured the IMS core and opensip presence server on it, but when i am trying to configure the Client(UCT) with presence enabled it gives me following error: * Request Timeout (for PUBLISH) Request Timeout (for SUBSCRIBE)* if any one knows that kindly let me know i am stuck in this

[OpenSIPS-Users] Request time out for (SUBSCRIBE + PUBLISH) in IMS+presence Server

2011-02-23 Thread abid khan
- *<>* # # $Id: opensips.cfg 7027 2010-07-15 13:48:29Z razvancrainea $ # # OpenSIPS basic configuration script # by Anca Vamanu # # Please refer to the Core CookBook at: # http://www.opensips.org/index.php?n=Resources.

[OpenSIPS-Users] Request Timeout (for PUBLISH and SUBSCRIBE) in IMS+opensips Presence Server

2011-02-23 Thread abid khan
*Hi! * I configured the IMS core and opensip presence server on it, but when i am trying to configure the Client(UCT) with presence enabled it gives me following error: * Request Timeout (for PUBLISH) Request Timeout (for SUBSCRIBE)* if any one knows that kindly let me know i am stuck in this

Re: [OpenSIPS-Users] b2b modules restart-safeness / database use

2011-02-23 Thread Anca Vamanu
Hi Jeff, In b2b there isn't this db mode option - there is only one mode - saving the data from time to time (controlled by update_period parameter) and at shutdown. To be more safe, you can decrease the update_period parameter. Regards, Anca On 02/21/2011 08:54 PM, Jeff Pyle wrote: Anca,