[SR-Users] Kamailio and freeswitch integration for SBC

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 13 00:07:36 CET 2016


Hello,

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 at lists.sip-router.org> on behalf of
> Abdul Basit <basitstar at 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 SBC
>  
> Hi 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 at hotmail.com
> To: sr-users at 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 at lists.sip-router.org> on behalf of
> malik sherif <asherif74 at hotmail.com>
> *Sent:* Monday, January 11, 2016 5:03 PM
> *To:* sr-users at lists.sip-router.org
> *Subject:* Re: [SR-Users] Kamailio and freeswitch integration for SBC
>  
> Hello,
> Any hint? How do I get a response?  is it through user digest?
> Thanks
> Abdulmalik Sherif
>
>
>
> ------------------------------------------------------------------------
> *From:* sr-users <sr-users-bounces at lists.sip-router.org> on behalf of
> malik sherif <asherif74 at hotmail.com>
> *Sent:* Friday, January 8, 2016 7:39 PM
> *To:* sr-users at lists.sip-router.org
> *Subject:* [SR-Users] Kamailio and freeswitch integration for SBC
>  
> Hello,
> 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
> <http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc>
> 	
> freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc [Asipto ...
> <http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc>
> kb.asipto.com
> The 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
>
>
>
>
>
>
> <http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc>
> <http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc>
> 	
> freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc [Asipto ...
> <http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc>
> kb.asipto.com
> The 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 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

-- 
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

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


More information about the sr-users mailing list