Are pseudo variables sopposed to work in replace() function?
The pseudo variables documentation web page says that they are supported
only by avpops and xlog, but the OpenSER 1.0.0 announcement web page
says that they are supported by textops too...
Who is right?
Thanks.
--
___________________________________________________
__
|- giannici(a)neomedia.it
|ederico Giannici http://www.neomedia.it
___________________________________________________
Hi all
I installed SER 0.9.4 on Fedora core 4, it works well but if I use include auth_radius module (use radiusclient-ng-0.5.1) it gives a "core dump" ...
Does anyone have a similar problem?
I tryed to solve the problem by compiling source distribution but nothing changes....
Best Regards
Giuseppe
I need a way to trust calls coming from a dynamic IP but with a domain-name.
In fact, it's an asterisk on a dynamic IP with a dynamic dns.
allow_trusted just permit to consider an IP as trustable, is there another
way to do that with a domain name?
Olivier
Bogdan,
It also works with
-I$(LOCALBASE)/mysql/include/mysql
George
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
> Sent: Monday, November 07, 2005 3:56 PM
> To: Papadopoulos Georgios
> Cc: users(a)openser.org
> Subject: Re: [Users] Cannot compile MySQL in 1.0.0
>
> George,
>
> my mistake - I meant "mysql" module, not "acc" - is any
> difference between the Makefiles for this module? what was
> the path you had to add?
>
> regards,
> bogdan
>
Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The Makefile for mysql module is identical in 0.9.5 and 1.0.0.
I just had to add:
-I/usr/src/mysql-4.1.10/include
in DEFS, because this is where I found MySQL header files.
George
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
> Sent: Monday, November 07, 2005 3:56 PM
> To: Papadopoulos Georgios
> Cc: users(a)openser.org
> Subject: Re: [Users] Cannot compile MySQL in 1.0.0
>
> George,
>
> my mistake - I meant "mysql" module, not "acc" - is any
> difference between the Makefiles for this module? what was
> the path you had to add?
>
> regards,
> bogdan
>
> Papadopoulos Georgios wrote:
>
> >The Makefile for mysql module is identical in 0.9.5 and 1.0.0.
> >What does the acc module have to do with this? Anyway, the
> Makefile for
> >acc module in 1.0.0 has
> >DEFS+=-DSQL_ACC
> >whereas in 0.9.5 it is commented out.
> >
> >I updated the -I line in modules/mysql and works fine. So I
> guess the
> >mysql module did not use the MySQL header files in 0.9.5.
> >
> >thanks a lot
> >
> >George
> >
> >
> >
> >
> >>-----Original Message-----
> >>From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
> >>Sent: Monday, November 07, 2005 2:45 PM
> >>To: Papadopoulos Georgios
> >>Cc: users(a)openser.org
> >>Subject: Re: [Users] Cannot compile MySQL in 1.0.0
> >>
> >>Hi George,
> >>
> >>it seams that the mysql hdr files (devel package) are not found.
> >>Please check with your package manager which is the correct path to
> >>these files and update the "-I....." in modules/acc/Makefile
> >>
> >>BTW, is any difference between the makefile for acc module between
> >>your
> >>0.9.5 and 1.0.0 versions?
> >>
> >>regards,
> >>bogdan
> >>
> >>Papadopoulos Georgios wrote:
> >>
> >>
> >>
> >>>Hello,
> >>>
> >>>I am trying to upgrade from 0.9.5 to 1.0.0 and I am having trouble
> >>>compiling the MySQL module (worked fine with 0.9.5).
> >>>I tried both openser-1.0.0_src.tar.gz and
> >>>
> >>>
> >>openser-1.0.0-tls_src.tar.gz,
> >>
> >>
> >>>but the error was the same.
> >>>Am I missing something?
> >>>
> >>>gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
> >>>-mtune=ultrasparc -DNAME='"openser"' -DVERSION='"1.0.0"'
> >>>-DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"'
> >>>-D__CPU_sparc64 -D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"'
> >>>-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6
> >>>
> >>>
> >>-DUSE_MCAST
> >>
> >>
> >>>-DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC
> -DFAST_LOCK
> >>>-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
> >>>-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
> >>>-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include
> >>>-I/usr/local/include/mysql -I/usr/local/mysql/include
> >>>-I/usr/include/mysql -c db_mod.c -o db_mod.o
> >>>db_mod.c:35:19: mysql.h: No such file or directory
> >>>db_mod.c: In function `mysql_mod_init':
> >>>db_mod.c:87: warning: implicit declaration of function
> >>>`mysql_get_client_info'
> >>>db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >>>db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >>>db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >>>db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >>>db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >>>db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >>>db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >>>make: *** [db_mod.o] Error 1
> >>>
> >>>thank you in advance
> >>>
> >>>George
> >>>
> >>>
>
>
Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The Makefile for mysql module is identical in 0.9.5 and 1.0.0.
What does the acc module have to do with this? Anyway, the Makefile for
acc module in 1.0.0 has
DEFS+=-DSQL_ACC
whereas in 0.9.5 it is commented out.
I updated the -I line in modules/mysql and works fine. So I guess the
mysql module did not use the MySQL header files in 0.9.5.
thanks a lot
George
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
> Sent: Monday, November 07, 2005 2:45 PM
> To: Papadopoulos Georgios
> Cc: users(a)openser.org
> Subject: Re: [Users] Cannot compile MySQL in 1.0.0
>
> Hi George,
>
> it seams that the mysql hdr files (devel package) are not
> found. Please check with your package manager which is the
> correct path to these files and update the "-I....." in
> modules/acc/Makefile
>
> BTW, is any difference between the makefile for acc module
> between your
> 0.9.5 and 1.0.0 versions?
>
> regards,
> bogdan
>
> Papadopoulos Georgios wrote:
>
> >Hello,
> >
> >I am trying to upgrade from 0.9.5 to 1.0.0 and I am having trouble
> >compiling the MySQL module (worked fine with 0.9.5).
> >I tried both openser-1.0.0_src.tar.gz and
> openser-1.0.0-tls_src.tar.gz,
> >but the error was the same.
> >Am I missing something?
> >
> >gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
> >-mtune=ultrasparc -DNAME='"openser"' -DVERSION='"1.0.0"'
> >-DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"'
> >-D__CPU_sparc64 -D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"'
> >-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6
> -DUSE_MCAST
> >-DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DFAST_LOCK
> >-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
> >-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
> >-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include
> >-I/usr/local/include/mysql -I/usr/local/mysql/include
> >-I/usr/include/mysql -c db_mod.c -o db_mod.o
> >db_mod.c:35:19: mysql.h: No such file or directory
> >db_mod.c: In function `mysql_mod_init':
> >db_mod.c:87: warning: implicit declaration of function
> >`mysql_get_client_info'
> >db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >db_mod.c:87: warning: format argument is not a pointer (arg 3)
> >make: *** [db_mod.o] Error 1
> >
> >thank you in advance
> >
> >George
> >
> >Disclaimer
> >The information in this e-mail and any attachments is
> confidential. It is intended solely for the attention and use
> of the named addressee(s). If you are not the intended
> recipient, or person responsible for delivering this
> information to the intended recipient, please notify the
> sender immediately. Unless you are the intended recipient or
> his/her representative you are not authorized to, and must
> not, read, copy, distribute, use or retain this message or
> any part of it. E-mail transmission cannot be guaranteed to
> be secure or error-free as information could be intercepted,
> corrupted, lost, destroyed, arrive late or incomplete, or
> contain viruses.
> >
> >
> >
> >_______________________________________________
> >Users mailing list
> >Users(a)openser.org
> >http://openser.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
>
>
Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
Hi,
Where can I find documentation on what the flags to nat_uac_test means? I have checked the admin guide and the nathelper module docs but I could not find anything.
Regards
/Maria
Hello,
I am trying to upgrade from 0.9.5 to 1.0.0 and I am having trouble
compiling the MySQL module (worked fine with 0.9.5).
I tried both openser-1.0.0_src.tar.gz and openser-1.0.0-tls_src.tar.gz,
but the error was the same.
Am I missing something?
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
-mtune=ultrasparc -DNAME='"openser"' -DVERSION='"1.0.0"'
-DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_sparc64
-D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC
-DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DFAST_LOCK
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include
-I/usr/local/include/mysql -I/usr/local/mysql/include
-I/usr/include/mysql -c db_mod.c -o db_mod.o
db_mod.c:35:19: mysql.h: No such file or directory
db_mod.c: In function `mysql_mod_init':
db_mod.c:87: warning: implicit declaration of function
`mysql_get_client_info'
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
make: *** [db_mod.o] Error 1
thank you in advance
George
Disclaimer
The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
I have some questions about access to certain variables from within
openser. The documentation states that I can access more of the
pseudo variables like $fU and $fu from within more modules and the
openser core. I am trying to use $hdr(From[0]) something that I can
apparently still only do from within avpops or xlog. I need to have
openser perform a certain action only if no SIP Display info exists
if it does exist I do not want this action performed. For example....
if ("$hdr(From[0])") =~ "^\<sip:.*") {....
do something
} else {
do something else...
};
Or if there is SIP Display info do A else do B. Any help greatly
appreciated.