could you tell me the steps needed to update the modules. i have already
pulled down the modules from cvs. now how do i get them installed?
the one in particular is nathelper. i installed 0.8.12. but it doesnt have
the options installed to add the module ping_nated_only command.
also...is there a seach box for the archived collection of prior postings?
i hate having to post a question thats already been answered, but i cant
find a search option and not about to go through every month looking for the
answer =)
Thanks,
-----------------------
Harold Workman
CCNA, CCNP
Cytel Communications
hworkman(a)cytelcom.com
Ph. 281-449-4000 x3098
Hello,
I am new to SER and managed to install SER 0.8.12 after some effort. I
am trying to use the XTEN client so that all calls are forwarded to
SHOUT gateway ( which is a softswitch).
I have just changed the ser.cfg so that all the REGISTER messages are
confirmed with a ok message and if the user location is not found then
the message must be sent the gateway.
My first problem is that the XTEN client is not able to register with
the SER. This is what I see in SER when i use ngrep:
U 63.96.9.41:5060 -> 63.96.9.45:5060
REGISTER sip:63.96.9.45 SIP/2.0..Via: SIP/2.0/UDP 63.96.9.41:50
60;rport;branch=z9hG4bKCD1D5EC1C8944CD4865BEA41E01EFB1E..From:
Santosh <sip:9723807000@63.96.9.45>..To: Santosh <sip:972380700
0(a)63.96.9.45>..Contact: "Santosh" <sip:9723807000@63.96.9.41:50
60>..Call-ID: 0CDB1593588D4866B6CC7E43C6F0281F@63.96.9.45..CSeq
: 54567 REGISTER..Expires: 1800..Max-Forwards: 70..User-Agent:
X-Lite build 1101..Content-Length: 0....
#
U 63.96.9.45:5060 -> 63.96.9.41:5060
SIP/2.0 483 Too Many Hops..Via: SIP/2.0/UDP 63.96.9.41:5060;rpo
rt=5060;branch=z9hG4bKCD1D5EC1C8944CD4865BEA41E01EFB1E..From: S
antosh <sip:9723807000@63.96.9.45>..To: Santosh <sip:9723807000
@63.96.9.45>;tag=b27e1a1d33761e85846fc98f5f3a7e58.7933..Call-ID
: 0CDB1593588D4866B6CC7E43C6F0281F@63.96.9.45..CSeq: 54567 REGI
STER..Server: Sip EXpress router (0.8.12 (i386/linux))..Content
-Length: 0..Warning: 392 63.96.9.45:5060 "Noisy feedback tells:
pid=1377 req_src_ip=63.96.9.45 req_src_port=5060 in_uri=sip:6
3.96.9.45 out_uri=sip:63.96.9.45 via_cnt==71"....
My second question is what changes do i need to make to the config file
so that all calls are forwarded to the gateway. Do i use
forward(gatewayip, port) ?
Thank you
Santosh
When I run serctl monitor I get the following output:
[cycle #: 1; if constant make sure server lives and fifo is on]
and nothing else. When I use top to see what processes are running I
can see that the ser processes are there but they are sleeping, ie stat
S, a sample of the output is as follows:
7306 ser 9 0 2884 2884 2860 S 0.0 4.5 0:00 ser
7307 ser 9 0 2852 2852 2820 S 0.0 4.5 0:00 ser
7308 ser 9 0 2852 2852 2820 S 0.0 4.5 0:00 ser
7309 ser 9 0 2852 2852 2820 S 0.0 4.5 0:00 ser
7310 ser 9 0 2852 2852 2820 S 0.0 4.5 0:00 ser
7311 ser 9 0 2852 2852 2820 S 0.0 4.5 0:00 ser
7312 ser 9 0 2852 2852 2820 S 0.0 4.5 0:00 ser
7313 ser 9 0 2852 2852 2820 S 0.0 4.5 0:00 ser
7314 ser 9 0 2852 2852 2820 S 0.0 4.5 0:00 ser
When I use serctl fifo commands of fifo uptime and fifo ps I get the
following output.
hattie:/home/martinc# serctl fifo version
Server: Sip EXpress router (0.8.12 (i386/linux))
hattie:/home/martinc# serctl fifo uptime
Now: Sun Apr 18 11:29:31 2004
Up Since: Sun Apr 4 13:01:29 2004
Up time: 1204082 [sec]
hattie:/home/martinc# serctl fifo ps
0 7306 attendant
1 7307 receiver child=0 sock=0 @ 127.0.0.1:5060
2 7308 receiver child=1 sock=0 @ 127.0.0.1:5060
3 7309 receiver child=2 sock=0 @ 127.0.0.1:5060
4 7310 receiver child=3 sock=0 @ 127.0.0.1:5060
5 7311 receiver child=4 sock=0 @ 127.0.0.1:5060
6 7312 receiver child=5 sock=0 @ 127.0.0.1:5060
7 7313 receiver child=6 sock=0 @ 127.0.0.1:5060
8 7314 receiver child=7 sock=0 @ 127.0.0.1:5060
9 7315 receiver child=0 sock=1 @ 192.168.0.100:5060
10 7316 receiver child=1 sock=1 @ 192.168.0.100:5060
11 7317 receiver child=2 sock=1 @ 192.168.0.100:5060
12 7318 receiver child=3 sock=1 @ 192.168.0.100:5060
13 7319 receiver child=4 sock=1 @ 192.168.0.100:5060
14 7320 receiver child=5 sock=1 @ 192.168.0.100:5060
15 7321 receiver child=6 sock=1 @ 192.168.0.100:5060
16 7322 receiver child=7 sock=1 @ 192.168.0.100:5060
17 7323 fifo server
18 7324 timer
19 7325 tcp receiver
20 7326 tcp receiver
21 7327 tcp receiver
22 7328 tcp receiver
23 7329 tcp receiver
24 7330 tcp receiver
25 7331 tcp receiver
26 7332 tcp receiver
27 7333 tcp main process
I assume Im missing something here and that despite all the info to the
contrary ser is not running as the output of serctl monitor cycle 1 is
static. What configuration changes are needed to this thing?
Best regards Martin Coggin
Information in this message is confidential and may be legally
privileged. It is intended solely for the person to whom it is
addressed. If you have received this email in error please delete it
immediately and also reply to me to let me know. Thank you for your
help.
Hi,i do not get registrer C827-4v in ser. I know registrar ATA but i think that
is not possible. Someone know how?
Tkanks at all.
---------------------------------------------------------
Comparte tus vacaciones con los amigos y nuestro album de fotos: http://fotos.ya.comYa.com ADSL Router Wi-Fi: Sólo 29,90 /mes + IVA*. Router + Antivirus y firewall ¡Gratis!
http://ir.ya.com/app/redir?o=is2&prefix=isp_ya_com_&tgt810&afiliado=fofooter
Hello,
I downloaded the last serweb from CVS but there is a problem with
main_prepend.php
Fatal error: Undefined class name 'log' in
/var/www/virtual/02/iptel/html/main_prepend.php on line 39
Anybody could help me ?
Harry
Hello SER Folks,
Wondering if anyone can help me out, I am having problems with creating
mysql database, I execute the command /usr/sbin/ser_mysql.sh create, I
do get asked for a root password, which I am not sure of therefore I
execute this command /usr/bin/mysqladmin -u root password xxxxxxx, here
I get the message saying, /usr/bin/mysqladmin: connects to server at
'localhost' failed, along with an error message
Error: 'Access denied for user 'root@localhost' (Using password: N0)
How do I overcome this problem?
Another thing I wanted to ask was to increase the number connections to
mysql as described in the quick install link
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/ser/sip_router/INST
ALL
i.e. set=variable = max_connections=500
I really would appreciate your assistance.
Many thanks in advance.
Best regards
Saber
Mobile Internet is just a click away
========================================================================
====================================================================
This message is confidential and is for the named recipient (s) only. It
may be subject to legal privilege. If you receive this message but are
not named recipient or a person responsible for delivering it to a named
recipient, please contact us immediately. You must not use, distribute,
copy, disclose or take any action in reliance on the e-mail or its
contents.
========================================================================
====================================================================
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of serusers-request(a)lists.iptel.org
Sent: 15 April 2004 10:00
To: serusers(a)lists.iptel.org
Subject: Serusers Digest, Vol 12, Issue 16
Send Serusers mailing list submissions to
serusers(a)lists.iptel.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.iptel.org/mailman/listinfo/serusers
or, via email, send a message with subject or body 'help' to
serusers-request(a)lists.iptel.org
You can reach the person managing the list at
serusers-owner(a)lists.iptel.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Serusers digest..."
Today's Topics:
1. Re: SER 0.8.12 and RFC (CURRO_DOMINGUEZ)
2. How to set "local ip" for SEMS? (Arnd Vehling)
3. Re: How to set "local ip" for SEMS? (Arnd Vehling)
4. rtp proxy problem (santhosh)
5. Check From-User against To-User (Andreas Granig)
6. Check From-User against To-User (Juha Heinanen)
7. lookup("...") (Atle Samuelsen)
8. Re: number reader (R)
9. Cisco ATA 186 adapter Firmware (SIP) (Ashok Patel)
10. New bugfix version of radiusclient library (0.4.2) (Maxim Sobolev)
11. DB Authentication Issues (Continued) (Chris Bookholt)
12. Re: DB Authentication Issues (Continued) (Jan Janak)
13. Re: DB Authentication Issues (The Pain Continues) (Chris Bookholt)
14. Re: DB Authentication Issues (The Pain Continues) (Chris Bookholt)
15. rtp proxy recommendations? (Andy Pyles)
16. www and proxy authentication (R)
17. RE: SER response - status: 483 Too Many Hop (Shu-Liang Lee)
18. how to found SER server works like two local exchanges (wangji)
19. Re: DB Authentication Issues (Continued) (Juha Heinanen)
20. serweb does't send mail (Teppo Lunnas)
21. Re: Cisco ATA 186 adapter Firmware (SIP) (Andreas Granig)
22. changing an uri (Alessio Focardi)
23. Re: changing an uri (Atle Samuelsen)
24. About the serweb login name and password (Shu-Liang Lee)
25. Re: About the serweb login name and password (lakmal(a)lankacom.net)
26. Re: How to set "local ip" for SEMS? (Ulrich Abend)
27. Re: www and proxy authentication (Klaus Darilion)
28. RE: About the serweb login name and password (Shu-Liang Lee)
----------------------------------------------------------------------
Message: 1
Date: Wed, 14 Apr 2004 12:07:43 +0200
From: CURRO_DOMINGUEZ <CURRO_DOMINGUEZ(a)terra.es>
Subject: Re: [Serusers] SER 0.8.12 and RFC
To: serusers(a)lists.iptel.org
Message-ID: <165e3198c0.198c0165e3(a)teleline.es>
Content-Type: text/plain; charset=us-ascii
Hello,
Klaus, Jan, thank you very much for your answers. Below is the list of
RFCs I'm interested in. As Klaus says, maybe some of them don't need
explicit support, because ser can route these new messages. Or maybe
there are RFCs that are not fully supported. Please, let me know if
this is the case and if it could be necessary writting a new module or
changing SER core.
By the way, can SER initiate a session release (it means, generate a
BYE) or generate a REGISTER to an application server? If not, what
would be necessary from your point of view?
Again, thank you very much for your time and knowledge. I know that
there are a lot of questions in this message, so thank you.
Curro
(These five RFCs are related to new messages, so I suppose Yes)
RFC 2976 (October 2000): "The SIP INFO method".
RFC 3262 (June 2002): "Reliability of provisional responses in Session
Initiation Protocol (SIP)".
(can SER generate PRACK, besides proxying it?)
RFC 3515 (April 2003): "The Session Initiation Protocol (SIP) REFER
method".
RFC 3311 (September 2002): "The Session Initiation Protocol (SIP)
UPDATE method".
RFC 3428 (December 2002): "Session Initiation Protocol (SIP) Extension
for Instant Messaging".
RFC 3313 (January 2003): "Private Session Initiation Protocol (SIP)
Extensions for Media Authorization".
RFC 3265 (June 2002): "Session Initiation Protocol (SIP) Specific Event
Notification".
(As far as I know, SER handles SUBSCRIBE and NOTIFY, but I want to know
whether SER can act as the subscriber to the event information, it
means, generate SUBSCRIBE)
RFC 3327 (December 2002): "Session Initiation Protocol Extension Header
Field for Registering Non-Adjacent Contacts".
RFC 3325 (November 2002): "Private Extensions to the Session Initiation
Protocol (SIP) for Network Asserted Identity within Trusted Networks".
RFC 3323 (November 2002): "A Privacy Mechanism for the Session
Initiation Protocol (SIP)".
RFC 3608 (October 2003): "Session Initiation Protocol (SIP) Extension
Header Field for Service Route Discovery During Registration".
RFC 3486 (February 2003): "Compressing the Session Initiation Protocol
(SIP)".
RFC 3455 (January 2003): "Private Header (P-Header) Extensions to the
Session Initiation Protocol (SIP) for the 3rd-Generation Partnership
Project (3GPP)".
RFC 3329 (January 2003): "Security Mechanism Agreement for the Session
Initiation Protocol (SIP)".
----- Mensaje Original -----
De: Jan Janak <jan(a)iptel.org>
Fecha: Lunes, Abril 12, 2004 10:28 pm
Asunto: Re: [Serusers] SER 0.8.12 and RFC
> There is no such list. If you need it then put together a list of RFCs
> you are interested in and we will add yes/no to each entry in the
> list.
> Jan.
>
> On 12-04 12:38, CURRO_DOMINGUEZ wrote:
> > Hello all the list
> >
> > I'm looking some information about SER at www.iptel.org but I've
> found
> > nothing. I would like to know the list of RFC that SER
> implements
> > (related to SIP or SIP extensions), besides RFC3261.
> >
> > I think it could be interesting to add this information at the
> product
> > sheet.
> >
> > Can you help me?
> >
> > Thank you very much
> >
> > Curro
> >
> >
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
------------------------------
Message: 2
Date: Wed, 14 Apr 2004 13:50:54 +0200
From: Arnd Vehling <av(a)nethead.de>
Subject: [Serusers] How to set "local ip" for SEMS?
To: SER Mailing List <serusers(a)lists.iptel.org>
Message-ID: <407D259E.1050004(a)nethead.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
is there any way to adjust the "local ip" for sems? I.E. with
a "listen=my.ip.addr.ess? Is the ip address of sems crucial
for voicemail operation?
Since i moved my ser/voicemail instance on a different ip
address from the main SER server i have probs with the voicemail
module if triggered via a "on_failure" event.
best regards,
Arnd
------------------------------
Message: 3
Date: Wed, 14 Apr 2004 17:11:43 +0200
From: Arnd Vehling <av(a)nethead.de>
Subject: Re: [Serusers] How to set "local ip" for SEMS?
To: Arnd Vehling <av(a)nethead.de>
Cc: SER Mailing List <serusers(a)lists.iptel.org>
Message-ID: <407D54AF.7090505(a)nethead.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Arnd Vehling wrote:
> is there any way to adjust the "local ip" for sems? I.E. with
> a "listen=my.ip.addr.ess? Is the ip address of sems crucial
> for voicemail operation?
"sems -d <interface>" works! I didnt found any hint how to specify
the listen address in the config-file though. Anybody?
:: Arnd ::
------------------------------
Message: 4
Date: Wed, 14 Apr 2004 19:29:07 +0530
From: santhosh <santhosh(a)integsrv.com>
Subject: [Serusers] rtp proxy problem
To: serusers(a)lists.iptel.org
Message-ID: <407D43AB.5060000(a)integsrv.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi ,
I am testing two cisco ATA behind NAT(using rtpproxy). Sometimes the
call goes perfect but suddenly it stops.Sometimes it rings but the voice
does't pass through.
The logs show error connecting to the rtpproxy.
I'm using RTPPROXY (1.19.2.10) and ser ( 0.8.12-tcp_nonb ).
My configuration file is
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/textops.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"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
route{
# compulsory processing of Route header fields and adding RR
loose_route();
# ATA's are symmetric but don't advertise it -- force use of
rport
force_rport();
fix_nated_contact();
/* registration (uses rewritten contacts) */
if (method=="REGISTER") {
save("location");
break;
};
if (method=="INVITE") {
record_route();
force_rtp_proxy();
/* set up reply processing */
t_on_reply("1");
if (method == "INVITE" || method == "CANCEL") {
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
/* set up reply processing and forward statefuly */
t_relay();
}
# all incoming replies for t_onrepli-ed transactions enter here
onreply_route[1] {
if (status=~"2[0-9][0-9]") {
fix_nated_contact();
force_rtp_proxy();
};
}
Pls help me out !
thanks in advance
santhosh
------------------------------
Message: 5
Date: Wed, 14 Apr 2004 17:26:11 +0200
From: Andreas Granig <a.granig(a)inode.at>
Subject: [Serusers] Check From-User against To-User
To: serusers(a)lists.iptel.org
Message-ID: <407D5813.4090008(a)inode.at>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I was wondering if there is a simple possibility inside ser.cfg to check
if someone is trying to call herself. Or is it only possible with
exec_msg where I could match SIP_HF_FROM against SIP_HF_TO or something
like this?
I'd need it for the vm-module to determine if someone is trying to reach
his own voice box.
Regards,
Andy
------------------------------
Message: 6
Date: Wed, 14 Apr 2004 20:16:49 +0300
From: Juha Heinanen <jh(a)tutpro.com>
Subject: [Serusers] Check From-User against To-User
To: Andreas Granig <a.granig(a)inode.at>
Cc: serusers(a)lists.iptel.org
Message-ID: <16509.29185.799782.32694(a)tutpro.com>
Content-Type: text/plain; charset=us-ascii
Andreas Granig writes:
> I'd need it for the vm-module to determine if someone is trying to
reach
> his own voice box.
i'm not sure how useful this kind of thing would be, since i would like
to user to be able to reach his/her own voice box from ANY phone. also,
the user could have several sip uris of his/her own and only one voice
box.
a better solution might be to ivr e.g. # "digit" and then get voice box
menu.
-- juha
------------------------------
Message: 7
Date: Wed, 14 Apr 2004 19:21:09 +0200
From: Atle Samuelsen <clona(a)camaro.no>
Subject: [Serusers] lookup("...")
To: serusers(a)lists.iptel.org
Message-ID: <20040414172109.GO54719(a)chuck.cyberhouse.no>
Content-Type: text/plain; charset=us-ascii
Hey Guys (And most likely No girls :( )
I'v got this scenario now :
if a user does have voicemail everything is great!. No problems. Thou,
my case is that I've got users who does not have a voicemail service,
and may disconnect from my gw.
Then when a imcoming call coms, the "caller" get's a 404 (per today).
So the way I want it to be is :
if (!lookup("location"){
(lookup("subscirber"){
log(1,"user's not online but does exist");
sl_send_reply("404", "Not found,but exists");
break;
}
log(1,"404 , user not found");
sl_send_reply("404","Not found");
break;
}
If I do it like this,the !lookup("subscriber") will fail, because it
cant do this.
How can I get this to work ?
I see 2 difrent way's of doing it.
1: Create a database with the name users, and dump all my users from
this into that database,, then have the same structure etc as I have
in the locations database..
.. As far as I see , this will be a ugly hack.
2: make a new function for this ..
How and what do you guys mean ?
Thanks for a quick answer :)
You guys are REALLY helpful both night and day.
- Atle
------------------------------
Message: 8
Date: Wed, 14 Apr 2004 11:27:25 -0700 (PDT)
From: R <mypop3mail(a)yahoo.com>
Subject: Re: [Serusers] number reader
To: Raphael Coeffic <rco(a)iptel.org>
Cc: serusers(a)lists.iptel.org
Message-ID: <20040414182725.20534.qmail(a)web20109.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Thanks Raphael,
It looks like action rewriteuser() can be used to
replace the called number. Is there a caller' number
variable exported, so I can replace the number?
Regards,
Richard
--- Raphael Coeffic <rco(a)iptel.org> wrote:
> Hello Richard,
>
> The behavior you report is normal. That means, it is
> not a problem but the
> main feature of the module. If you want number
> reader to read the caller's
> number, you should try to modify the module's code
> by yourself so that it
> fits your needs (it is really easy if you can
> understand c++ code).
>
> -Raphael.
>
> ----- Original Message -----
> From: "R" <mypop3mail(a)yahoo.com>
> To: <serusers(a)lists.iptel.org>
> Sent: Wednesday, April 14, 2004 5:23 AM
> Subject: [Serusers] number reader
>
>
> > Hi,
> >
> > I have ser 0.8.12 with sems 2004/01/04 on Fedora
> core
> > 1. The number reader only reads the calling
> number,
> > not the caller's number. Anyone had this problem
> > before?
> >
> > Thanks,
> > Richard
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online by April 15th
> > http://taxes.yahoo.com/filing.html
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
------------------------------
Message: 9
Date: Wed, 14 Apr 2004 11:32:11 -0700 (PDT)
From: Ashok Patel <ashokpatel(a)yahoo.com>
Subject: [Serusers] Cisco ATA 186 adapter Firmware (SIP)
To: serusers(a)lists.iptel.org
Message-ID: <20040414183211.2126.qmail(a)web40403.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hi SER folks. I want to upgrade firmware on my cisco
ATA 186 adapter from current version SIP v3.0 to v3.1
(or any latest SIP version available as of today).
Does anybody know which web site provides ATA cisco
186 adapter firmware updrade version 3.1 (SIP).
Currently I have SIP version 3.0 and I want to upgdare
it to 3.1 or whatever is most recent version
available. Please provide me some information about
firmware version 3.1. at my e-mail address:
ashokpatel(a)yahoo.com .
Thanks in advance.
-Ashok Patel
ashokpatel(a)yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
------------------------------
Message: 10
Date: Wed, 14 Apr 2004 22:12:48 +0300
From: Maxim Sobolev <sobomax(a)portaone.com>
Subject: [Serusers] New bugfix version of radiusclient library (0.4.2)
To: serusers(a)lists.iptel.org
Cc: Sergei Golod <rover(a)tob.ru>, Juha Heinanen <jh(a)tutpro.com>
Message-ID: <407D8D30.4050506(a)portaone.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I've just released the 0.4.2 version of radiusclient library. Main
changes since 0.4.1 include:
- Some changes from Debian have been merged in (suggested by Sergei
Golod <rover(a)tob.ru>):
+ IPv6 attributes added into generic dictionary and radiusclient.h;
+ fixed a bug preventing from using more than one Radius server in
fall-back scenario.
- Restored historoc behaviour when in the absence of explicit bindaddr
option in the config file operating system is trusted to assign
source
IP address to outgoing UDP packets according to its routing table.
Previously in 0.4.x series address rerutned by
gethostbyhane(hostname())
was forced as source IP address for all outgoing UDP packets. The
same
behaviour can be ontained by specifying `bindaddr: *'
(Problem reported by Juha Heinanen <jh(a)tutpro.com>, patch by
sobomax).
- Added new API function: rc_avpair_log, which allows to create
pretty-print representation of full radius request or response
(sobomax).
- Extended dictionary parser so that now it is possible to use comments
at the end of the configuration lines (Jan Janak <jan(a)iptel.org>).
The new version is 100% API/ABI compatible with the old one. It can be
downloaded at
http://developer.berlios.de/project/showfiles.php?group_id=1208.
As usually bug reports and suggestions are highly appreciated.
Enjoy!
-Maxim
------------------------------
Message: 11
Date: Wed, 14 Apr 2004 15:17:57 -0400
From: Chris Bookholt <cgbookho(a)ncsu.edu>
Subject: [Serusers] DB Authentication Issues (Continued)
To: serusers(a)lists.iptel.org
Message-ID: <407D8E65.1030504(a)ncsu.edu>
Content-Type: text/plain; charset=us-ascii
After much head scratching and experimentation I found a light at the
end of the tunnel. The problem is I'm stuck in the tunnel and don't
seem to be getting anywhere near the light.
I've got SER running on a RH7.3 box (IP 10.3.5.1) with pretty much
default config (see ser.cfg below). There are two clients running MSN
Messenger 4.6. One client is running WinXP (IP 10.3.5.2) and the other
is running Win2k (IP 10.3.5.3). The builds of Messenger are 4.6.0073
(for XP) and 4.6.0083 (for 2k). Both MSN clients are pointed at
10.3.5.1 for their "Communication Service."
When logging in, the XP client gets a password prompt as it should and
can login using the proper password.
However, when logging in from the Win2k client, as soon as I click to
sign in, an error message appears saying "Signing in to Communications
Service failed because the service is temporarily unavailable. Please
try again later."
Here's the ngrep output:
-------------------------
]root(a)10.3.5.1]# ngrep -qd eth0 src 10.3.5.1 or src 10.3.5.3 or dst
10.3.5.1 or dst 10.3.5.3
U 10.3.5.3:1133 -> 10.3.5.1:5060
REGISTER sip:team3 SIP/2.0..Via: SIP/2.0/UDP
10.3.5.3:10829..Max-Forwards:
70..From:
<sip:admin@team3>;tag=ff832bee93744680bca56666ad7c9e0a;epid=0d50f
b3ca3..To: <sip:admin@team3>..Call-ID:
e85f11868c82477da20e852a4cb223d9@10.
3.5.3..CSeq: 1 REGISTER..Contact:
<sip:10.3.5.3:10829>;methods="INVITE, MES
SAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK,
REFER"..User-Agen
t: RTC/1.2.4949..Event: registration..Allow-Events:
presence..Content-Lengt
h: 0....
U 10.3.5.1:5060 -> 10.3.5.3:10829
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 10.3.5.3:10829..From:
<sip:admin
@team3>;tag=ff832bee93744680bca56666ad7c9e0a;epid=0d50fb3ca3..To:
<sip:admi
n@team3>;tag=b27e1a1d33761e85846fc98f5f3a7e58.6d83..Call-ID:
e85f11868c8247
7da20e852a4cb223d9@10.3.5.3..CSeq: 1 REGISTER..WWW-Authenticate:
Digest rea
lm="team3", nonce="407d8acfa56dbcb713c69e56e85c6a8280e2d02d"..Server:
Sip E
Xpress router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392
10.3.5
.1:5060 "Noisy feedback tells: pid=15189 req_src_ip=10.3.5.3
req_src_port=
1133 in_uri=sip:team3 out_uri=sip:team3 via_cnt==1"....
-------------------------
My interpretation is that SER is just saying "Access denied," but I
never got a chance to input a password.
The real mystery is that it works properly from my WinXP client. I've
matched all the settings that I can find. I even tried changing the IP
address of the Win2k client to that of the WinXP client and trying to
login with the same username that worked on the XP client. Still I get
the same service temp. unavailable message. I've also tried
uninstalling/reinstalling Messenger 4.6 on the Win2k clients, but that
didn't change anything either.
Am I doing something obviously wrong? I would *really* appreciate any
guidance or ideas. I'm pretty much at wits end.
Best Regards
-Chris
Here's my ser.cfg for good measure...
-------------------------
#
# $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=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"
alias="team3"
# ------------------ 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)
# -- 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("team3", "subscriber")) {
www_challenge("team3", "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();
};
}
------------------------------
Message: 12
Date: Wed, 14 Apr 2004 21:28:52 +0200
From: Jan Janak <jan(a)iptel.org>
Subject: Re: [Serusers] DB Authentication Issues (Continued)
To: Chris Bookholt <cgbookho(a)ncsu.edu>
Cc: serusers(a)lists.iptel.org, jh(a)tutpro.com
Message-ID: <20040414192852.GJ904(a)localhost.localdomain>
Content-Type: text/plain; charset=iso-8859-2
On 14-04 15:17, Chris Bookholt wrote:
> After much head scratching and experimentation I found a light at the
end of the tunnel. The problem is I'm stuck in the tunnel and don't
seem to be getting anywhere near the light.
Stay away from the light ! It's not that bad on this side :-).
> I've got SER running on a RH7.3 box (IP 10.3.5.1) with pretty much
default config (see ser.cfg below). There are two clients running MSN
Messenger 4.6. One client is running WinXP (IP 10.3.5.2) and the other
is running Win2k (IP 10.3.5.3). The builds of Messenger are 4.6.0073
(for XP) and 4.6.0083 (for 2k). Both MSN clients are pointed at
10.3.5.1 for their "Communication Service."
>
> When logging in, the XP client gets a password prompt as it should and
can login using the proper password.
>
> However, when logging in from the Win2k client, as soon as I click to
sign in, an error message appears saying "Signing in to Communications
Service failed because the service is temporarily unavailable. Please
try again later."
>
> Here's the ngrep output:
> -------------------------
> ]root(a)10.3.5.1]# ngrep -qd eth0 src 10.3.5.1 or src 10.3.5.3 or dst
10.3.5.1 or dst 10.3.5.3
>
> U 10.3.5.3:1133 -> 10.3.5.1:5060
> REGISTER sip:team3 SIP/2.0..Via: SIP/2.0/UDP
10.3.5.3:10829..Max-Forwards:
> 70..From:
<sip:admin@team3>;tag=ff832bee93744680bca56666ad7c9e0a;epid=0d50f
> b3ca3..To: <sip:admin@team3>..Call-ID:
e85f11868c82477da20e852a4cb223d9@10.
> 3.5.3..CSeq: 1 REGISTER..Contact:
<sip:10.3.5.3:10829>;methods="INVITE, MES
> SAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK,
REFER"..User-Agen
> t: RTC/1.2.4949..Event: registration..Allow-Events:
presence..Content-Lengt
> h: 0....
>
> U 10.3.5.1:5060 -> 10.3.5.3:10829
> SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 10.3.5.3:10829..From:
<sip:admin
> @team3>;tag=ff832bee93744680bca56666ad7c9e0a;epid=0d50fb3ca3..To:
<sip:admi
> n@team3>;tag=b27e1a1d33761e85846fc98f5f3a7e58.6d83..Call-ID:
e85f11868c8247
> 7da20e852a4cb223d9@10.3.5.3..CSeq: 1 REGISTER..WWW-Authenticate:
Digest rea
> lm="team3",
nonce="407d8acfa56dbcb713c69e56e85c6a8280e2d02d"..Server: Sip E
> Xpress router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392
10.3.5
> .1:5060 "Noisy feedback tells: pid=15189 req_src_ip=10.3.5.3
req_src_port=
> 1133 in_uri=sip:team3 out_uri=sip:team3 via_cnt==1"....
> -------------------------
>
> My interpretation is that SER is just saying "Access denied," but I
never got a chance to input a password.
The messages are correct -- Windows messenger sends a REGISTER message
without digest credentials and SER says 401 Unauthorized (because the
credentials are missing). As the next step Windows Messenger is
supposed to ask you for username and password and re-send the
REGISTER, this time including digest credentials.
> The real mystery is that it works properly from my WinXP client. I've
matched all the settings that I can find. I even tried changing the IP
address of the Win2k client to that of the WinXP client and trying to
login with the same username that worked on the XP client. Still I get
the same service temp. unavailable message. I've also tried
uninstalling/reinstalling Messenger 4.6 on the Win2k clients, but that
didn't change anything either.
Windows messenger does not like when the digest realm is different from
To/From domain, this does not seem to be the case here, but I would
recommend you to try some real domain -- with dot inside, for example
team3.com.
If this does not help, then try to uninstall Windows Messenger and make
sure that you also uninstall all libraries (RTC ?) it is using, then
try to install exactly the same version as on WinXP (if possible).
I remember that some time ago somebody (Juha ?) told me that it is
possible to change some value in the register to disable the realm
validation, maybe this would be worth trying (I do not know more
details).
Jan.
------------------------------
Message: 13
Date: Wed, 14 Apr 2004 16:27:39 -0400
From: Chris Bookholt <cgbookho(a)ncsu.edu>
Subject: Re: [Serusers] DB Authentication Issues (The Pain Continues)
To: serusers(a)lists.iptel.org
Message-ID: <407D9EBB.7080508(a)ncsu.edu>
Content-Type: text/plain; charset=us-ascii
Jan Janak wrote:
> Windows messenger does not like when the digest realm is different
from
> To/From domain, this does not seem to be the case here, but I would
> recommend you to try some real domain -- with dot inside, for example
> team3.com.
I created a domain in DNS called team3. In that domain all my hosts are
called "host.team3"
So now in my MSN configs, my SER server is referenced as popov.team3 and
I login as admin(a)popov.team3.
Unfortunately, this produces the same result as before: the XP client
gets in, but the 2K client never prompts for a password. You think it's
because my "TLD" has four chars instead of three?
>
> If this does not help, then try to uninstall Windows Messenger and
make
> sure that you also uninstall all libraries (RTC ?) it is using, then
> try to install exactly the same version as on WinXP (if possible).
I do suspect that not all bits of MSN are being uninstalled because when
I reinstalled, it remembered the IP address of the SER server. Any clue
how to uninstall those libraries?
Also, it is not possible to install the exact same version on 2K and XP.
I tried earlier and it complained that the XP version is only for
systems running XP.
-Chris
------------------------------
Message: 14
Date: Wed, 14 Apr 2004 16:49:28 -0400
From: Chris Bookholt <cgbookho(a)ncsu.edu>
Subject: Re: [Serusers] DB Authentication Issues (The Pain Continues)
To: serusers(a)lists.iptel.org
Message-ID: <407DA3D8.1000902(a)ncsu.edu>
Content-Type: text/plain; charset=us-ascii
Chris Bookholt wrote:
> Unfortunately, this produces the same result as before: the XP client
gets in, but the 2K client never prompts for a password. You think it's
because my "TLD" has four chars instead of three?
I just tried making my domain "team3.com" but the problem persists.
-Chris
------------------------------
Message: 15
Date: Wed, 14 Apr 2004 14:27:02 -0700 (PDT)
From: Andy Pyles <apyles(a)wilds.homeunix.com>
Subject: [Serusers] rtp proxy recommendations?
To: serusers(a)lists.iptel.org
Message-ID: <Pine.LNX.4.58.0404141420370.8393(a)samwise.homeunix.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi, I'd like to get some recommendations from other users what the best
option for an rtp proxy to use. From what I have seen the options are:
1.) Ser MEDIA proxy
2.) rtpproxy
3.) asterisk ( perhaps with some slight modifications )
What are people using? and any insight would be helpful, as to which
model seems to work the best.
regards,
Andy
------------------------------
Message: 16
Date: Wed, 14 Apr 2004 16:10:14 -0700 (PDT)
From: R <mypop3mail(a)yahoo.com>
Subject: [Serusers] www and proxy authentication
To: serusers(a)lists.iptel.org
Message-ID: <20040414231014.44421.qmail(a)web20108.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hi,
I am using x-lite softphone. If I put the non-existing
"username", it doesn't allow me to login because if it
fails www_challenge. However if I still have the
correct "authentication user", I can still pass
proxy_challenge and make the call even though the
<from> field has the wrong address. Do it mean someone
can appear to be another caller or non-existing caller
to make the call? Is this normal according to RFC or
ser?
Thanks,
Richard
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
------------------------------
Message: 17
Date: Thu, 15 Apr 2004 08:29:26 +0800
From: "Shu-Liang Lee" <shuliang(a)ms8.hinet.net>
Subject: [Serusers] RE: SER response - status: 483 Too Many Hop
To: "'Klaus Darilion'" <klaus.mailinglists(a)pernau.at>
Cc: 'Serusers' <serusers(a)lists.iptel.org>
Message-ID: <000001c42280$c067e890$b24012ac@swift>
Content-Type: text/plain; charset="US-ASCII"
Thanks Klaus, I got it....^^
BTY, I try to install the serweb, but the DB.php can not found in
main_prepend.php
When I connent to the local website
http://172.18.64.175/serweb/admin/index.php
The page show
Fatal error: Failed opening required 'DB.php' (include_path='') in
/var/www/html/serweb/main_prepend.php on line 32
May I ask who provide the DB.php? How do I do now...thanks in advanced.
Regards,
ShuLiang
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: Friday, April 09, 2004 3:42 PM
To: Shu-Liang Lee
Cc: 'Serusers'
Subject: Re: SER response - status: 483 Too Many Hop
That's propably a domain matching problem. Take a look in to
documentation:
http://iptel.org/ser/doc/seruser/seruser.html#AEN1039
klaus
Shu-Liang Lee wrote:
> Dear sir:
>
> I register to the SER, and the ser return 483 Too Many Hop?
>
> How do I do? Does any configuration that I set incorrect?
>
> Regards,
> ShuLiang
>
>
>
------------------------------
Message: 18
Date: Thu, 15 Apr 2004 09:11:23 +0800
From: "wangji" <wangji(a)bjut.edu.cn>
Subject: [Serusers] how to found SER server works like two local
exchanges
To: <serusers(a)lists.iptel.org>
Message-ID: <281990946.27768(a)bjpu.edu.cn>
Content-Type: text/plain; charset="gb2312"
Hi all,
The SIP phones on the Ser server have two different define:
Exchange 1: number is like 61691xxx
as caller:
when it calls to PSTN, dialing 0+PSTN number
when it calls to 6169xxxx(expect 61691xxx), dialing 0+6169xxxx
when it calls to 61691xxx, dialing only 1xxx
as callee:
wher PSTN and 6169xxxx(expect 61691xxx) calls, dialing 61691xxx
when 61691xxx calls, dialing 1xxx
Exchange 2: number is like 6169xxxx(expect 61691xxx)
as caller:
call callee's number
as callee:
wher PSTN and 6169xxxx(expect 61691xxx) calls, dialing 6169xxxx
when 61691xxx calls, dialing 0+6169xxxx
Using prefix() and rewriteuser() to make call mabye cause call-leg can
not find.
How to do that?
Br,
Wangji
Hello,
I am using the latest version of the SER (i.e. 0.8.12). I have also
installed MySQL and created the tables (using the ser_mysql.sh file). But
when I restart the SER, I get an error saying bad configuration file (5
errors). I am using the default configuration file with all the SQL module
lines uncommented. Is there some thing that I need to configure apart from
this for SER To use MySql? When I disable the SQL option, it works.
Thanks
Santosh
Here is the configuration 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=3 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (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=~"^sip:[0-9]*@63.96.9.45") {
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();
};
}
Hi,
I have SER running. I noticed that on 2 occations a user by the id
<sip:controller@iptel.org> calling me. When I accepted the call nobody
talks, but the connection is established. Is this sort of a routine
checkup or something by iptel.org?
Regards,
Lakmal
Lankacom Services (Pvt) Ltd.
65C, Dharmapala Mawatha,
Colombo 07.
Sri Lanka.
Tel: +94-1-437545
www.lankacom.net
We have 4 computers in LAN, one serving as a
server(192.168.0.1), it runs on windows platform( I
would like it to use linux, but I an not in charge of
this); I installed ser on a computer(192.168.0.4)
successfully. I don't know how to configure DNS SVR
rr, but I guess it must be configured in the computer
192.168.0.1(server), not in the computer running ser.
When I use messenger 4.6 on another computer in the
LAN to login to ser, but it requires me to enter
username and password, since I haven't installed MySQL
on the computer, I don't know how to add a user to
ser. and is there a way that the client need not
login.( need not to enter the username and password)
_________________________________________________________
Do You Yahoo!?
惠普TT游戏剧,玩游戏,中大奖!
http://cn.rd.yahoo.com/mail_cn/tag/SIG=1402c0to2/**http%3A%2F%2Fhp.allyes.c…