Hi Mik, When I faced these problems with openser and DBI, I did a research, and if I remember it correctly, DBD::Sybase does not work correctly with output parameters. So one solution I guess would be you rewrite your procedure so that the parameter is only input and return the same parameter in a result set inside the procedure. That was one thing I had to do when I switched from DBD::ODBC to DBD::Sybase, as I had also some procedures with output parameters. After I rewrote the procedures and returned the output parameters as result sets I had no problems with this.
HTH, Murilo
-----Original Message----- From: users-bounces@openser.org [mailto:users-bounces@openser.org] On Behalf Of users-request@openser.org Sent: segunda-feira, 15 de outubro de 2007 08:04 To: users@openser.org Subject: Users Digest, Vol 29, Issue 47
Send Users mailing list submissions to users@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@openser.org
You can reach the person managing the list at users-owner@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: Multidomain and in-dialog REFER auth issue (I?aki Baz Castillo) 2. Changing db table names (Dan-Cristian Bogos) 3. Re: Openser-Perl module in onreply_route (Bastian Friedrich) 4. Re: t_relay(), forward() and send(): retransmissions? (samuel) 5. Re: t_relay(), forward() and send(): retransmissions? (I?aki Baz Castillo) 6. Re: t_relay(), forward() and send(): retransmissions? (Klaus Darilion) 7. Re: Multidomain and in-dialog REFER auth issue (Klaus Darilion) 8. Re: Multidomain and in-dialog REFER auth issue (Klaus Darilion) 9. Re: Multidomain and in-dialog REFER auth issue (I?aki Baz Castillo) 10. Re: Multidomain and in-dialog REFER auth issue (I?aki Baz Castillo) 11. Re: Multidomain and in-dialog REFER auth issue (I?aki Baz Castillo) 12. change status code in reply (Cseke Tamas)
----------------------------------------------------------------------
Message: 1 Date: Mon, 15 Oct 2007 10:13:22 +0200 From: I?aki Baz Castillo ibc@in.ilimit.es Subject: Re: [OpenSER-Users] Multidomain and in-dialog REFER auth issue To: users@openser.org Message-ID: 200710151013.22807.ibc@in.ilimit.es Content-Type: text/plain; charset="iso-8859-1"
El Monday 15 October 2007 09:58:36 Iñaki Baz Castillo escribió:
How can my OpenSer know which domain this REFER goes? of course the "To" header is not valid at all.
Could be a solution a SQL query to "location" table looking for the URI (sip:userB@80.98.123.23:5060) and getting the username and domain of this?
Anyway this solution wouldn't be secure since userA@domainA.com could hack its "From" header in the REFER and appears as "@domainB.com".
So I think I need to store dialog info in a table (in the 200-OK), with those info:
- "From" header domain - RURI domain - fromtag - totag - "Call-ID" header
and query this table in REFER amtching fromtag, totag and Call-ID, and just allow the REFER is "From" header and RURI domain are the same.
"Dialog" module is not valid for me since it doesn't store RURI.
Any suggestion about it? Thanks a lot.