Hello, I'm using presence and pua modules, it works perfectly when username is equal to extension... But now I have case when username is not equal to the extension.. Like: extension: 1111 username: aythnbghhgt
How I can implement this? Any ideas?
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Hello,
The pua_dialoginfo module includes puburi_caller_avp and puburi_callee_avp which may help for dialog events:
https://www.kamailio.org/docs/modules/stable/modules/pua_dialoginfo.html#idm...
I am not sure if other event types have the same or equivalent.
Regards,
Charles
On Fri, 21 Feb 2020 at 07:09, Zhan Bazarov chiefkeeft@gmail.com wrote:
Hello, I'm using presence and pua modules, it works perfectly when username is equal to extension... But now I have case when username is not equal to the extension.. Like: extension: 1111 username: aythnbghhgt
How I can implement this? Any ideas?
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Thanks for u reply! In additional - extensions may be duplicated... I have some kind of accound_id. And same extension may exist in other account..
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Hello,
Kamailio has no way to know the difference between logically separate 'extensions' unless you tell it. Whilst each extension number may exist on multiple accounts on your PBX behind Kamailio, you'll need to find a way to uniquely identify each of them inside of Kamailio. That could be a concatenation of account ID and extension number to create unique users on the same domain, or a subdomain for each account ID - either way, if you want Kamailio to see them as unique AORs, then you'll need to establish some way of making them so.
Best,
Charles
On Sat, 22 Feb 2020 at 10:05, Zhan Bazarov chiefkeeft@gmail.com wrote:
Thanks for u reply! In additional - extensions may be duplicated... I have some kind of accound_id. And same extension may exist in other account..
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users