I route calls to Kamailio only if user is registered there. Other calls I route directly to outbound provider.

On Wed, Feb 15, 2012 at 7:45 PM, Olle E. Johansson <oej@edvina.net> wrote:

15 feb 2012 kl. 18:29 skrev Stoyan Mihaylov:

> I did - registration is purely in Kamailio.
> In Asterisk - I created sip account for Kamailio based on IP address without username and password.
> This way - all calls from Kamailio go to Asterisk without problems.
> In Kamailio I allowed calls from Asterisks.
> You do not need realtime in Asterisk, because Kamailio do all registrations perfectly well.

Don't forget to set outbound proxy in asterisk, so all calls, regardless of destination, go to Kamailio.

/O
_______________________________________________
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