Hi, please help me, I'm stuck with it!!!!!
I am trying to set up several sers with a shared MySQL database for location service.
I set in each ser.cfg:
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "db_url","sql://ser:heslo@192.168.25.163/ser")
and the servers are not synchronized.
The I set
modparam("usrloc", "db_mode", 2)
made UAC (Xlite) register to one of the servers.
I see it via usrloc, but there is no record in "location" mySQL table....So others do not see the client and I'm unable to make calls....
Please help how to work with usrloc and mySQL...
Tina,
software engineer
---------------------------------
Do you Yahoo!?
Better first dates. More second dates. Yahoo! Personals
Hi all,
I'm rookie on Ser and Sip, may be you can help me.
I installed ser and I want to connect to it two PC with Xlite installed. My ser is just installed, so I'm not very sure what I must add in ser.cfg to the system work in this concrete issue.
In the other side, I never configure a Xlite softphone. So... can anyone help me?
Thank you very much,
Sebastian Milioto
INTERCOM SRL
www.intercomwireless.com
Hi,
Can I do this on ser, using a sip phone(eyebeam), i'll call another sip phone,
when call is connected i'll put him on hold and dial another sip phone, when
it's connected, i'll press the conference, the 3 should be able to talk.
I tested it but only the one on the middle can hear voice from each other, but
both ends cannot hear themselves.
Is there a special module for this, what do i need to add on my ser.cfg?
Regards,
Ron
-- --
iTouch Communications, Inc.
Hi,
I am facing another error. Please advice when I tried to dial from SIP to
PSTN. There is connection already but disconnected. Please Help.
I have attached my sems and ser configuration file for your reference.
Thanks in advance.
Configuration:
configuration file: /usr/local/etc/sems/sems.conf
Ser's FIFO: /tmp/vm_ser_fifo
our FIFO: /tmp/am_fifo
plug-in path: /usr/local/lib/sems/plug-in/
daemon mode: 0
local IP: *****
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI10, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:90): could not
initialize /dev/ttyI10, removing from list
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI11, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:90): could not
initialize /dev/ttyI11, removing from list
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI12, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:90): could not
initialize /dev/ttyI12, removing from list
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI13, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:112): could not
initialize /dev/ttyI13,
removing from list
(5968) ERROR: open_device (IsdnDevice.cpp:251): could not open special file
/dev/ttyI14, reason:
No such device
(5968) ERROR: IsdnGatewayFactory (IsdnGatewayFactory.cpp:112): could not
initialize /dev/ttyI14,
removing from list
(5968) ERROR: reassignIncomingDevices (IsdnDeviceIncoming.cpp:163): could
not get locked incoming device, number * unhandled!
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
0 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
2 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
3 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
4 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
5 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
6 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
7 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: getLongestMatch (IsdnConfiguration.cpp:753): configured device
8 would be responsible for this call, but it is unavailable (ignoring)
(5968) ERROR: reply (AmRequest.cpp:335): AmRequestUAS::reply: 500 command
't_reply' not available(5968) ERROR: reply (AmRequest.cpp:335):
AmRequestUAS::reply: 500 command 't_reply' not available(5968) ERROR: run
(AmSession.cpp:193): 500 could not send response.
(5968) ERROR: reply (AmRequest.cpp:335): AmRequestUAS::reply: 500 command
't_reply' not available(5968) ERROR: cb_disconnect_ind
(IsdnCapiConnection.cpp:360): unknown capi error, received DISCONNECT_IND
with info 0 (unknwon CAPI error! (please report as a bug!))
Regards,
Nicky
>
> ----- Original Message -----
> From: "Nicky" <nicky(a)caliber.com.sg>
> To: "Ulrich Abend" <uli(a)iptel.org>
> Cc: <serusers(a)lists.iptel.org>; <sems(a)lists.iptel.org>
> Sent: Thursday, March 24, 2005 6:55 PM
> Subject: isdngw connecting to PSTN
>
>
> > Hi,
> >
> > I have encountered the problem when I tried to connect SIP to PSTN using
> the
> > isdngw. Please advice what can be the problem and is there any
guidelines
> > for connecting to PSTN beside using the isdn.conf file, is there
anything
> to
> > take note. I keep getting a engaged tone. Please help....thank you.
> >
> > Mar 24 18:08:02 /usr/local/sbin/ser[9301]: ERROR: vm: db_query() failed.
> > Mar 24 18:08:02 /usr/local/sbin/ser[9301]: ERROR: vm: vm_get_user_info
> > failed
> > Mar 24 18:08:02 /usr/local/sbin/ser[9301]: could not contact isdngw
> >
> > regards,
> > nicky
> >
>
Hi,tesastac
I tried all the versions that provide libmysqlclient.so.10, such as MySQL-shared-3.23.54-1.i386,MySQL-shared-3.23.53a-1.i386,MySQL-shared-3.23.49a-1.i386 and MySQL-shared-3.23.47-1.i386. But this error still appeared.
======= 2005-03-30 22:37:08 您在来信中写道:=======
>I met this error when I set up MySQL-shared-3.23.54a-1.i386 (to set up
>libmysqlclient for mysql support). This error appeared and I couldn't start
>the httpd service again.I'm trying to solve now..
>
>
>----- Original Message -----
>From: "ljzhang" <xueyou38(a)163.com>
>To: "Serusers" <Serusers(a)iptel.org>
>Sent: Wednesday, March 30, 2005 5:24 PM
>Subject: [Serusers] Load mysql.so ERROR!!
>
>
>> Hi,
>>
>> I uncomment the line of ser.cfg:
>> loadmodule "/usr/lib/ser/modules/mysql.so"
>>
>> But when I start ser, I met the following error:
>>
>> ERROR: load_module: could not open module </usr/lib/ser/modules/mysql.so>:
>> /usr/lib/libmysqlclient.so.10: symbol errno, version GLIBC_2.0 not defined
>> in
>> file libc.so.6 with link time reference?
>>
>> Can you tell me why?
>>
>> Note:
>> libmysqlclient.so.10 is provided by MySQL-shared-3.23.54a-1.i386
>> MySQL version is 4.0.12
>>
>> Thanks a lot.
>>
>>
>>
>> jenny
>> xueyou38(a)163.com
>> 2005-03-30
>>
>
>
>--------------------------------------------------------------------------------
>
>
>> _______________________________________________
>> Serusers mailing list
>> Serusers(a)iptel.org
>> http://mail.iptel.org/mailman/listinfo/serusers
>>
= = = = = = = = = = = = = = = = = = = =
致
礼!
ljzhang
xueyou38(a)163.com
2005-03-31
Hi All.
We've got a complex network configuration whereby we're using Linux
firewall wall load balancers which sit behind a Cisco 3600 router and
behind the firewall/load balancers (there are more than one) we have
multiple SER proxies.
We're using a virtual IP (VIP) on the public side of the load balancers.
Anyhow, when a message is sent to a SIP proxy it is hitting the main
route block in ser.cfg
But then it somehow hits the main route block again before being
t_relay()ed. So it appears that the main route block is reentrant.
I didn't think this was possbile. I added a P-Hint: header and the
first pass through the main route block the statement (uri==myself) is
TRUE, then the second pass through the main route block (uri==myself)
is FALSE.
Can any give a pointer?
Regards,
Paul
Hi everyone!
I want to implement an ENUM query in my routing block with comfort. I
want ENUM queries always to be done because VoIP-Calls are cheaper than
PSTN-routed ones.
I want to let the user request e.g. "sip:089123456@mydomain.org" and the
script should query for "6.5.4.3.2.1.9.8.9.4.e164.arpa" (I'm in munich
(prefix 089), germany (prefix +49); a single zero indicates long
distance calls, two zeros indicate international calls, local calls
don't have leading zeros)
The idea is to complete the requested uri to be a e164 address and then
start a query
The logic should be like:
if (uri_is_e164) {
if (do_enum_query)
t_relay;
} else if (uri =~ "sip:0[1-9][0-9]{1,14}@.*") {
# national call
replace "leading 0" with "+49";
if (do_enum_query)
t_relay;
} else if (uri =~ "sip:00[1-9][0-9]{1,13}@.*") {
# international call
replace "leading 00" with "+";
if (do_enum_query)
t_relay;
}
I don't get the hang of those textops functions because sometimes they
work and sometimes they don't, especially after other modules have been
changing the uri.
In addition, if one of those enum-queries fails, the uri should be
reverted to the original one (with "0" or "00").
How would the correct ser.cfg-script look like?
Alex Mack
Hi all,
Im a new learner who is a beginner learning on SIP...
I will like to know how do I enable Voice Mail in my
ser.cfg file...
Here's my ser.cfg:
#
# $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=yes # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
debug=7
fork=no
log_stderror=yes
*/
listen=172.16.221.38
listen=127.0.0.1
alias="sip.nyp.edu.sg"
alias=172.16.221.38
alias=127.0.0.1
check_via=yes # (cmd. line: -v)
dns=yes # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading
----------------------------------
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"
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.so"
loadmodule "/usr/lib/ser/modules/acc.so"
loadmodule "/usr/lib/ser/modules/exec.so"
loadmodule "/usr/lib/ser/modules/group.so"
loadmodule "/usr/lib/ser/modules/domain.so"
loadmodule "/usr/lib/ser/modules/print.so"
loadmodule "/usr/lib/ser/modules/textops.so"
loadmodule "/usr/lib/ser/modules/uri.so"
loadmodule "/usr/lib/ser/modules/msilo.so"
loadmodule "/usr/lib/ser/modules/vm.so"
# ----------------- setting module-specific parameters
---------------
# -- tm parameters --
modparam("tm", "fr_timer", 12)
modparam("tm", "fr_inv_timer", 24)
# -- rr parameters --
#add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# -- usrloc parameters --
#2 enables write-back to persistent mysql storage for
speed
#disable=0, write-through=1
modparam("usrloc", "db_mode", 2)
#minimize write back window - default is 60 seconds
modparam("usrloc", "timer_interval", 120)
#database location
modparam("usrloc", "db_url",
"sql://ser:heslo@localhost/ser")
# -- auth parameters --
#database location
modparam("auth_db", "db_url",
"sql://ser:heslo@localhost/ser")
#allows clear text password in the mysql database
modparam("auth_db", "calculate_ha1", yes)
#name of password column in mysql database
modparam("auth_db", "password_column", "password")
# -- acc parameters --
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 3)
# -- msilo parameters --
modparam("msilo", "db_table", "silo")
# ------------------------- request routing logic
-------------------
# main routing logic
route{
#checks messages with max_forwards==0
if (!mf_process_maxfwd_header("10"))
{
sl_send_reply("483","too many hops");
break;
};
#or excessively long requests
if ( msg:len > max_len )
{
sl_send_reply("513", "message is 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;
};
# labeled all transaction for accounting
setflag(1);
# record-route INVITES to make sure BYEs will visit
our server too
if (method=="INVITE") record_route();
# 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")
{
#make sure that users don't register infinite loops
if
(search("^(Contact|m):.*@(172\.16\.221\.38|(proxy\.)?sip\.nyp\.edu\.sg)"))
{
log(1, "LOG: alert: someone trying to set
aor==contact\n");
sl_send_reply("476", "no server address in
contacts allowed");
break;
};
#Uncomment this if you want to use digest
authentication
# if (!www_authorize("sip.nyp.edu.sg",
"subscriber"))
# {
# www_challenge("sip.nyp.edu.sg", "0");
# break;
# };
save("aliases");
save("location");
log("REGISTER received -> dumping messages with
MSILO\n");
#MSILO - dumping user's offline messages
if (m_dump())
{
log("MSILO: offline messages dumped - if they
were\n");
}
else
{
log("MSILO: no offline messages dumped\n");
};
break;
};
#native SIP destinations are handled using our
USRLOC DB
if (!lookup("location"))
{
if (! t_newtran())
{
sl_reply_error();
break;
};
if (!method=="MESSAGE")
{
if (!t_reply("404", "not found on LDAP or SER"))
{
sl_reply_error();
};
break;
};
log("MESSAGE received -> storing using MSILO\n");
# MSILO - storing as offline message
if (m_store("0"))
{
log("MSILO: offline message stored\n");
if (!t_reply("202", "accepted for later
delivery"))
{
sl_reply_error();
};
}
else
{
log("MSILO: offline message NOT stored\n");
if (!t_reply("503", "service unavailable"))
{
sl_reply_error();
};
};
break;
sl_send_reply("404", "not found on LDAP or SER");
break;
};
#if the downstream UA does not support MESSAGE
requests
#go to failure_route[1]
t_on_failure("1");
t_relay();
break;
#native SIP destinations are handled using our
USRLOC DB
if (!lookup("location"))
{
if (!exec_dset("/etc/ser/sipldap"))
{
sl_send_reply("404", "not found on LDAP or SER");
break;
}
else
{
log(1, "sipldap call");
};
};
};
setflag(3);
#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();
break;
};
#does user wish redirection on no availability?
#(is he in the voicemail (ser->grp) group?
if (is_user_in("Request-URI", "voicemail"))
{
t_on_failure("4");
setflag(1);
};
}
failure_route[1] {
#forwarding failed -- check if the request was a
MESSAGE
if (!method=="MESSAGE")
{
break;
};
log(1,"MSILO: the downstream UA does not support
MESSAGE requests ...\n");
#we have changed the R-URI with the contact address
-- ignore it now
if (m_store("1"))
{
log("MSILO: offline message stored\n");
t_reply("202", "accepted for later delivery");
}
else
{
log("MSILO: offline message NOT stored\n");
t_reply("503", "service unavailable");
};
}
failure_route[4] {
append_branch("sip:80000@sip.nyp.edu.sg");
append_urihf("CC-Diversion: ", "\r\n");
append_hf("P-hint: OFFLINE-VOICEMAIL\r\n");
t_relay();
}
Pls do help me...
rgds,
Eric
__________________________________
Do you Yahoo!?
Yahoo! Personals - Better first dates. More second dates.
http://personals.yahoo.com