Can anyone please confirm if you are getting my mails? This is my third mail in last 2 weeks to
the list which has gone unnoticed/unanswered.
Regards,
--- Girish <gr_sh2003(a)yahoo.com> wrote:
> Hi all,
>
> I have seen a problem(?) with adding headers to sip messages using append_hf. SER never allowed
> me
> to add a new header after proxy-authorization is enabled for INVITEs. In normal cases it permits
> me to add custom headers. But, the following piece of code never worked:
>
> if (!radius_proxy_authorize("")) {
> proxy_challenge("", "0");
> break;
> }
> prefix ("12345678");
> append_hf ("Credit-Time: 360\r\n");
>
> After spending some time with this, i was able to add the header like this:
>
> if (!radius_proxy_authorize("")) {
> proxy_challenge("", "0");
> break;
> }
> if (is_present_hf ("Proxy-Authorization")){
> remove_hf ("Proxy-Authorization");
> }
> prefix ("12345678");
> append_hf ("Credit-Time: 360\r\n");
>
> Any specific reason for this behaviour? Can anyone shed some light on why SER is not allowing me
> to add new headers when there is a Proxy-Authorization header present?
>
> Thanks,
>
=====
Girish Gopinath <gr_sh2003(a)yahoo.com>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hello All,
I am using compiled version of SER from the development tree. While i
started my proxy, i keepon receiving the following error message.
6(32094) ERROR: CSeq EoL expected
6(32094) ERROR: parse_cseq: bad cseq
6(32094) ERROR: get_hdr_field: bad cseq
6(32094) ERROR: bad header field
6(32094) ERROR: build_res_buf_from_sip_req: alas, parse_headers failed
7(32097) ERROR: CSeq EoL expected
7(32097) ERROR: parse_cseq: bad cseq
7(32097) ERROR: get_hdr_field: bad cseq
7(32097) ERROR: bad header field
7(32097) find_first_route(): Error while parsing headers
could anybody helpme out.
Raj.
Hi,
I am running SER and MYSQL on Solaris 8 and have the latest package of both running. Ser will run fine as standalone without any connection to MYSQL, but as soona s I try to connect it with MYSQL I get an error. I have it pasted here and after is my config file:
bash-2.03# ser
0(9289) loading module /usr/local/lib/ser/modules/mysql.so
0(9289) loading module /usr/local/lib/ser/modules/sl.so
0(9289) loading module /usr/local/lib/ser/modules/tm.so
0(9289) loading module /usr/local/lib/ser/modules/rr.so
0(9289) loading module /usr/local/lib/ser/modules/maxfwd.so
0(9289) loading module /usr/local/lib/ser/modules/usrloc.so
0(9289) loading module /usr/local/lib/ser/modules/registrar.so
0(9289) loading module /usr/local/lib/ser/modules/auth.so
0(9289) loading module /usr/local/lib/ser/modules/auth_db.so
0(9289) set_mod_param_regex: usrloc matches module usrloc
0(9289) set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/ser/modules/usrloc.so]
0(9289) set_mod_param_regex: auth_db matches module auth_db
0(9289) set_mod_param_regex: found <password_column> in module auth_db [/usr/local/lib/ser/modules/auth_db.so]
0(9289) set_mod_param_regex: rr matches module rr
0(9289) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/ser/modules/rr.so]
0(9289) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/usr/local/lib/ser/modules/maxfwd.so]
0(9289) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
0(9289) parse error (79,16-23): syntax error
0(9289) parse error (79,16-23): equal/!= operator expected
0(9289) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
0(9289) find_export: found <record_route> in module rr [/usr/local/lib/ser/modules/rr.so]
0(9289) find_export: found <loose_route> in module rr [/usr/local/lib/ser/modules/rr.so]
0(9289) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
0(9289) find_export: found <save> in module registrar [/usr/local/lib/ser/modules/registrar.so]
0(9289) find_export: found <lookup> in module registrar [/usr/local/lib/ser/modules/registrar.so]
0(9289) find_export: found <sl_send_reply> in module sl_module [/usr/local/lib/ser/modules/sl.so]
0(9289) find_export: found <t_relay> in module tm [/usr/local/lib/ser/modules/tm.so]
0(9289) find_export: found <sl_reply_error> in module sl_module [/usr/local/lib/ser/modules/sl.so]
ERROR: bad config file (2 errors)
0(9289) DEBUG: tm_shutdown : start
0(9289) DEBUG: tm_shutdown : empting hash table
0(9289) DEBUG: tm_shutdown: releasing timers
0(9289) DEBUG: tm_shutdown : removing semaphores
0(9289) DEBUG: tm_shutdown : done
0(9289) shm_mem_destroy
0(9289) destroying the shared memory lock
--------------- CONFIG FILE ----------------------------------
#
# $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=33 # debug level (cmd line: -dddddddddd)
#fork=yes
log_stderror=yes # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
debug=7
fork=no
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/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/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)
# -- auth params --
# Uncomment if you are using auth module
#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", "password_column", "password")
# -- 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();
};
}
Best regards,
Axel
Greetings:
Allow me to summarize the results of testing the mysql module on
0.8.99-dev19 -- OpenBSD/sparc32:
1. Compiled and linked against libmysqlclient.so.10.0: SIGBUS happens
in libmysqlclient.so simple_command() (no symbols so can't
debug). Lately, no SIGBUS but 'ser' simply exits with
no debug messages (debug=9) after the loading module message.
2. Compiled and linked against libmysqlclient.so.14.0 (built locally
with '-g'): 'ser' loads the file, reports the
following error and then exits (debug=9):
0(9791) loading module /usr/local/lib/ser/modules/mysql.so.4.1.7.new
0(9791) ERROR: no version info in module
</usr/local/lib/ser/modules/mysql.so.4.1.7.new>: Can't open file
3. Compiled and linked against libmysqlclient.so.14.0 (built locally
without '-g' flag: same behavior as (2.) above lately (but yesterday
would SIGBUS in advanced_command() in libmysqlclient.so.14.0)
4. Compiled and linked agains libmysqlclient.so.14.0 (built locally,
with '-g') and with -Wcast_align removed from
Makefile: (same behavior as (2) above.)
MySQL 4.1.7 client built locally (on the same host) works properly (uses
libmysqlclient.so.14.0) aginst the mysqld running on the same host;
ser_mysql.sh builds the databases (NOTE: field 'table_version' in
'version' is created incorrectly as field 'version' in the shell script)
and serctl manipulates them properly.
I would appreciate someone working with me on this problem; perhaps some
advice on breakpoints, extra debugging code, etc.?
Regards,
Michael Grigoni
Cybertheque Museum
Hello Everyone.
Can anyone give some words of wisdom as to how to include the negotiated codec in my MySQL
accounting records?
I'm thinking about something like a new column in the acc table.
Regards,
Paul
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
Hi Ricardo,
I'm afraid Gabriel, the author of the implementation, haven't released
any packages. Feel free to use directly the CVS.
Best Regards,
Marian
Ricardo Martinez wrote:
> Hello again Marian.
> I was trying the STUN server from VOVIDA, with no success (i am
> still working on that). I would like to know where to find the STUN server
> from iptel. When i follow your link i found this :
>
> This Project Has Not Released Any Files
>
> Do i have to look for in another place?
>
> Thanks in advance
> best regards,
>
> Ricardo
>
> -----Mensaje original-----
> De: Marian Dumitru [mailto:marian.dumitru@voice-sistem.ro]
> Enviado el: Lunes, 06 de Diciembre de 2004 5:59
> Para: support
> CC: serusers(a)lists.iptel.org
> Asunto: Re: [Serusers] STUN Server
>
>
> Hi Thomas,
>
> I recommend you MyStun - http://developer.berlios.de/projects/mystun/;
> it's a very good Open Source STUN implementation.
>
> Best regards,
> Marian
>
> support wrote:
>
>>Hi,
>>
>>I would like to know does ser package contain a STUN server? If not,
>>does iptel.org site has any STUN server for downloading?
>>
>>Thank you.
>>
>>
>>Thomas
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
--
Voice Sistem
http://www.voice-sistem.ro
Hello again Marian.
I was trying the STUN server from VOVIDA, with no success (i am
still working on that). I would like to know where to find the STUN server
from iptel. When i follow your link i found this :
This Project Has Not Released Any Files
Do i have to look for in another place?
Thanks in advance
best regards,
Ricardo
-----Mensaje original-----
De: Marian Dumitru [mailto:marian.dumitru@voice-sistem.ro]
Enviado el: Lunes, 06 de Diciembre de 2004 5:59
Para: support
CC: serusers(a)lists.iptel.org
Asunto: Re: [Serusers] STUN Server
Hi Thomas,
I recommend you MyStun - http://developer.berlios.de/projects/mystun/;
it's a very good Open Source STUN implementation.
Best regards,
Marian
support wrote:
> Hi,
>
> I would like to know does ser package contain a STUN server? If not,
> does iptel.org site has any STUN server for downloading?
>
> Thank you.
>
>
> Thomas
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
--
Voice Sistem
http://www.voice-sistem.ro
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Hi,
I want to make a ser backup route.I have a route for examples that
forwards the calls to a specific ip destination.I want to make a backup
route to send those calls to another ip destination whenever the first ip
destination is not available (Not Found ,etc.).
Thanks