Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk removes ice lines in sdp when calling between webrtc clients


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ohjelmistoarkkitehti a...
Guest





PostPosted: Thu Oct 02, 2014 8:06 am    Post subject: [asterisk-users] Asterisk removes ice lines in sdp when call Reply with quote

Hi,

Is there anything I can do with this problem? Re-installing Asterisk does not solve this and the problem still persists. Or is there any other logs or configurations I can provide to help figure out why Asterisk is removing lines from the sdp?


Any ideas would be greatly appreciated! I also tried removing everything under /etc/asterisk/ and make samples to restore any errors I could have had in my configurations, then restoring my minimal configuration: asterisk.conf, extconfig.conf, extensions.conf, res_mysql.conf and sip.conf. This did not help.


(in case this message comes double, I just canceled posting of previous similar one as it was too big)


cheers,
Olli 
Back to top
EWieling at nyigc.com
Guest





PostPosted: Thu Oct 02, 2014 10:14 am    Post subject: [asterisk-users] Asterisk removes ice lines in sdp when call Reply with quote

Asterisk is not a SIP Proxy.   It is a B2BUA and will *always* replace the SDP with its own.

From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Olli Heiskanen
Sent: Thursday, October 02, 2014 9:06 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk removes ice lines in sdp when calling between webrtc clients



Hi,


Is there anything I can do with this problem? Re-installing Asterisk does not solve this and the problem still persists. Or is there any other logs or configurations I can provide to help figure out why Asterisk is removing lines from the sdp?



Any ideas would be greatly appreciated! I also tried removing everything under /etc/asterisk/ and make samples to restore any errors I could have had in my configurations, then restoring my minimal configuration: asterisk.conf, extconfig.conf, extensions.conf, res_mysql.conf and sip.conf. This did not help.



(in case this message comes double, I just canceled posting of previous similar one as it was too big)



cheers,

Olli
Back to top
ohjelmistoarkkitehti a...
Guest





PostPosted: Thu Oct 02, 2014 10:18 am    Post subject: [asterisk-users] Asterisk removes ice lines in sdp when call Reply with quote

Hi,

Thanks Eric for your reply, yes I know Asterisk replaces the sdp, however it should create ice lines when calling to a webrtc client, which it is currently not doing. 


To recap my problem (check previous messages for details); I have 2 webrtc clients (sip.js on chrome) with realtime information that appears to be correct. When calling from A to B, INVITE coming to Asterisk contains correct sdp, but when the INVITE leaves Asterisk, the sdp lacks ice lines. 


cheers,
Olli


2014-10-02 18:13 GMT+03:00 Eric Wieling <EWieling@nyigc.com (EWieling@nyigc.com)>:
Quote:

Asterisk is not a SIP Proxy.   It is a B2BUA and will *always* replace the SDP with its own.
 
From: asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com) [mailto:asterisk-users-bounces@lists.digium.com (asterisk-users-bounces@lists.digium.com)] On Behalf Of Olli Heiskanen
Sent: Thursday, October 02, 2014 9:06 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk removes ice lines in sdp when calling between webrtc clients

 

Hi,
 

Is there anything I can do with this problem? Re-installing Asterisk does not solve this and the problem still persists. Or is there any other logs or configurations I can provide to help figure out why Asterisk is removing lines from the sdp?

 

Any ideas would be greatly appreciated! I also tried removing everything under /etc/asterisk/ and make samples to restore any errors I could have had in my configurations, then restoring my minimal configuration: asterisk.conf, extconfig.conf, extensions.conf, res_mysql.conf and sip.conf. This did not help.

 

(in case this message comes double, I just canceled posting of previous similar one as it was too big)

 

cheers,

Olli 






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
mjordan at digium.com
Guest





PostPosted: Fri Oct 03, 2014 3:32 am    Post subject: [asterisk-users] Asterisk removes ice lines in sdp when call Reply with quote

On Thu, Oct 2, 2014 at 10:18 AM, Olli Heiskanen
<ohjelmistoarkkitehti@gmail.com> wrote:
Quote:
Hi,

Thanks Eric for your reply, yes I know Asterisk replaces the sdp, however it
should create ice lines when calling to a webrtc client, which it is
currently not doing.

To recap my problem (check previous messages for details); I have 2 webrtc
clients (sip.js on chrome) with realtime information that appears to be
correct. When calling from A to B, INVITE coming to Asterisk contains
correct sdp, but when the INVITE leaves Asterisk, the sdp lacks ice lines.


Unfortunately, I can't reproduce this. We've been running a lot of
tests with a variety of SIP clients over the past week here at SIPit -
both with and without ICE - and I haven't had a single instance of
Asterisk failing to provide any ICE candidates when it is properly
configured to do so.

--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
ohjelmistoarkkitehti a...
Guest





PostPosted: Tue Oct 07, 2014 5:17 am    Post subject: [asterisk-users] Asterisk removes ice lines in sdp when call Reply with quote

Hi,

Thanks Matthew for trying to reproduce the problem, I appreciate your efforts very much.


There must be something off in my setup in one way or another. I could just discard this server and build a new one, but I think it's not good practice to leave a problem unsolved, so I'll continue trying to figure this out. One thing I noticed - don't know if it's relevant or not - due to a repo mismatch, I had problems with updating libgdiplus and libgdiplus-devel package, had to disable a repo and reinstall those and my mono installation (which is making me lose my hair).


Is there a way to debug Asterisk itself? Or find the code that parses the outbound sdp? I figured there must be an if statement or more that determines whether or not to parse the ice lines into the sdp body. Finding that/those statements that produce the kind of sdp I'm seeing Asterisk send out, might tell something about what's wrong with my setup. As my c is not exactly fluent I wasn't sure which code files to search, can you guys help out with that? 


cheers,
Olli






2014-10-03 11:31 GMT+03:00 Matthew Jordan <mjordan@digium.com (mjordan@digium.com)>:
Quote:
On Thu, Oct 2, 2014 at 10:18 AM, Olli Heiskanen
<ohjelmistoarkkitehti@gmail.com (ohjelmistoarkkitehti@gmail.com)> wrote:
Quote:
Hi,

Thanks Eric for your reply, yes I know Asterisk replaces the sdp, however it
should create ice lines when calling to a webrtc client, which it is
currently not doing.

To recap my problem (check previous messages for details); I have 2 webrtc
clients (sip.js on chrome) with realtime information that appears to be
correct. When calling from A to B, INVITE coming to Asterisk contains
correct sdp, but when the INVITE leaves Asterisk, the sdp lacks ice lines.


Unfortunately, I can't reproduce this. We've been running a lot of
tests with a variety of SIP clients over the past week here at SIPit -
both with and without ICE - and I haven't had a single instance of
Asterisk failing to provide any ICE candidates when it is properly
configured to do so.

--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Back to top
jcolp at digium.com
Guest





PostPosted: Tue Oct 07, 2014 8:55 am    Post subject: [asterisk-users] Asterisk removes ice lines in sdp when call Reply with quote

Olli Heiskanen wrote:
Quote:
Hi,

Thanks Matthew for trying to reproduce the problem, I appreciate your
efforts very much.

There must be something off in my setup in one way or another. I could
just discard this server and build a new one, but I think it's not good
practice to leave a problem unsolved, so I'll continue trying to figure
this out. One thing I noticed - don't know if it's relevant or not - due
to a repo mismatch, I had problems with updating libgdiplus and
libgdiplus-devel package, had to disable a repo and reinstall those and
my mono installation (which is making me lose my hair).

I would suggest using the latest version of 11 (as older versions will
not work with current browsers). As well do you have the uuid
development library installed? If not pjproject won't be built and you
won't have ICE support which will yield exactly this result.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
ohjelmistoarkkitehti a...
Guest





PostPosted: Tue Oct 07, 2014 10:08 am    Post subject: [asterisk-users] Asterisk removes ice lines in sdp when call Reply with quote

Hi Joshua,

Excellent! I didn't even remember to consider newer versions of asterisk as 11.11 was the latest one when I started building on. I have had libuuid and libuuid-devel installed the whole time, but perhaps 11.11 just did not see it there. I just installed 11.13 and it works perfectly.


Thank you sir, I will raise a drink for you next time I'm out.


cheers,
Olli


2014-10-07 16:55 GMT+03:00 Joshua Colp <jcolp@digium.com (jcolp@digium.com)>:
Quote:
Olli Heiskanen wrote:
Quote:
Hi,

Thanks Matthew for trying to reproduce the problem, I appreciate your
efforts very much.

There must be something off in my setup in one way or another. I could
just discard this server and build a new one, but I think it's not good
practice to leave a problem unsolved, so I'll continue trying to figure
this out. One thing I noticed - don't know if it's relevant or not - due
to a repo mismatch, I had problems with updating libgdiplus and
libgdiplus-devel package, had to disable a repo and reinstall those and
my mono installation (which is making me lose my hair).

I would suggest using the latest version of 11 (as older versions will not work with current browsers). As well do you have the uuid development library installed? If not pjproject won't be built and you won't have ICE support which will yield exactly this result.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services