Hello,
here is the situation :
one openSER statefull and one openSER registrar on different ports; both
db_mode are DB_ONLY.
when a UAC A rings UAC B, everything's fine until openSER statefull
receives ACK message :
as a matter of fact, the domain name was changed before receiving ACK
message, therefore, openSER needs to do
/lookup("location");
/Unfortunately, openSER could not find the UAC A in database.
i had a look to the mysql query made while ACK is treated and actually
the username part of address_of_record disappeared :
/select ... from location where username='';
/It seems that when /print_where/ (modules/mysql/dbase.c) writes "where"
part in mysql query, this function calls /val2str/ (modules/mysql/val.c)
which will translate the value to a string. Until this call,
everything's just fine, but when /val2str /calls
_/mysql_real_escape_string/_, this last function returns an empty string.
Any clue? Has anyone already face this problem?
Thanks for your help,
--
Jean-Michel Foucher
OpenWengo, the free and multiplatform VoIP client
http://dev.openwengo.com/
Hi all!
Does anybody know how to turn on auth-int in openser? I have authentication
enabled in openser but currently i can only see auth in the digest
authentication. the server is not producing auth-int. in most other servers
like sipcenter server etc,. when we register, they challenge us with auth
and auth-int both. is there a separate module in openser that has to be
loaded to enable the auth-int feature?
Thanks a lot in advance,
Regards,
Padmaja
----- Original Message -----
From: <users-request(a)openser.org>
To: <users(a)openser.org>
Sent: Tuesday, June 06, 2006 12:51 AM
Subject: Users Digest, Vol 13, Issue 20
> Send Users mailing list submissions to
> users(a)openser.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://openser.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)openser.org
>
> You can reach the person managing the list at
> users-owner(a)openser.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
> 1. Re: Mixing uri_db and auth_db (Bogdan-Andrei Iancu)
> 2. RE: Mixing uri_db and auth_db (Edgar Barbosa)
> 3. RE: Mixing uri_db and auth_db (Douglas Garstang)
> 4. RE: Avpops tutorial (Douglas Garstang)
> 5. Openser 1.1 and forward() (Douglas Garstang)
> 6. RE: Avpops tutorial (Juha Heinanen)
> 7. RE: Avpops tutorial (Douglas Garstang)
> 8. RE: Avpops tutorial - documentation (G.Jacobsen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 05 Jun 2006 19:58:42 +0300
> From: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>
> Subject: Re: [Users] Mixing uri_db and auth_db
> To: Edgar Barbosa <edgar.barbosa(a)madetowork.com>
> Cc: Users(a)openser.org
> Message-ID: <448462C2.50502(a)voice-system.ro>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Edgar,
>
> can you get a backtrace of the core? Can you reproduce this crash or it
> occurs randomly?
>
> regards,
> bogdan
>
> Edgar Barbosa wrote:
>
>>Another info that may (or not) be helpful...
>>
>>If I set fork=no and restart openser, it crashes at that point:
>>
>>0(17790) db_init: Connection 'mysql://root@localhost/astbill' not found in
>>pool
>> 0(17790) new_connection: Opening MySQL connection:
>>mysql://root:@localhost/astbill
>> 0(17790) new_connection: Connection type is Localhost via UNIX socket
>> 0(17790) new_connection: Protocol version is 10
>> 0(17790) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>> 0(17790) DEBUG:init_mod_child: CHILD , rank=1, module=uri_db
>>/etc/init.d/openser: line 118: 17790 Segmentation fault
>>start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --
>>$OPTIONS
>>
>>
>>Regards,
>> Edgar
>>
>>
>>
>>-----Original Message-----
>>From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On
>>Behalf
>>Of Edgar Barbosa
>>Sent: segunda-feira, 5 de Junho de 2006 17:17
>>To: 'Bogdan-Andrei Iancu'
>>Cc: Users(a)openser.org
>>Subject: RE: [Users] Mixing uri_db and auth_db
>>
>>Bogdan,
>>
>>I think you're right about the max number of connections, since if I
>>change
>>the module load order it hangs in another module doing the same action
>>(requesting a new connection).
>>
>>But I can't find where that limit may be...
>>I already set the my.cnf max_connections from 100 to 500, but without
>>success...
>>I guess this restriction should be elsewhere... any ideas?
>>
>>Thanks,
>> Edgar
>>
>>
>>
>>-----Original Message-----
>>From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>>Sent: segunda-feira, 5 de Junho de 2006 16:37
>>To: Edgar Barbosa
>>Cc: Users(a)openser.org
>>Subject: Re: [Users] Mixing uri_db and auth_db
>>
>>Edgar,
>>
>>my first guess is that the mysql server does not accept more
>>connections. Is that the entire log with debug 9? I got more info, like:
>>
>>15(30460) DEBUG:init_mod_child: PROC_TCP_MAIN , rank=-4, module=auth_db
>>15(30460) db_init: Connection
>>'mysql://openser:openserrw@localhost/openser' not found in pool
>>15(30460) new_connection: Opening MySQL connection:
>>mysql://openser:openserrw@localhost/openser
>>15(30460) new_connection: Connection type is Localhost via UNIX socket
>>15(30460) new_connection: Protocol version is 10
>>15(30460) new_connection: Server version is 5.0.18-Debian_7-log
>>
>>what version are you running?
>>
>>regards,
>>bogdan
>>
>>Edgar Barbosa wrote:
>>
>>
>>
>>>Hi Bogdan,
>>>
>>>Running with debug=9 it seems to hang here:
>>>
>>>8(16807) new_connection: Connection type is Localhost via UNIX socket
>>>8(16807) new_connection: Protocol version is 10
>>>8(16807) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>8(16807) DEBUG:init_mod_child: CHILD , rank=6, module=uri_db
>>>9(16808) new_connection: Connection type is Localhost via UNIX socket
>>>9(16808) new_connection: Protocol version is 10
>>>9(16808) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>9(16808) DEBUG:init_mod_child: CHILD , rank=7, module=uri_db
>>>10(16809) new_connection: Connection type is Localhost via UNIX socket
>>>10(16809) new_connection: Protocol version is 10
>>>10(16809) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>10(16809) DEBUG:init_mod_child: CHILD , rank=8, module=uri_db
>>>0(16789) new_connection: Connection type is Localhost via UNIX socket
>>>0(16789) new_connection: Protocol version is 10
>>>0(16789) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>0(16789) DEBUG:init_mod_child: PROC_MAIN , rank=0, module=uri_db
>>>11(16810) new_connection: Connection type is Localhost via UNIX socket
>>>11(16810) new_connection: Protocol version is 10
>>>11(16810) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>11(16810) DEBUG:init_mod_child: PROC_TCP_MAIN , rank=-4, module=uri_db
>>>
>>>Any idea of what may be wrong?
>>>
>>>Thanks,
>>>Edgar
>>>
>>>
>>>-----Original Message-----
>>>From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>>>Sent: terça-feira, 30 de Maio de 2006 8:45
>>>To: Edgar Barbosa
>>>Cc: Users(a)openser.org
>>>Subject: Re: [Users] Mixing uri_db and auth_db
>>>
>>>Hi,
>>>
>>>run openser in full debug (set debug=9) and see where it hangs.
>>>
>>>regards,
>>>bogdan
>>>
>>>Edgar Barbosa wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Hi all,
>>>>
>>>>I'm having a weird behaviour when mixing auth_db and uri_db.
>>>>
>>>>With the following openser.cfg, the xlog("L_INFO", "TEST\n") is never
>>>>executed... seems that openser just hangs up...
>>>>
>>>>If I remove the uri_db it works...
>>>>If I remove the auth_db it works too...
>>>>The problem seems to happen when I mix both...
>>>>
>>>>Any idea of what may be wrong?
>>>>I'm using the latest version (openser 1.0.1).
>>>>
>>>>Thanks
>>>>
>>>>
>>>>
>>>>
>>>>debug=3 # debug level (cmd line: -dddddddddd)
>>>>fork=yes
>>>>log_stderror=yes
>>>>
>>>>reply_to_via=no
>>>>check_via=no # (cmd. line: -v)
>>>>dns=no # (cmd. line: -r)
>>>>rev_dns=no # (cmd. line: -R)
>>>>port=5060
>>>>children=4
>>>>fifo="/tmp/ser_fifo"
>>>>
>>>>
>>>>loadmodule "/usr/lib/openser/modules/mysql.so"
>>>>loadmodule "/usr/lib/openser/modules/sl.so"
>>>>loadmodule "/usr/lib/openser/modules/auth.so"
>>>>loadmodule "/usr/lib/openser/modules/auth_db.so"
>>>>loadmodule "/usr/lib/openser/modules/uri_db.so"
>>>>loadmodule "/usr/lib/openser/modules/xlog.so"
>>>>
>>>>modparam("uri_db", "db_url", "mysql://root@192.168.1.104/openser")
>>>>modparam("auth_db", "db_url", "mysql://root@192.168.1.104/openser")
>>>>
>>>>route {
>>>>
>>>> xlog("L_INFO", "TEST\n");
>>>>
>>>>}
>>>>
>>>>
>>>>_______________________________________________
>>>>Users mailing list
>>>>Users(a)openser.org
>>>>http://openser.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>_______________________________________________
>>Users mailing list
>>Users(a)openser.org
>>http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 5 Jun 2006 18:03:30 +0100
> From: "Edgar Barbosa" <edgar.barbosa(a)madetowork.com>
> Subject: RE: [Users] Mixing uri_db and auth_db
> To: "'Bogdan-Andrei Iancu'" <bogdan(a)voice-system.ro>
> Cc: Users(a)openser.org
> Message-ID: <20060605170324.823E4680085(a)gw.madetowork.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Bogdan,
>
> It occurs everytime I restart openser...
>
> A backtrace... how can I get one?
>
> Regards,
> Edgar
>
>
> -----Original Message-----
> From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
> Sent: segunda-feira, 5 de Junho de 2006 17:59
> To: Edgar Barbosa
> Cc: Users(a)openser.org
> Subject: Re: [Users] Mixing uri_db and auth_db
>
> Edgar,
>
> can you get a backtrace of the core? Can you reproduce this crash or it
> occurs randomly?
>
> regards,
> bogdan
>
> Edgar Barbosa wrote:
>
>>Another info that may (or not) be helpful...
>>
>>If I set fork=no and restart openser, it crashes at that point:
>>
>>0(17790) db_init: Connection 'mysql://root@localhost/astbill' not found in
>>pool
>> 0(17790) new_connection: Opening MySQL connection:
>>mysql://root:@localhost/astbill
>> 0(17790) new_connection: Connection type is Localhost via UNIX socket
>> 0(17790) new_connection: Protocol version is 10
>> 0(17790) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>> 0(17790) DEBUG:init_mod_child: CHILD , rank=1, module=uri_db
>>/etc/init.d/openser: line 118: 17790 Segmentation fault
>>start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --
>>$OPTIONS
>>
>>
>>Regards,
>> Edgar
>>
>>
>>
>>-----Original Message-----
>>From: users-bounces(a)openser.org [mailto:users-bounces@openser.org] On
> Behalf
>>Of Edgar Barbosa
>>Sent: segunda-feira, 5 de Junho de 2006 17:17
>>To: 'Bogdan-Andrei Iancu'
>>Cc: Users(a)openser.org
>>Subject: RE: [Users] Mixing uri_db and auth_db
>>
>>Bogdan,
>>
>>I think you're right about the max number of connections, since if I
>>change
>>the module load order it hangs in another module doing the same action
>>(requesting a new connection).
>>
>>But I can't find where that limit may be...
>>I already set the my.cnf max_connections from 100 to 500, but without
>>success...
>>I guess this restriction should be elsewhere... any ideas?
>>
>>Thanks,
>> Edgar
>>
>>
>>
>>-----Original Message-----
>>From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>>Sent: segunda-feira, 5 de Junho de 2006 16:37
>>To: Edgar Barbosa
>>Cc: Users(a)openser.org
>>Subject: Re: [Users] Mixing uri_db and auth_db
>>
>>Edgar,
>>
>>my first guess is that the mysql server does not accept more
>>connections. Is that the entire log with debug 9? I got more info, like:
>>
>>15(30460) DEBUG:init_mod_child: PROC_TCP_MAIN , rank=-4, module=auth_db
>>15(30460) db_init: Connection
>>'mysql://openser:openserrw@localhost/openser' not found in pool
>>15(30460) new_connection: Opening MySQL connection:
>>mysql://openser:openserrw@localhost/openser
>>15(30460) new_connection: Connection type is Localhost via UNIX socket
>>15(30460) new_connection: Protocol version is 10
>>15(30460) new_connection: Server version is 5.0.18-Debian_7-log
>>
>>what version are you running?
>>
>>regards,
>>bogdan
>>
>>Edgar Barbosa wrote:
>>
>>
>>
>>>Hi Bogdan,
>>>
>>>Running with debug=9 it seems to hang here:
>>>
>>>8(16807) new_connection: Connection type is Localhost via UNIX socket
>>>8(16807) new_connection: Protocol version is 10
>>>8(16807) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>8(16807) DEBUG:init_mod_child: CHILD , rank=6, module=uri_db
>>>9(16808) new_connection: Connection type is Localhost via UNIX socket
>>>9(16808) new_connection: Protocol version is 10
>>>9(16808) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>9(16808) DEBUG:init_mod_child: CHILD , rank=7, module=uri_db
>>>10(16809) new_connection: Connection type is Localhost via UNIX socket
>>>10(16809) new_connection: Protocol version is 10
>>>10(16809) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>10(16809) DEBUG:init_mod_child: CHILD , rank=8, module=uri_db
>>>0(16789) new_connection: Connection type is Localhost via UNIX socket
>>>0(16789) new_connection: Protocol version is 10
>>>0(16789) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>0(16789) DEBUG:init_mod_child: PROC_MAIN , rank=0, module=uri_db
>>>11(16810) new_connection: Connection type is Localhost via UNIX socket
>>>11(16810) new_connection: Protocol version is 10
>>>11(16810) new_connection: Server version is 5.0.21-Debian_2.dotdeb.1-log
>>>11(16810) DEBUG:init_mod_child: PROC_TCP_MAIN , rank=-4, module=uri_db
>>>
>>>Any idea of what may be wrong?
>>>
>>>Thanks,
>>>Edgar
>>>
>>>
>>>-----Original Message-----
>>>From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
>>>Sent: terça-feira, 30 de Maio de 2006 8:45
>>>To: Edgar Barbosa
>>>Cc: Users(a)openser.org
>>>Subject: Re: [Users] Mixing uri_db and auth_db
>>>
>>>Hi,
>>>
>>>run openser in full debug (set debug=9) and see where it hangs.
>>>
>>>regards,
>>>bogdan
>>>
>>>Edgar Barbosa wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Hi all,
>>>>
>>>>I'm having a weird behaviour when mixing auth_db and uri_db.
>>>>
>>>>With the following openser.cfg, the xlog("L_INFO", "TEST\n") is never
>>>>executed... seems that openser just hangs up...
>>>>
>>>>If I remove the uri_db it works...
>>>>If I remove the auth_db it works too...
>>>>The problem seems to happen when I mix both...
>>>>
>>>>Any idea of what may be wrong?
>>>>I'm using the latest version (openser 1.0.1).
>>>>
>>>>Thanks
>>>>
>>>>
>>>>
>>>>
>>>>debug=3 # debug level (cmd line: -dddddddddd)
>>>>fork=yes
>>>>log_stderror=yes
>>>>
>>>>reply_to_via=no
>>>>check_via=no # (cmd. line: -v)
>>>>dns=no # (cmd. line: -r)
>>>>rev_dns=no # (cmd. line: -R)
>>>>port=5060
>>>>children=4
>>>>fifo="/tmp/ser_fifo"
>>>>
>>>>
>>>>loadmodule "/usr/lib/openser/modules/mysql.so"
>>>>loadmodule "/usr/lib/openser/modules/sl.so"
>>>>loadmodule "/usr/lib/openser/modules/auth.so"
>>>>loadmodule "/usr/lib/openser/modules/auth_db.so"
>>>>loadmodule "/usr/lib/openser/modules/uri_db.so"
>>>>loadmodule "/usr/lib/openser/modules/xlog.so"
>>>>
>>>>modparam("uri_db", "db_url", "mysql://root@192.168.1.104/openser")
>>>>modparam("auth_db", "db_url", "mysql://root@192.168.1.104/openser")
>>>>
>>>>route {
>>>>
>>>> xlog("L_INFO", "TEST\n");
>>>>
>>>>}
>>>>
>>>>
>>>>_______________________________________________
>>>>Users mailing list
>>>>Users(a)openser.org
>>>>http://openser.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>_______________________________________________
>>Users mailing list
>>Users(a)openser.org
>>http://openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 5 Jun 2006 11:59:37 -0600
> From: "Douglas Garstang" <dgarstang(a)oneeighty.com>
> Subject: RE: [Users] Mixing uri_db and auth_db
> To: "Edgar Barbosa" <edgar.barbosa(a)madetowork.com>, "Bogdan-Andrei
> Iancu" <bogdan(a)voice-system.ro>
> Cc: Users(a)openser.org
> Message-ID:
> <645FEC31A18FE54A8721500CDD55A7B6031B8DDA(a)mail.oneeighty.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I just upgraded from 1.0.1 to the current cvs version.
>
> Ran openser and got this:
>
> Jun 5 11:54:47 apollo openser: parse error (156,21-24): syntax error
> Jun 5 11:54:47 apollo openser: parse error (156,39-40): bad
> forwardargument
>
> Here's the relevant section of openser.cfg. Line 156 is the line with:
> forward(uri:host, uri:port);
>
> #
> # Outgoing PSTN Calls - Dispatch to Audiocodes
> #
> if ( src_ip == xxx.187.142.203 ||
> src_ip == xxx.187.142.204 ||
> src_ip == xxx.187.142.232 ||
> src_ip == xxx.187.142.201 ||
> src_ip == xxx.187.142.231 ) {
> sl_send_reply("100","Trying");
> xlog ("L_INFO","Outbound PSTN call. Dispatching to
> Audiocodes");
> ds_select_dst("2","0");
> forward(uri:host, uri:port);
> return;
> }
>
> What's wrong with this? The example in the 1.1 documentation has the same
> use of the forward() command!
>
> Douglas.
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 5 Jun 2006 12:02:23 -0600
> From: "Douglas Garstang" <dgarstang(a)oneeighty.com>
> Subject: RE: [Users] Avpops tutorial
> To: <greg(a)thursday.com>
> Cc: users(a)openser.org
> Message-ID:
> <645FEC31A18FE54A8721500CDD55A7B6031B8DDB(a)mail.oneeighty.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> The documentation is not very good.
> It's a wee bit difficult for others to write documentation when they can't
> figure the software out, because the developers never wrote any good ones.
> Eight months of openser and I'm still trying to work out how all this
> branch stuff works. Don't have a clue, and there's no books on this stuff
> either. If you ask in the list you get half answers and riddles.
>
>> -----Original Message-----
>> From: Greg Fausak [mailto:lgfausak@gmail.com]
>> Sent: Monday, June 05, 2006 9:23 AM
>> To: Douglas Garstang
>> Cc: Juha Heinanen; users(a)openser.org
>> Subject: Re: [Users] Avpops tutorial
>>
>>
>> Douglas,
>>
>> The programmer did write documentation! That's what we
>> currently have. Often it is a good idea for a non-programmer
>> (ie. user)
>> to write the documentation from their point of view.
>>
>> Anyway, this is open software and the more people that help
>> develop it (and it's documentation) the better. If you don't write
>> it I'm sure somebody will someday :-)
>>
>>
>> -g
>>
>>
>> On 6/5/06, Douglas Garstang <dgarstang(a)oneeighty.com> wrote:
>> > > -----Original Message-----
>> > > From: Juha Heinanen [mailto:jh@tutpro.com]
>> > > Sent: Sunday, June 04, 2006 11:01 AM
>> > > To: Douglas Garstang
>> > > Cc: Bogdan-Andrei Iancu; Sam Lee; users(a)openser.org
>> > > Subject: RE: [Users] Avpops tutorial
>> > >
>> > >
>> > > Douglas Garstang writes:
>> > >
>> > > > I'm not one of the developers.
>> > >
>> > > you don't need to be. in fact, it would give developers'
>> more time to
>> > > develop, i.e., write code.
>> >
>> > How can I write the documentation when I don't understand
>> how the software works?
>> > Are you suggesting I learn C and look at the code?
>> >
>> > I'm of the opinion that developers should write
>> documentation. If other people try to do it, they make bad
>> assumptions based on what they THINK they know. They then
>> write bad or wrong documentation which others read, and in
>> turn also write bad documentation. It's not a good model.
>> >
>> > Doug
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users(a)openser.org
>> > http://openser.org/cgi-bin/mailman/listinfo/users
>> >
>>
>>
>> --
>> Greg Fausak
>> greg(a)thursday.com
>>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 5 Jun 2006 12:04:29 -0600
> From: "Douglas Garstang" <dgarstang(a)oneeighty.com>
> Subject: [Users] Openser 1.1 and forward()
> To: "Edgar Barbosa" <edgar.barbosa(a)madetowork.com>, "Bogdan-Andrei
> Iancu" <bogdan(a)voice-system.ro>
> Cc: Users(a)openser.org
> Message-ID:
> <645FEC31A18FE54A8721500CDD55A7B6031B8DDC(a)mail.oneeighty.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I just upgraded from 1.0.1 to the current cvs version.
>
> Ran openser and got this:
>
> Jun 5 11:54:47 apollo openser: parse error (156,21-24): syntax error
> Jun 5 11:54:47 apollo openser: parse error (156,39-40): bad
> forwardargument
>
> Here's the relevant section of openser.cfg. Line 156 is the
> line with: forward(uri:host, uri:port);
>
> #
> # Outgoing PSTN Calls - Dispatch to Audiocodes
> #
> if ( src_ip == xxx.187.142.203 ||
> src_ip == xxx.187.142.204 ||
> src_ip == xxx.187.142.232 ||
> src_ip == xxx.187.142.201 ||
> src_ip == xxx.187.142.231 ) {
> sl_send_reply("100","Trying");
> xlog ("L_INFO","Outbound PSTN call. Dispatching to
> Audiocodes");
> ds_select_dst("2","0");
> forward(uri:host, uri:port);
> return;
> }
>
> What's wrong with this? The example in the 1.1 documentation
> has the same use of the forward() command!
>
> Douglas.
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 5 Jun 2006 21:08:51 +0300
> From: Juha Heinanen <jh(a)tutpro.com>
> Subject: RE: [Users] Avpops tutorial
> To: "Douglas Garstang" <dgarstang(a)oneeighty.com>
> Cc: users(a)openser.org
> Message-ID: <17540.29491.379923.715889(a)rautu.tutpro.com>
> Content-Type: text/plain; charset=us-ascii
>
> Douglas Garstang writes:
>
> > It's a wee bit difficult for others to write documentation when they
> > can't figure the software out, because the developers never wrote any
> > good ones. Eight months of openser and I'm still trying to work out
> > how all this branch stuff works. Don't have a clue, and there's no
> > books on this stuff either. If you ask in the list you get half
> > answers and riddles.
>
> i don't like your attitude. if you don't consider quality of openser or
> its documentation good enough and are not willing to do anything about
> it, i suggest you look for some other open source product or go for
> commercial offerings.
>
> -- juha
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 5 Jun 2006 12:20:48 -0600
> From: "Douglas Garstang" <dgarstang(a)oneeighty.com>
> Subject: RE: [Users] Avpops tutorial
> To: "Juha Heinanen" <jh(a)tutpro.com>
> Cc: users(a)openser.org
> Message-ID:
> <645FEC31A18FE54A8721500CDD55A7B6031B8DDD(a)mail.oneeighty.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>> -----Original Message-----
>> From: Juha Heinanen [mailto:jh@tutpro.com]
>> Sent: Monday, June 05, 2006 12:09 PM
>> To: Douglas Garstang
>> Cc: greg(a)thursday.com; users(a)openser.org
>> Subject: RE: [Users] Avpops tutorial
>>
>>
>> Douglas Garstang writes:
>>
>> > It's a wee bit difficult for others to write documentation
>> when they
>> > can't figure the software out, because the developers
>> never wrote any
>> > good ones. Eight months of openser and I'm still trying to work out
>> > how all this branch stuff works. Don't have a clue, and there's no
>> > books on this stuff either. If you ask in the list you get half
>> > answers and riddles.
>>
>> i don't like your attitude. if you don't consider quality of
>> openser or
>> its documentation good enough and are not willing to do anything about
>> it, i suggest you look for some other open source product or go for
>> commercial offerings.
>
> What source do you recommend I use in writing my documentation? If you
> could provide a source, I'd be happy to consider writing some. I did not
> question the quality of OpenSER. I questioned the quality of the
> documentation for OpenSER.
>
> Just because something is open source, does not immediately mean it has to
> have bad documentation.
>
> Doug.
>
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 5 Jun 2006 21:22:33 +0300
> From: "G.Jacobsen" <g_jacobsen(a)yahoo.co.uk>
> Subject: [Users] RE: Avpops tutorial - documentation
> To: "Users@Openser. Org" <users(a)openser.org>
> Message-ID: <CPEBJFBCDCKKIHJAODHCEEJPCFAA.g_jacobsen(a)yahoo.co.uk>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Douglas,
>
>> > Are you suggesting I learn C and look at the code?
>
> Why not ? I looked the whole of last week through the source code and
> learnt
> a lot.
>
> If you have ever written a larger piece of software then you would know
> that
> for programmers every functionality is obvious - while for the users
> nothing
> is obvious.
>
> Writing good documentation is almost as time consuming as writing the
> software. I suppose that Bogdan and colleagues need also to make money
> rather than write extensive documentation.
>
> In any case, I think they are doing a great job supporting this project.
>
> Perhaps some simple things which wouldnt incurr an additional burden on
> the
> developers could help.
>
> 1. The whole documentation on openser could be in wiki format so users can
> add their wisdom to every function as they stumple across it. To start
> with
> one could duplicate the existing module documentation pages as wiki so
> that
> everyone can add his comments. And I would also make such new wiki pages
> the
> default entry point for the documentation rather than the existing module
> documentation itself. That way everyone would be reminded to add his
> wisdom.
>
> 2. ALL functions and keywords of all modules could also be accessable on
> ONE
> page (possibly by extending the cookbook) which then links to the wikis
> for
> the modules. I often find myself hunting through several module docs,
> websites and search engines to find insight into a function.
>
> Cheers
>
> Gerry
>
>
>
>
> -----Original Message-----
> From: users-bounces(a)openser.org [mailto:users-bounces@openser.org]On
> Behalf Of Douglas Garstang
> Sent: Montag, 5. Juni 2006 21:02
> To: greg(a)thursday.com
> Cc: users(a)openser.org
> Subject: [Bulk] RE: [Users] Avpops tutorial
>
>
> The documentation is not very good.
> It's a wee bit difficult for others to write documentation when they can't
> figure the software out, because the developers never wrote any good ones.
> Eight months of openser and I'm still trying to work out how all this
> branch
> stuff works. Don't have a clue, and there's no books on this stuff either.
> If you ask in the list you get half answers and riddles.
>
>> -----Original Message-----
>> From: Greg Fausak [mailto:lgfausak@gmail.com]
>> Sent: Monday, June 05, 2006 9:23 AM
>> To: Douglas Garstang
>> Cc: Juha Heinanen; users(a)openser.org
>> Subject: Re: [Users] Avpops tutorial
>>
>>
>> Douglas,
>>
>> The programmer did write documentation! That's what we
>> currently have. Often it is a good idea for a non-programmer
>> (ie. user)
>> to write the documentation from their point of view.
>>
>> Anyway, this is open software and the more people that help
>> develop it (and it's documentation) the better. If you don't write
>> it I'm sure somebody will someday :-)
>>
>>
>> -g
>>
>>
>> On 6/5/06, Douglas Garstang <dgarstang(a)oneeighty.com> wrote:
>> > > -----Original Message-----
>> > > From: Juha Heinanen [mailto:jh@tutpro.com]
>> > > Sent: Sunday, June 04, 2006 11:01 AM
>> > > To: Douglas Garstang
>> > > Cc: Bogdan-Andrei Iancu; Sam Lee; users(a)openser.org
>> > > Subject: RE: [Users] Avpops tutorial
>> > >
>> > >
>> > > Douglas Garstang writes:
>> > >
>> > > > I'm not one of the developers.
>> > >
>> > > you don't need to be. in fact, it would give developers'
>> more time to
>> > > develop, i.e., write code.
>> >
>> > How can I write the documentation when I don't understand
>> how the software works?
>> > Are you suggesting I learn C and look at the code?
>> >
>> > I'm of the opinion that developers should write
>> documentation. If other people try to do it, they make bad
>> assumptions based on what they THINK they know. They then
>> write bad or wrong documentation which others read, and in
>> turn also write bad documentation. It's not a good model.
>> >
>> > Doug
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users(a)openser.org
>> > http://openser.org/cgi-bin/mailman/listinfo/users
>> >
>>
>>
>> --
>> Greg Fausak
>> greg(a)thursday.com
>>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
> ___________________________________________________________
> Try the all-new Yahoo! Mail. "The New Version is radically easier to
> use" - The Wall Street Journal
> http://uk.docs.yahoo.com/nowyoucan.html
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
> End of Users Digest, Vol 13, Issue 20
> *************************************
>
Hi,
I'm having problems when defining both the auth_db:db_url and the
uri_db:db_url parameters.
Openser crashes when restarting (everything goes ok if I set just one).
I've restricted my openser.cfg to the minimum, to filter other sources of
problems.
With the following cfg, openser crashes on my machine (logs in attachment)
with a segmentation fault error.
==============================
debug=9
fork=no
log_stderror=yes
loadmodule "/usr/lib/openser/modules/mysql.so"
loadmodule "/usr/lib/openser/modules/sl.so"
loadmodule "/usr/lib/openser/modules/xlog.so"
loadmodule "/usr/lib/openser/modules/auth.so"
loadmodule "/usr/lib/openser/modules/auth_db.so"
loadmodule "/usr/lib/openser/modules/uri_db.so"
modparam("auth_db", "db_url", "mysql://root@localhost/openser")
modparam("uri_db", "db_url", "mysql://root@localhost/openser")
route {
xlog("L_WARN", "TEST");
}
==============================
I'm using the latest version, and tried the debian package and compiling
from the source... same result...
Seems the problem may be related to the number of database connections...
but I've expanded it on mysql, with no success...
Anyone could reproduce this problem?
Any suggestions of how can I solve it?
Thanks,
Edgar
Ok, checked record-router and it is present with ftag but from to revesed . What debug output should I look at next.
---------------------
Sent with ChatterEmail
True push email for the Treo Smartphone
www.chatteremail.com
-----Original Message-----
From: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>
Date: Monday, Jun 5, 2006 8:19 pm
Subject: Re: [Users] ACC module detect-direction
Hi Glenn,
For this feature to work, you need to be sure that you do record_route() on the INVITE and that "append_fromtag" RR module param is not disable.
regards,
bogdan
Glenn Dalgliesh wrote:
> modparam("acc", "detect_direction", 1) in CVS headI tried this option
thinking that it would cause radius records to maintain the same
values for username,to,from as the initial INVITE. ie. if the number
you called hangup and not you the would still reflect your username
and the called partyIs this correct? and if so this might be a bug
this it seems to have no effect...Thanks
> _______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users
Hi Vaclav,
Did you have time to check usrloc for db support ?
Thanks,
ilker
-----Original Message-----
From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
Sent: Wednesday, May 31, 2006 12:57 PM
To: İlker Aktuna (Koç.net)
Cc: samuel; serusers(a)iptel.org
Subject: Re: Authorizing IM requests
The file format is different! You really CAN NOT set these rules from EyeBeam. The filename is given as parameter to authorize_message function (in CVS version; not snapshot).
If you need it quickly you really have to correct it somewhere in sources (I don't know where).
Vaclav
On Wed, May 31, 2006 at 10:52:42AM +0300, ?lker Aktuna (Koç.net) wrote:
> Hi Vaclav,
>
> On which file does Ser look for when authorizing messages ?
> According to that maybe I can link privacy-lists file to im-rules file
> (which Ser looks for) Would that work ?
>
> Usrloc problem is very important for me. Please tell me anything I can
> do to find out the problem (if there is anything that I can do)
>
> Thanks,
> ilker
>
> -----Original Message-----
> From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
> Sent: Wednesday, May 31, 2006 9:29 AM
> To: ?lker Aktuna (Koç.net)
> Cc: samuel; serusers(a)iptel.org
> Subject: Re: Authorizing IM requests
>
> Hi,
> yes I did, but I had forgotten...
>
> You can NOT use EyeBeam to work with message authorization - it will NEVER set the rules which are needed by SER. You can do this only manually on XCAP server.
>
> I try to look on the userloc problem, but don't know when.
>
> Vaclav
>
> On Tue, May 30, 2006 at 05:29:27PM +0300, ?lker Aktuna (Koç.net) wrote:
> > Hi Vaclav,
> >
> > Did you receive my following email ?
> >
> > Btw, I still couldn't find the neccessary db structure for using
> > usrloc with db support. Can you point me to the right person who
> > knows the required db structure ?
> >
> > Thanks,
> > ilker
> >
> > ________________________________
> >
> > From: ?lker Aktuna (Koç.net)
> > Sent: Monday, May 29, 2006 12:52 PM
> > To: 'Vaclav Kubart'
> > Cc: samuel; serusers(a)iptel.org
> > Subject: RE: Authorizing IM requests
> >
> >
> >
> >
> > Well, then what can I use in the following line to authorize IM messages ?
> >
> > if (authorize_message("https://sip.koc.net/xcap")) {
> >
> > Eyebeam updates file /xcap/privacy-lists/user/privacy-lists.xml when I change the "privacy" configuration on Eyebeam client.
> >
> > Thanks,
> > ilker
> >
> > -----Original Message-----
> > From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
> > Sent: Friday, May 26, 2006 4:48 PM
> > To: ?lker Aktuna (Koç.net)
> > Cc: samuel; serusers(a)iptel.org
> > Subject: Re: Authorizing IM requests
> >
> > Yes, I meant, that this will not work together.
> >
> > I don't know. Privacy-lists are something eyeBeam's internal or something standardized?
> >
> > Im-rules are SER internal.
> >
> > Vaclav
> >
> > On Fri, May 26, 2006 at 04:43:35PM +0300, ?lker Aktuna (Koç.net) wrote:
> > > Do you mean it won't work with privacy-lists ?
> > > What can I try ?
> > >
> > > Thanks,
> > > ilker
> > >
> > > -----Original Message-----
> > > From: Vaclav Kubart [mailto:vaclav.kubart@iptel.org]
> > > Sent: Friday, May 26, 2006 4:40 PM
> > > To: ?lker Aktuna (Koç.net)
> > > Cc: samuel; serusers(a)iptel.org
> > > Subject: Re: Authorizing IM requests
> > >
> > > EyeBeam won't use im-rules and SER won't use with privacy-lists. It something else.
> > >
> > > Vaclav
> > >
> > > On Fri, May 26, 2006 at 02:24:42PM +0300, ?lker Aktuna (Koç.net) wrote:
> > > > Hi Samuel,
> > > >
> > > > Now that presence is working I'm checking xcap possibilities.
> > > > I see that IM xcap authorization is not working.
> > > >
> > > > I don't know what to use in:
> > > > >if (authorize_message("im-rules.xml")){
> > > >
> > > > My client (Eyebeam) does not use im-rules.xml , but it uses
> > > > privacy-lists.xml and that file is in privacy-lists folder. How
> > > > should I change the configuration line to use this file ?
> > > >
> > > > Regards,
> > > > ilker
> > > >
> > > > -----Original Message-----
> > > > From: samuel [mailto:samu60@gmail.com]
> > > > Sent: Tuesday, May 16, 2006 5:26 PM
> > > > To: Vaclav Kubart
> > > > Cc: ?lker Aktuna (Koç.net); serusers(a)iptel.org
> > > > Subject: Re: [Serusers] PA error sending notifies
> > > >
> > > > 2006/5/16, Vaclav Kubart <vaclav.kubart(a)iptel.org>:
> > > > > reply inline...
> > > > > > If you are using XCAP authentication for MESSAGEs, there's a
> > > > > > function called authorize_message that needs to have as
> > > > > > parameter the file name of the IM ruleset.
> > > > > > For user sam, in xcap-root/im-rules/users/sam/im-rules.xml
> > > > > > there are the rules for this function. The XML file is
> > > > > > similar to the presence-rules but has important differences
> > > > > > (correct me if I'm wrong,
> > > > > > Vaclav!!!):
> > > > > > *it only has a blacklist parameter (no whitelist!!)
> > > > >
> > > > > It doesn't depend on name of the rule
> > > > > (blacklist/whitelist/...) it depends on the action (block,
> > > > > ...). You can have as many rules as you want, but to
> > > > > explicitly enable something
> > > > > (whitelist) is needless because MESSSAGEs are allowed by
> > > > > default (at the end of the presence handbook I tried to
> > > > > describe im-rules the same way as presence-rules are described in their draft).
> > > > >
> > > > > > *the namespace is different (so be carefull in copy&paste
> > > > > > from the
> > > > > > presence-rules!!!) and, as Vaclav poitned out "proprietary"
> > > > > > from iptel.
> > > > >
> > > > > And the action element name differs: <im-handling> is used
> > > > > instead of <sub-handling>.
> > > > >
> > > >
> > > > Uops...I haven't noticed :P thanks!
> > > >
> > > > > Vaclav
> > > > >
> > > > > >
> > > > > > About the structure I have: x86 debian testing. Libraries
> > > > > > versions I don't know exactly but the ones in the testing
> > > > > > repository EXCEPT a library which I had to get for serweb
> > > > > > from the stable version...but it's not affecting SER part.
> > > > > >
> > > > > > Samuel.
> > > > > > 2006/5/16, ?lker Aktuna (Koç. net ) <ilkera(a)koc.net>:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >Hi,
> > > > > > >
> > > > > > >What did you mean by following:
> > > > > > >
> > > > > > >>Instead of
> > > > > > >>>
> > > > > > >>> if (authorize_message("http://localhost/xcap")) {
> > > > > > >>
> > > > > > >>there should be
> > > > > > >>
> > > > > > >>if (authorize_message("im-rules.xml")){
> > > > > > >
> > > > > > >Btw, did you receive my email with following questions :
> > > > > > >
> > > > > > >>> I have the same problem with notification and other
> > > > > > >>> presence messages
> > > > > > >with you.
> > > > > > >>> Can you tell me which Linux distribution you are using Ser on ?
> > > > > > >>> Also please include version numbers for libraries that
> > > > > > >>> are required by
> > > > > > >Ser.
> > > > > > >>>
> > > > > > >>> I am trying to find similarities between yours and my ser server.
> > > > > > >
> > > > > > >Regards,
> > > > > > >ilker
> > > > > > >
>
>
>
>
>
> <http://387555.sigclick.mailinfo.com/sigclick/06090304/030C4A09/020148
> 03/15141696.jpg>
> ______________________________________________________________________
> ______________________________________________________________________
> _ Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor
> olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> ______________________________________________________________________
> ______________________________________________________________________
> _
<http://387555.sigclick.mailinfo.com/sigclick/010C0102/0604490B/01024A05/224…>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
Hi,
If I want to send a Publish request to the SIP Express Router, it doesn't
store the status into the "presentity"-table.
I get following lines into the log-file:
/usr/sbin/ser[10124]: handle publish request
/usr/sbin/ser[10124]: get_pres_uri: _puri=sip:PDA_User at mydomain.com
/usr/sbin/ser[10124]: handle_publish -4- p_uri= p_uri.len=23
/usr/sbin/ser[10124]: handle_publish -5- presentity=0x4069e0b8
/usr/sbin/ser[10124]: publish_presentity: no tuple for PDA_User at
mydomain.com
/usr/sbin/ser[10124]: handle_publish -8- paerrno=0
/usr/sbin/ser[10124]: handled publish
Best regards,
Alois
Hi,
I have two problems:
I wonder why my registar doesn't work although the module 'registar.so'is
loaded in the file 'ser.cfg'.
And I don't understand why uncommenting the 'mysql.so' line, in the file
ser.cfg' make ser failes (rights problem with mysql?).
I work on a fedora4 and ser version is 0.9.6.
If somebody can help me it would be great!
Thanks,
Michel
________________________________________________
Message sent using UebiMiau 2.7.8
Hi all,
Need you experts' help on SIP design.
I've setup a testbed composed of two SER Registrar/Proxies in two
different realm/domain(s) as below;
<--Internal Private(192.168.x.0----><----External Public(x.x.x.0)--------->
UA1<-----------------> SER1 <---------------------> SER2 <------------> UA2
Mydomain.org Registrar/Proxy Theirdomain.org Registrar/Proxy
What is the right way to pass the user credential of UA1 to SER2 so that
"INVITE" to UA2 will be accepted at SER2, knowing that UA1 user has its
login ID/password to SER2 but it is locally "REGISTER"ed at SER1 in
private domain?
I guess I am having trouble understanding working mechanism of "inter" SIP
realm or domain.
Any comments will be appreciated.
John Kim
email: johnk(a)koreanet.us
johnk(a)netcomusa.us