Re: [SR-Users] UAC Register Asterisk

2016-03-31 Thread Eric Koome
If using asterisk realtime, create a view of the sip users table with password set to null. This will scale if sharing databases which are replicated. Then you can use Kamailio to authenticate and Asterisk to handle media. > On 31 Mar 2016, at 10:21, Alberto Sagredo > wrote: > > Thanks Daniel

Re: [SR-Users] UAC Register Asterisk

2016-03-31 Thread Alberto Sagredo
Thanks Daniel. Will take a look to that. 2016-03-31 11:06 GMT+02:00 Daniel-Constantin Mierla : > If Asterisk is still do it the authentication, then likely it is not much > gain on overall scalability. Maybe you can just use kamailio as an edge > proxy with Path enabled. > > Otherwise, the reque

Re: [SR-Users] UAC Register Asterisk

2016-03-31 Thread Daniel-Constantin Mierla
If Asterisk is still do it the authentication, then likely it is not much gain on overall scalability. Maybe you can just use kamailio as an edge proxy with Path enabled. Otherwise, the requests generated with uac_req_send() don't get in failure_route. You have to set the auth user/password in the

Re: [SR-Users] UAC Register Asterisk

2016-03-31 Thread Alberto Sagredo
I have it working, authenticating in Kamailio. And just works. But there is a farm with lots of Asterisk and i was looking for an easy way to do not modify secret= and permit= on every Asterisk Machine... Thats why i was looking for that.. 2016-03-31 10:55 GMT+02:00 Marrold : > Why not just au

Re: [SR-Users] UAC Register Asterisk

2016-03-31 Thread Marrold
Why not just authenticate on Kamailio in that case? Also, be aware that the Authorization Username ($au) is included in SIP digest authentication. $au and $fu aren't necessarily the same, but on most end points the default is to use the same value for both. If you manipulate $fu or $au it may cau

Re: [SR-Users] UAC Register Asterisk

2016-03-31 Thread Alberto Sagredo
Hi Marrold. I want to authenticate user on Kamailio but want Asterisk to see them registered with kamailio ip as contact. I making also some manipulations in $fu as users are different (emp_xxx_ext) in kamailio than in Asterisk xxx_ext Thanks 2016-03-31 10:48 GMT+02:00 Marrold : > Why not just

Re: [SR-Users] UAC Register Asterisk

2016-03-31 Thread Marrold
Why not just relay the registration messages to Asterisk itself? What's the use case? Cheers On Thu, Mar 31, 2016 at 9:34 AM, Alberto Sagredo < alberto.sagr...@avanzada7.com> wrote: > Hi > > Im trying to modify example for Asterisk/Kamailio integration that miconda > did, and trying to handle Fo

[SR-Users] UAC Register Asterisk

2016-03-31 Thread Alberto Sagredo
Hi Im trying to modify example for Asterisk/Kamailio integration that miconda did, and trying to handle Forwarded register to Asterisk in an authenticated way instead removing secret in asterisk. I have made this changes route[REGFWD] { if(!is_method("REGISTER")) {