Hello!
Could you help me?
I try to use ser with dbtext module.
In ser.cfg I have...
------------------------------------------------
...
loadmodule "/opt/sfw/lib/ser/modules/dbtext.so"
...
modparam("usrloc", "db_mode", 2)
modparam("usrloc|auth_db", "db_url", "/var/sertdb"
...
Where /var/sertdb - the path to text files (the tables)
I have the following tables:
-----------------------------------------------
root@Solaris>ls -l /var/sertdb/
total 6
-rw-rw-rw- 1 root other 90 Sep 22 13:04 location
-rw-rw-rw- 1 root other 59 Sep 22 12:26 subscriber
-rw-rw-rw- 1 root other 59 Sep 22 13:07 version
The "Location" file
-----------------------------------------------
username(str) domain(str,null) contact(str) expires(int) q(double) callid(str) cseq(int)
But when I start ser I got the following messages in log:
-----------------------------------------------
Sep 22 13:32:19 Solaris ser[8611]: [ID 767465 daemon.warning] Warning: uac does not spread accross the whole hash table
Sep 22 13:32:19 Solaris ser[8611]: [ID 736066 daemon.error] preload_udomain(): Error while doing db_query
Sep 22 13:32:19 Solaris ser[8611]: [ID 247783 daemon.error] register_udomain(): Error while preloading domain 'location'
Sep 22 13:32:19 Solaris ser[8611]: [ID 551419 daemon.error] domain_fixup(): Error while registering domain
What is the problem? What I do wrong?
Thank you.
Best regards.
Simon.
-----------------ser.cfg-----------------------------
-----------------------------------------------------
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 "/opt/sfw/lib/ser/modules/mysql.so"
loadmodule "/opt/sfw/lib/ser/modules/dbtext.so"
loadmodule "/opt/sfw/lib/ser/modules/sl.so"
loadmodule "/opt/sfw/lib/ser/modules/tm.so"
loadmodule "/opt/sfw/lib/ser/modules/rr.so"
loadmodule "/opt/sfw/lib/ser/modules/maxfwd.so"
loadmodule "/opt/sfw/lib/ser/modules/usrloc.so"
loadmodule "/opt/sfw/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
#loadmodule "/opt/sfw/lib/ser/modules/auth.so"
#loadmodule "/opt/sfw/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|auth_db", "db_url", "/var/sertdb"
modparam("usrloc", "user_column", "username"
# -- auth params --
# Uncomment if you are using auth module
#
#modparam("auth_db", "calculate_ha1", yes)
#
hi people, I have instaled SIP Express Router in al PC with debian
sarge and trying to test it.
I have tested the REGISTER and INVITE request, and it works, but when
I send a MESSAGE with sipsak (sispak - M) the server gave me a
response of "513 message too big".
I have search the web for a solution but I did got it.
The message arive to te server one time (it don`t enter into a bucle).
Thank for helping, and sorry for mi bad english.
Dear all,
I'm new to SER. I wish to use softphone X-lite on SER and radius in db_mode.
I have installed SER 0.8.14 (by tarball) and Mysql 3.23.54 in Redhat 9. I have added some subscribers into DB "ser". And after I added some users in the file: /usr/local/etc/raddb/users as the document "iptel.org SIP Express Router v0.11.0 -- Admin's Guide"(http://www.iptel.org/ser/doc/seruser/seruser.html#DEFAULTSCRIPT) guided in Chap 3.3:
joe(a)iptel.org Auth-Type := Digest, User-Password == "heslo"
Reply-Message = "Authenticated",
Sip-Rpid = "1234"
I could log in X-lite and make calls. Now, how could I log in X-lite by using the users that DB contains rather than those in the file: /usr/local/etc/raddb/users?
Many thanks.
Shuai
http://www.godentek.biz
hi, Rodrigue ESTEVE��
����
I think the counter will increase every 2 or 3 seconds.
Hi,
Is the counter increasing when you start ?nbsp;serctl monitor ?nbsp;?
Are there any errors in your /var/log/syslog for ser ?
Do you still receive icmp port unreachable error ?
Can you do the following:
# nc -u your_sip_ip 5060
Type something, if you receive an error message like this : read(net): Connection refused, your sip port is not reachable.
De : julien [mailto:julientoser@gmail.com]
Envoy?nbsp;: jeudi 22 septembre 2005 07:31
?nbsp;: Iqbal
Cc : Rodrigue ESTEVE; serusers(a)iptel.org
Objet : Re: [Serusers] need help
sorry...
i want to say that:
i can not see port 5060 when i try netstat -an.
Cos i test wit fedora, so i am using ser version 0.8.12
On 9/22/05, julien <julientoser(a)gmail.com> wrote:
Now, ser is running.
But i can see port 5060 when i try netstat -an.
I force the line listen=10.0.0.6 (ip of server linux) in ser.cfg
something is wrong?
On 9/22/05, julien <julientoser(a)gmail.com > wrote:
Hi all,
At least i see in the console the line error in ser.cfg, so i am trying to correct it.
On 9/22/05, julien bossart <julientoser(a)gmail.com > wrote:
Thank you for your instruction.
To:Rodrigue
Actually, i don't see that my server linux open port 5060 when i use netstat -an
To:iqbal
I can ping to other IP address.
Today, i make the same example, but with a line ADSL so my server now have
ip 10.0.0.6 (ip private). Then i use ip 10.0.0.5 for sip client. I try to connect to
server but i get the same IMCP.
Today, i tried to do: /etc/init.d/ser start -c -E
to check the config file, it notice that: ERROR: bad config file (3 errors).
(I don't understand cos i use ser.cfg default and uncomment only some line for mysql)
What will you do when you meet this error? how can i active mode debug to find the error
in ser.cfg?
Thank you so much for your instruction.
Julien
On 9/21/05, Iqbal <iqbal(a)gigo.co.uk> wrote:
and find the IP address of the client, do a traceroute to it, although
this will fail it might let you see how far it is getting.
Also can you ping any other IP addresses like ping www.yahoo.com
iqbal
Rodrigue ESTEVE wrote:
> Hi Julien,
>
> Can you do this in command line on your linux :
>
> Netstat �an
>
> And check that your ser is listening on udp port 5060.
>
> rodrigue
>
> ------------------------------------------------------------------------
>
> *De :* serusers-bounces(a)iptel.org [mailto:serusers-bounces@iptel.org]
> *De la part de* julien bossart
> *Envoy?:* mercredi 21 septembre 2005 12:02
> *?:* serusers(a)iptel.org
> *Objet :* [Serusers] need help
>
> Hi all,
>
> I am new to this forum.
>
> Today, i download ser package, then i install in my fedora core 4.
>
> Everything is ok.
>
> Next, i start ser and use serctl add to add account to ser server.
>
> Then i use sjphone to connect to ser server.
>
> Sjphone try to send REGISTER to ser server. I use ethereal to get
>
> the package. I see that ser server responds ICMP host unreacheable
>
> all the time. So, REGISTER is failed.
>
> Can you give me some suggestion?
>
> Thank you for that.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
> Serusers(a)iptel.org
> http://mail.iptel.org/mailman/listinfo/serusers
>
>
= = = = = = = = = = = = = = = = = = = = = =
������������������
��
����������������������������Shuai
����������������������������zhangshuai(a)goldentek.biz
������������������������������2005-09-22
Hi.
Can some one explain or have a hint on, why my ser 0.9.3 will not use
timeout specified in a cpl-script (<proxy timeout="15">)? ser uses the
modparam("tm", "fr_inv_timer", 20) specified in ser.cfg. how do i get ser
to use the timeout from the cpl-script proxy tag. the script is working
properly otherwise.
Thanks,
Oskar
_________________________________________________________________________
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cpl SYSTEM "cpl-06.dtd">
<cpl>
<subaction id="totest">
<location url="sip:test@7017ws12.haninge.kth.se">
<proxy/>
</location>
</subaction>
<incoming>
<location url="sip:oskar@7017ws07.haninge.kth.se">
<proxy timeout="15">
<busy>
<sub ref="totest"/>
</busy>
<noanswer>
<sub ref="totest"/>
</noanswer>
<failure>
<sub ref="totest"/>
</failure>
</proxy>
</location>
</incoming>
</cpl>
________________________________________________________________________
Hi,
Is the counter increasing when you start « serctl monitor » ?
Are there any errors in your /var/log/syslog for ser ?
Do you still receive icmp port unreachable error ?
Can you do the following:
# nc -u your_sip_ip 5060
Type something, if you receive an error message like this : read(net): Connection refused, your sip port is not reachable.
________________________________
De : julien [mailto:julientoser@gmail.com]
Envoyé : jeudi 22 septembre 2005 07:31
À : Iqbal
Cc : Rodrigue ESTEVE; serusers(a)lists.iptel.org
Objet : Re: [Serusers] need help
sorry...
i want to say that:
i can not see port 5060 when i try netstat -an.
Cos i test wit fedora, so i am using ser version 0.8.12
On 9/22/05, julien <julientoser(a)gmail.com> wrote:
Now, ser is running.
But i can see port 5060 when i try netstat -an.
I force the line listen=10.0.0.6 <http://10.0.0.6/> (ip of server linux) in ser.cfg
something is wrong?
On 9/22/05, julien <julientoser(a)gmail.com > wrote:
Hi all,
At least i see in the console the line error in ser.cfg, so i am trying to correct it.
On 9/22/05, julien bossart <julientoser(a)gmail.com > wrote:
Thank you for your instruction.
To:Rodrigue
Actually, i don't see that my server linux open port 5060 when i use netstat -an
To:iqbal
I can ping to other IP address.
Today, i make the same example, but with a line ADSL so my server now have
ip 10.0.0.6 <http://10.0.0.6/> (ip private). Then i use ip 10.0.0.5 <http://10.0.0.5/> for sip client. I try to connect to
server but i get the same IMCP.
Today, i tried to do: /etc/init.d/ser start -c -E
to check the config file, it notice that: ERROR: bad config file (3 errors).
(I don't understand cos i use ser.cfg default and uncomment only some line for mysql)
What will you do when you meet this error? how can i active mode debug to find the error
in ser.cfg?
Thank you so much for your instruction.
Julien
On 9/21/05, Iqbal <iqbal(a)gigo.co.uk> wrote:
and find the IP address of the client, do a traceroute to it, although
this will fail it might let you see how far it is getting.
Also can you ping any other IP addresses like ping www.yahoo.com <http://www.yahoo.com/>
iqbal
Rodrigue ESTEVE wrote:
> Hi Julien,
>
> Can you do this in command line on your linux :
>
> Netstat -an
>
> And check that your ser is listening on udp port 5060.
>
> rodrigue
>
> ------------------------------------------------------------------------
>
> *De :* serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]
> *De la part de* julien bossart
> *Envoyé :* mercredi 21 septembre 2005 12:02
> *À :* serusers(a)lists.iptel.org
> *Objet :* [Serusers] need help
>
> Hi all,
>
> I am new to this forum.
>
> Today, i download ser package, then i install in my fedora core 4.
>
> Everything is ok.
>
> Next, i start ser and use serctl add to add account to ser server.
>
> Then i use sjphone to connect to ser server.
>
> Sjphone try to send REGISTER to ser server. I use ethereal to get
>
> the package. I see that ser server responds ICMP host unreacheable
>
> all the time. So, REGISTER is failed.
>
> Can you give me some suggestion?
>
> Thank you for that.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
> serusers(a)lists.iptel.org <mailto:serusers@lists.iptel.org>
> http://lists.iptel.org/mailman/listinfo/serusers <http://lists.iptel.org/mailman/listinfo/serusers>
>
>
Hi,
I'm interested in iptel.org ser configuration. The security setup
is nice, where those iptel.org users that are not registered will not be
able to call anywhere, and also those users that are not belong to
iptel.org will also not permitted to make a call. But registered users
from other domains can call registered iptel.org users. What should be
the ser.cfg for me to achieve this?
Thanks,
--
Ryan Pagquil
Infodyne Inc. - PhilOnline.com
3603 Antel Global Corporate Center
Doña Julia Vargas Ave.
Ortigas Center Pasig City
Tel: 687-0715
Web: www.philonline.com
Hi Julien,
Can you do this in command line on your linux :
Netstat -an
And check that your ser is listening on udp port 5060.
rodrigue
________________________________
De : serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] De la part de julien bossart
Envoyé : mercredi 21 septembre 2005 12:02
À : serusers(a)lists.iptel.org
Objet : [Serusers] need help
Hi all,
I am new to this forum.
Today, i download ser package, then i install in my fedora core 4.
Everything is ok.
Next, i start ser and use serctl add to add account to ser server.
Then i use sjphone to connect to ser server.
Sjphone try to send REGISTER to ser server. I use ethereal to get
the package. I see that ser server responds ICMP host unreacheable
all the time. So, REGISTER is failed.
Can you give me some suggestion?
Thank you for that.
Please help. I have ndpi=yes in my uri and i need to get it stripped
out. I have tried replace and it did nto work. Does anyone have any
suggestions? Thanks.
example:
INVITE sip:3302471580;npdi=yes@xxx.xxx.xxx.xxx;user=phone SIP/2.0..Via:
SIP/
2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK3accrq304g50udkp01s1.1sr..From:
<sip:4432316574@xxx.xxx.xxx.xxx:5060;isup-oli=0;GX=GXDIDGOLD-dkdc1o22
11mf4>;pstn-params=808481808882;tag=SD5gi2b01-121..To:
<sip:3302471580@xxx.xxx.xxx.xxx
:5060>..Call-ID: SD5gi2b01-74753aacf8cebc27afa2abeba01ef67b-v3000
i1..CSeq: 31346 INVITE..Allow: OPTIONS, SUBSCRIBE, INVITE, CANCEL, ACK,
PRA
CK, INFO, REFER, NOTIFY, BYE..Accept: multipart/mixed, application/sdp,
app
lication/isup, application/dtmf, application/dtmf-relay..Contact:
<sip:4432316574@xxx.xxx.xxx.xxx:5060;GX=GXAPTELADIDGOLD-dkdc1o2211mf4;transport=udp>
..Remote-Party-ID:
<sip:4432316574@xxx.xxx.xxx.xxx:4000>;privacy=off..Content-
Length: 161..Content-Disposition: session;handling=required..Content-Type:
application/sdp..Max-Forwards: 70....v=0..o=Sonus_UAC 31345 16101 IN
IP4 xxx.xxx.xxx.xxx.
.s=SIP Media Capabilities..c=IN IP4 xxx.xxx.xxx.xxx..t=0 0..m
=audio 50050 RTP/AVP 0..a=sendrecv..a=ptime:20..
Hi guys,
How can I make an alias that will never expire? I want my users
to use their username to register in SER but I want them to make calls
using numbers or aliases? is this possible? I checked the alises table
and it has an expire field, does it really expire on that time?
Thanks,
--
Ryan Pagquil
Infodyne Inc. - PhilOnline.com
3603 Antel Global Corporate Center
Doña Julia Vargas Ave.
Ortigas Center Pasig City
Tel: 687-0715
Web: www.philonline.com