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]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to