Make modules fails on registrar with the following error message(s):
sip_msg.h:75: parse error before "cparam_t"
sip_msg.h:83: parse error before '*' token
Can you fix this (or let me know how to fix it)?
thanks
Stephan
--
Stephan Reiff-Marganiec
Research Fellow
Department of Computing Science; University of Stirling
email: srm(a)cs.stir.ac.uk tel: 01786 46 7448
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
I just updated ser from cvs and encounter the problem that ser will no
longer start.
I have my own module and a function (exec_pol) in that is started from
ser.cfg in the route block.
This used to work fine, but since the latest update from ser, ser just
terminates saying "Parse Error: Command cannot be used in the block".
I got this message after make all, make install and trying to start ser. I
then realised that my module was not compiled anew because the find_export
function now has more arguments (the NO_SCRIPT on, which it didn't need
before). Having fixed this, things compile fine, but the error persists
and I cannot start ser.
Have I overseen an important change??
thanks,
Stephan
--
Dr Stephan Reiff-Marganiec
Research Fellow
Department of Computing Science; University of Stirling
email: srm(a)cs.stir.ac.uk tel: 01786 46 7448
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
Hello,
On 26-03 14:00, Valery Shampal wrote:
> Hi, Jan
>
> Thank you very much indeed.
> So quick answer :-)
>
> As from the page http://www.iptel.org/ser/ under SIP Express Router (ser)
> topic
>
> ========================================================================
> Technical Information:
>
> C-Written. Ported to Linux (PC, IPAQ), BSD (PC) and Solaris (Sun).
> Throughput thousands of calls per second (CPS) on a dual-CPU PC (capacity
> needed to cover Bay Area) and hundreds of CPS on Compaq IPAQ. Support for
> both IPv4 and IPv6. Small footprint size: 300k core, all common modules
> (optional) up to 630k.
> ========================================================================
>
> A dual CPU Pc is mentioned. This was a "trigger" to ask the questions.
Yes, we use a dual Athlon CPU for performance measurements. On this HW
ser with simple configuration is able to do ~ 5000 CPS. The 5k CPS are
stateful, stateless ser could do more.
> We will use it within some Test-Demo Lab along with Hammer, Hammer ST and
> PacketSphere
> products from Empirix (http://www.empirix.com). We are their value added
> distributors here in Israel.
Unfortunately I don't know the products.
> So it might be thousands calls over IP in this Lab. As I understood from
> your answer, there are no
> firm limitations on PC hardware. In other words, one with 450MGhz CPU and
> 512MB
> physical memory might be enough. Am I right?
>
No, there is no HW manufacturer limitation. HW configuration really
depends a lot on the test scenarios. If you are going to have many
concurrent transactions, you will need at least 4 kB of memory per
transaction. So if you know duration of the transactions you can
easily calculate how fast you will run out of memory.
If you are going to use user location and will have many users
registered simultaneously, you will need some additional memory for
user location records (~2kB per record).
Our tests showed that usually memory is the bottleneck. The more
memory you have the longer your tests can run.
> So what about a dual CPU above?
That's a machine we use for testing.
Could you, please, provide us with more information regarding the
testing ? We are also interested in such testing (especially if
you can generate really high number of CPS or messages per
second). Maybe we could provide you with some ser optimizations so
both sides could benefit from it.
Jan.
Dear friends,
We are going to use this product.
I would like to know what version of Linux RedHat on Intel PC is
supported and what hardware is recommended: CPU, Memory, disk, etc.
Thank you very much in advance.
Regards,
Valery
Valery Shampal, MIS Manager
Negev Software Industries, Ltd.
+972-53-987211 mobile
+972-3-5331976 ext. 211
+972-3-5332371 fax
mailto:valery.shampal@nsi.co.il http://www.nsi.co.il
Take a look at
http://snad.ncsl.nist.gov/proj/iptel/
regards,
klaus
-----Original Message-----
From: gooty sreedharreddy [mailto:gsreddy_4c@yahoo.com]
Sent: Wednesday, March 26, 2003 10:51 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Any java example SIP server is there ....?
Hi everybody,
we want to develop a SIP server. We downloaded SER from iptel.org. But
which is only for linux/solaris. Is there any server for windows. And we
want develop it using java. Is there any SIP server using java.
Please help me out.
cheers
sreedhar reddy g
_____
Do you Yahoo!?
Yahoo!
<http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash
.html> Platinum - Watch CBS' NCAA March Madness, live
<http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash
.html> on your desktop!
You have to be root to "make install"!
Klaus
-----Original Message-----
From: vijay [mailto:vktiruveedula@foreseeinfo.com]
Sent: Wednesday, March 26, 2003 11:24 AM
To: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Any java example SIP server is there ....?
Hi,
i am getting the following error when i tried to build SER in linux.
sh-2.05$ pwd
/usr/vijay/ser/sip_router
sh-2.05$ make install
some output here...
make[1]: Entering directory `/usr/vijay/ser/sip_router/modules/vm'
make[1]: `vm_mod.so' is up to date.
make[1]: Leaving directory `/usr/vijay/ser/sip_router/modules/vm'
mkdir -p /usr/local/etc/ser/
mkdir: cannot create directory `/usr/local/etc/ser': Permission denied
make: *** [/usr/local/etc/ser] Error 1
what may be the error ?
Plz help me...
regrds
vijay
----- Original Message -----
From: Klaus Darilion <mailto:darilion@ict.tuwien.ac.at>
To: gooty sreedharreddy <mailto:gsreddy_4c@yahoo.com> ;
serusers(a)lists.iptel.org
Sent: Wednesday, March 26, 2003 3:26 PM
Subject: RE: [Serusers] Any java example SIP server is there ....?
Take a look at
http://snad.ncsl.nist.gov/proj/iptel/
regards,
klaus
-----Original Message-----
From: gooty sreedharreddy [mailto:gsreddy_4c@yahoo.com]
Sent: Wednesday, March 26, 2003 10:51 AM
To: serusers(a)lists.iptel.org
Subject: [Serusers] Any java example SIP server is there ....?
Hi everybody,
we want to develop a SIP server. We downloaded SER from iptel.org. But
which is only for linux/solaris. Is there any server for windows. And we
want develop it using java. Is there any SIP server using java.
Please help me out.
cheers
sreedhar reddy g
_____
Do you Yahoo!?
Yahoo!
<http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash
.html> Platinum - Watch CBS' NCAA March Madness, live
<http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash
.html> on your desktop!
Hi everybody,
we want to develop a SIP server. We downloaded SER from iptel.org. But which is only for linux/solaris. Is there any server for windows. And we want develop it using java. Is there any SIP server using java.
Please help me out.
cheers
sreedhar reddy g
---------------------------------
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
Hi,
we have our own Instant Messenger. Now we want to make our IM users to talk to other users by using SIP. We have downloaded SER. But unable to go a step forward also. And am using windows platform.
1.Is it possible to make it work on windows? If yes how.
2.Our intention is to make the IM clients to talk with the other users using SIP.
For this what we need to do ?
Please help me in getting out from this problem.
bye
vijay
Hi,
I was wondering if something like this could be possible with SER:
If we use SER as the SIP server for a small company and they wanted to have
access to a SIP PSTN Gateway, could we just open an account with Iconnect or
Vonage and have all the company's PSTN traffic be redirected to the Iconnect
SIP gateway by SER (SER would have to rewrite the INVITE so that the
originator has the username/password of the account that we setup).
In the eyes of Iconnect or Vonage the calls would be coming in from one
user(the account that we opened).
I know this is a little extreme but seeing that SER can rewrite and
manipulate so many other things, maybe it could do this as well.
Thanks,
Ricardo
Hi,i'm new to SIP. I want to integrate my existing Instant Messenger to SIP server. I mean i have to write some thing so that our IM users can chat with the other users using SIP. But i don't know SIP. Now i'm going through SIP docs. I'm getting the architecture, but i'm unable to understand what to write for the above problem. Whether we need to write one SIP enabled server or we have to use third party server. So please let me know what actually i need to do to get out from this problem. I'll be very thankful to you if you show me a path. thanks in advance. cheersg.sreedhar reddy
---------------------------------
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
Hello Jiri,
Of course, I meant the non-paranoic meaning, that is forcing the subsequent
requests to go through the proxy.
The question is related to the FCP module I'm trying to complete. In order to
close the previously opened ports, the module needs to see BYE and CANCEL
messages. When adding record-routing header from a natted proxy, this address
must be changed to a public one whenever the message is for the public Internet.
Is my understanding correct?
My other concern with Record Routing is whether this translation for the request
involves translating the RR field back to the one of the natted proxy, when the
response hits the proxy.
Regards,
Jaime
Jiri Kuthan <jiri(a)iptel.org> on 21/03/2003 17:28:48
To: Jaime GILL/EN/HTLUK@HTLUK
serusers(a)lists.iptel.org
cc:
Subject: Re: [Serusers] Routing all SIP traffic through the proxy
At 12:29 PM 3/21/2003, jaime.gill(a)orange.co.uk wrote:
>Hi,
>
>Not sure if someone has asked this before. Is there any way to route all SIP
>messages through SER without using record_route()?
>
>Jaime
I'm not sure what it means "all SIP messages". In a paranoid understanding, that
would include interception of iptel.org messages by someone else.
In general, there are two options: setting an outbound proxy in phones and
forcing subsequent requests hit a proxy through rr-ing.
-Jiri
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
Do any body knows if there is a push to talk solution to implement in my web
in orther to call to my ATA186 when somebody push the talk .... I read there
is a solution ????
Esteban
Hi,
I want all users who have accounts on host A to have access to ser which
runs on
host B, (without having to add them again to the mysql database on host B.)
I learned that Radius Digest Authentication cannot be used because it
needs the
Radius server to know the cleartext password of the user. Is there any
other
method that I can use in this situation?
Nimal R.
Hi,
I would like to create more than one virtual line, like FWD,
deltathree, iptel all to a single ATA box.
Can anyone here please guide how can I do with ser.
Regards,
Kannaiyan
Hi,
I have built ser and modules from the tar.gz file available on CVS.
Authentication using auth_db works fine, but auth_radius results in
a segmentation fault when I try to register.
The debug log (with debug=9) says:
Mar 22 16:21:32 voip ser: SIP Request:
Mar 22 16:21:32 voip ser: method: <REGISTER>
Mar 22 16:21:32 voip ser: uri: <sip:voip.pdn.ac.lk>
Mar 22 16:21:32 voip ser: version: <SIP/2.0>
Mar 22 16:21:32 voip ser: parse_headers: flags=1
Mar 22 16:21:32 voip ser: Found param type 232, <branch> =
<z9hG4bK3378053857>; state=16
Mar 22 16:21:32 voip ser: end of header reached, state=5
Mar 22 16:21:32 voip ser: parse_headers: Via found, flags=1
Mar 22 16:21:32 voip ser: parse_headers: this is the first via
Mar 22 16:21:32 voip ser: After parse_msg...
Mar 22 16:21:32 voip ser: preparing to run routing scripts...
Mar 22 16:21:32 voip ser: DEBUG : is_maxfwd_present: searching for
max_forwards header
Mar 22 16:21:32 voip ser: parse_headers: flags=128
Mar 22 16:21:32 voip ser: DEBUG: add_param: tag=2520454554
Mar 22 16:21:32 voip ser: end of header reached, state=29
Mar 22 16:21:32 voip ser: DEBUG: get_hdr_field: <To> [44];
uri=[sip:nimalr@voip.pdn.ac.lk]
Mar 22 16:21:32 voip ser: DEBUG: to body [<sip:nimalr@voip.pdn.ac.lk>]
Mar 22 16:21:32 voip ser: get_hdr_field: cseq <CSeq>: <0> <REGISTER>
Mar 22 16:21:32 voip ser: DEBUG: is_maxfwd_present: value = 10
Mar 22 16:21:32 voip ser: parse_headers: flags=4096
Mar 22 16:21:32 voip ser: DEBUG: get_hdr_body : content_length=0
Mar 22 16:21:32 voip ser: found end of header
Mar 22 16:21:32 voip ser: pre_auth(): Credentials with given realm not
found
Mar 22 16:21:32 voip ser: ERROR: fifo_server fgets failed: Illegal seek
Mar 22 16:21:33 voip last message repeated 3 times
Mar 22 16:21:33 voip ser: INFO: signal 15 received
Mar 22 16:21:33 voip ser: INFO: signal 15 received
My configuration is :
.........
.........
# 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"
loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
..........
..........
if (uri=~"voip.pdn.ac.lk") {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!radius_www_authorize("voip.pdn.ac.lk")) {
# if (!www_authorize("voip.pdn.ac.lk","subscriber")) {
www_challenge("voip.pdn.ac.lk", "0");
break;
};
save("location");
break;
};
........
........
Any help for solving the problem would be appreciated. Thanks.
Nimal R.
This mail is probably spam. The original message has been attached
along with this report, so you can recognize or block similar unwanted
mail in future. See http://spamassassin.org/tag/ for more details.
Content preview: Search Your Love
URI:http://thesyl.ru/adv/images/spacer.gif
URI:http://thesyl.ru/adv/images/letter1_1_02.gif [...]
Content analysis details: (9.60 points, 5 required)
HEADER_8BITS (1.2 points) Headers include 3 consecutive 8-bit characters
HTML_70_80 (0.4 points) BODY: Message is 70% to 80% HTML
HTML_FONT_COLOR_UNSAFE (0.1 points) BODY: HTML font color not within safe 6x6x6 palette
HTML_COMMENT_8BITS (2.9 points) BODY: HTML comment has 3 consecutive 8-bit characters
HTML_FONT_COLOR_RED (0.1 points) BODY: HTML font color is red
HTML_MESSAGE (0.1 points) BODY: HTML included in message
SUBJ_FULL_OF_8BITS (4.3 points) Subject is full of 8-bit characters
MIME_HTML_ONLY (0.1 points) Message only has text/html MIME parts
INVALID_MSGID (0.4 points) Message-Id is not valid, according to RFC 2822
The original message did not contain plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam. If you wish to view
it, it may be safer to save it to a file and open it with an editor.
Folks,
We found that in some cases it is necessary to have a function which
will save contact without sending reply to the UA. For example, it is
useful when there is a need to do stateless forwarding of the REGISTER
request, but at the same time save it in the local registration
database (sending reply in this case will disable any retransmissions
that might be necessary to ensure that the request actually reached the
destination). Attached patch provides necessary functionality, it would
be nice to have it included into the next release.
Thanks!
-Maxim
Hi,
When we have a situation in which a PC changes IP addresses (like on
dialup), we end up with multiple registrations (see below). Is it possible
to configure SER so that it only has the latest registration?
[root@maui ser]# serctl ul show rvilla
<sip:rvilla@200.58.193.72:5060;transport=udp>;q=0.00;expires=2773
<sip:rvilla@200.58.203.236:5060;transport=udp>;q=0.00;expires=3194
<sip:rvilla@200.58.203.61:5060;transport=udp>;q=0.00;expires=3544
On a related note, the registrar README says:
"Name: lookup
Params: table - Name of table that should be used for the lookup
Desc: The functions extracts username from Request-URI and tries to find all
contacts
for the username in usrloc. If there are no such contacts, -1 will be
returned.
If there are such contacts, Request-URI will be overwritten with the contact
that
has the highest q value and optionally the rest will be appended to the
message
(depending on append_branches parameter value)."
....but as you can see all 3 contacts have the same "q value" (whatever that
stands for).
How does one resolve such an issue?
Thanks,
Ricardo
Hi,
Not sure if someone has asked this before. Is there any way to route all SIP
messages through SER without using record_route()?
Jaime
*******************************************************************************
Important.
Confidentiality: This communication is intended for the above-named person and
may be confidential and/or legally privileged. Any opinions expressed in this
communication are not necessarily those of the company. If it has come to you
in error you must take no action based on it, nor must you copy or show it to
anyone; please delete/destroy and inform the sender immediately.
Monitoring/Viruses
Orange may monitor all incoming and outgoing emails in line with current
legislation. Although we have taken steps to ensure that this email and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Orange PCS Limited is a subsidiary of Orange SA and is registered in England No
2178917, with its address at St James Court, Great Park Road, Almondsbury Park,
Bradley Stoke, Bristol BS32 4QJ.
*******************************************************************************
Hi,
I have successfully registered the Windows Messenger (4.7) to SER. I was also able to make SIP calls to PSTN by entering the number by selecting "Start a Voice Conversation" -> "Other" -> "Enter e-mail address". But how to enter the number directly from the dialer? It seems that the dialer doesn't work (no response) so I have no way to enter DTMF for IVR applications.
Anyone has any idea? Thanks.
Reagards,
Bo
Hi,
I was reading about the ATA186's ability to detect that it is behind a NAT.
It requires that:
"For the Cisco ATA to automatically detect its presence behind a NAT, the
SIP proxy server
or remote user agent server must include the "received=" parameter in the
Via header in the
responses to the Cisco ATA if the proxy detects that the source address and
port do not match
those in the Via header."
Does SER support it?
Thanks,
Ricardo
Hi,
I am trying to use t_uac_dlg to send a new message from a module. It does
not send the message, and I get the following in my log:
Mar 21 14:50:54 d254196 /usr/local/sbin/ser[3111]: ERROR: mk_proxy: could
not resolve hostname: "cs.stir.ac.uk"Mar 21 14:50:54 d254196 /usr/local/sbin/ser[3111]: ERROR: t_relay: bad
host name in URI <sip:srm@cs.stir.ac.uk>Mar 21 14:50:54 d254196 /usr/local/sbin/ser[3111]: ERROR: uri2sock: Can't
create a dst proxyMar 21 14:50:54 d254196 /usr/local/sbin/ser[3111]: ERROR: t_uac_dlg: no
socket found
The code in my module is as follows, where all the ps_ things are str*
variables, with values as indicated by comments:
tmb.t_uac_dlg( // send request
ps_req_type, // INVITE
NULL,
PROTO_UDP ,
ps_req_uri, // sip:srm@cs.stir.ac.uk
ps_req_to, // srm(a)cs.stir.ac.uk
ps_req_from, // mrs(a)cs.stir.ac.uk
NULL,
NULL,
NULL,
NULL,
ps_req_headers, // NULL
ps_req_body, // NULL
NULL, // transaction_cb callback param //
optional NULL // void* callback pointer // optional
);
Any hints? I might have misunderstood what is expected from a request uri.
If so, an example would be very welcome.
thanks
Stephan
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
I am trying to bring up the anthentication module. Here are the list of what I have done.
1. Create MySQL tables and modify the permissions (SER could connect MySQL successfully)
2. Modify SER configuration (See below)
loadmodule "//usr/lib/ser/modules/mysql.so"
loadmodule "//usr/lib/ser/modules/auth.so"
modparam("usrloc", "db_url", "sql://ser:heslo@localhost/ser")
modparam("usrloc", "db_mode", 2)
modparam("auth", "db_url", "sql://ser:heslo@localhost/ser")
modparam("auth", "user_column", "user_id")
modparam("auth", "calculate_ha1", yes)
modparam("auth", "password_column", "password")
if (uri=~"sip\.abcd\.com") {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("sip.abcd.com", "subscriber")) {
www_challenge("sip.abcd.com", "0");
break;
};
save("location");
break;
};
After all these changes, SER could start without problem. But it seems that the Auth module doesn't take effect. For whatever username/password (whether it's included in the subscriber table or not), SER just allow the registration.
What maybe the problem? Is there anything wrong with the configuration?
Thanks.
Hi,
I tested auth_radius module with freeradius and it works perfecly
But now i would like test it with Microsoft IAS.
Is it possible ?
Even if i had Attribute in Dictionary
I have this error on IAS Event :
A malformed request was received from client Sip. The data is the packet.
Thank you for your help
Yours faith fully
I know I can do this, but I can't figure out how.
How can I put a button on my web site that says 'call me'.
Given two SIP accounts, assuming they are registered, can I
connect the two???
---greg
Hi,
I downloaded the latest CVS snapshot in order to test the PA module. Unfortunately when I start up SER I get this error:
0(19596) ERROR: load_module: could not open module </opt/bin/ser/lib/ser/modules/pa.so>: /opt/bin/ser/lib/ser/modules/pa.so: undefined symbol: default_expires
Any idea what could be happening here.
The entire output is:
0(19596) loading module /opt/bin/ser/lib/ser/modules/sl.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/tm.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/rr.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/maxfwd.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/usrloc.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/registrar.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/jabber.so
0(19596) loading module /opt/bin/ser/lib/ser/modules/pa.so
0(19596) ERROR: load_module: could not open module </opt/bin/ser/lib/ser/modules/pa.so>: /opt/bin/ser/lib/ser/modules/pa.so: undefined symbol: default_expires
0(19596) parse error (38,13-48): failed to load module
0(19596) find_param_export: found <db_mode> in module usrloc [/opt/bin/ser/lib/ser/modules/usrloc.so]
0(19596) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/opt/bin/ser/lib/ser/modules/maxfwd.so]
0(19596) find_export: found <sl_send_reply> in module sl_module [/opt/bin/ser/lib/ser/modules/sl.so]
0(19596) find_export: found <sl_send_reply> in module sl_module [/opt/bin/ser/lib/ser/modules/sl.so]
0(19596) find_export: found <save> in module registrar [/opt/bin/ser/lib/ser/modules/registrar.so]
0(19596) find_export: found <lookup> in module registrar [/opt/bin/ser/lib/ser/modules/registrar.so]
0(19596) find_export: found <sl_send_reply> in module sl_module [/opt/bin/ser/lib/ser/modules/sl.so]
0(19596) find_export: found <t_relay> in module tm [/opt/bin/ser/lib/ser/modules/tm.so]
0(19596) find_export: found <sl_reply_error> in module sl_module [/opt/bin/ser/lib/ser/modules/sl.so]
ERROR: bad config file (1 errors)
0(19596) INFO: signal 15 received
0(19596) Memory status (pkg):
0(19596) qm_status (0x809e800):
0(19596) heap size= 1022872
0(19596) used= 0, used+overhead=25704, free=997168
0(19596) max used (+overhead)= 25704
0(19596) dumping all allocked. fragments:
0(19596) dumping free list stats :
0(19596) hash= 521. fragments no.: 1
0(19596) -----------------------------
Thanks,
Ricardo
On Fri, 14 Mar 2003 17:22:14 -0500
"Bo" <boman122(a)yahoo.com> wrote:
> Hi Sebastien,
>
> I saw your post on SER mialing list regarding the SER logging and the mighty HelloWorld.cfg. Actually I met the same problem with yours. Whatever configuration options I changed, the only thing I could see in the /var/log/messages are as follows.
>
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
> Mar 14 17:56:49 dda ser[15316]: INFO: fifo process starting: 15316
> Mar 14 17:56:49 dda ser[15316]: SER: open_uac_fifo: fifo server up at /tmp/ser_fifo...
>
> Did you solve your problem finally? If yes, can you give me some hints?
Yes!
I simply start ser in mono-process mode, with `ser -E -f HelloWorld.cfg'.
-- Sebastien
Hi,
I just got the latest snapshot from CVS, it all compiles fine but ser
produces submit_query errors in the log. In particular it comments that
field "user" is not found.
It seems to work after I changed char* user_col = "user" in
modules/usrloc/ul_mod.c to
char* user_col = "username";
Stephan
--
The University of Stirling is a university established in Scotland by
charter at Stirling, FK9 4LA. Privileged/Confidential Information may
be contained in this message. If you are not the addressee indicated
in this message (or responsible for delivery of the message to such
person), you may not disclose, copy or deliver this message to anyone
and any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. In such case, you should destroy this
message and kindly notify the sender by reply email. Please advise
immediately if you or your employer do not consent to Internet email
for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official
business of the University of Stirling shall be understood as neither
given nor endorsed by it.
XPhone is another SIP UA soft client [Windows PC and PocketPC/CE] that works
well with SER. The Beta version is free and you can download it here:
http://xphone.xten.net
Cheers,
Erik Lagerway
I am doing some tests between Cisco ATA186 and AS5300 by using SER as the proxy server. AS5300 sent back 503 (service unavailable). Anyone has any clue on this?
Thanks
we got from somewhere Alan Hawrylyshen's stun client/server
implementation version 0.8.2, but doesn't appear to implement the latest
stun draft draft-ietf-midcom-stun-05.txt, but some earlier version.
does anyone know if there exists an open source stun client/server that
would conform to the latest stun draft?
-- juha
Hi,
I think there is a bug in the tm module of he CVS tree:
timer.c line 283:
if (SEND_BUFFER( r_buf )<=0) {
SEND_BUFFER returns -1 on error, and 0 on success, so it should be
if (SEND_BUFFER( r_buf )==-1) {
SER always sends "503 Service Unavailable" respond after sending INVITE
retransmissions in our test environment. Modifying timer.c solved this problem.
I can attach my syslog or udp-log if necessary.
--
---------------------------------------------------------------------------
Miklos Tirpak
Computer and Automation Research Institute e-mail : mtirpak(a)sztaki.hu
of the Hungarian Academy of Sciences phone : (361) 279-6011
H-1132. Budapest, Victor Hugo u 18-22 fax : (361) 279-6021
Hello!
I am interested in the presence support that ser offers. Are there any
documents for this topic or something else available? My interest in that
topic grounds in the needs of information for the diploma thesis I am currently
writing.
Best Regards
Christoph
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
Hello,
I`ve downloaded todays cvs and installed is, now, I am trying to
register my SIP phone ( Snom 100 ), with it and authorize it.
The phone sends a REGISTER and the ser sends it a 401 Unauthorized.
-----------
0.000000 172.20.0.199 -> 172.20.0.50 SIP Request: SUBSCRIBE
sip:phila@phila.dg
0.002626 172.20.0.50 -> 172.20.0.199 SIP Status: 404 Not Found
0.038876 172.20.0.199 -> 172.20.0.50 SIP Request: REGISTER sip:phila.dg
0.042129 172.20.0.50 -> 172.20.0.199 SIP Status: 401 Unauthorized
-------------
I`ve added the user to the mysql database and, am using the
configuration included in the example ser.cfg ( I`ve uncommented the 4
lines).
---------------------------
# Uncomment this if you want to use digest authentication
if (!www_authorize("dg", "subscriber")) {
www_challenge("dg", "0");
break;
};
---------------------------
it seems that the www_challenge sends this message.
How to fix this? And what is the SUBSCRIBE request?
Thanks a lot,
--
Anton Yurchenko<phila(a)dg.net.ua>
Digital Generation
I've been testing a bunch of soft clients out
and Microsoft Messenger seems to work very well.
It has the notion of contacts that are online.
I guess this is what the Jabber modules is for, right?
Right now, for me to start a phone call with Messenger it is
weird, I have to:
1) click on 'Start a Voice Conversation'
2) click on the 'Other' tab when the new window pops up.
3) Enter a long email address '4695461235(a)augustvoice.net' in the
prompted box.
...
Then my phone call starts. It would be much better if
I could just pick from my list of contacts. Is the jabber
configuration and deployment pretty easy? Does it play well
with non-jabber clients?
By the way, we have about 20 beta users registering with SER
routing calls to and from the PSTN. It is working very well.
---greg
Greg Fausak
Hi all,
Just a question before I embark on my next SER venture.
I now have a couple of Cisco 7960 phones sitting behind fw's and using
transverse NAT and SER auth (The Auth working thanks to JAN) @ different
homes. All these homes are connected to the internet via ADSL and use DDNS,
my SER server sits on the Internet and have a fixed IP and DNS entry. This
config works really well.
The next step is to add a Cisco 2600 router to the config and hook 4 FXO
ports up to our PABX @ work. I only want authenticated users on SER to be
able to forward requests to the router, I can tell the router only to accept
connections that originated on the SER server. Is this possible on SER.
Kind regards, Emil
OOh, you are absolutely right. I forgot to put the quote marks on the domain name!
Thanks
----- Original Message -----
From: Emil
To: Bo
Sent: Sunday, March 16, 2003 10:15 AM
Subject: Re: [Serusers] SER log
Hi Bo,
Try this uri=~"xxx.com" or usr=~"xxx\.com
Let me know.
s
E
----- Original Message -----
From: Bo
To: Emil
Sent: Sunday, March 16, 2003 5:10 PM
Subject: Re: [Serusers] SER log
Hi Emil,
I re-installed the ser-0.8.10-2.i386.rpm on Redhat 8.0. This time with the
default /usr/local/etc/ser.cfg, SER could start without any problem. But
when I just changed 'if (uri==mydomain)' to 'if(uri==xxx.com)', it showed
'ERROR: bad config file (11 errors)'. Is there anything wrong?
Thanks
Bo
----- Original Message -----
From: Emil
To: Bo
Sent: Saturday, March 15, 2003 1:32 AM
Subject: Re: [Serusers] SER log
Hi Bo,
Am running it on RedHat 8.0 and installed it from the rpm, no problem.
E
----- Original Message -----
From: Bo
To: serusers(a)lists.iptel.org
Sent: Saturday, March 15, 2003 1:44 AM
Subject: Re: [Serusers] SER log
Thanks Emil.
Yes, after I comment the PSTN gateway part, it worked. Lots of error messages came out during the bootup of the server. I doubt there must be something wrong with the re-compilation.
I tried the precomiled version (rpm package) on Redhat linux 8.0 first. But the server couldn't bootup (it showed 'Terminated' when booting). Has anyone ever compiled SER on Redhat 8.0?
Regards
Bo
----- Original Message -----
From: Emil
To: Bo
Sent: Friday, March 14, 2003 6:23 PM
Subject: Re: [Serusers] SER log
Hi Bo,
Just change the if uri== back to myself for testing.
Have you tried the precompiled version?
When I start the service (service ser start) on no fork and debug 9 the service should look like it is hanging, oops and change log_stderror=no to yes.
Tail /var/log/message again and let me know.
E
----- Original Message -----
From: Bo
To: serusers(a)lists.iptel.org
Sent: Saturday, March 15, 2003 1:14 AM
Subject: Re: [Serusers] SER log
Hi Emil,
Thanks for your infor.
I tried and it still didn't work. Now I doubt if the /etc/ser/ser.cfg (see the following) takes effect or not. I changed the settings and if I ran the server by command ' # ser ', no problem. But if I ran it like ' # ser -f ser.cfg ', then it told me
ERROR: bad config file (11 errors)
Actually I didn't change too much on the default ser.cfg.
Pls indicate.
_________________________________________________________________________________
#
# $Id: ser.cfg,v 1.12 2002/10/21 02:40:06 jiri Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=9 # debug level (cmd line: -dddddddddd)
fork=no
log_stderror=no # (cmd line: -E)
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/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"
# ----------------- 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", "secret", "alsdkhglaksdhfkloiwr")
#modparam("auth", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
#modparam("auth", "password_column", "password")
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwars==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (len_gt( max_len )) {
sl_send_reply("513", "Message too big");
break;
};
# Do strict routing if pre-loaded route headers present
rewriteFromRoute();
# 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.mycompany.com) {
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;
};
# attempt handoff to PSTN
if (uri=~"^sip:[0-9]*@sip.mycompany.com") {
log(4, "Forwarding to PSTN\n");
forward(X.X.X.X,5060);
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
if (!t_relay()) {
sl_reply_error();
};
}
_____________________________________________________________________________
----- Original Message -----
From: Emil
To: Bo
Sent: Friday, March 14, 2003 5:43 PM
Subject: Re: [Serusers] SER log
Hi Bo,
Jan just helped me with a similar problem.
Debug level = 9 and fork t= no.
Tail /var/log messages and you will get plenty of info.
Emil
----- Original Message -----
From: Bo
To: serusers(a)lists.iptel.org
Sent: Saturday, March 15, 2003 12:35 AM
Subject: [Serusers] SER log
Hi,
Does anyone have any clue on the following problem?
I recompiled and installed SER in Redhat Linux 8.0. Unfortunately I tried all the possible options (debug level) in the ser.cfg, but the only messages I could see in the /var/log/messsages are as follows.
Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535
Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142
Mar 14 17:56:49 dda ser[15316]: INFO: fifo process starting: 15316
Mar 14 17:56:49 dda ser[15316]: SER: open_uac_fifo: fifo server up at /tmp/ser_fifo...
What should I do to see the detailed debugs?
Thanks,
Bo
Hi Mathi,
Thanks for your suggestion.
I re-installed the ser-0.8.10-2.i386.rpm on Redhat 8.0. This time with the
default /usr/local/etc/ser/ser.cfg (lib is under
/usr/local/lib/ser/modules), SER could start without any problem. But
when I just changed 'if (uri==mydomain)' to 'if(uri==xxx.com)', it showed
'ERROR: bad config file (11 errors)'. Is there anything wrong?
Regards
----- Original Message -----
From: "sipdev" <sipdev(a)xten.com>
To: "Bo" <boman122(a)yahoo.com>
Cc: "mark(a)xten.com" <erik(a)xten.com>
Sent: Saturday, March 15, 2003 10:55 AM
Subject: RE: Re: [Serusers] SER log
> Hi Bo,
> we compiled the SER(8.10 linuxi386 ) in redhat linux 8.0.
> we placed the ser folder in desktop and tried to run that.
> It gave errors when i.e unable to find ser.cfg.Then we copied the
ser.cfg and the lib folder to the home directory i.e
> /usr/local....
>
> Now ser is working fine.
> please try this.
>
> Regards,
> Mathi
>
>
>
> Original Message -----------------------
> Thanks Emil.
>
> Yes, after I comment the PSTN gateway part, it worked. Lots of error
messages came out during the bootup of the server. I doubt there must be
something wrong with the re-compilation.
>
> I tried the precomiled version (rpm package) on Redhat linux 8.0 first.
But the server couldn't bootup (it showed 'Terminated' when booting). Has
anyone ever compiled SER on Redhat 8.0?
>
> Regards
> Bo
> ----- Original Message -----
> From: Emil
> To: Bo
> Sent: Friday, March 14, 2003 6:23 PM
> Subject: Re: [Serusers] SER log
>
>
> Hi Bo,
>
> Just change the if uri== back to myself for testing.
>
> Have you tried the precompiled version?
>
> When I start the service (service ser start) on no fork and debug 9 the
service should look like it is hanging, oops and change log_stderror=no to
yes.
>
> Tail /var/log/message again and let me know.
>
> E
> ----- Original Message -----
> From: Bo
> To: serusers(a)lists.iptel.org
> Sent: Saturday, March 15, 2003 1:14 AM
> Subject: Re: [Serusers] SER log
>
>
> Hi Emil,
>
> Thanks for your infor.
>
> I tried and it still didn't work. Now I doubt if the /etc/ser/ser.cfg
(see the following) takes effect or not. I changed the settings and if I ran
the server by command ' # ser ', no problem. But if I ran it like ' # ser -f
ser.cfg ', then it told me
> ERROR: bad config file (11 errors)
> Actually I didn't change too much on the default ser.cfg.
>
> Pls indicate.
>
____________________________________________________________________________
_____
> #
> # $Id: ser.cfg,v 1.12 2002/10/21 02:40:06 jiri Exp $
> #
> # simple quick-start config script
> #
>
> # ----------- global configuration parameters ------------------------
>
> debug=9 # debug level (cmd line: -dddddddddd)
> fork=no
> log_stderror=no # (cmd line: -E)
> 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/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"
>
> # ----------------- 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", "secret", "alsdkhglaksdhfkloiwr")
> #modparam("auth", "calculate_ha1", yes)
> #
> # If you set "calculate_ha1" parameter to yes (which true in this
config),
> # uncomment also the following parameter)
> #
> #modparam("auth", "password_column", "password")
>
> # ------------------------- request routing logic -------------------
>
> # main routing logic
>
> route{
>
> # initial sanity checks -- messages with
> # max_forwars==0, or excessively long requests
> if (!mf_process_maxfwd_header("10")) {
> sl_send_reply("483","Too Many Hops");
> break;
> };
> if (len_gt( max_len )) {
> sl_send_reply("513", "Message too big");
> break;
> };
>
> # Do strict routing if pre-loaded route headers present
> rewriteFromRoute();
>
> # 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.mycompany.com) {
>
> 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;
> };
>
> # attempt handoff to PSTN
> if (uri=~"^sip:[0-9]*@sip.mycompany.com") {
> log(4, "Forwarding to PSTN\n");
> forward(X.X.X.X,5060);
> 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
> if (!t_relay()) {
> sl_reply_error();
> };
>
> }
>
____________________________________________________________________________
_
>
> ----- Original Message -----
> From: Emil
> To: Bo
> Sent: Friday, March 14, 2003 5:43 PM
> Subject: Re: [Serusers] SER log
>
>
> Hi Bo,
>
> Jan just helped me with a similar problem.
>
> Debug level = 9 and fork t= no.
>
> Tail /var/log messages and you will get plenty of info.
>
> Emil
> ----- Original Message -----
> From: Bo
> To: serusers(a)lists.iptel.org
> Sent: Saturday, March 15, 2003 12:35 AM
> Subject: [Serusers] SER log
>
>
> Hi,
>
> Does anyone have any clue on the following problem?
>
> I recompiled and installed SER in Redhat Linux 8.0. Unfortunately
I tried all the possible options (debug level) in the ser.cfg, but the only
messages I could see in the /var/log/messsages are as follows.
>
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is
initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is
finally 262142
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is
initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is
finally 262142
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is
initially 65535
> Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is
finally 262142
> Mar 14 17:56:49 dda ser[15316]: INFO: fifo process starting: 15316
> Mar 14 17:56:49 dda ser[15316]: SER: open_uac_fifo: fifo server up
at /tmp/ser_fifo...
>
> What should I do to see the detailed debugs?
>
> Thanks,
>
> Bo
Friends,
I'll be in the upcoming IETF meeting from tommorrow to Friday. If there
is any need to talk to me at higher bandwidth, just let me know -- I will
do my best to allocate time for you.
-Jiri
--
Jiri Kuthan http://iptel.org/~jiri/