[SR-Users] Kamailio getting started

Scott, Matt mscott at homeadvisor.com
Thu Nov 29 17:42:35 CET 2012


Thanks for the help! There's a doc called "Kamailio-Start-To-Finish.pdf", that is super simple.
I've got a phone registered to Kamailio, and can call a phone on asterisk just fine.

Now when I call Kamailio phone from asterisk phone, the call just loops back to my asterisk box.
I'm sure I'm missing something since this is the only dialplan logic I've currently configured.

        route(TOASTERISK);
}

# Route ToAsterisk
        route[TOASTERISK] {
        rewritehostport("X.X.X.X:5060");
        t_relay();
        exit;
        }


I think I need a FromAsterisk route; just need to figure out where..


Matt Scott








From: sr-users-bounces at lists.sip-router.org [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Stoyan Mihaylov
Sent: Thursday, November 15, 2012 6:19 AM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio getting started

My configuration is
SIP client <-> Kamailio <-> Asterisk <-> Kamailio <-> SIP client
You can start from http://www.kamailio.org/wiki/start#tutorials
Dialing from Asterisk looks like:
SIP/KamailioIP/NumberToDial,gwWL(3307996)

In Kamailio if you put IP of Asterisk servers in correct tables, you can authenticate calls with allow_source_address()
WIth ds_select_dst("1","4"); you can forward call to Asterisk servers.
In Asterisk, you should allow calls from Kamailio....

On Wed, Nov 14, 2012 at 8:10 PM, Scott, Matt <mscott at homeadvisor.com<mailto:mscott at homeadvisor.com>> wrote:
Anybody got a good tutorial or starter project for Kamailio?
We have Siremis 3 installed, but there is 0 help on that?

Trying to solve 2 scenarios:
-asterisk to softphone through kamailio
-softphone to asterisk through kamailio.

I ultimately want to use Kamailio as an edge router

Any help is appreciated.

Matt Scott









_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121129/fcf3a656/attachment-0001.htm>


More information about the sr-users mailing list