Re: [SR-Users] Remote SIP Registration

2015-08-05 Thread M S
You can use uac_reg_request_to method, http://kamailio.org/docs/modules/4.3.x/modules/uac.html#uac.f.uac_reg_request_to%28user,%20mode%29 Thank you. On Wed, Aug 5, 2015 at 4:34 PM, Keith wrote: > Yeah the UUID matches that in the database. > > I have an extension registered and what the dial

Re: [SR-Users] Remote SIP Registration

2015-08-05 Thread Keith
I now have it registered but when I try and send a call it comes back unauthorised. I'm not sure how to send the invite using that authenticated user?? Keith On Wed, Aug 5, 2015 at 12:42 PM, M S wrote: > Perhaps the uuid you are giving to mi command is incorrect. You can look > at the db tabl

Re: [SR-Users] Remote SIP Registration

2015-08-05 Thread Keith
Yeah the UUID matches that in the database. I have an extension registered and what the dial to pass out through this externally registered account. Keith On Wed, Aug 5, 2015 at 12:42 PM, M S wrote: > Perhaps the uuid you are giving to mi command is incorrect. You can look > at the db table wh

Re: [SR-Users] Remote SIP Registration

2015-08-05 Thread M S
Perhaps the uuid you are giving to mi command is incorrect. You can look at the db table where the uac registrations are stored to find the correct uuid. Thank you. On Wed, Aug 5, 2015 at 12:17 PM, Keith wrote: > Hi, > > So I can see the registration attempt now, and I get a 200OK back, but >

Re: [SR-Users] Remote SIP Registration

2015-08-05 Thread Keith
Hi, So I can see the registration attempt now, and I get a 200OK back, but when I run: kamcmd uac.reg_info l_uuid (UUID here) I don't see anything, just a blank line is returned? Thanks Keith On Tue, Aug 4, 2015 at 12:19 PM, M S wrote: > Make sure to enable and set reg_timer_interval and reg

Re: [SR-Users] Remote SIP Registration

2015-08-04 Thread Keith
Yeah I don't see any registration requests in TCPDUMP or in the kamailio log. This is what I have in the code (masked sensitive values): loadmodule "uac.so" modparam("uac", "reg_db_url", "mysql://xxx@localhost/kamailio") modparam("uac", "reg_timer_interval", 60) modparam("uac", "reg_retr

Re: [SR-Users] Remote SIP Registration

2015-08-04 Thread Keith
Thanks, i'll make sure those settings are in. So if I add the account to the table, how do I make sure the outbound call uses that account? Thanks Keith On Tue, Aug 4, 2015 at 12:19 PM, M S wrote: > Make sure to enable and set reg_timer_interval and reg_retry_interval > appropriately. Otherwis

Re: [SR-Users] Remote SIP Registration

2015-08-04 Thread M S
Make sure to enable and set reg_timer_interval and reg_retry_interval appropriately. Otherwise failing registrations will be disabled and will not be reattempted. Thank you. On Tue, Aug 4, 2015 at 1:13 PM, Keith wrote: > Thanks for the quick response. I have already tried to use the db method

Re: [SR-Users] Remote SIP Registration

2015-08-04 Thread Keith
Thanks for the quick response. I have already tried to use the db method but can't see the registration requests going out. Is there something you have to do to force the registration attempts? Thanks Keith On Tue, Aug 4, 2015 at 11:48 AM, M S wrote: > If you have just one or two carriers requir

Re: [SR-Users] Remote SIP Registration

2015-08-04 Thread M S
If you have just one or two carriers requiring registration, then you can using this, http://kamailio.org/docs/modules/4.3.x/modules/uac.html#uac.f.uac_auth%28%29 If you have many carriers or want db based backend for periodic registration then look at reg_* module parameters in UAC module, http

Re: [SR-Users] Remote SIP Registration

2015-08-04 Thread Keith
Hi, I have a carrier who require registration, I have looked at the uac module but can't see how to do this. Anyone point me in the right direction? Thanks Keith ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists