Hi, When I enable ICE using PJSIP, FreeSwitch answers "488 Not Acceptable Here". When I disable ICE, I don't have any problems, the calls work just fine. I tried to use another SIP client with ICE and the call works fine. So I think the problem has to do with PJSIP. I'm working on the migration from an Asterisk architecture to a FreeSwitch architecture. I have to deal with PJSIP and ICE support because my client is a mobile application who is already published on the stores. PJSIP trace: https://pastebin.freeswitch.org/view/ddeaae4b FreeSwitch trace: https://pastebin.freeswitch.org/view/d380e01d Could you please have a look at the trace and tell me what am I doing wrong? Thank you in advance. Kind regards, Bastien.
Hi, seems you did not enable STUN server in your PJSIP-client config and you sending only lan ip addresses as ICE-candidates. Br, Volodymyr On Sat, Jun 4, 2016 at 2:48 PM, Bastien LE REST <ba.lerest@gmail.com> wrote:
Hi,
When I enable ICE using PJSIP, FreeSwitch answers "488 Not Acceptable Here". When I disable ICE, I don't have any problems, the calls work just fine. I tried to use another SIP client with ICE and the call works fine. So I think the problem has to do with PJSIP.
I'm working on the migration from an Asterisk architecture to a FreeSwitch architecture. I have to deal with PJSIP and ICE support because my client is a mobile application who is already published on the stores.
PJSIP trace: https://pastebin.freeswitch.org/view/ddeaae4b FreeSwitch trace: https://pastebin.freeswitch.org/view/d380e01d
Could you please have a look at the trace and tell me what am I doing wrong? Thank you in advance.
Kind regards, Bastien.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Best regards, Volodymyr
Hi, Thank you for your answer. You are true, when I enable a STUN server in my PJSIP the calls work fine. I don't understand how the calls can work with this configuration through Asterisk and not through FreeSwitch. Kind regards, Bastien. On 5 June 2016 at 09:16, Volodymyr Fedorov <lexxua@gmail.com> wrote:
Hi, seems you did not enable STUN server in your PJSIP-client config and you sending only lan ip addresses as ICE-candidates.
Br, Volodymyr
On Sat, Jun 4, 2016 at 2:48 PM, Bastien LE REST <ba.lerest@gmail.com> wrote:
Hi,
When I enable ICE using PJSIP, FreeSwitch answers "488 Not Acceptable Here". When I disable ICE, I don't have any problems, the calls work just fine. I tried to use another SIP client with ICE and the call works fine. So I think the problem has to do with PJSIP.
I'm working on the migration from an Asterisk architecture to a FreeSwitch architecture. I have to deal with PJSIP and ICE support because my client is a mobile application who is already published on the stores.
PJSIP trace: https://pastebin.freeswitch.org/view/ddeaae4b FreeSwitch trace: https://pastebin.freeswitch.org/view/d380e01d
Could you please have a look at the trace and tell me what am I doing wrong? Thank you in advance.
Kind regards, Bastien.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Best regards, Volodymyr
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Try latest master as we had a few patches for using ICE with non-webrtc endpoints. Also make sure you have apply-candidate-acl params in your sofia profile defined in the order of preference for IP you want to prefer. On Sun, Jun 5, 2016 at 6:10 AM, Bastien LE REST <ba.lerest@gmail.com> wrote:
Hi,
Thank you for your answer. You are true, when I enable a STUN server in my PJSIP the calls work fine. I don't understand how the calls can work with this configuration through Asterisk and not through FreeSwitch.
Kind regards, Bastien.
On 5 June 2016 at 09:16, Volodymyr Fedorov <lexxua@gmail.com> wrote:
Hi, seems you did not enable STUN server in your PJSIP-client config and you sending only lan ip addresses as ICE-candidates.
Br, Volodymyr
On Sat, Jun 4, 2016 at 2:48 PM, Bastien LE REST <ba.lerest@gmail.com> wrote:
Hi,
When I enable ICE using PJSIP, FreeSwitch answers "488 Not Acceptable Here". When I disable ICE, I don't have any problems, the calls work just fine. I tried to use another SIP client with ICE and the call works fine. So I think the problem has to do with PJSIP.
I'm working on the migration from an Asterisk architecture to a FreeSwitch architecture. I have to deal with PJSIP and ICE support because my client is a mobile application who is already published on the stores.
PJSIP trace: https://pastebin.freeswitch.org/view/ddeaae4b FreeSwitch trace: https://pastebin.freeswitch.org/view/d380e01d
Could you please have a look at the trace and tell me what am I doing wrong? Thank you in advance.
Kind regards, Bastien.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Best regards, Volodymyr
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
Hi, Merci Anthony! It's working now. It was an issue with the ACL. Kind regards, Bastien. On 5 June 2016 at 16:16, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Try latest master as we had a few patches for using ICE with non-webrtc endpoints. Also make sure you have apply-candidate-acl params in your sofia profile defined in the order of preference for IP you want to prefer.
On Sun, Jun 5, 2016 at 6:10 AM, Bastien LE REST <ba.lerest@gmail.com> wrote:
Hi,
Thank you for your answer. You are true, when I enable a STUN server in my PJSIP the calls work fine. I don't understand how the calls can work with this configuration through Asterisk and not through FreeSwitch.
Kind regards, Bastien.
On 5 June 2016 at 09:16, Volodymyr Fedorov <lexxua@gmail.com> wrote:
Hi, seems you did not enable STUN server in your PJSIP-client config and you sending only lan ip addresses as ICE-candidates.
Br, Volodymyr
On Sat, Jun 4, 2016 at 2:48 PM, Bastien LE REST <ba.lerest@gmail.com> wrote:
Hi,
When I enable ICE using PJSIP, FreeSwitch answers "488 Not Acceptable Here". When I disable ICE, I don't have any problems, the calls work just fine. I tried to use another SIP client with ICE and the call works fine. So I think the problem has to do with PJSIP.
I'm working on the migration from an Asterisk architecture to a FreeSwitch architecture. I have to deal with PJSIP and ICE support because my client is a mobile application who is already published on the stores.
PJSIP trace: https://pastebin.freeswitch.org/view/ddeaae4b FreeSwitch trace: https://pastebin.freeswitch.org/view/d380e01d
Could you please have a look at the trace and tell me what am I doing wrong? Thank you in advance.
Kind regards, Bastien.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Best regards, Volodymyr
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>*
ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Anthony Minessale
-
Bastien LE REST
-
Volodymyr Fedorov