[SR-Users] Kamailio B2BUA or Dual router ?

Mark Henriksen mark at mocialcall.com
Wed Oct 7 09:32:51 CEST 2015


Yes I understand that with 2 interfaces, but I am looking for 1 interface
with multiple IP’s (ipv4) assigned to that interface, can’t seem to get the
logic for Kamailio on knowing what in or out depending on IP ?

 

Basically I have this

 

SIP Client             ßà      Kamailio Proxy w/RTpproxy
ßà      Asterisk

9.9.9.9                                   8.8.8.8 external/internal 1.1.1.2
1.1.1.3

 

So I need traversal and translation over same interface in both directions ?
(seems like a b2bua, but only need load-balancer for this scenario)

 

 

Hilsen / Regards

Mark Henriksen

 

From: sr-users [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of
Daniel-Constantin Mierla
Sent: Tuesday, October 6, 2015 15:57
To: Kamailio (SER) - Users Mailing List <sr-users at lists.sip-router.org>
Subject: Re: [SR-Users] Kamailio B2BUA or Dual router ?

 

Hello,

yes, you can use kamailio to bridge between two interfaces, an example is:

http://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6

You need rtpproxy or rtpengine to bridge the media as well -- for rtpproxy,
there is an rather old but still good to look at example in source tree:

modules/nathelper/examples/alg.cfg

On AWS, you may need to declare 'advertise' property to listen parameters
(see core cookbook in kamailio.org/wiki/).

Cheers,
Daniel

On 06/10/15 13:46, Mark Henriksen wrote:

Hello All

 

I have been looking for answers and trying really hard to figure out if I
can use Kamailio as a Dual Router (Inbound and Outbound using 2 IPs on 1 Eth
“Amazon AWS”)

 

I can not seem to find information is this is possible using Kamailio or if
am just plain “stupid” and can not read the Wiki well enough J

 

Hope you can help

 

//Mark





_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org <mailto:sr-users at 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
Book: SIP Routing With Kamailio - http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151007/87ffa3e5/attachment.html>


More information about the sr-users mailing list