Thanks for the deedback Daniel. I thought there could be an easier way to do it as we may have several devices like this. But as I got no other responses to my query, then I guess this is the only way to do it!
Cheers!
Moacir
> From: daniel@pocos.nl
> To: sr-users@lists.sip-router.org
> Date: Mon, 21 Jul 2014 11:30:21 +0200
> Subject: Re: [SR-Users] Non authenticated user/extension
>
> On Friday 18 July 2014 16:31:08 Moacir Ferreira wrote:
> > Is it possible to create a static user/extension in Kamailio? I.e.: Have
> > extension 11223344 being sent to IP address 192.168.0.100 while also not
> > requiring this extension to authenticate when making calls.
>
> Setting $rd to "192.168.0.100" should do the trick if $rU equals "11223344".
> It is up to the endpoint whether to accept this call or not.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users