Forwarded to serusers.
-------- Original Message --------
Subject: SER - Neighbors
Date: Mon, 5 Sep 2005 14:53:47 -0300 (BRT)
From: Anderson Alves de Albuquerque <anderson(a)belem.voip.nce.ufrj.br>
To: Klaus Darilion <klaus.mailinglists(a)pernau.at>
In GNUGK I have Neighbors, and in SER how can I control Neighbors? If I
don´t control my Neighbors then my SER could recive invite without
control.
My situation I have more than one SER (Neighbors), look example:
------ SER (root) -----
| | |
| | X
| | |
SER (1) SER(3) SER (3)
In this example SER root can receive INVITE form SER 1 and SER 2, but
SER root can´t receive INVITE from SER 3.
I need to control this access.
I am trying to use the ACC module paramters like |db_url and I get this
set_mod_param_regex: parameter <db_flag> not found in module <acc>
parse error (59,19-20): Can't set module parameter
what am I doing wrong ?
|
--
Taymour A El Erian
System Division Manager
RHCE, LPIC, CCNA, MCSE, CNA
TE Data
E-mail: taymour.elerian(a)tedata.net
Web: www.tedata.net
Tel: +(202)-4166600
Fax: +(202)-4166700
Ext: 1101
Hi Raymond,
this is a runtime error. it means that you try to check via "avp_check"
two avps which have different types of values (int and string).
my guess is that the problem is around :
avp_write("s:inuse","$intinuse");
if (avp_check("s:limit","gt/$intinuse/g")) {
avp_write will actually write the "s:inuse" string into $intinuse AVP
and not copy the value (not sure which is the intention).
Use avp_print() before each "avp_check" to see the values (use debug=6).
regards,
bogdan
Raymond Chen wrote:
> Dear all,
>
> We want to prevent concurrent calls using avpops module but somehow
> can’t make it work. We got “ERROR:avpops:check_avp: value types don't
> match”.
>
> Ray
>
> * *
>
> modparam("avpops","avp_aliases", "intinuse=i:20")
>
> if (method=="BYE" || method=="CANCEL") {
>
> if (is_avp_set("s:limit")) {
>
> if (avp_check("s:inuse","gt/i:1/g")) {
>
> avp_op("s:inuse","sub/i:1/g");
>
> avp_db_delete("$from","s:inuse/inuse");
>
> avp_db_store("$from,","s:inuse/inuse");
>
> }
>
> } else {
>
> avp_db_delete("$from","s:inuse/inuse");
>
> }
>
> }
>
> if (method=="INVITE") {
>
> if (!proxy_authorize("", "subscriber")) {
>
> proxy_challenge("", "1");
>
> exit();
>
> }
>
> if (avp_db_load("$from", "s:/inuse")) {
>
> if (is_avp_set("s:inuse")) {
>
> avp_write("s:inuse","$intinuse");
>
> if (avp_check("s:limit","gt/$intinuse/g")) {
>
> return;
>
> } else {
>
> exit();
>
> }
>
> } else {
>
> avp_write("i:1","s:inuse");
>
> avp_db_store("$from","s:inuse/inuse");
>
> return;
>
> }
>
> } else {
>
> avp_write("i:1","s:inuse");
>
> avp_db_store("$from","s:inuse/inuse");
>
> return;
>
> }
>
> }
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Devel mailing list
>Devel(a)openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
Thanks Andy.
I used monitor for a while, but i wanted to try this solution. Is
there any issue that i need to solve before try again?. I'am almost sure
that's all in place.. but keep failing.
Thanks!
Regards,
Ricardo Martinez Ogalde
> -----Mensaje original-----
> De: Andreas Granig [mailto:andreas.granig@inode.info]
> Enviado el: Lunes, 05 de Septiembre de 2005 17:43
> Para: Ricardo Martinez
> CC: 'serusers(a)lists.iptel.org'
> Asunto: [BULK] Re: [Serusers] Starting SER from a reboot
> Importancia: Baja
>
>
> Ricardo Martinez wrote:
> > I have a short question about starting SER from a reboot.
>
> I highly suggest monit (http://www.tildeslash.com/monit/) for
> controlling SER.
>
> hth,
> Andy
>
Hello list.
I have a short question about starting SER from a reboot. I'm using
the /etc/init.d/ser script (that comes with ser) and i created a link from
the rc3.d (S98ser) to start SER from reboot. But boot log indicates "BAD
CONFIG FILE" and the initialization fail.
It's weird, because when my machine finish the reboot process y manually run
the "/etc/init.d/ser start" and SER start ok.
Myabe i'm missing something?
Thanks in advace.
Regards,
Ricardo Martinez
Hi there,
starting with the next release, the ACC module will be by default
compiled with DB support - this does not involve any additional
dependencies between external libs or internal module - the "db_url"
parameter was moved to default value NULL which will prevent ACC module
to use by default DB logging. To activate it, just set db_url to a valid
URL.
So, ACC is compiled by default with DB support, but the DB support is by
default disabled (via configuration).
I hope this will save a lot of trouble for users and for generating
packages.
regards,
bogdan
Hi, why I have these Error??????
U 192.168.100.251:5060 -> 192.168.100.248:5060
SIP/2.0 400 Cseq to small for this call..From: 7000 <sip:7000@192.168.100.251>;tag=313f67a666bbe01fo0..To: <sip:333
3(a)192.168.100.251>;tag=c0a864fa-13c4-3b657-e806584-486..Call-ID: 6c2c1772-c25c12c3@192.168.100.248..CSeq: 102 INVIT
E..Via: SIP/2.0/UDP 192.168.100.248:5060;rport=5060;branch=z9hG4bK-3a2a2e37..Supported: replaces..User-Agent: FXS_G
W (4asipfxs.108a)..Content-Length: 0....
#
I'm using these config:
http://lists.iptel.org/pipermail/serusers/2005-February/015906.html
Please Help me!!!!!!!
Hi all,
I know my question may sound easy for most you guys, but here's the
thing:
I have a terminating carrier that gave me a prefix of 1111#. I need to
sell this traffic by changing the prefix and give it to my clients.
How can I do that?
I know that I gotta put:
if (uri=~"^sip:1111#") {
t_relay_to_udp("22.22.22.22", "5060");
break;
};
But how to do the translation?
Thanks a lot,
Make a backup of the r-uri in an avp (with avp_write()), copy the URI
from From header to an avp and the move it to r-uri. Afterwards, you
call registered() function of registrar module, which will tell you if
that user is registered or not. Something like:
avp_write("$ruri", "i:20")
avp_write("$from", "i:30");
avp_pustho("$ruri", "i:30");
if(registered()) {
# the caller is registered
...
};
# restore original r-uri
avp_pustho("$ruri", "i:30");
Daniel
On 09/05/05 18:35, Raymond Chen wrote:
> Dear all,
>
>
>
> We want to prevent people dial out to PSTN without registering, how
> to check from header again location table?
>
>
>
> Ray
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Devel mailing list
>Devel(a)openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
Hi,
I am using freeradius with mysql to authenticate ser users against a
radius db. I have enabled digest mode authentication in my radiusd.conf .
The console of freeradius fires up the following error.
------
auth: type Local
auth: No User-Password or CHAP-Password attribute in the request
auth: Failed to validate the user.
-------
I think that my radiusd.conf is not configured properly. Does someone have a
working copy of radiusd.conf , and or pointer on how to set up
(freeradius+mysql) support with SER, besides the one at
http://www.frontios.com/freeradius.html.
Regards,
Ashutosh Kumar
Chetu, Inc.
Ph : 1(305) 402 6724 - Witin US
Ph : 91 120 5323340 - Outside US
Fax:1 (305) 832 5987
For more information, please visit http://www.chetu.com