hello Bogdan,
I made a mistake into openser.cfg. I didnt set the use_domain for the registrar module. Now everything is fine and the domain is stored into location table.
thanks a lot to evrybody for your support.
Alex
---------- Initial Header -----------
>From : "Bogdan-Andrei Iancu" bogdan(a)voice-system.ro
To : "buxalex(a)libero.it" buxalex(a)libero.it
Cc : "christophe.irles" christophe.irles(a)alcatel.fr,"users" users(a)openser.org
Date : Fri, 07 Apr 2006 17:17:30 +0300
Subject : Re: [Users] aut_db module and realm
> Hi,
>
> what do you mean by crash - cannot start due some errors (see the logs) ?
>
> regards,
> bogdan
>
> buxalex(a)libero.it wrote:
>
> >Hello,
> >
> >thanks for your help. I entered a new line in my openser.cfg:
> >
> >modparam("usrloc", "use_domain", 1)
> >
> >but when I start openser (through Monit service manager) it crashes.
> >If I set the parameter value=0 it works fine but, of course, the domain is not populated into location table.
> >
> >Could you please give me any advice?
> >
> >Thanks
> >Alessandro
> >---------- Initial Header -----------
> >
> >From : "Bogdan-Andrei Iancu" bogdan(a)voice-system.ro
> >To : "Christophe Irles" christophe.irles(a)alcatel.fr
> >Cc : buxalex(a)libero.it,"users" users(a)openser.org
> >Date : Thu, 06 Apr 2006 19:34:51 +0300
> >Subject : Re: [Users] aut_db module and realm
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >>Hi,
> >>
> >>just as an add-on...to have the domain column populated in location
> >>table, you need to set the "use_domain" param in location module. See:
> >> http://openser.org/docs/modules/1.0.x/usrloc.html#AEN195
> >>
> >>regards,
> >>bogdan
> >>
> >>Christophe Irles wrote:
> >>
> >>
> >>
> >>>Hello,
> >>>
> >>>command [ modparam("auth_db", "domain_column", "domain") ] is used to
> >>>indicate to auth_db module the name of the column to use to retrieve the
> >>>domain associated to an user in the "subcriber" table (table name use
> >>>generally by default in auth_db).
> >>>
> >>>This table is filled by the administrator to grant access
> >>>
> >>>The "location" is filled by openSER when user registered on openSER based of
> >>>info given by UA. So it's possible to have location.domain !=
> >>>subscriber.domain if the settings of the UA is not performed correctly.
> >>>
> >>>Field location.received contains this data SIP:IP:PORT of the UA device
> >>>
> >>>Hope this helps,
> >>>Christophe
> >>>
> >>>-----Message d'origine-----
> >>>De : users-bounces(a)openser.org [mailto:users-bounces@openser.org] De la part
> >>>de buxalex(a)libero.it
> >>>Envoyé : jeudi 6 avril 2006 16:38
> >>>À : users
> >>>Objet : [Users] aut_db module and realm
> >>>
> >>>Hello to everybody,
> >>>
> >>>I configured the openser.cfg as follow:
> >>>
> >>>#-----------------------------------
> >>># AUT_DB parameters
> >>>#----------------------------------
> >>>
> >>>modparam("auth_db", "db_url", "mysql://openser:openser@localhost/openser")
> >>>modparam("auth_db", "calculate_ha1", yes) modparam("auth_db",
> >>>"domain_column", "domain") modparam("auth_db", "user_column", "phone")
> >>>modparam("auth_db", "password_column", "password")
> >>>
> >>>In this way openser checks for authentication the phone number instead of
> >>>the username (it works fine!!). My problem is realted to domain. Entering
> >>>the modparam(.....,"domain") I was expecting to see the domain column
> >>>populated in the table location, but it doesn't happen. Do I have to
> >>>configure something else? Moreover, anybody could explain me the meaning of
> >>>the column location.received?
> >>>
> >>>thanks in advance
> >>>Alessandro
> >>>
> >>>
> >>>_______________________________________________
> >>>Users mailing list
> >>>Users(a)openser.org
> >>>http://openser.org/cgi-bin/mailman/listinfo/users
> >>>
> >>>
> >>>_______________________________________________
> >>>Users mailing list
> >>>Users(a)openser.org
> >>>http://openser.org/cgi-bin/mailman/listinfo/users
> >>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
> >
>
>
Hello,
thanks for your help. I entered a new line in my openser.cfg:
modparam("usrloc", "use_domain", 1)
but when I start openser (through Monit service manager) it crashes.
If I set the parameter value=0 it works fine but, of course, the domain is not populated into location table.
Could you please give me any advice?
Thanks
Alessandro
---------- Initial Header -----------
>From : "Bogdan-Andrei Iancu" bogdan(a)voice-system.ro
To : "Christophe Irles" christophe.irles(a)alcatel.fr
Cc : buxalex(a)libero.it,"users" users(a)openser.org
Date : Thu, 06 Apr 2006 19:34:51 +0300
Subject : Re: [Users] aut_db module and realm
> Hi,
>
> just as an add-on...to have the domain column populated in location
> table, you need to set the "use_domain" param in location module. See:
> http://openser.org/docs/modules/1.0.x/usrloc.html#AEN195
>
> regards,
> bogdan
>
> Christophe Irles wrote:
>
> >Hello,
> >
> >command [ modparam("auth_db", "domain_column", "domain") ] is used to
> >indicate to auth_db module the name of the column to use to retrieve the
> >domain associated to an user in the "subcriber" table (table name use
> >generally by default in auth_db).
> >
> >This table is filled by the administrator to grant access
> >
> >The "location" is filled by openSER when user registered on openSER based of
> >info given by UA. So it's possible to have location.domain !=
> >subscriber.domain if the settings of the UA is not performed correctly.
> >
> >Field location.received contains this data SIP:IP:PORT of the UA device
> >
> >Hope this helps,
> >Christophe
> >
> >-----Message d'origine-----
> >De : users-bounces(a)openser.org [mailto:users-bounces@openser.org] De la part
> >de buxalex(a)libero.it
> >Envoyé : jeudi 6 avril 2006 16:38
> >À : users
> >Objet : [Users] aut_db module and realm
> >
> >Hello to everybody,
> >
> >I configured the openser.cfg as follow:
> >
> >#-----------------------------------
> ># AUT_DB parameters
> >#----------------------------------
> >
> >modparam("auth_db", "db_url", "mysql://openser:openser@localhost/openser")
> >modparam("auth_db", "calculate_ha1", yes) modparam("auth_db",
> >"domain_column", "domain") modparam("auth_db", "user_column", "phone")
> >modparam("auth_db", "password_column", "password")
> >
> >In this way openser checks for authentication the phone number instead of
> >the username (it works fine!!). My problem is realted to domain. Entering
> >the modparam(.....,"domain") I was expecting to see the domain column
> >populated in the table location, but it doesn't happen. Do I have to
> >configure something else? Moreover, anybody could explain me the meaning of
> >the column location.received?
> >
> >thanks in advance
> >Alessandro
> >
> >
> >_______________________________________________
> >Users mailing list
> >Users(a)openser.org
> >http://openser.org/cgi-bin/mailman/listinfo/users
> >
> >
> >_______________________________________________
> >Users mailing list
> >Users(a)openser.org
> >http://openser.org/cgi-bin/mailman/listinfo/users
> >
> >
> >
>
>
i have a softphone on a windows 2000 laptop
after the softphone sends a "register" message to SER, i see on the sniffer that SER sends a "register" message right back to the laptop. is this normal? and i see next that the laptop sends a SIP 405 "Method Not Allowed" message and that the SER sends the same thing back to the laptop
what does this mean?
aaron
Hi,
I use RADIUS for user authentication.
The SER configuration in REGISTER handler:
if (!radius_www_authorize("")) {
log(1, " - Radius Auth failed - Send challenge to UA");
www_challenge("", "0");
break;
};
UAs are configured to use the realm 'domain.com'.
There are cases (many UAs does not support DNS SRV) where UAs send
'sip.domain.com'.
Which is the way to strip 'sip.' from realm and send it to RADIUS.
I used the following :
modparam("auth", "realm_prefix", "sip.")
but it doesn't work.
Actually, SER sends back '401 Unauthorized' with digest.realm="domain.com",
and then UA sends REGISTER with realm="domain.com" but 'radius_www_authorize'
fail. I see no RADIUS request to reach my RADIUS server.
Any idea / help ?
thank you
Kosats
Hi,
Cisco AS5300 is a good option.
Carlos Grajales
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I have set an openser in a cs department with almost 50 sip phones
connected to it. It is a very heavy loading environment. Every sip
phone may make/receive almost 20-40 calls per minute. In such
situation, most of the sip phones will experience a logon problem.
They will failed to logon (in the display of the sip phones show wait
logon) and 1 minute after, they can logon to the system. This
situation will repeat for every sip phone in the system.
I wonder what is capacity of the openser. As I expect, it should
handle over 1000 sip devices connected concurrently (correct me if I
am wrong). I also wonder any misconfigure in the configuration file.
I set children to 4 in the file. Do I need to increase the children
value? Is it useful for solve this situation? If not, what is the
possible action to solve the above problem?
How can I write the uri and myself variables to log file ?
I know that %tu and %fu are used for to uri and from uri but what other variables can I use when writing log ?
I need to see the "myself" variable in the log because a uri==myself statement does not match where it should.
Thanks,
ilker
<http://387555.sigclick.mailinfo.com/sigclick/000E0500/04044803/02034E07/236…>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
Hi,
In my config file there is no listen directives; only one port= directive.
How can I add multiple ports to listen on ? Can you give an example use ?
Thanks,
ilker
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: Friday, April 07, 2006 2:49 PM
To: İlker Aktuna (Koç.net)
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Listen on multiple ports and for multiple domains
İlker Aktuna (Koç.net) wrote:
>
>
> Hi,
>
> Is it possible to force Ser to listen on multiple ports ?
> I just tried adding multiple port lines to the config file, but it did
> not start that way.
>
multiple listen=...
directives should work.
> Also, another question is how to add multiple domains. Again, I tried
> to add multiple domain lines to the config but didn't work.
you can either use multiple alias= directives or use the domain module and the functions provided by this module.
You also have to enable domain support in several modules:
modparam("group|usrloc", "use_domain", 1)
regards
klaus
<http://387555.sigclick.mailinfo.com/sigclick/03090505/04064D03/01054E02/201…>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
Hi,
Is it possible to force Ser to listen on multiple ports ?
I just tried adding multiple port lines to the config file, but it did not start that way.
Also, another question is how to add multiple domains. Again, I tried to add multiple domain lines to the config but didn't work.
Thanks,
ilker
<http://387555.sigclick.mailinfo.com/sigclick/060A0407/01044E00/04004F00/152…>
_____________________________________________________________________________________________________________________________________________
Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however, sender cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
_____________________________________________________________________________________________________________________________________________
Hello to all
Im using RTPproxy, with 2 IP addresses (one private and one public IP),
this way: "rtpproxy -l private_IP/public_IP"
The calls from the LAN to the Internet (and vice versa) must pass
through the server, (from the private IP to the public IP) .
This is made with NatHelper + RTPproxy. But Im having some problems with
RTPproxy and I would like to try MediaProxy.
Can MediaProxy work with 2 IPs (one private and one public)?
Thanks
Joao Pereira