[SR-Users] Kamailio rtpengine sdp

gerry kernan gerry.kernan at infinityit.ie
Fri Apr 21 15:33:43 CEST 2017


Hi Daniel

 

Thanks for your help on this , changing direction attr on rtpengine_offer fixed my issues

 

 

Best Regards

 

Gerry Kernan

 

From: sr-users [mailto:sr-users-bounces at lists.kamailio.org] On Behalf Of Daniel-Constantin Mierla
Sent: 19 April 2017 10:28
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] Kamailio rtpengine sdp

 

Hello,

you have to instruct rtpengine to do bridging between the two network interfaces.

Can you show the INVITE and the 200ok with all SDPs, both sides (incoming and outgoing to/from kamailio),  for the case you get audio problem? Then we can confirm if the SDP has been updated properly for bridging.

Cheers,
Daniel

 

On 18.04.17 17:23, gerry kernan wrote:

Hi 

 

Thanks in advance if anyone can point me in the correct direction .

I have kamailio running in front of some asterisk VM’s.  SIP endpoint register to their asterisk PBX via Kamailio dispatcher module. I’m running rtpengine with a Wan and private interface to bridge audio stream between these endpoints on the WAN to asterisk PBX running on LAN IP behind Kamailio.

Calls from ext to ext work fine audio both directions , calls outbound to PSTN via SIP trunk to SIP provider via trunk on asterisk work fine audio both directions. But incoming calls via SIP provider I only get audio on stream from asterisk registered ext to external caller , no audio from external caller to the asterisk ext.

I reckon I have something wrong in my Kamailio.cfg . if I register an ext direct to asterisk I get audio both ways on incoming calls. And rtp logs from rtpenegine show it as trying to send the rtp to the private address of the sip endpoint rather that its WAN address.

I think my mistake in somewhere in the cfg below. 

Do I need to handle invites from the backend asterisk servers different that invites from sip endpoints?

 

 

 

Gerry Kernan

 



 

Infinity IT   |   17 The Mall   |   Beacon Court   |   Sandyford   |   Dublin D18 E3C8   |   Ireland

Tel:  +353 - (0)1 - 293 0090   |   E-Mail:  gerry.kernan at infinityit.ie <mailto:gerry.kernan at infinityit.ie> 

 

Managed IT Services       Infinity IT -  <http://www.infinityit.ie/> www.infinityit.ie

IP Telephony                    Asterisk Consulting –  <http://www.asteriskconsulting.com> www.asteriskconsulting.com

Contact Centre                Total Interact –  <http://www.totalinteract.com> www.totalinteract.com

 






_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org> 
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users





-- 
Daniel-Constantin Mierla
www.twitter.com/miconda <http://www.twitter.com/miconda>  -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda> 
Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com <http://www.asipto.com> 
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com <http://www.kamailioworld.com> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170421/d5b38887/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2681 bytes
Desc: not available
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170421/d5b38887/attachment.jpg>


More information about the sr-users mailing list