Re: [OpenSIPS-Users] dispatcher setid problem

2010-07-13 Thread rajib deka
Thanks a lot Bogdan for your valuable reply. We are deciding to use the dialplan module based on our requirement. Besides this I have one more questions for you, In dispatcher.c file I found the following data structure, typedef struct _ds_set { int id;/* id of dst set */ int n

Re: [OpenSIPS-Users] Delay in relaying SIP message to UA

2010-07-13 Thread dotnetdub
On 14 July 2010 03:43, Julian Yap wrote: > I'm having a problem where is looks like there is a delay in OpenSIPS > relaying a SIP packet back to the originating UA. > > Here is a stripped Ngrep trace which shows the time stamps. > > In the example: > 9.9.9.101 = IP of the Calling UA > 8.8.8.41 =

[OpenSIPS-Users] Delay in relaying SIP message to UA

2010-07-13 Thread Julian Yap
I'm having a problem where is looks like there is a delay in OpenSIPS relaying a SIP packet back to the originating UA. Here is a stripped Ngrep trace which shows the time stamps. In the example: 9.9.9.101 = IP of the Calling UA 8.8.8.41 = IP of the Proxy 9.9.9.15 = IP of the Called UA The 180 R

Re: [OpenSIPS-Users] using avops for authentication

2010-07-13 Thread Gabriel Bermudez
I'm forgetting about something, the userpassword field is a plain text password. Regards, 2010/7/13 Gabriel Bermudez > Hi, > > I need to authenticate and register users that are stored on the opensips > db AND a different database. For that I have the following code > > if (is_method("REGI

[OpenSIPS-Users] using avops for authentication

2010-07-13 Thread Gabriel Bermudez
Hi, I need to authenticate and register users that are stored on the opensips db AND a different database. For that I have the following code if (is_method("REGISTER") && $fu=~"^sip:[0-9]{10}@") { # authenticate the REGISTER based on a different DB xlog("getting valid cre

Re: [OpenSIPS-Users] cpl and timer no answer

2010-07-13 Thread Bogdan-Andrei Iancu
Hi Mehdi, To make the timeout attr to work, you need a lit of configuration. You need to set the "timer_avp" in CPL to the same value as the "fr_inv_timer_avp" in TM : See: http://www.opensips.org/html/docs/modules/1.6.x/cpl-c.html#id228435 http://www.opensips.org/html/docs/modules/1.6.x

[OpenSIPS-Users] cpl and timer no answer

2010-07-13 Thread mehdi boudou
Hi everybody, I already use Opensips 1.5.0 and cpl module and i tested this scénario The problem is if i chang

Re: [OpenSIPS-Users] OpenSIPS Server configuration ( SIP Server ) based on VOIP

2010-07-13 Thread Bogdan-Andrei Iancu
You can use a PSTN termination service (for both inbound and outbound PSTN calls) from a PSTN wholesale provider - you will simply send to them the traffic that needs to be terminated on PSTN. For inbound traffic, the PSTN provider will send you (as SIP) the calls targeting your DIDs (you need

Re: [OpenSIPS-Users] dispatcher setid problem

2010-07-13 Thread Bogdan-Andrei Iancu
Hi Rajib, Changing the DB definiton will not help as internally, the dispatcher module will use an int (4 bytes data) for keeping this ID. So, it will not work. Instead of using the bigints for IDs, I would rather suggest to use the dialplan to try to do some translation from the numbers to so

[OpenSIPS-Users] dispatcher setid problem

2010-07-13 Thread rajib deka
Hello List, Is it possible to use a BIGINT value instead of INT(11) in OpenSIPS dispatcher module? We tried to store a BIGINT value by changing the dispatcher table structure but the dispatcher code is restricting us to do that. We have some requirements which needs the setid to be a BIGINT as we

Re: [OpenSIPS-Users] debian packaging and compiler options

2010-07-13 Thread Bogdan-Andrei Iancu
Hi Kennard, I personally use the the defaults from debian/rules . If you want to take full advantage of all special flags that are pushed by Makefile, you can try to prevent the debian/rules to set a the flags by removing the lines: CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OP

Re: [OpenSIPS-Users] opensips default script.

2010-07-13 Thread Bogdan-Andrei Iancu
Hi David, That's right, I removed it from the list. Thanks and regards, Bogdan David J. wrote: > It seems like for quite some time alias_db does not support domains, but > is listed to use domains in the default script. > > # - multi-module params - > /* uncomment the following line if

Re: [OpenSIPS-Users] proxy_authorize("","subscriber") bug ??

2010-07-13 Thread Bogdan-Andrei Iancu
Hi Pasan, There are 2 kind of nonce checks: 1) expiration check - nonce has a lifetime - after it expires, it is not accepted by opensips at all and a new challenge is fired. Is check cannot be disabled, it is all the time on. 2) reusage check - once a nonce is used for an authentication, it i