[SR-Users] Kamailio 3.1.x and Asterisk 1.6.2 Realtime Integration

Kurt Mullen kmullen at practical-pc.com
Wed Dec 29 22:21:16 CET 2010


Apparently the process of the installation did not setup even a default
sip.conf file, and there were some other issues with the Kamailio.cfg file.
Most of the issues were resolved by one of the other users in the group, and
we were able to get the system running.

Thanks everyone for your assistance.

-----Original Message-----
From: sr-users-bounces at lists.sip-router.org
[mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of
sr-users-request at lists.sip-router.org
Sent: Wednesday, December 29, 2010 11:49 AM
To: sr-users at lists.sip-router.org
Subject: sr-users Digest, Vol 67, Issue 75

Send sr-users mailing list submissions to
	sr-users at lists.sip-router.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
or, via email, send a message with subject or body 'help' to
	sr-users-request at lists.sip-router.org

You can reach the person managing the list at
	sr-users-owner at lists.sip-router.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of sr-users digest..."


Today's Topics:

   1. Re: Kamailio 3.1.x and Asterisk 1.6.2 Realtime Integration
      using Asterisk Database (Klaus Darilion)
   2. Load Balancing (Tim King)
   3. Re: Load Balancing (Alex Balashov)
   4. fifo dp_translate (Borin)
   5. Re: some issues with database initialization	(berkeley/txt)
      (Noa Resare)
   6. Re: some issues with database initialization	(berkeley/txt)
      (Daniel-Constantin Mierla)


----------------------------------------------------------------------

Message: 1
Date: Wed, 29 Dec 2010 15:17:41 +0100
From: Klaus Darilion <klaus.mailinglists at pernau.at>
Subject: Re: [SR-Users] Kamailio 3.1.x and Asterisk 1.6.2 Realtime
	Integration using Asterisk Database
To: sr-users at lists.sip-router.org
Message-ID: <4D1B4305.30504 at pernau.at>
Content-Type: text/plain; charset=windows-1252; format=flowed



On 28.12.2010 22:07, Kurt Mullen wrote:
> I am on my 20^th (I?m not kidding) attempt to successfully complete 
> this tutorial.
>
> I have installed on Ubuntu 10.10 x64 Server. I installed Kamailio & 
> Asterisk on the same server as in the tutorial.
>
> I have two SIP clients registered, but they are not able to call each
other.
>
> No one answered my last two posts, so I hope someone can help this time.

If you can describe the problem (why can't they call each other) we can help
you.

So, first you have to find out what is the problem. Use a packet sniffer
(wireshark, ngrep) to capture the SIP traffic and analyze it (yes, if you
want to use Kamailio you have to know at least the basics of SIP) for the
problems.

regards
klaus



------------------------------

Message: 2
Date: Wed, 29 Dec 2010 09:31:28 -0500
From: Tim King <tim at compnetwork.net>
Subject: [SR-Users] Load Balancing
To: sr-users at lists.sip-router.org
Message-ID:
	<AANLkTindx_r-RmTJSjTnpfdmLX8Nespzs_M9O0f6y385 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I have read many examples and it seems I have found several pieces of how to
do this but no real example of how to achieve this.

I followed this setup guide:
http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc

Performed this Kamailio  install:
http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git

I have found the page for the dispatcher module here:
http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html

I also am curious if this dispatcher setup can be driven solely from the
dispatcher mysql table or if the dispatcher.list file is required.

Can someone point me towards the proper documentation that truly show how to
configure these features.

*SIP Routing Capabilities*

   -
      - NAT traversal support for SIP and RTP traffic
      - load balancing with many distribution algorithms and failover
      support
      - flexible least cost routing
      - routing failover
      - replication for High Availability (HA)




* Load Based Load Balancing
** -------------------------
**
** +----------+
** | Kamailio |
** +----------+
**   |
**   |       +--------------+
**   |-------| FreeSWITCH 1 |  [Calls 1,3,7]
**   |       +--------------+
**   |
**   |       +--------------+
**   |-------| FreeSWITCH 2 |  [Calls 2,6]
**           +--------------+
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.sip-router.org/pipermail/sr-users/attachments/20101229/68a4e40
0/attachment-0001.htm>

------------------------------

Message: 3
Date: Wed, 29 Dec 2010 09:42:43 -0500
From: Alex Balashov <abalashov at evaristesys.com>
Subject: Re: [SR-Users] Load Balancing
To: Tim King <tim at compnetwork.net>
Cc: "sr-users at lists.sip-router.org" <sr-users at lists.sip-router.org>
Message-ID: <CE91AC9F-75BC-4B91-91B7-65CDA0276104 at evaristesys.com>
Content-Type: text/plain; charset="us-ascii"; Format="flowed";
	DelSp="yes"

Dispatcher module.

--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

On Dec 29, 2010, at 9:31 AM, Tim King <tim at compnetwork.net> wrote:

> I have read many examples and it seems I have found several pieces of 
> how to do this but no real example of how to achieve this.
>
> I followed this setup guide: 
> http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc
>
> Performed this Kamailio  install: 
> http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-
> git
>
> I have found the page for the dispatcher module here: 
> http://kamailio.org/docs/modules/3.1.x/modules_k/dispatcher.html
>
> I also am curious if this dispatcher setup can be driven solely from 
> the dispatcher mysql table or if the dispatcher.list file is required.
>
> Can someone point me towards the proper documentation that truly show 
> how to configure these features.
>
> SIP Routing Capabilities
> NAT traversal support for SIP and RTP traffic load balancing with many 
> distribution algorithms and failover support flexible least cost 
> routing routing failover replication for High Availability (HA)
>
>
>
>  Load Based Load Balancing
>  -------------------------
>
>  +----------+
>  | Kamailio |
>  +----------+
>    |
>    |       +--------------+
>
>    |-------| FreeSWITCH 1 |  [Calls 1,3,7]
>    |       +--------------+
>    |
>    |       +--------------+
>    |-------| FreeSWITCH 2 |  [Calls 2,6]
>            +--------------+
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing  
> list
> 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/20101229/24067ca
5/attachment-0001.htm>

------------------------------

Message: 4
Date: Wed, 29 Dec 2010 18:29:45 +0100
From: Borin <katerin.borin at gmail.com>
Subject: [SR-Users] fifo dp_translate
To: sr-users at lists.sip-router.org
Message-ID:
	<AANLkTik_qnYkeLqnR5D-qpdgn3Yk_3vfAtAh5yjfWKPN at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello everyone
is there a possibility to check working dialplan rules in kamailio (ver
1.4)  with the command kamctl fifo dp_translate ? "fifo which" shows that
there is such command but I can't figure out how to use it. some rules are
not working and I want to check if kamailio loads everything from dialplan
table correctly.  Mainly I use fifo commands to reload dialplan and
dispatcher so fifo is configured right I suppose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.sip-router.org/pipermail/sr-users/attachments/20101229/c41214c
5/attachment-0001.htm>

------------------------------

Message: 5
Date: Wed, 29 Dec 2010 18:44:57 +0100
From: Noa Resare <noa at spotify.com>
Subject: Re: [SR-Users] some issues with database initialization
	(berkeley/txt)
To: Daniel-Constantin Mierla <miconda at gmail.com>
Cc: sr-users at lists.sip-router.org
Message-ID:
	<AANLkTinFb=9=yT4ZQn3WXdcxynLGwkDv9feDLMdeBbxa at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Tue, Dec 28, 2010 at 11:05 AM, Daniel-Constantin Mierla <
miconda at gmail.com> wrote:

>
>
> On 12/27/10 2:09 PM, Juha Heinanen wrote:
>
>> Daniel-Constantin Mierla writes:
>>
>>  Juha, can the files for former lcr module tables 'gw' and 'lcr' be
>>> removed?
>>>
>> yes, in 3.1 lcr module uses these three tables: lcr_gw, lcr_rule,
>> lcr_rule_target.
>>
>>  ok, done, cherry-picked in 3.1 for dbtext and db_berkeley.
>
>
Great. I tried building .debs from the 3.1 branch (last commit 553190) and
indeed it reinits the database of DBTEXT type correctly. Not for db_berkeley
though.

/noa


-- 
Everything is secret.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.sip-router.org/pipermail/sr-users/attachments/20101229/b607b86
7/attachment-0001.htm>

------------------------------

Message: 6
Date: Wed, 29 Dec 2010 18:48:47 +0100
From: Daniel-Constantin Mierla <miconda at gmail.com>
Subject: Re: [SR-Users] some issues with database initialization
	(berkeley/txt)
To: Noa Resare <noa at spotify.com>
Cc: sr-users at lists.sip-router.org
Message-ID: <4D1B747F.9060902 at gmail.com>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"



On 12/29/10 6:44 PM, Noa Resare wrote:
> On Tue, Dec 28, 2010 at 11:05 AM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>
>
>     On 12/27/10 2:09 PM, Juha Heinanen wrote:
>
>         Daniel-Constantin Mierla writes:
>
>             Juha, can the files for former lcr module tables 'gw' and
>             'lcr' be
>             removed?
>
>         yes, in 3.1 lcr module uses these three tables: lcr_gw, lcr_rule,
>         lcr_rule_target.
>
>     ok, done, cherry-picked in 3.1 for dbtext and db_berkeley.
>
>
> Great. I tried building .debs from the 3.1 branch (last commit 553190) 
> and indeed it reinits the database of DBTEXT type correctly. Not for 
> db_berkeley though.
>
thanks for trying and reporting. db_berkely wasn't fixed indeed, I will 
do it in moments.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Training
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.sip-router.org/pipermail/sr-users/attachments/20101229/7392e47
0/attachment.htm>

------------------------------

_______________________________________________
sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


End of sr-users Digest, Vol 67, Issue 75
****************************************




More information about the sr-users mailing list