If you want to listen to more than one address, you should add
fork=yes
to the config file otherwise only the first address of the
listen= a.b.c.d
list will be used. With the
children=X
config paramter you can tune how many listener process you want to assign to each listening address.
Samuel.
Unclassified.
>>> Iqbal <iqbal(a)gigo.co.uk> 05/19/05 12:58PM >>>
well a copy of ser.cfg would help.
Iqbal
Simith Nambiar wrote:
>Hi All,
> I'am new to Ser , and hope this is the right list to ask
>this Question. I get the following error on running Ser, what could be the
>problem ?
>and some hint on where to look for to fix my config file ? or something else
>would be very much helpful !
>
>============================================================================
>====
>WARNING: no fork mode and more than one listen address found(will use only
>the the first one)
>stateless - initializing
> 0(0) Maxfwd module- initializing
>textops - initializing
>ERROR: error -478 while trying to fix configuration
>============================================================================
>====
>
>And where can i look for all the Error codes and thier corresponding
>meanings ?
>
>Thank you.
>
>Cheers.
>simith
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>.
>
>
>
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Hi,
Before launching ser, check your config file with ser
-c. If there are any errors the line and the column
,where is the error, are shown.
Debug messages you can find in your kernel messages
(e.g /var/log/messages) when you have enabled
log_stderror=no in your config file.
When you enable fork=yes, ser is listening on all
interfaces.
Regards,
G�rard
--- Simith Nambiar <simith(a)indtelesoft.com> wrote:
> Hi All,
> I'am new to Ser , and hope this is
> the right list to ask. I
> get the following error on running Ser, what could
> be the problem ?
> and some hint on where to look for to fix my config
> file ? or something else
> would be very much helpful !
>
>
============================================================================
> ====
> WARNING: no fork mode and more than one listen
> address found(will use only
> the the first one)
> stateless - initializing
> 0(0) Maxfwd module- initializing
> textops - initializing
> ERROR: error -478 while trying to fix configuration
>
============================================================================
> ====
>
>
> Thank you.
>
> Cheers.
> simith
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
Hi All,
This Post is hitting the List late, so please ignore it, i had a
problem with my config file,
when i replaced it with the one in www.onsip.org, the issue did not appear
anymore !
Cheers,
Simith
-----Original Message-----
From: Simith Nambiar [mailto:simith@indtelesoft.com]
Sent: Tuesday, May 17, 2005 7:36 PM
To: 'serusers(a)lists.iptel.org'
Subject: [Serusers] Help on running Ser.
Hi All,
I'am new to Ser , and hope this is the right list to ask. I
get the following error on running Ser, what could be the problem ?
and some hint on where to look for to fix my config file ? or something else
would be very much helpful !
============================================================================
====
WARNING: no fork mode and more than one listen address found(will use only
the the first one)
stateless - initializing
0(0) Maxfwd module- initializing
textops - initializing
ERROR: error -478 while trying to fix configuration
============================================================================
====
Thank you.
Cheers.
simith
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned via a message filtering facility.
If you have any issues with your email, please contact the IT Dept.
Hi All,
I'am new to Ser , and hope this is the right list to ask
this Question. I get the following error on running Ser, what could be the
problem ?
and some hint on where to look for to fix my config file ? or something else
would be very much helpful !
============================================================================
====
WARNING: no fork mode and more than one listen address found(will use only
the the first one)
stateless - initializing
0(0) Maxfwd module- initializing
textops - initializing
ERROR: error -478 while trying to fix configuration
============================================================================
====
And where can i look for all the Error codes and thier corresponding
meanings ?
Thank you.
Cheers.
simith
Hello, I have two questions
1. I really don;t want to install Vocal (from vovida.org) or asterisk to use
B2BUA (for prepaid users and "live"call management).
So is there any contributed module for SER that I don;'t know about that is
sane about all the sessoins and is not stateless?
I was wondering also can SER send artificial BYE's to peers when he decides
that the call should be ended but peers dont want to end the call. And of
course SER would not let the RTP through himself because it's burdening his
scalability (although being sane of sessions burdens it the same)...
2. I've got simple pstn model
LAN ---> SER
\ |
\ |
PSTN
I get simple disconnetion and loose rtp stream when calling out to PSTN when
making more than 5 calls.
I don't actually know whether it's SER or my E1 Gateway problem. Logs from
Linksys PAP2 tells me that it's the "RTP PORT DUPLICATE" . He's right
because the sniffer tells the same . I see that two phones connect their RTP
stream on port 3000.
Any ideas ?
Thanks in advance
--
Pozdrawiam,
Wojciech Ziniewicz
Optocomp sp.z.o.o, www.optocomp.pl
mailto: wojtekz(a)optocomp.pl
+48(0)691031535
Hi All..
I'm new buddy to Ser.I want to install SER,
Bht the configuration file in the folder
usr/local/etc/ser/ser.cfg is write protected and the
owner of the file is root then How can I update this
file? I am using Fadora and SER 0.9.0 for SER .
Please Help me ...Urgent...
Thanks in advance for all hints...
________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
Not much to say without the SIP messages giving the error. Looks like an empty Contact header. Could be a faulty user client or something completely different...
g-)
---- Original Message ----
From: Mr Greg Plater
To: 'Greger V. Teigre'
Sent: Thursday, May 19, 2005 02:01 AM
Subject: RE: [Serusers] Ser Accepting Calls From Asterisk
> Hi Greger
>
> I note I have this content-length in the onreply route.
>
> Any Ideas
>
> Cheers
> Greg
>
> BTW thanks for your help
>
>
>
>
> From: Greger V. Teigre [mailto:greger@teigre.com]
> Sent: Thursday, 12 May 2005 6:04 PM
> To: Mr Greg Plater; serusers(a)lists.iptel.org
> Subject: Re: [Serusers] Ser Accepting Calls From Asterisk
>
> Good to hear, Greg. Looks like a message without a Contact header
> (or a non-conforming one). Could you find the SIP message that gives
> this message? BTW, just to be sure: The onsip.org files have a test
> for content-length in the onreply route (Empty body). Do you have it
> in your ser.cfg?
> g-)
>
> ---- Original Message ----
> From: Mr Greg Plater
> To: serusers(a)lists.iptel.org
> Sent: Thursday, May 12, 2005 02:26 AM
> Subject: [Serusers] Ser Accepting Calls From Asterisk
>
>> Hi Calls work from Asterisk to SER now.
>>
>> I note in Debug output:
>>
>> 3(1814) contact_parser(): Empty body
>> 3(1814) parse_contact(): Error while parsing
>> 3(1814) error: mediaproxy/getContactURI(): cannot parse Contact
>> header
>>
>> The call works fine, how do I fix this message or do I leave whats
>> working alone.
>>
>> Cheers
>> Greg
>>
>> _____________________________________________________________________
>> Hi Greger
>>
>> Thank you for the information I have found it just what I needed.
>>
>> Calls To SER from Asterisk:
>>
>> To add to trusted in MYSQL I would use this right:
>>
>> INSERT INTO trusted SET
>> src_ip='***.***.***.***',proto='any',from_pattern='sip:[0-9]*@***.***.***.***';
>> #replace *** with the asterisk ip address
>>
>> With this in my ser.cfg:
>>
>> modparam("permissions", "db_url", "mysql://ser:heslo@localhost/ser")
>> modparam("permissions", "db_mode", 1)
>> modparam("permissions", "trusted_table", "trusted")
>>
>>
>> and for routing to Asterisk From SER:
>>
>> if (method == "INVITE" && (uri=~"^sip:0")){
>> rewritehostport ("***.***.***.***:5060");
>> t_relay();
>> break();
>> };
>>
>>
>>
>> Or do I just add:
>> Asterisk to the trusted table and the following near the
>>
>>
>> if(!allow_trusted)
>> if (!proxy_authorize("","subscriber")) {
>> proxy_challenge("","0");
>> break;
>> } else if (!check_from()) {
>> sl_send_reply("403", "Use From=ID");
>> break;
>>
>>
>>
>>
>> Thank you very much for your help
>>
>> Cheers
>> Greg
>>
>>
>>
>>
>>
>> From: Greger V. Teigre [mailto:greger@teigre.com]
>> Sent: Wednesday, 11 May 2005 6:20 PM
>> To: Mr Greg Plater; serusers(a)lists.iptel.org
>> Subject: Re: [Serusers] Ser Accepting Calls From Asterisk
>>
>> Greg,
>> Basically, you can do four things (first two for dialing
>> asterisk-ser, the next two for dialing ser-asterisk):
>> 1. Accept INVITEs from a specific src ip (asterisk) and add if(src_ip
>> != asterisk_ip) around the INVITE authentication to avoid that part
>> being triggered
>> 2. Or you accomplish the same thing be adding asterisk to the trusted
>> table and us if(!allow_trusted) instead. This will give you more
>> control as you can filter on ruri as well.
>> 3. You can create an account in asterisk and have asterisk register
>> with SER like a regular user (who will be available in location for
>> dialling into asterisk). This only makes sense if you have one main
>> number for all users registered on asterisk (you don't need 1 or 2 if
>> you do this)
>> 4. Use some kind of routing, either through manual configuration
>> (uri=~"some pattern", then forward to asterisk) or use the LCR (least
>> cost routing) module to look up the ruris and forward to asterisk.
>> This must be done in combination with 1 or 2.
>>
>> Hope this helps.
>> g-)
>>
>> ---- Original Message ----
>> From: Mr Greg Plater
>> To: serusers(a)lists.iptel.org
>> Sent: Wednesday, May 11, 2005 06:10 AM
>> Subject: [Serusers] Ser Accepting Calls From Asterisk
>>
>>> Hi
>>>
>>> I am using the onsip getting started doc with mediaproxy.
>>>
>>> Calls for registered users on SER work great but when I try to call
>>> a registered ser user from my asterisk box.
>>> I get a response in Asterisk Debug. Says "failed to auth on INVITE"
>>>
>>> If I wish to allow calls from my asterisk box to registered users on
>>> SER what do I change.
>>>
>>>
>>> IN SER.cfg I note these 2 snippets
>>>
>>>
>>> if (!www_authorize("","subscriber")) {
>>> www_challenge("","0");
>>> break;
>>> };
>>>
>>>
>>>
>>> if (!proxy_authorize("","subscriber")) {
>>> proxy_challenge("","0");
>>> break;
>>> } else if (!check_from()) {
>>> sl_send_reply("403", "Use From=ID");
>>> break;
>>> };
>>>
>>>
>>>
>>> _______________________________________________
>>> Serusers mailing list
>>> serusers(a)lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
Hi All,
Thanks for your responses, it was a problem with the ser.cfg
file, when i used the one
available on onsip.org as suggested, ser started flying :-) !
One more problem i faced was that, when the config file is downloaded from
the internet, not in zipped format
but one-by -one, there seems to be some html formatting that comes along
with it, leave alone the HTML tags,
once that is removed, there are some more problems like the > and < symbols
in the Expressions of ser.cfg,
will also be turned int thier HTML representation, with a > or something,
once that was also removed and replaced
with the actual symbol, things seemed to work for me.
Thank you.
Cheers.
Simith
-----Original Message-----
From: Iqbal [mailto:iqbal@gigo.co.uk]
Sent: Thursday, May 19, 2005 6:58 AM
To: g.fishilevich(a)gmail.com; greger(a)teigre.com
Cc: serusers(a)lists.iptel.org; Simith Nambiar
Subject: Re: [Serusers] Post on behalf of Simith Nambiar: error -478
whiletrying to fix configuration
Hi
Check if u have any IP addresses in your config, it might be that it cant
resolve them
Iqbal
On 5/18/2005, "Grigory Fishilevich" <g.fishilevich(a)gmail.com> wrote:
>Simith:
>
>i had a problem alike yours. i'm sorry but i have no more exactly info.
>i had an error in my ser.cfg und got the same strange error-message like
yours.
>you should analyze you ser.cfg and take a look to /var/log/messages
>
>bg,
>Grigory
>
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>
______________________________________________________________________
This email has been scanned via a message filtering facility.
If you have any issues with your email, please contact the IT Dept.
Hi,
1. login as root
2. use the chmod command
$chmod +w /usr/local/etc/ser/ser.cfg
and you can edit the ser.cfg
Regrads,
G�rard
--- Bharat More <bharat_sharp(a)yahoo.co.in> wrote:
> Hi All..
> I'm new buddy to Ser.I want to install SER,
> Bht the configuration file in the folder
> usr/local/etc/ser/ser.cfg is write protected and the
> owner of the file is root then How can I update this
> file? I am using Fadora and SER 0.9.0 for SER .
> Please Help me ...Urgent...
> Thanks in advance for all hints...
>
>
________________________________________________________________________
> Yahoo! India Matrimony: Find your life partner
> online
> Go to: http://yahoo.shaadi.com/india-matrimony
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com