Yes John, that is correct. If you do not have the key in cache, look it
up in DB and store it in cache.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 24.09.2015 06:22, John Nash wrote:
I think I can use local_cache and store caller id as key and sip user
as value. Right?
On Thu, Sep 24, 2015 at 8:26 AM, John Nash <[email protected]
<mailto:[email protected]>> wrote:
OK..I also looked at alias module. I am really fascinated by cache
any way to use alias db with cache?
On Wed, Sep 23, 2015 at 7:23 PM, Bogdan-Andrei Iancu
<[email protected] <mailto:[email protected]>> wrote:
Hi Nash,
If the registration of user2 was handled via save("location"),
you can route the call to actual IP of user2 via
lookup("location").
To translate between the 222222222 number and User2 (before
the lookup), use the aliases module.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 17.09.2015 17:12, John Nash wrote:
I am trying to test a use case in which I need to send call
to a registered user based on its caller ID.
User1
Username = 1001
Carrier id = 1111111111
User2
Username = 1002
Carrier id = 222222222
Both are registered to my opensips. Now if User1 calls number
222222222 , I want opensips to try to reach User2 if its online.
Is this possible?
_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users