Thanks again Daniel for replying.
Now the call is failing with 404 not found and goes to voicemail. I was calling between 7632689991 and 7632689993, I looked the extensions on freeswitch, and look OK but it is possible I might have missed something. Freeswitch issues the following errors. Thank you again for your help
Abdulmalik Sherif
###########################################################################################################################
My extensions are as follow:
<include>
<user id="7632689991">
<params>
<param name="vm-password" value="1001"/>
</params>
<variables>
<variable name="accountcode" value="7632689991"/>
<variable name="user_context" value="default"/>
<variable name="effective_caller_id_name" value="Extension 7632689991"/>
<variable name="effective_caller_id_number" value="7632689991"/>
</variables>
</user>
</include>
##########################################################################
<include>
<user id="7632689993">
<params>
<param name="vm-password" value="1003"/>
</params>
<variables>
<variable name="accountcode" value="7632689993"/>
<variable name="user_context" value="default"/>
<variable name="effective_caller_id_name" value="Extension Sherif"/>
<variable name="effective_caller_id_number" value="7632689993"/>
</variables>
</user>
</include>
############################################################################
Hello Daniel,
No I didn't configure freeswitch with loopback but for some reason it was going to the loopback , it consider it as default network but I am able to point both kamailio and freeswitch to 10.22.52.2 by disabling IP-v6 for both external-ipv6.xml and internal-ipv6.xml. Freeswitch was complaining about the following error.
netstat -unlp now shows what I want but call is time out with 408, I might have to check if port 5090 reachable but I am still wandering why i am getting 408.sofia.c:2853 Error Creating SIP UA for profile: internal-ipv6 (sip:mod_sofia@[::1] :5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)
udp 0 0 10.22.52.2:5060 0.0.0.0:* 10603/kamailio
udp 0 0 10.22.52.2:5090 0.0.0.0:* 10469/freeswitch
udp 0 0 10.22.52.2:5092 0.0.0.0:* 10469/freeswitch
Thanks again Daniel for responding
Abdul
From: sr-users <sr-users-bounces@lists.sip-router.org> on behalf of Daniel-Constantin Mierla <miconda@gmail.com>
Sent: Tuesday, January 12, 2016 11:07 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBCHello,
did you configure the freeswitch to listen on loopback? You would need to do bridging of singnaling and eventually rtp between the network interface and loopback if you want this kind of topology.
Cheers,
Daniel
On 12/01/16 19:00, malik sherif wrote:
Hello Abdul Basit,
I specified that kamailio and freeswitch to share same IP address but different udp port but netstat -unlp show freeswitch use the loopback IP address (port 5090 and 5092) and kamailio show the loopback IP and 10.22.52.2 port 5060. Does freeswitch has to go to loopback IP address?
Thank you very much Abdul Basit for responding.
Abdulmalik Sherif
udp 0 0 10.22.52.2:5060 0.0.0.0:* 31036/kamailio
udp 0 0 127.0.0.1:5060 0.0.0.0:* 31036/kamailio
udp 0 0 127.0.0.1:5090 0.0.0.0:* 30958/freeswitch
udp 0 0 127.0.0.1:5092 0.0.0.0:* 30958/freeswitch
From: sr-users <sr-users-bounces@lists.sip-router.org> on behalf of Abdul Basit <basitstar@hotmail.com>
Sent: Tuesday, January 12, 2016 2:55 AM
To: Kamailio SER - Users Mailing List
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBCHi AbdulMalik,
brother this is not kamailio related issue, this is some misconfiguration.
I think, there is some port misconfiguration , kamailio running on 5060 and also freeswitch running on 5060, make ur kamailio run specfically on 5060, and freeswitch on different port entirely. please do it and share netstat result again
udp 0 0 10.22.52.2:5060 0.0.0.0:* 9075/kamailio
udp 0 0 ::1:5060 :::* 9002/freeswitch
Regards,
AB
From: asherif74@hotmail.com
To: sr-users@lists.sip-router.org
Date: Mon, 11 Jan 2016 23:47:41 +0000
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBC
When I run netstat -unlp command it show the following list. Is it correct for freeswitch to have the loopback IP address? I think this is maybe a reason the invite is timeout with 408 but I am not sure. How can I fix this problem? I just want to confirm if integrating Kamailio with freeswitch works as SBC?
Thanks Again
udp 0 0 10.22.52.2:7060 0.0.0.0:* 9075/kamailio
udp 0 0 10.22.52.2:5060 0.0.0.0:* 9075/kamailio
udp 0 0 127.0.0.1:5090 0.0.0.0:* 9002/freeswitch
udp 0 0 127.0.0.1:5092 0.0.0.0:* 9002/freeswitch
udp 0 0 ::1:5060 :::* 9002/freeswitch
udp 0 0 ::1:5080 :::* 9002/freeswitch
From: sr-users <sr-users-bounces@lists.sip-router.org> on behalf of malik sherif <asherif74@hotmail.com>
Sent: Monday, January 11, 2016 5:03 PM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Kamailio and freeswitch integration for SBCHello,
Any hint? How do I get a response? is it through user digest?
Thanks
Abdulmalik Sherif
From: sr-users <sr-users-bounces@lists.sip-router.org> on behalf of malik sherif <asherif74@hotmail.com>
Sent: Friday, January 8, 2016 7:39 PM
To: sr-users@lists.sip-router.org
Subject: [SR-Users] Kamailio and freeswitch integration for SBCHello,
I was able to have successful call with kamailio and after integrating kamailio with freeswitch using the following link, the invite timeout and as a result the call failed.The status on kamailio show these info. Do I need to download outbound model? I am running kamailio ver 4.1.1 and freeswitch 1.4.18.
kamailio[19153]: 0(19162) INFO: rr [../outbound/api.h:54]: ob_load_api(): Failed to import bind_ob
kamailio[19153]: 0(19162) INFO: rr [rr_mod.c:159]: mod_init(): outbound module not available
http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc
kb.asipto.comThe scope of this tutorial is to show how you can use Kamailio (former OpenSER) and FreeSWITCH to build a complete SIP/VoIP platform for large number of subscribers.
Thank you very much and your help is appreciated.
Thanks
Abdul
kb.asipto.comThe scope of this tutorial is to show how you can use Kamailio (former OpenSER) and FreeSWITCH to build a complete SIP/VoIP platform for large number of subscribers.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@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@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 http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu