[Serusers] re: Mysql

Daniel-Constantin Mierla Daniel-Constantin.Mierla at fokus.fraunhofer.de
Tue Sep 30 16:57:18 CEST 2003


On 9/30/2003 4:23 PM, Sesha Bhatlapenumarthy wrote:

>Can someone please tell me how to configure usrloc module to store contact
>addresses of the SIP phones into database?
>
Set 'db_mode' parameter of usrloc to 1 or 2, e.g.,  modparam("usrloc", 
"db_mode", 2).
You need to load mysql module too. See usrloc manual at: 
http://iptel.org/ser/doc/modules/html/usrloc.html and the admin guide 
at: http://iptel.org/ser/doc/seruser/seruser.html. Also, the default 
config file that comes with ser distribution has some comments about 
this topic.

Daniel

>
>-----Original Message-----
>From: Daniel-Constantin Mierla
>[mailto:Daniel-Constantin.Mierla at fokus.fraunhofer.de]
>Sent: Tuesday, September 30, 2003 6:06 AM
>To: Sesha Bhatlapenumarthy
>Cc: serusers at lists.iptel.org
>Subject: Re: [Serusers] re: Mysql
>
>
>Hello,
>
>On 9/29/2003 8:32 PM, Sesha Bhatlapenumarthy wrote:
>
>  
>
>>Should we load the mysql module if I am testing Ser to forward the calls to
>>one SIP phone?
>>
>>
>>
>>    
>>
>only if you want to restart ser after the sip phone has registered. In
>this care you need to configure the usrloc module to store the contact
>addresses of the users into database (with modparam("usrloc", "db_mode",
>2) -- see the default config file that comes with ser distributions).
>Otherwise the contact addresses are stored in memory and when you
>restart SER they will be lost.
>
>If you have only one phone that has a static IP address and listens on a
>certain port you can send the SIP messages direct to it with
>'t_relay_to_udp(host,port)' and you don't need usrloc.
>
>Best regards,
>Daniel
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>  
>





More information about the sr-users mailing list