[SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

Jurijs Ivolga jurij.ivo at gmail.com
Fri Jan 29 15:19:38 CET 2016


Hi Baris,

Your config file missing very critical parts:

Most important you are missing following line:

route(FSDISPATCH);

and lines starting with:

route[FSDISPATCH] {

and maybe something else...

I propose you to use just config from:

http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc

I believe it should work as it is.

With kind regards,

2016-01-29 16:11 GMT+02:00 Barış Şekerciler <baris.sekerciler at outlook.com>:

> Hello Jurijs,
> Here the kamailio.cfg file:
> http://paste2.org/HZwskVbJ
>
> So I already added these lines.
>
> Regards.
>
> On 29 Jan 2016, at 16:03, Jurijs Ivolga <jurij.ivo at gmail.com> wrote:
>
> Hi Baris,
>
> Could you please send full Kamailio config file? As I see call is not
> routed to Freeswitch for some reason. Maybe you don't have following lines
> in your config:
>
> #!ifdef WITH_FREESWITCH
> freeswitch.bindip = "192.168.2.131" desc "FreeSWITCH IP Address"
> freeswitch.bindport = "5090" desc "FreeSWITCH Port"#!endif
>
>
>
>  Without full Kamailio config file, I doubt that I will be able to help
> you.
>
> With kind regards,
>
> 2016-01-29 14:43 GMT+02:00 Barış Şekerciler <baris.sekerciler at outlook.com>
> :
>
>> Hello thanks,
>>
>> Log file in attachment (I added as Terminal Output) so it contains
>> daemon.log and syslog in the same file. You can see the terminal commands
>> with relations.
>>
>> Here is the log file content:
>> http://paste2.org/AwNINLtm
>>
>> It was too big and I could not send by mail.
>>
>> Regards.
>>
>>
>> On 29 Jan 2016, at 14:25, Jurijs Ivolga <jurij.ivo at gmail.com> wrote:
>>
>> Hi Baris,
>>
>> Standard output means your screen where you putting your commands, like
>> reboot.
>>
>> http://www.linfo.org/standard_output.html
>>
>> Kamilio writes logs, when not in debug to syslog, in your case it will be
>> /var/log/syslog or /var/log/messages or anything else like Phil mentioned,
>> but this is when no debug is enabled. When debug is enabled it should
>> appear on your linux shell.
>>
>> With kind regards,
>>
>> Jurijs
>>
>> 2016-01-29 14:17 GMT+02:00 Barış Şekerciler <baris.sekerciler at outlook.com
>> >:
>>
>>> Hi,
>>> I checked /var/logs directory for files which has relationship with
>>> Kamailio but nothing found.
>>>
>>> Is there anything to do in this case?
>>>
>>> Regards.
>>>
>>> On 29 Jan 2016, at 13:37, Jurijs Ivolga <jurij.ivo at gmail.com> wrote:
>>>
>>> div dir="ltr">
>>> Hi,
>>>
>>> Kamilio logs should be in standard output, so basically in console, keep
>>> in mind that you need to restart kamailio after updating kamailio.cfg.
>>>
>>> With kind regards,
>>>
>>> 2016-01-29 13:33 GMT+02:00 Barış Şekerciler <
>>> baris.sekerciler at outlook.com>:
>>>
>>>> Hello Jurjis,
>>>> I could not reach the Freeswitch DEMO IVR with IP phones which
>>>> registered at Kamailio Server. I think Kamailio can not route the
>>>> Freeswitch. Because phone says "Not Found" when I dialed the "455000".
>>>> And nothing to see except this at fs_cli:
>>>>
>>>> freeswitch at internal> console loglevel 7
>>>> +OK log level 7 [7]
>>>> +OK console log level set to DEBUG
>>>>
>>>> And I added #!define WITH_DEBUG line on Kamailio configuration file.
>>>> So, where does it write logs?
>>>>
>>>> Regards.
>>>>
>>>> On 29 Jan 2016, at 12:59, Jurijs Ivolga <jurij.ivo at gmail.com> wrote:
>>>>
>>>> Hi Baris,
>>>>
>>>> On freeswitch:
>>>> /usr/local/freeswitch/bin/fs_cli # this will open freeswitch console
>>>> and next command run into it.
>>>> console loglevel 7
>>>>
>>>> Then make a call from one extension to another and to 455000(what
>>>> should be freeswitch demo IVR)
>>>> Then copy all logs, put in file and send as attachment.
>>>>
>>>> On kamailio server somewhere on top add:
>>>>
>>>> #!define WITH_DEBUG
>>>>
>>>> Now all logs will be in console, so for same call copy logs what you
>>>> get in console to separate file, attach and send too.
>>>>
>>>> With kind regards,
>>>>
>>>> 2016-01-29 12:40 GMT+02:00 Barış Şekerciler <
>>>> baris.sekerciler at outlook.com>:
>>>>
>>>>> Hello again,
>>>>> I authanticated with Kamailio and communicate with IP phones
>>>>> succesfully.
>>>>> But depends on this tutorial:
>>>>> http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc
>>>>> When I tried to call "44102" I should go to voicemail box of user 102
>>>>> but phone says "not found" and I think Kamailio could not route to
>>>>> Freeswitch.
>>>>>
>>>>> BTW, what kind of logs do you want? Level? How can I send these are?
>>>>>
>>>>> Regards.
>>>>>
>>>>> ------------------------------
>>>>> From: baris.sekerciler at outlook.com
>>>>> Date: Fri, 29 Jan 2016 11:37:54 +0200
>>>>> To: sr-users at lists.sip-router.org
>>>>> Subject: Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest
>>>>>
>>>>> Hello Jurjis, thanks for your answer.
>>>>>
>>>>> I did not try default IVR with Freeswitch. But I will try and write.
>>>>>
>>>>> Regards.
>>>>>
>>>>> On 29 Jan 2016, at 11:32, Jurijs Ivolga <jurij.ivo at gmail.com> wrote:
>>>>>
>>>>> Hi Baris,
>>>>>
>>>>> Are you able to dial into Freeswitch default IVR(5000 ext)?
>>>>>
>>>>> It will helps if you send logs from Kamailio and freeswitch.
>>>>>
>>>>> With kind regards,
>>>>>
>>>>> 2016-01-29 11:14 GMT+02:00 Barış Şekerciler <
>>>>> baris.sekerciler at outlook.com>:
>>>>>
>>>>> Thanks for answer Phill. Actually I did not apply any different
>>>>> configuration than digetics in Kamailio Wiki. (I installed Kamailio latest
>>>>> stable from Deb Jessie repos)
>>>>> After that, I applied these are:
>>>>> http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc and
>>>>> I adapted to Kamailio 4.3 (at least I tried)
>>>>> There is nothing to different from this link.
>>>>>
>>>>> So, I work on VmWare.
>>>>> Kamailio Server IP:       192.168.2.98
>>>>> FreeSwitch Server IP:   192.168.2.131
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 29 Jan 2016, at 10:38, Phil Lavin <phil.lavin at synety.com> wrote:
>>>>>
>>>>> You'll need to share your Kamailio config and some details of your
>>>>> network setup (specifically if NAT is involved).
>>>>>
>>>>>
>>>>> Phil
>>>>>
>>>>> -----Original Message-----
>>>>> From: sr-users [mailto:sr-users-bounces at lists.sip-router.org
>>>>> <sr-users-bounces at lists.sip-router.org>] On Behalf Of Baris Sekerciler
>>>>> Sent: 29 January 2016 08:35
>>>>> To: sr-users at lists.sip-router.org
>>>>> Subject: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest
>>>>>
>>>>> Hello everyone. I'm a student and I'm working on project which about
>>>>> SIP communication and PBXs with IP phones.
>>>>>
>>>>> So, my first test results were OK with JITSI. But I think I need
>>>>> Freeswitch for working with IP phones. In a word, I need configure an
>>>>> integration Kamailio and Freeswitch.
>>>>>
>>>>> First, I setup Debian 8.3 Jessie and installed Kamailio on this my
>>>>> local server, after that I installed another Debian 8.3 Jessie (from same
>>>>> image) as my second server and it was going to run Freeswitch on itself.
>>>>> Then I tried to send my communication requests to my Freeswitch
>>>>> server. I made some tests, my Jitsi accounts which are set in Kamailio
>>>>> server were done. I've read Kamailio 3.2 and Freeswitch integration from
>>>>> the Kamailio wiki and I applied exactly the same thing but I did not work.
>>>>> When I tried to reach another IP phone from my IP phone (I registered
>>>>> them) phone always say "NOT FOUND". I'm sure I did my configuration
>>>>> properly.
>>>>>
>>>>> So, how can I figure it out these things? How can I understand, does
>>>>> Kamailio routes to Freeswitch to my phones?
>>>>>
>>>>> Best regards.
>>>>> Thanks.
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________ 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
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Jurijs
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> Jurijs
>>> ___________________________
>>> 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
>>>
>>> --===============18
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Jurijs
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Jurijs
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
>


-- 
Jurijs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160129/1a65376a/attachment.html>


More information about the sr-users mailing list