On Feb 11, 2004 at 16:06, Jan Knoppers <knoppers(a)astent.nl> wrote:
>
> Hi,
>
> A while back I reported a problem with SER given a memory allocation
> failure. At that time we were still using SER 0.8.11. Early this week we
> repeated our test with 0.8.12. Unfortunately the problem is still there.
> Below you will see the error output.
>
> Although we initially believed SER to crash, this is not the case, so we
> cannot send you a coredump.
>
> Below you will find the error output. In this example we force SER to
> listen to 2 interfaces by specifying the respective IP addresses in the
> ser.cfg file. As you see we get 2 "memory allocation failure" error
> messages. If we increase the number of interfaces to say 5, we also get
> 5 of these "memory allocation failure" error messages.
>
> The server has a very large number of ppp interfaces defined (several
> thousands). This is the source that brings the error to the surface. If
> we decrease this number to a much lower figure, say 30, the problem is
> gone. We believe the problem to be in main.c and that malloc is given
> error message.
>
> Because of this problem, SER fails to function on our server.
>
> Could you take a look into this matter?
>
What it probably happens is ser doesn't have enough space to hold the
list of interfaces array, when it tries to enumerate all the interfaces.
Try to increase PKG_MEM_POOL_SIZE in config.h. Its default value is 1MB
and all ser local (per process, not shared) memory allocations cannot
exceed it.
Andrei
Hi,
I dont know if this is already present or even if it is valid. SER is a
router so is there a way that voice packets get priorty over other packets
between the two devices that are registered on the SIP server? I know that
the SIP server does not work with the RTP packet but when a user is trying
to invite a new user for a conversation is there a way for ser to determine
whether the network available at that time will allow the voice packets to
reach destination without distortion. Would like to know your insight on
this.
Thanks,
Annie
Hi all,
I am trying to update a batch using the "source" command to generate the
"serctl" command to update the database. But each time the command execute
one line of command I am being prompt the password, is there anyway I can
disable the password for the root user or prefix. Please help.......thanks.
Regards,
Shirley
Hi,
has anyone tried SIP over GPRS yet and can say something
about which voice-quality is or is not possible?
I would love to test this but thought i ask before investing
into the neccessary Hardware.
best regards,
Arnd
> Hi Bogdan,
>
> You are right about the lookup issue.
> Now the script is uploaded successfully.
>
> Many thanks,
> Toni
>
>
> -----Original Message-----
> From: Bogdan-Andrei IANCU [mailto:iancu@fokus.fraunhofer.de]
> Sent: terça-feira, 10 de Fevereiro de 2004 18:02
> To: Toni Barata
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] CPL tags problem
>
>
> Hi Toni,
>
> Your CPL script is wrong - some attributes are broken.
> Here is what SER reports when trying to upload the script:
> 2(15675) DEBUG:cpl-c:load_file: file size = 635
> 2(15675) WARNING:cpl_c:encode_lookup_attr: unsupported param TIMEOUT;
> skipping
> 2(15675) ERROR:cpl_c:encode_location_attr: unsupported value
> <sip:crear02> in SOURCE param
> 2(15675) ERROR:cpl-c:encodeCPL: Encoding of the CPL script failed
>
> The only value that is supported in lookup node is "registration" - as
> you used in the first lookup node. If you whant to add just a SIP
> address, use location tag.
> Looking into SER logs is very usefull for finding the reason for upload
> failure.
>
> Regards,
> Bogdan
>
>
> Toni Barata wrote:
>
> > Hi Bogdan,
> >
> > Yes, we get the errors when uploading the script.
> > See the script file we are trying to upload (using cpled)in attach.
> >
> > Thanks,
> > Toni
> >
> >
> >
> > -----Original Message-----
> > From: Bogdan-Andrei IANCU [mailto:iancu@fokus.fraunhofer.de]
> > Sent: terça-feira, 10 de Fevereiro de 2004 17:22
> > To: Toni Barata
> > Cc: serusers(a)lists.iptel.org
> > Subject: Re: [Serusers] CPL tags problem
> >
> >
> > Hi Toni,
> >
> > "otherwise" is a subtag of a multiple tag, like address-switch,
> > language-switch, and other switch nodes. Both the otherwise subtag and
> > lookup tag where successfully used.
> > Do you get error when uploading the script or when running it?
> > Some output will be very useful to trace down your problem. Use debug=9
> > into your config script to enable full debug.
> >
> > Best regards,
> > Bogdan
> >
> > Toni Barata wrote:
> >
> > > Hi All,
> > >
> > > We are using the CPL module by uploading the CPL scripts with the
> > > CPLed tool.
> > > But we are experiencing some problems (errors) when using the
> "lookup"
> > > and the "otherwise" tags.
> > > And what is the most strange is that the problem with the "lookup"
> tag
> > > is happening in one PC and the "otherwise" problem in other PC and
> > > they are both pointing to the same DTD location.
> > >
> > > Anyone could help us with this issue? did someone used this tags
> > > together on a successfuly uploaded script?
> > >
> > > Best Regards,
> > > Toni
> > >
> >
> >------------------------------------------------------------------------
> > >
> > >_______________________________________________
> > >Serusers mailing list
> > >serusers(a)lists.iptel.org
> > >http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> >
> >
> >
>
Hi
I have build a sip environment
one pc A(red hat 9) as gateway , only enable NAT , and install ser with nathelper
notebook B get ip from pc A , register to PC A's public IP
notebook C is public and register SIP to pc A's public IP
+-------------------+
| PC C (Msn) |
+-------------------+
|
| Internet
|
+----------------------------------------+
| Gateway / NAT |
| Ser with Nathelper |
| PC A |
+----------------------------------------+
|
| Intranet
|
+-------------------------------------+
| PC B (Kphone 3.14) |
+-------------------------------------+
B call C , then C pick up the call , but voice from B to C can work , C's voice can't make it
My question is Nathelper this module is now only for Cisco is Sip ... ? and is this module need
STUN server ?
Now , for ser , how to solve NAT/Firewall 's problem ? or it's service provider's issue ?
Thanks
Jimmy
Hello all,
Our customer wants to use Windows messenger for his staff.
We don't want to use Microsoft server so we decided to try SER.
I have installed SER 0.8.12 from deb package on Linux (Debian Woody 2.4.18).
But I'm SER beginner and I'm not able to login to server with Windows Messenger 5.0
I always got timeout at the end. Here is start and the end of dump from ngrep.
#
U 10.1.22.235:1655 -> 10.1.22.237:5060
REGISTER sip:email.cz SIP/2.0..Via: SIP/2.0/UDP 10.1.22.235:9868..Max-Forwa
rds: 70..From: <sip:msy@email.cz>;tag=cef1e2e367de4afe826adbda2eff8952;epid
=be8270f04c..To: <sip:msy@email.cz>..Call-ID: a73f0f8743274cb09fe02d0a4cfee
6a0@10.1.22.235..CSeq: 1 REGISTER..Contact: <sip:10.1.22.235:9868>;methods=
"INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER
"..User-Agent: RTC/1.2.4949 (Messenger 5.0.0468)..Event: registration..Allo
w-Events: presence..Content-Length: 0....
#
U 10.1.22.237:5060 -> 62.168.57.98:5060
REGISTER sip:email.cz SIP/2.0..Record-Route: <sip:10.1.22.237;ftag=cef1e2e3
67de4afe826adbda2eff8952;lr=on>..Via: SIP/2.0/UDP 10.1.22.237;branch=z9hG4b
Ka645.750257f2.0..Via: SIP/2.0/UDP 10.1.22.235:9868..Max-Forwards: 69..From
: <sip:msy@email.cz>;tag=cef1e2e367de4afe826adbda2eff8952;epid=be8270f04c..
To: <sip:msy@email.cz>..Call-ID: a73f0f8743274cb09fe02d0a4cfee6a0(a)10.1.22.2
35..CSeq: 1 REGISTER..Contact: <sip:10.1.22.235:9868>;methods="INVITE, MESS
AGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER"..User-Agent
: RTC/1.2.4949 (Messenger 5.0.0468)..Event: registration..Allow-Events: pre
sence..Content-Length: 0....
#
.
.
.
.
U 10.1.22.235:1655 -> 10.1.22.237:5060
REGISTER sip:email.cz SIP/2.0..Via: SIP/2.0/UDP 10.1.22.235:9868..Max-Forwa
rds: 70..From: <sip:msy@email.cz>;tag=cef1e2e367de4afe826adbda2eff8952;epid
=be8270f04c..To: <sip:msy@email.cz>..Call-ID: a73f0f8743274cb09fe02d0a4cfee
6a0@10.1.22.235..CSeq: 1 REGISTER..Contact: <sip:10.1.22.235:9868>;methods=
"INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER
"..User-Agent: RTC/1.2.4949 (Messenger 5.0.0468)..Event: registration..Allo
w-Events: presence..Content-Length: 0....
#
U 10.1.22.237:5060 -> 10.1.22.235:9868
SIP/2.0 408 Request Timeout..Via: SIP/2.0/UDP 10.1.22.235:9868..From: <sip:
msy(a)email.cz>;tag=cef1e2e367de4afe826adbda2eff8952;epid=be8270f04c..To: <si
p:msy@email.cz>;tag=f70086115dfc0ccbb87e970f7d6e0b55-02c3..Call-ID: a73f0f8
743274cb09fe02d0a4cfee6a0@10.1.22.235..CSeq: 1 REGISTER..Server: Sip EXpres
s router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392 10.1.22.237
:5060 "Noisy feedback tells: pid=10782 req_src_ip=10.1.22.235 req_src_port
=1655 in_uri=sip:email.cz out_uri=sip:email.cz via_cnt==0"....
exit
Here is my ser.cfg file (configured according to SER HOWTO)
-----------------------------------------------------------
debug=3
fork=no
log_stderror=yes
listen=10.1.22.237
listen=127.0.0.1
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 ----------------------------------
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 ---------------
modparam("usrloc", "db_mode", 2)
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
route{
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;
};
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
if (uri=~"10\.1\.22\.237") {
if (method=="REGISTER") {
if (!www_authorize("10.1.22.237", "subscriber")) {
www_challenge("10.1.22.237", "0");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
if (!t_relay()) {
sl_reply_error();
};
}
-----------------------------------------------------------
I have read in this mailing list about problems with Windows messenger 5.0
but I hope that login to server should be possible. Can someone give me any
simple example how to configure SER for Win messenger client?
I would like try older Windows Messanger version but I'm not able to
find it on the web.
Thanks
Mirek
________________________________________________________________________________
Objevte kouzlo digitální fotografie s fotoaparáty Hewlett-Packard. V Albico internetovém obchodu Vás čeká dobrý nákup! http://www.email.cz/aio
Hi Bogdan,
Yes, we get the errors when uploading the script.
See the script file we are trying to upload (using cpled)in attach.
Thanks,
Toni
-----Original Message-----
From: Bogdan-Andrei IANCU [mailto:iancu@fokus.fraunhofer.de]
Sent: terça-feira, 10 de Fevereiro de 2004 17:22
To: Toni Barata
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] CPL tags problem
Hi Toni,
"otherwise" is a subtag of a multiple tag, like address-switch,
language-switch, and other switch nodes. Both the otherwise subtag and
lookup tag where successfully used.
Do you get error when uploading the script or when running it?
Some output will be very useful to trace down your problem. Use debug=9
into your config script to enable full debug.
Best regards,
Bogdan
Toni Barata wrote:
> Hi All,
>
> We are using the CPL module by uploading the CPL scripts with the
> CPLed tool.
> But we are experiencing some problems (errors) when using the "lookup"
> and the "otherwise" tags.
> And what is the most strange is that the problem with the "lookup" tag
> is happening in one PC and the "otherwise" problem in other PC and
> they are both pointing to the same DTD location.
>
> Anyone could help us with this issue? did someone used this tags
> together on a successfuly uploaded script?
>
> Best Regards,
> Toni
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>