[OpenSIPS-Users] Call to registered user -- Caller id search

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Sep 24 09:02:07 CEST 2015


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 <john.nash778 at gmail.com 
> <mailto:john.nash778 at gmail.com>> 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
>     <bogdan at opensips.org <mailto:bogdan at opensips.org>> 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
>>         Users at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150924/4fae665a/attachment-0001.htm>


More information about the Users mailing list