Hello, I have clients which register to Kamailio using an auth username. The from username is used for caller id on an INVITE. This causes a problem if the client does not use the auth username in the from for the REGISTER. The caller id number is then saved as the AOR username which doesn't correspond to a valid account. Is there a way I can store the authorized username instead of the From username in the AOR?
Thanks, Spencer
I'm sorry I meant contact URI not From.
On Feb 7, 2012, at 5:48 PM, Spencer Thomason wrote:
Hello, I have clients which register to Kamailio using an auth username. The from username is used for caller id on an INVITE. This causes a problem if the client does not use the auth username in the from for the REGISTER. The caller id number is then saved as the AOR username which doesn't correspond to a valid account. Is there a way I can store the authorized username instead of the From username in the AOR?
Thanks, Spencer
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
Spencer,
With registrations, it is the To URI, not the From URI, that determines the AOR stored. The From URI is only used as the asserted identity for requests like INVITE.
Not sure if that helps.
-- This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors.
Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com
On Feb 7, 2012, at 8:48 PM, Spencer Thomason spencer@5ninesolutions.com wrote:
Hello, I have clients which register to Kamailio using an auth username. The from username is used for caller id on an INVITE. This causes a problem if the client does not use the auth username in the from for the REGISTER. The caller id number is then saved as the AOR username which doesn't correspond to a valid account. Is there a way I can store the authorized username instead of the From username in the AOR?
Thanks, Spencer
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
Can I replace the To: username and then call save():
On Feb 7, 2012, at 5:56 PM, Alex Balashov wrote:
Spencer,
With registrations, it is the To URI, not the From URI, that determines the AOR stored. The From URI is only used as the asserted identity for requests like INVITE.
Not sure if that helps.
-- This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors.
Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com
On Feb 7, 2012, at 8:48 PM, Spencer Thomason spencer@5ninesolutions.com wrote:
Hello, I have clients which register to Kamailio using an auth username. The from username is used for caller id on an INVITE. This causes a problem if the client does not use the auth username in the from for the REGISTER. The caller id number is then saved as the AOR username which doesn't correspond to a valid account. Is there a way I can store the authorized username instead of the From username in the AOR?
Thanks, Spencer
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
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
On 02/07/2012 08:59 PM, Spencer Thomason wrote:
Can I replace the To: username and then call save():
No, but check this out:
http://www.kamailio.org/docs/modules/3.2.x/modules_k/registrar.html#id254003...
Thanks!
That is working well.
Spencer
On Feb 7, 2012, at 6:18 PM, Alex Balashov wrote:
On 02/07/2012 08:59 PM, Spencer Thomason wrote:
Can I replace the To: username and then call save():
No, but check this out:
http://www.kamailio.org/docs/modules/3.2.x/modules_k/registrar.html#id254003...
-- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
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