Does any one has any idea or can point me to a place to read about this ..
Thanks ..
_____
De: users-bounces(a)openser.org [mailto:users-bounces@openser.org] En nombre
de Fernando Rodriguez
Enviado el: Miércoles, 28 de Septiembre de 2005 11:18 a.m.
Para: users(a)openser.org
Asunto: [Users] RV: Nat Help
Hello y have 3 interfaces on my box
1 Lan to Internet
2 Lan to 192.168.1.x
3 Lan to 192.168.108.x
I only have one domain in my openser
I want to know a method to use the mediaproxy only when sending packet tru
interfaces for example
When making a call from lan 108 to internet or 192.168.1.x
Im putting this kind of rules
I set different number for number for each lan 1 for eth0 2 for eth1 3 for
eth2 so each client has different number regarding the interface he sees ..
Is this valid ??
if (from_uri=~"sip:|1[1]|2[0-9]|3[0-9][:@]" &&
to_uri=~"sip:|1[2]|2[0-9]|3[0-9]|4[0-9][:@]") {
log("de 1 a 2\n");
use_media_proxy();
};
if (from_uri=~"sip:|1[2]|2[0-9]|3[0-9]|[0-9][:@]" &&
to_uri=~"sip:|1[1]|2[0-9]|3[0-9][:@]") {
log("de 2 a 1\n");
use_media_proxy();
};
And not to use mediaproxy when calling within the same lan.
Thanks for your help
Fernando Rodriguez V.
frod(a)aitelecom.net
AITelecom S.A. de C.V.
http://www.aitelecom.net
Hi,
I am trying to use load_credentials modparam in auth_db to load some
colums in the subscriber table. In mysql db table, what type should I
use the columns? For example,
modparam("auth_db", "load_credentials", "i:15=timeout")
If I define timeout as varchar, it gets the value. If as int, it
doesn't generate the avp.
Is this supposed to be this way? Do I miss anything?
Thanks,
Richard
hi all,
can somebody pls tell me what this error is!!!
ERROR:avpops_init: "AVP_DB" present but "AVP_TABLE" found empty
my db scheme is as follows:
modparam("avpops","db_scheme","scheme0:username_col=username;domain_col=domain;value_col=acl;value_type=integer;table=subscriber")
I have added a column called acl in the subscriber table and added integer value in it.
for eg: for user 201 the acl column value is 4 so that he is privileged to make international calls.
Is this correct or some mistake in my understanding.
pls let me know..
thanks a lot.
jayesh
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
Please help.
----- Original Message -----
From: "Nicky" <nicky(a)caliber.com.sg>
To: <serusers(a)lists.iptel.org>; <sems(a)lists.iptel.org>
Sent: Wednesday, September 28, 2005 10:38 PM
Subject: Sems IVR Module
> Hi all,
>
> I am testing the sems version from the Head and when i uses a SIP Phone to
> call into
> the IVR module for recording when I am in the middle of recording, the
> program detected DTMF
> signal and jump out of the script. Why is it so? as I never pressed on any
> key? How can I resolve this
> problem? Why is the voice signal become the DTMF signal? Is there any
> adjustment that
> i can do to solve this problem , as my voice goes louder the more DTMF
> signal is being detected.
>
> Please help.
>
> regards,
> nicky
>
hello, guys:
I installed freeradiusd now, i want to connect the two
together. the problem is that when i use the radiusd-xyz
raddb/dictionary, and run radiusd -X, then the messages came out as
follow:
-------------------------------------
[root@localhost ~]# radiusd -xyz
Starting - reading configuration files ...
Errors reading dictionary: dict_init: /usr/local/etc/raddb/dictionary[14]: Couldn't open dictionary
" /usr/local/share/freeradius/dictionary": No such file or directory
Errors reading radiusd.conf
again i am using this command---
[root@localhost ~]# radiusd -x
Starting - reading configuration files ...
Errors reading dictionary: dict_init: /usr/local/etc/raddb/dictionary[14]: Could n't open dictionary "
/usr/local/share/freeradius/dictionary": No such file o r directory
Errors reading radiusd.conf
again i am using ..
[root@localhost ~]# radiusd -y
Thu Sep 29 11:03:19 2005 : Info: Starting - reading configuration files ...
again i am using ..
[root@localhost ~]# radiusd
Thu Sep 29 10:54:56 2005 : Info: Starting - reading configuration files ...
WHEN I AM TRYING WITH RADPWTST -----------------------
[root@localhost ~]# radpwtst
Bad format in dictionary '/usr/local/etc/raddb/dictionary' at line 14: $INCLUDE /usr/local/share/freeradius/dictionary
Attribute number 1 is not defined in your dictionary
Attribute number 6 is not defined in your dictionary
Attribute number 4 is not defined in your dictionary
Attribute number 5 is not defined in your dictionary
Attribute number 30 is not defined in your dictionary
Attribute number 31 is not defined in your dictionary
Attribute number 61 is not defined in your dictionary
Attribute number 2 is not defined in your dictionary
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
sending Access-Request...
No reply
Attribute number 1 is not defined in your dictionary
Attribute number 6 is not defined in your dictionary
Attribute number 4 is not defined in your dictionary
Attribute number 5 is not defined in your dictionary
Attribute number 61 is not defined in your dictionary
Attribute number 44 is not defined in your dictionary
Attribute number 40 is not defined in your dictionary
Attribute number 30 is not defined in your dictionary
Attribute number 31 is not defined in your dictionary
Attribute number 41 is not defined in your dictionary
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
sending Accounting-Request Start...
No reply
Attribute number 1 is not defined in your dictionary
Attribute number 6 is not defined in your dictionary
Attribute number 4 is not defined in your dictionary
Attribute number 5 is not defined in your dictionary
Attribute number 61 is not defined in your dictionary
Attribute number 44 is not defined in your dictionary
Attribute number 40 is not defined in your dictionary
Attribute number 30 is not defined in your dictionary
Attribute number 31 is not defined in your dictionary
Attribute number 41 is not defined in your dictionary
Attribute number 46 is not defined in your dictionary
Attribute number 42 is not defined in your dictionary
Attribute number 43 is not defined in your dictionary
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
sending Accounting-Request Stop...
No reply
[root@localhost ~]# radpwtst
Bad format in dictionary '/usr/local/etc/raddb/dictionary' at line 14: $INCLUDE /usr/local/share/freeradius/dictionary
Attribute number 1 is not defined in your dictionary
Attribute number 6 is not defined in your dictionary
Attribute number 4 is not defined in your dictionary
Attribute number 5 is not defined in your dictionary
Attribute number 30 is not defined in your dictionary
Attribute number 31 is not defined in your dictionary
Attribute number 61 is not defined in your dictionary
Attribute number 2 is not defined in your dictionary
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
sending Access-Request...
No reply
Attribute number 1 is not defined in your dictionary
Attribute number 6 is not defined in your dictionary
Attribute number 4 is not defined in your dictionary
Attribute number 5 is not defined in your dictionary
Attribute number 61 is not defined in your dictionary
Attribute number 44 is not defined in your dictionary
Attribute number 40 is not defined in your dictionary
Attribute number 30 is not defined in your dictionary
Attribute number 31 is not defined in your dictionary
Attribute number 41 is not defined in your dictionary
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
sending Accounting-Request Start...
No reply
Attribute number 1 is not defined in your dictionary
Attribute number 6 is not defined in your dictionary
Attribute number 4 is not defined in your dictionary
Attribute number 5 is not defined in your dictionary
Attribute number 61 is not defined in your dictionary
Attribute number 44 is not defined in your dictionary
Attribute number 40 is not defined in your dictionary
Attribute number 30 is not defined in your dictionary
Attribute number 31 is not defined in your dictionary
Attribute number 41 is not defined in your dictionary
Attribute number 46 is not defined in your dictionary
Attribute number 42 is not defined in your dictionary
Attribute number 43 is not defined in your dictionary
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
No such attribute Unknown
sending Accounting-Request Stop...
No reply
please try to mail me olution of this problem.
thanking you and waiting for ur reply.
bye.
Hi,
I am trying to setup a PSTN gateway, the documentation is fine for this
and I have it working successfully with a gateway.
However, the gateway I would like to use is a bit fussy and seems to be
looking at the SIP TO address as well as the INVITE line.
I am using rewritehost to change the domain in the uri and this changes
the INVITE header but not the SIP TO address within the INVITE.
Is it possible to change this ?
I've even tried various replace commands from textops.so but the "to"
field is never changed.
Thanks
Russell
Is the only way to make arbitrary queries from the DB to use an external script?
I'm having a devil of a time creating something like:
SELECT from_uri FROM acc WHERE to_uri LIKE '%<username@domain>%' AND
sip_method='INVITE' ORDER BY TIME DESC LIMIT 1
Any ideas? Or am I stuck with external scripts?
N.
hi daniel,
thanx a lot for the help. I'll definitely try creating a new table. Yeah the example is exactly what
i need to achieve at present. Based on that i am planning to enhance my features.
But what would the column 'acl' contain, will it contain the integer value based on the user privileges. I did'nt try yet as I am unable to understand the bitwise operation.
Sorry if it seems rather stupid.
thanx again
jayesh
---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
Hello all, very glad to have been a user on this list, though I have been
lurking.
I've checked the documentation and have had trouble finding out information
on how to translate my standard regexes (perl) into SER's routing logic
I'm trying to use the following logic:
if (uri =~ "^sip:1[0-9]{10}\@[0-9]{3}\.[0-9]{3}\.1\.foo\.bar\.net") {
#perform actions
}
Now, that SHOULD match the following scenario:
uri has 1 + 10 digits + @ + 3digits + . + 3digits + . + 1 + .foor.bar.net
Unfortunately, it's not working.Any help translating the regex, or even just
a link to the syntax allowed, maybe it's not allowing {n} to match n times?
Thanks,
Sherwood McGowan
Hello y have 3 interfaces on my box
1 Lan to Internet
2 Lan to 192.168.1.x
3 Lan to 192.168.108.x
I only have one domain in my openser
I want to know a method to use the mediaproxy only when sending packet tru
interfaces for example
When making a call from lan 108 to internet or 192.168.1.x
Im putting this kind of rules
I set different number for number for each lan 1 for eth0 2 for eth1 3 for
eth2 so each client has different number regarding the interface he sees ..
Is this valid ??
if (from_uri=~"sip:|1[1]|2[0-9]|3[0-9][:@]" &&
to_uri=~"sip:|1[2]|2[0-9]|3[0-9]|4[0-9][:@]") {
log("de 1 a 2\n");
use_media_proxy();
};
if (from_uri=~"sip:|1[2]|2[0-9]|3[0-9]|[0-9][:@]" &&
to_uri=~"sip:|1[1]|2[0-9]|3[0-9][:@]") {
log("de 2 a 1\n");
use_media_proxy();
};
And not to use mediaproxy when calling within the same lan.
Thanks for your help
Fernando Rodriguez V.
frod(a)aitelecom.net
AITelecom S.A. de C.V.
http://www.aitelecom.net