[Serusers] Registeration failed

Greger V. Teigre greger at teigre.com
Mon Sep 18 09:31:04 CEST 2006


1. Always copy serusers, I don't answer private emails that should be on 
serusers
2. I don't answer questions "show me what to do", just questions that 
show you have made an attempt at understanding things yourself 
(especially when I already have pointed out a very good source of 
information)
g-)

mukesh wrote:
> Hi Greger,
> 	thanks a ton for your quick reply. 
>
> 		
> 	below is my ser.cfg (some extarcts), where do In need to make the
> change?
> -----------------------------------
> 	..........
> 	..........
> 	fifo="/tmp/ser_fifo"
> 	fifo_db_url="mysql://ser:heslo@localhost/ser"
> 	..........
> 	..........
> 	# ----------------- setting module-specific parameters
> ---------------
> 	..........
> 	..........	
> 	# -- auth params --
> 	#following single statement is added by Mukesh
> 	modparam("auth_db|uri_db|usrloc", "db_url",
> "mysql://ser:heslo@localhost/ser")
> 	..........
> 	..........
> 	# -- rr params --
> 	# add value to ;lr param to make some broken UAs happy
> 	modparam("rr", "enable_full_lr", 1)	
> 	...................
> 	....................	
> 	if (uri==myself) {
>
>                 if (method=="REGISTER") {
>
> 		# Uncomment this if you want to use digest authentication
>                         if (!www_authorize("ims.myserver.com",
> "subscriber")) {
>                                 www_challenge("ims.myserver.com", "0");
>                                 break;
>                         };
>
>                         save("location");
>                         break;
>                 };
>
>                 lookup("aliases");
>                 if (!uri==myself) {
>                         append_hf("P-hint: outbound alias\r\n");
>                         route(1);
>                         break;
>                 };
>
>                 # native SIP destinations are handled using our USRLOC DB
>                 if (!lookup("location")) {
>                         sl_send_reply("404", "Not Found");
>                         break;
>                 };
>         };
>         append_hf("P-hint: usrloc applied\r\n");
>         route(1);	
> --------------------------ser.cfg ends here---------------------------------
>
> 	And I could not find any /etc/localhosts file but host.conf, hosts,
> hosts.dny and hosts.allow were there. Plz suggest where sholf I make the
> changes.
>
> Regards
> Mukesh
>
>
> -----Original Message-----
> From: Greger V. Teigre [mailto:greger at teigre.com]
> Sent: Friday, September 15, 2006 12:04 PM
> To: mukesh
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] Registeration failed
>
> Hi Mukesh,
>
> 1. You cannot ping an AOR (Address Of Record) that is not registered, i.e.
> serctl ul show. 
> SER does not find the AOR and tries to DNS resolve it to find out which
> server to forward the call to. ims.myserver.com should thus be DNS
> resolvable (or add it to your /etc/locelhosts file as an alias to your
> server's public address).You will also want to add alias=ims.myserver.com to
> your config
>
> 2. See the Getting Started document at
> http://iptel.org/ser/doc/gettingstarted, as well as the documentation for
> the SIP client you use on your mobile.  Which one is it?!
> g-)
>
> mukesh wrote:
>   
>> Hi friends,
>> 	I have successfully installed SER with MySQL support on my linux 
>> machine (having public ip) and have added to users leo and mukesh.
>> 	
>> 	I have exported SIP_DOMAIN as
>> 	# export SIP_DOMAIN=ims.myserver.com	
>> 	and added "export SIP_DOMAIN=ims.myserver.com" to /etc/profile as 
>> well
>>
>> First Problem
>> ---------------------------
>> If I try below...
>>
>> # /usr/local/sbin/serctl ping sip:mukesh at ims.myserver.com   
>> [1]+  Done                    cat <$path | filter_fl  
>> 500
>>
>> Below is error log extracted from /var/log/messages
>>
>> Sep 15 10:37:30 oradb1 ser:  2(3911) ERROR: mk_proxy: could not 
>> resolve
>> hostname: "ims.myserver.com"
>> Sep 15 10:37:30 oradb1 ser:  2(3911) ERROR: uri2proxy: bad host name 
>> in URI <sip:mukesh at ims.myserver.com> Sep 15 10:37:30 oradb1 ser:
>> 2(3911) ERROR: uri2sock: Can't create a dst proxy Sep 15 10:37:30
>> oradb1 ser:  2(3911) ERROR: get_hfblock: send_sock failed Sep 15 
>> 10:37:30 oradb1 ser:  2(3911) ERROR: fifo_uac_error: no mem for hf 
>> block
>> -----------------------------
>>
>> Second Problem
>> --------------
>> How can I configure my Nokia6680 as UA (It has SIP support)? 
>>
>>
>> any kind of help/suggestion is highly appreciated.
>>
>> Regards
>> Mukesh Kumar
>>
>>
>>
>>
>> _______________________________________________
>> Serusers mailing list
>> Serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>>   
>>     
>
>
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060918/f142eb36/attachment.htm>


More information about the sr-users mailing list