Hi.
I am new to the mysql distribution. I have downloaded the solaris8 version (not 64 bit one) and I could not find the libmysqlclient.so but I do find the libmysqlclient.a. So, does it mean I have to compile the mysql to generate it or it is a matter of fact that only the 64 bit version has the shared
library or ...
Thanks
JC.
Question one, most important:
Could someone please summarize how loose_route() actually functions?
I've seen it used in various ways, in various places in the configs
I've come across. The only documentation on the SER implementation is
a reference to all 260 pages of RFC 3261, a skimming of which was
mostly unhelpful. Specifically, does SER's loose_route() modify the
request at all, and most importantly, what determines its return code.
Question two, a long shot:
Anyone have a complete working config of SER acting as a gateway *and*
registrar situated between a 1918 (private) network and the Internet?
Question three, mostly out of curiosity:
The default ser.cfg (in stable CVS) loads the stateful transaction
manager (tm.so), but uses sl_send_reply for all error replies (404,
too many hops, etc). The documentation for the tm module shows t_reply
being used to send a 404 response, however. Is there any advantage to
using the stateful functions for messages like these? Any disadvantage?
Question four, important but not as urgent:
How can I set a timer similar to fr_inv_timer, but on a per-call
basis? For example, I'd like to redirect (with t_relay_to_udp) certain
incoming calls to a voice mail server after a certain amount of time.
Using fr_inv_timer for the timeout, outbound calls also get canceled!
Is there some other way to arrange a routing callback?
Question five, last but not least:
How are "internal" methods like ACK and OPTIONS supposed to be
handled? Is it essential that they fall off the end of the main
route{} block so they can be processed by the locally-running SER?
Does OPTIONS even enter route{}? Can I "break;" them as a short-cut?
One last thing, is anyone currently working on updating the module
documentation? I've come across quite a few errors, and kept track of
them, intending to send in a patch once I have SER up and running and
have to time to tinker with the docs. If someone's handling it
currently I'll just send over my list.
Any help *much* appreciated,
Jeremy
--
Jeremy M. Dolan <mailto:jmd@pobox.com> <http://jmd.us/>
PGP: 1024D/3C68A1BA 9470 210C A476 FFBB 6D11 0223 0D1C ABFC 3C68 A1BA
Hello to all!!
I'm new on this list and also to SER.
I download it and it is working OK on my lab.
One thing is not clear to me!!
What is an outbond proxy?
How do I set one up?
Where I can get this info?
Tks,,,,,,,,,,,,,,,,,,,,,,fabio
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
There is a new release of SER MediaProxy available. To update your
MediaProxy installation you need to perform the following steps:
1. cvs update on your unstable SER tree (for stable copy
modules/mediaproxy directory under your stable tree) and recompile
2. Download and install the latest server from
http://www.ag-projects.com/SER_Media_Proxy.html
Among various bugs fixes the performance has been optimized and the
billing features expanded. The live media sessions interface provides
web access to media streams from multiple servers including CodecType,
User Agent, Network traffic and Call status.
A snapshot can be seen at:
http://www.ag-projects.com/docs/MediaSessions.pdf
Regards,
Adrian
Hey guys pls help me out. I want to set up accounting and billing on my
SER. I did try all the 4 products listed on wiki. None seem to work. I
get stuck up everywhere.
Pls pls if any 1 of you has developed accounting and billing system on
SER pls reply to me I need you.
thanks
Dipen K Gala
Fidelity Investments System Company - Telecom
Phone: (617) 563-2729
Email: Dipen.Gala(a)FMR.com
hello friends,
i need a leads in adding the cpl scripts to the
ser .
may i know where can i start
thanks in advance
with regards
rama kanth
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
Hi,
i searched for the position (funktion) in the Register modul sources
where a new user is
added or delete. My intension is that i will increment/decrement an
currentuser
counter at this place to monitor the number of current users.
Thanks in advance
Stefan
Hey can any one tell me from where can I get more info for b2bua and
from where can I download it and use it. I am a newbie in b2bua and I
already have my SER with Mysql running and now want b2bua on the ser.
Dipen K Gala
Fidelity Investments System Company - Telecom
Phone: (617) 563-2729
Email: Dipen.Gala(a)FMR.com
If you don't get the message in your syslog you have the debug level
lower than L_INFO, which I guess is 3 or 4. You can try L_ERR or lower
-- e.g., xlog("L_ERR", "....");
Daniel
On 7/1/2004 12:34 PM, Steve Blair wrote:
>
> Daniel:
>
> Try
>
> loadmodule "/usr/local/lib/ser/modules/xlog.so" # xlog module
>
> #
> # ------------- log parameters
> #
>
> modparam("xlog", "buf_size", 8192)
>
> then later in your config:
>
> xlog("L_INFO", "\n[SER]: Lookup location: Time: [%Tf]
> Method: <%rm> R-uri: <%ru> Call-id: < %ci> Contact Header: <%ct>
> From uri <%fu> To < %tu> IP source address <%is> \n");
>
> -Steve
>
> Daniel-Constantin Mierla wrote:
>
>> Hello,
>> take a look at the xlog module.
>>
>> Daniel
>>
>> On 7/1/2004 10:03 AM, Martin Koenig wrote:
>>
>>> Hi List,
>>>
>>> is there a possibility to log the uri of a request via the log()
>>> function to syslog? If yes, how can this be achieved?
>>>
>>> Thanks alot,
>>> Martin
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> serusers(a)lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
Hi John!
Please send your emails always to the list!
Have you enabled mysql logging in the Makefile of the acc module?
http://lists.iptel.org/pipermail/serusers/2004-April/007534.htmlhttp://lists.iptel.org/pipermail/serusers/2004-April/007579.htmlhttp://lists.iptel.org/pipermail/serdev/2003-November/000860.htmlhttp://lists.iptel.org/pipermail/serusers/2004-February/006206.html
regards,
klaus
John Morrell wrote:
> Thanks Klaus, but I have tried various examples with the inclusion of the
> acc module. I am not getting anything logged in /var/log/messages
>
> John.
>
> ----- Original Message -----
> From: "Klaus Darilion" <klaus.mailinglists(a)pernau.at>
> To: "John Morrell" <john.morrell(a)aqcorporate.com>
> Cc: <serusers(a)lists.iptel.org>
> Sent: Thursday, July 01, 2004 10:53 AM
> Subject: Re: [Serusers] SER loging and MySQL problems
>
>
>
>>Have you really read the manual?
>>http://iptel.org/ser/doc/seruser/seruser.html
>>There's a section called "Accounting".
>>
>>You have to use the acc module. Take also a look at the README of the
>>acc module.
>>
>>klaus
>>
>>John Morrell wrote:
>>
>>>I have ser-0.8.12 setup on Red Hat along with MySQL and SerWeb. Calls
>
> are
>
>>>being routed ok, but I can not seem to achieve any sort of logging or
>>>accounting of what is going on. I've followed examples and tutorials but
>>>still not progressed much further than routing the calls. I have
>
> included my
>
>>>ser.cfg below.
>>>
>>>
>>>#
>>># $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
>>>#
>>># simple quick-start config script
>>>#
>>>
>>># ----------- global configuration parameters ------------------------
>>>
>>>/*
>>>debug=3 # debug level (cmd line: -dddddddddd)
>>>fork=yes
>>>log_stderror=no # (cmd line: -E)
>>>*/
>>>
>>># Uncomment these lines to enter debugging mode
>>>debug=7
>>>fork=yes
>>>log_stderror=yes
>>>
>>>
>>>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"
>>>
>>># ------------------ module loading ----------------------------------
>>>
>>># Uncomment this if you want to use SQL database
>>>loadmodule "/usr/lib/ser/modules/mysql.so"
>>>
>>>loadmodule "/usr/lib/ser/modules/sl.so"
>>>loadmodule "/usr/lib/ser/modules/tm.so"
>>>loadmodule "/usr/lib/ser/modules/rr.so"
>>>loadmodule "/usr/lib/ser/modules/maxfwd.so"
>>>loadmodule "/usr/lib/ser/modules/usrloc.so"
>>>loadmodule "/usr/lib/ser/modules/registrar.so"
>>>
>>># Uncomment this if you want digest authentication
>>># mysql.so must be loaded !
>>>loadmodule "/usr/lib/ser/modules/auth.so"
>>>loadmodule "/usr/lib/ser/modules/auth_db.so"
>>>
>>># ----------------- setting module-specific parameters ---------------
>>>
>>># -- usrloc params --
>>>
>>>#modparam("usrloc", "db_mode", 0)
>>>
>>># Uncomment this if you want to use SQL database
>>># for persistent storage and comment the previous line
>>>modparam("usrloc", "db_mode", 2)
>>>modparam("usrloc", "db_url", "sql://ser:******@localhost/ser")
>>>
>>># -- auth params --
>>># Uncomment if you are using auth module
>>>#
>>>modparam("auth_db", "password_column", "password")
>>>modparam("auth_db", "calculate_ha1", yes)
>>>#
>>># If you set "calculate_ha1" parameter to yes (which true in this
>
> config),
>
>>># uncomment also the following parameter)
>>>#
>>>modparam("auth_db", "db_url", "sql://ser:******@localhost/ser")
>>>
>>># -- rr params --
>>># add value to ;lr param to make some broken UAs happy
>>>modparam("rr", "enable_full_lr", 1)
>>>
>>>
>>># ------------------------- request routing logic -------------------
>>>
>>># main routing logic
>>>
>>>route{
>>>
>>> # initial sanity checks -- messages with
>>> # max_forwards==0, or excessively long requests
>>> if (!mf_process_maxfwd_header("10")) {
>>> sl_send_reply("483","Too Many Hops");
>>> break;
>>> };
>>> if ( msg:len > max_len ) {
>>> sl_send_reply("513", "Message too big");
>>> break;
>>> };
>>>
>>> # we record-route all messages -- to make sure that
>>> # subsequent messages will go through our proxy; that's
>>> # particularly good if upstream and downstream entities
>>> # use different transport protocol
>>> record_route();
>>> # loose-route processing
>>> if (loose_route()) {
>>> t_relay();
>>> break;
>>> };
>>>
>>> # if the request is for other domain use UsrLoc
>>> # (in case, it does not work, use the following command
>>> # with proper names and addresses in it)
>>> if (uri==myself) {
>>>
>>> if (method=="REGISTER") {
>>>
>>># Uncomment this if you want to use digest authentication
>>># if (!www_authorize("iptel.org", "subscriber")) {
>>># www_challenge("iptel.org", "0");
>>># break;
>>># };
>>>
>>> save("location");
>>> break;
>>> };
>>>
>>> # native SIP destinations are handled using our USRLOC DB
>>> if (!lookup("location")) {
>>> sl_send_reply("404", "Not Found");
>>> break;
>>> };
>>>
>>>
>>> };
>>> # forward to current uri now; use stateful forwarding; that
>>> # works reliably even if we forward from TCP to UDP
>>> if (!t_relay()) {
>>> sl_reply_error();
>>> };
>>>
>>>}
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers(a)lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>>
>>>
>>
>
>