Hi Metshet,
in the sip.conf located usually in /etc/asterisk/sip.conf
look for the parameters
bindport=5060
bindaddr=0.0.0.0
You can adjust the port and/or the ip the asterisk listen.
You can take two paths:
- Alias interfaces, having the same box w/ several ip address.
- Let asterisk use a different port
In both ways you need let kamailio know what ip/port need to talk to
asterisk.
Personally I like to have several ip addresess in one box, this way I
can talk directly to asterisk and kamailio in their native sip port.
Regards,
Rafael
On Apr 17, 2009, at 9:33 AM, Schumann Sebastian wrote:
Hi Metshet
Sure it is possible. You can specify with the listen= or port=
statement the Transport:IP:port or just the port respectively.
The option, to modify the SIP port should also exisit in Asterisk.
Sebastian
PS: See e.g.
http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:1.5.x#listen
for listen in Kamailio 1.5
From: users-bounces(a)lists.kamailio.org [mailto:users-bounces@lists.kamailio.org
] On Behalf Of Metshet Seleshi
Sent: Friday, 17. April 2009 15:27
To: users(a)lists.kamailio.org
Subject: [Kamailio-Users] run openser and asterisks in one box
hi all,
is it possible to run openser and asterisks in one box,
I have googled but all the result I got have
rewritehostport("X.X.X.X:5060) with a diffrent IP than the server
IP,
I am assuming either they have 2 network card or refering to
another host .
but will it be possible to put them togather? if so how,
thanks,
please help
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users