Hello,

you can simply forward register requests to asterisk boxes if you don't want Kamailio to replace the Contact address and maintain location records. You would better use a version of asterisk with path support if you have phones behind the nat and enable path in kamailio as well.

Cheers,
Daniel

On 29/05/15 21:03, Nelson Migliaro wrote:
Hello,

I am trying to forward the register to multiple Asterisk using Kamailio.

The basic Idea is:

Softphone A---->Kamailio-----> Asterisk 1
                                    ------> Asterisk 2.

I follow Asipto howto http://lylix.net/kamailio, but the problem I see in my case, is that registration IP in Asterisk is Kamailio´s IP. This causes calls going from kamailio to asterisk and then back to kamailio. In my scenario, I need that softphone A IP appeard in Asterisk realtime contact IP.

The call path would be:

Softphone B -> kamailio -> Asterisk 1 or Asterisk 2 (depending on dispatcher) -> Softphone A

Following Asipto how to the call goes Softphone A -> kamailio -> asterisk -> kamailio Softphone B

Hope I explain myself clearly.

Thank you in advance.




_______________________________________________
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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com