Re: [OpenSIPS-Users] default_q (integer) doesn't seem to work

2009-12-12 Thread Bogdan-Andrei Iancu
Hi, So, if the client does not send a Q value, the opensips registrar module will use what you define as default_q - is this working for you? or you get this in DB ? Regards, Bogdan osiris123d wrote: Doesn't look like my Bria Client is sending a Q Value in the Register Request. Here is the

Re: [OpenSIPS-Users] IP Based Authentication on Asterisk with OpenSIP

2009-12-12 Thread Bogdan-Andrei Iancu
Hi Muhammad, What you can do (and I know for sure it works with Asterisk), is to configure opensips (LB) to add the real src IP (IP of the client) into a SIP header (in the request) and send it to Asterisk - asterisk will do IP based auth but will take IP from that header (custom name) instead

Re: [OpenSIPS-Users] mi_datagram - UDP is [still] broken?

2009-12-12 Thread Bogdan-Andrei Iancu
Hi Alexander, the mi_datagram is not broken (and never was). you can run a very simple test with NC (network commander): echo -e :uptime:\n\n| nc -u 192.168.2.1 5059 About you php code I cannot comment as I'm not a php programmer :) Regards, Bogdan Alexander wrote: Hi all! I try to

Re: [OpenSIPS-Users] Avpops failure route

2009-12-12 Thread Andrew Pogrebennyk
Hi, Perhaps someone could chime in on this.. Andrew Pogrebennyk wrote: Bogdan, You are correct. But the thing is that when fr_inv_timer hits, OpenSIPS (prematurely) sends INVITE on the next branch and only after that CANCELs the previous one. And if the gateway receives different branch

Re: [OpenSIPS-Users] If statement Syntax issue

2009-12-12 Thread osiris123d
I am not getting those errors now. I am not sure what changed. I am running OpenSIPS 1.6. I don't know why I got those errors at first. Sorry. Bogdan-Andrei Iancu wrote: Hi, I just tried the following piece of script: $var(current_day) = $time(%u);

Re: [OpenSIPS-Users] IP Based Authentication on Asterisk with OpenSIP (Bogdan-Andrei Iancu)

2009-12-12 Thread Muhammad Zulqarnain
Hello! Thanks Bodgan! I have added following to sip header which add source IP in sip packet before sending to asterisk. append_hf(X-customer-ip: $si\r\n); Sip trace got following packet which add X-customer-ip: x.x.x.x to sip header but I am wondering how to told/setup asterisk to