From anthony.minessale at gmail.com Thu Sep 1 00:01:08 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 31 Aug 2016 15:01:08 -0500 Subject: [Freeswitch-users] WebRTC/Verto API? In-Reply-To: References: Message-ID: There is a work-in-progress here: http://evoluxbr.github.io/verto-docs/ On Wed, Aug 31, 2016 at 10:43 AM, Fred Pettersson wrote: > Hi guys, > > I am new to Freeswitch so please go easy on me. :) I've bought the > Freeswitch 1.6 Cookbook but I am looking for an API specification on the > Verto API, where can I find information on the Verto API, what methods > there are and it's parameters, how do I configure WebRTC/Verto in > Freeswitch etc.? > > > Any pointers are welcome. > > /Fred > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160831/15ff35e2/attachment-0001.html From chad at apartmentlines.com Thu Sep 1 01:20:48 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Wed, 31 Aug 2016 14:20:48 -0700 Subject: [Freeswitch-users] Audio/video lags for some participants in Verto videoconference In-Reply-To: <9C0567BB-90FF-443C-9B5D-AC794C5B5263@jerris.com> References: <9C0567BB-90FF-443C-9B5D-AC794C5B5263@jerris.com> Message-ID: I?ll upgrade and monitor to see if that addresses the issue, will report back. On Wed, Aug 31, 2016 at 9:22 AM, Michael Jerris wrote: > can you confirm if this is happening on 1.6.10. There was an issue that > was fixed thats not in 1.6.9 > > > On Aug 31, 2016, at 12:16 PM, Chad Phillips > wrote: > > > > I have an occasional issue where a user?s video stream will lag behind > their audio stream in a videoconference. This doesn?t happen to all users, > usually just one or two, and the lag gets worse as time passes, sometimes > upwards of 20-30 seconds behind the audio ? quite distracting :) > > > > Curious if anyone else has run into this, and any possible remedies. I > did see one suggestion on a forum that it could be related to a user?s > browser plugins. > > > > Chad > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160831/aaf35504/attachment.html From hawkins at hawkinsegroup.com Thu Sep 1 08:47:17 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Wed, 31 Aug 2016 23:47:17 -0500 Subject: [Freeswitch-users] Background noise on SIP 2 SIP calls Message-ID: Hey everyone! When I place a call from one extension to another (SIP account -> SIP account / both on same FreeSwitch server) there is a LOT of background noise, I guess I would describe it as white noise. On the flip side, when calls are placed through one of our gateways to a landline or mobile the call is crystal clear without any background noise. I've tried different SIP phones in all kinds of ways, from my mobile (using SIP app), from Grandstream ATA, from X-Lite, they all have a lot of background noise on SIP 2 SIP calls. Any suggestions? A setting perhaps? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160831/b94fe180/attachment.html From rtreleaven at bunnykick.ca Thu Sep 1 09:07:47 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Thu, 1 Sep 2016 01:07:47 -0400 Subject: [Freeswitch-users] Background noise on SIP 2 SIP calls In-Reply-To: References: Message-ID: I guess comfort noise. https://freeswitch.org/confluence/display/FREESWITCH/VAD+and+CNG On Thu, Sep 1, 2016 at 12:47 AM, Don Hawkins wrote: > Hey everyone! > > When I place a call from one extension to another (SIP account -> SIP > account / both on same FreeSwitch server) there is a LOT of background > noise, I guess I would describe it as white noise. > On the flip side, when calls are placed through one of our gateways to a > landline or mobile the call is crystal clear without any background noise. > > I've tried different SIP phones in all kinds of ways, from my mobile > (using SIP app), from Grandstream ATA, from X-Lite, they all have a lot of > background noise on SIP 2 SIP calls. > > Any suggestions? A setting perhaps? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/985f53a7/attachment.html From t90fpe at outlook.com Thu Sep 1 10:40:12 2016 From: t90fpe at outlook.com (Fred Pettersson) Date: Thu, 1 Sep 2016 06:40:12 +0000 Subject: [Freeswitch-users] WebRTC/Verto API? In-Reply-To: References: , Message-ID: Great, I will look into it. A quick one, can you do screen and document sharing with Verto? Thank you! /Fred ________________________________ Fr?n: freeswitch-users-bounces at lists.freeswitch.org f?r Anthony Minessale Skickat: den 31 augusti 2016 22:01 Till: FreeSWITCH Users Help ?mne: Re: [Freeswitch-users] WebRTC/Verto API? There is a work-in-progress here: http://evoluxbr.github.io/verto-docs/ On Wed, Aug 31, 2016 at 10:43 AM, Fred Pettersson > wrote: Hi guys, I am new to Freeswitch so please go easy on me. :) I've bought the Freeswitch 1.6 Cookbook but I am looking for an API specification on the Verto API, where can I find information on the Verto API, what methods there are and it's parameters, how do I configure WebRTC/Verto in Freeswitch etc.? Any pointers are welcome. /Fred _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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+ ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/a23bde4a/attachment-0001.html From devang.nathwani31589 at gmail.com Thu Sep 1 11:43:38 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 1 Sep 2016 13:13:38 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through Message-ID: Hello All, Whenever i am trying to make a call, Two way commnunication was established but I am having kind of choppy like robotic voice or very bad quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I want to work with G729. I have set below parameters in sip profile to try to resolve this issue. But it doesn't work for me. aggressive-nat-detection : true absolute_codec_string : G729 inbound-codec-prefs :G729,PCMU,PCMA outbound-codec-prefs : G729,PCMU,PCMA inbound-late-negotiation :true inbound-codec-negotiation : generous Any help and ideas will be appreciated. FYI : For debug purpose you may get SIP Log from http://pastebin.com/D2cPLJWe -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/00efd5c0/attachment.html From asilva at wirelessmundi.com Thu Sep 1 12:37:12 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Thu, 1 Sep 2016 10:37:12 +0200 Subject: [Freeswitch-users] No ringback with loopback channels and bowout_on_execute=false In-Reply-To: References: Message-ID: <72419de3-c564-7379-0741-35b0ba7b9f34@wirelessmundi.com> Hi Luis, Thanks for the tip and pull request, it solves my issue!! I needed to change the originate cmd so the variable transfer_ringback is set on the a-leg, the new cmd is: originate {loopback_bowout_on_execute=false,loopback_bowout=false,ignore_early_media=true}[^^:transfer_ringback=%(1500,3000,425.0)]loopback/200/local 2103 XML local Regards, On 08/31/2016 06:32 PM, Luis Azedo wrote: > Hi, > > there is a pending pull request trying to fix that. > https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/937/overview > > try to apply it and see if it works for you. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/93dfb4ea/attachment.html From bipin at xbipin.com Thu Sep 1 12:49:19 2016 From: bipin at xbipin.com (Bipin Patel) Date: Thu, 1 Sep 2016 12:49:19 +0400 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/65cbedc3/attachment.html From mike at jerris.com Thu Sep 1 17:06:15 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 1 Sep 2016 09:06:15 -0400 Subject: [Freeswitch-users] WebRTC/Verto API? In-Reply-To: References: Message-ID: yes On Thursday, September 1, 2016, Fred Pettersson wrote: > Great, I will look into it. > > > A quick one, can you do screen and document sharing with Verto? > > > Thank you! > > /Fred > > > ------------------------------ > *Fr?n:* freeswitch-users-bounces at lists.freeswitch.org > > > > f?r Anthony Minessale > > *Skickat:* den 31 augusti 2016 22:01 > *Till:* FreeSWITCH Users Help > *?mne:* Re: [Freeswitch-users] WebRTC/Verto API? > > There is a work-in-progress here: http://evoluxbr.github.io/verto-docs/ > > > On Wed, Aug 31, 2016 at 10:43 AM, Fred Pettersson > wrote: > >> Hi guys, >> >> I am new to Freeswitch so please go easy on me. :) I've bought the >> Freeswitch 1.6 Cookbook but I am looking for an API specification on the >> Verto API, where can I find information on the Verto API, what methods >> there are and it's parameters, how do I configure WebRTC/Verto in >> Freeswitch etc.? >> >> >> Any pointers are welcome. >> >> /Fred >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org > ? > +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/2340efe1/attachment.html From devang.nathwani31589 at gmail.com Thu Sep 1 17:22:46 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 1 Sep 2016 18:52:46 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: Hello Bipin, Thanks for your suggestion and time, we have applied all there params respectively in dialplan as well as added in sip profile. we have play around with all there by disable one and enabling other but still i am getting the choppy, robotic sound. I can say bit difference in audio result in good way but nothing remarkable. On Thu, Sep 1, 2016 at 2:19 PM, Bipin Patel wrote: > hi, > > do u have jitter buffer enabled because i recall i had a similar issue and > after disabling jitter buffer, cng to false and vad to none it resolved > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: [Freeswitch-users] Robotic voice with g729 pass through > From: devang nathwani > > To: FreeSWITCH Users Help > > Date: 9/1/2016, 11:43:38 AM > > Hello All, > > Whenever i am trying to make a call, Two way commnunication was > established but I am having kind of choppy like robotic voice or very bad > quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I > want to work with G729. > I have set below parameters in sip profile to try to resolve this issue. > But it doesn't work for me. > > aggressive-nat-detection : true > absolute_codec_string : G729 > inbound-codec-prefs :G729,PCMU,PCMA > outbound-codec-prefs : G729,PCMU,PCMA > inbound-late-negotiation :true > inbound-codec-negotiation : generous > > Any help and ideas will be appreciated. > > FYI : For debug purpose you may get SIP Log from > http://pastebin.com/D2cPLJWe > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/939abb2e/attachment-0001.html From tculjaga at gmail.com Thu Sep 1 17:28:26 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 1 Sep 2016 15:28:26 +0200 Subject: [Freeswitch-users] CHANNEL_PARK Message-ID: hello, please can anyone help here. is there any way to distinguish a CHANNEL_PARK generated by att_xfer application from a "normal" CHANNEL_PARK generated by park application? this is a CHANNEL_PARK i got by using att_xfer application: Event-Name: CHANNEL_PARK Core-UUID: f63b2100-6eb0-11e6-b09e-e558b70924ad FreeSWITCH-Hostname: centralix.bbm.local FreeSWITCH-Switchname: centralix.bbm.local FreeSWITCH-IPv4: 192.168.141.60 FreeSWITCH-IPv6: %3A%3A1 Event-Date-Local: 2016-09-01%2015%3A04%3A21 Event-Date-GMT: Thu,%2001%20Sep%202016%2013%3A04%3A21%20GMT Event-Date-Timestamp: 1472735061810863 Event-Calling-File: switch_ivr.c Event-Calling-Function: switch_ivr_park Event-Calling-Line-Number: 934 Event-Sequence: 78869 Channel-State: CS_PARK Channel-Call-State: ACTIVE Channel-State-Number: 6 Channel-Name: sofia/internal/888%4010.10.254.236%3A5060 Unique-ID: 934ee67c-7044-11e6-b404-e558b70924ad Call-Direction: outbound Presence-Call-Direction: outbound Channel-HIT-Dialplan: false Channel-Presence-ID: 888%40192.168.141.60 Channel-Call-UUID: 8cb36612-7044-11e6-b3d8-e558b70924ad Answer-State: answered Channel-Read-Codec-Name: PCMA Channel-Read-Codec-Rate: 8000 Channel-Read-Codec-Bit-Rate: 64000 Channel-Write-Codec-Name: PCMA Channel-Write-Codec-Rate: 8000 Channel-Write-Codec-Bit-Rate: 64000 Caller-Direction: outbound Caller-Logical-Direction: outbound Caller-Username: 844 Caller-Dialplan: XML Caller-Caller-ID-Name: 844 Caller-Caller-ID-Number: 844 Caller-Orig-Caller-ID-Name: 844 Caller-Orig-Caller-ID-Number: 844 Caller-Callee-ID-Name: Outbound%20Call Caller-Callee-ID-Number: 888 Caller-Network-Addr: 10.10.254.236 Caller-ANI: 844 Caller-Destination-Number: 888 Caller-Unique-ID: 934ee67c-7044-11e6-b404-e558b70924ad Caller-Source: mod_sofia Caller-Context: features Caller-RDNIS: 0916331550 Caller-Channel-Name: sofia/internal/888%4010.10.254.236%3A5060 Caller-Profile-Index: 1 Caller-Profile-Created-Time: 1472735051270863 Caller-Channel-Created-Time: 1472735051270863 Caller-Channel-Answered-Time: 1472735052210864 Caller-Channel-Progress-Time: 1472735051510855 Caller-Channel-Progress-Media-Time: 0 Caller-Channel-Hangup-Time: 0 Caller-Channel-Transfer-Time: 0 Caller-Channel-Resurrect-Time: 0 Caller-Channel-Bridged-Time: 1472735052230858 Caller-Channel-Last-Hold: 0 Caller-Channel-Hold-Accum: 0 Caller-Screen-Bit: true Caller-Privacy-Hide-Name: false Caller-Privacy-Hide-Number: false Other-Type: originator Other-Leg-Direction: inbound Other-Leg-Logical-Direction: inbound Other-Leg-Username: 844 Other-Leg-Dialplan: XML Other-Leg-Caller-ID-Name: 844 Other-Leg-Caller-ID-Number: 844 Other-Leg-Orig-Caller-ID-Name: 844 Other-Leg-Orig-Caller-ID-Number: 844 Other-Leg-Callee-ID-Name: Outbound%20Call Other-Leg-Callee-ID-Number: 0916331550 Other-Leg-Network-Addr: 10.10.254.235 Other-Leg-ANI: 844 Other-Leg-Destination-Number: agent_state Other-Leg-Unique-ID: 8cb36612-7044-11e6-b3d8-e558b70924ad Other-Leg-Source: mod_sofia Other-Leg-Context: features Other-Leg-RDNIS: 0916331550 Other-Leg-Channel-Name: sofia/internal/844%4010.10.254.254 Other-Leg-Profile-Created-Time: 0 Other-Leg-Channel-Created-Time: 0 Other-Leg-Channel-Answered-Time: 0 Other-Leg-Channel-Progress-Time: 0 Other-Leg-Channel-Progress-Media-Time: 0 Other-Leg-Channel-Hangup-Time: 0 Other-Leg-Channel-Transfer-Time: 0 Other-Leg-Channel-Resurrect-Time: 0 Other-Leg-Channel-Bridged-Time: 0 Other-Leg-Channel-Last-Hold: 0 Other-Leg-Channel-Hold-Accum: 0 Other-Leg-Screen-Bit: true Other-Leg-Privacy-Hide-Name: false Other-Leg-Privacy-Hide-Number: false variable_direction: outbound variable_is_outbound: true variable_uuid: 934ee67c-7044-11e6-b404-e558b70924ad variable_session_id: 65 variable_sip_profile_name: internal variable_channel_name: sofia/internal/888%4010.10.254.236%3A5060 variable_sip_destination_url: sip%3A888%4010.10.254.236%3A5060%3Bfs_nat%3Dyes variable_sip_cid_type: pid variable_switch_m_sdp: v%3D0%0D%0Ao%3D844%208000%208000%20IN%20IP4%2010.10.253.10%0D%0As%3DSIP%20Call%0D%0Ac%3DIN%20IP4%2010.10.253.10%0D%0At%3D0%200%0D%0Am%3Daudio%2015004%20RTP/AVP%208%2018%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Dptime%3A20%0D%0A variable_dialed_user: 888 variable_dialed_domain: 192.168.141.60 variable_sip_invite_domain: 192.168.141.60 variable_presence_id: 888%40192.168.141.60 variable_rtp_local_sdp_str: v%3D0%0Ao%3DFreeSWITCH%201472709987%201472709988%20IN%20IP4%2010.10.254.254%0As%3DFreeSWITCH%0Ac%3DIN%20IP4%2010.10.254.254%0At%3D0%200%0Am%3Daudio%2025064%20RTP/AVP%208%2013%0Aa%3Drtpmap%3A8%20PCMA/8000%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A variable_sip_outgoing_contact_uri: %3Csip%3Amod_sofia%4010.10.254.254%3A5060%3E variable_sip_req_uri: 888%4010.10.254.236%3A5060 variable_sip_nat_detected: true variable_sofia_profile_name: internal variable_recovery_profile_name: internal variable_sip_local_network_addr: 10.10.254.254 variable_sip_reply_host: 10.10.254.236 variable_sip_reply_port: 5060 variable_sip_network_ip: 10.10.254.236 variable_sip_network_port: 5060 variable_ep_codec_string: PCMA%408000h%4020i%4064000b variable_sip_user_agent: Grandstream%20GXP2100%201.0.7.8 variable_sip_recover_contact: %3Csip%3A888%4010.10.253.11%3A5060%3E variable_sip_full_via: SIP/2.0/UDP%2010.10.254.254%3Brport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va variable_sip_recover_via: SIP/2.0/UDP%2010.10.254.254%3Brport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va variable_sip_from_display: 844 variable_sip_full_from: %22844%22%20%3Csip%3A844%40192.168.141.60%3E%3Btag%3DmDe1c5tB3tDrp variable_sip_full_to: %3Csip%3A888%4010.10.254.236%3A5060%3E%3Btag%3D1143493955 variable_sip_from_user: 844 variable_sip_from_uri: 844%40192.168.141.60 variable_sip_from_host: 192.168.141.60 variable_sip_to_user: 888 variable_sip_to_port: 5060 variable_sip_to_uri: 888%4010.10.254.236%3A5060 variable_sip_to_host: 10.10.254.236 variable_sip_contact_user: 888 variable_sip_contact_port: 5060 variable_sip_contact_uri: 888%4010.10.253.11%3A5060 variable_sip_contact_host: 10.10.253.11 variable_sip_to_tag: 1143493955 variable_sip_from_tag: mDe1c5tB3tDrp variable_sip_cseq: 96031461 variable_sip_call_id: 6aad3d60-eae7-1234-4793-f4ce46a93024 variable_switch_r_sdp: v%3D0%0D%0Ao%3D888%208000%208000%20IN%20IP4%2010.10.253.11%0D%0As%3DSIP%20Call%0D%0Ac%3DIN%20IP4%2010.10.253.11%0D%0At%3D0%200%0D%0Am%3Daudio%2015004%20RTP/AVP%208%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Dptime%3A20%0D%0A variable_rtp_use_codec_string: PCMA%408000h%4020i,PCMA variable_rtp_audio_recv_pt: 8 variable_rtp_use_codec_name: PCMA variable_rtp_use_codec_rate: 8000 variable_rtp_use_codec_ptime: 20 variable_rtp_use_codec_channels: 1 variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c variable_read_codec: PCMA variable_original_read_codec: PCMA variable_read_rate: 8000 variable_original_read_rate: 8000 variable_write_codec: PCMA variable_write_rate: 8000 variable_dtmf_type: info variable_local_media_ip: 10.10.254.254 variable_local_media_port: 25064 variable_advertised_media_ip: 10.10.254.254 variable_rtp_use_timer_name: soft variable_rtp_use_pt: 8 variable_rtp_use_ssrc: 4157591195 variable_endpoint_disposition: ANSWER variable_current_application_data: 4%20a%20s%20execute_extension%3A%3Aatt_xfer%20XML%20features variable_current_application: bind_meta_app variable_record_stereo: true variable_default_gateway: example.com variable_default_areacode: 918 variable_transfer_fallback_extension: operator variable_toll_allow: domestic,international,local variable_accountcode: 888 variable_max_calls: 2 variable_limit_exceeded: limit_exceeded variable_user_context: default variable_effective_caller_id_name: Karolina variable_effective_caller_id_number: 888 variable_outbound_caller_id_name: FreeSWITCH variable_outbound_caller_id_number: 0000000000 variable_callgroup: techsupport variable_sip-force-contact: NDLB-connectile-dysfunction variable_max_forwards: 68 variable_originator_codec: PCMA%408000h%4020i variable_originator: 8cb36612-7044-11e6-b3d8-e558b70924ad variable_export_vars: RFC2822_DATE,execute_on_answer_1,execute_on_answer_2 variable_RFC2822_DATE: Thu,%2001%20Sep%202016%2015%3A04%3A00%20%2B0200 variable_execute_on_answer_1: start_dtmf variable_execute_on_answer_2: bind_meta_app%204%20a%20s%20execute_extension%3A%3Aatt_xfer%20XML%20features variable_originate_early_media: true variable_originating_leg_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad variable_call_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad variable_last_bridge_to: 8cb36612-7044-11e6-b3d8-e558b70924ad variable_bridge_channel: sofia/internal/844%4010.10.254.254 variable_bridge_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad variable_signal_bond: 8cb36612-7044-11e6-b3d8-e558b70924ad variable_last_sent_callee_id_name: 844 variable_last_sent_callee_id_number: 844 variable_remote_media_ip_reported: 10.10.253.11 variable_remote_media_ip: 10.10.254.236 variable_remote_media_port_reported: 15004 variable_remote_media_port: 15004 variable_rtp_auto_adjust: true variable_sip_hangup_phrase: OK variable_last_bridge_hangup_cause: NORMAL_CLEARING variable_last_bridge_proto_specific_hangup_cause: sip%3A200 Content-Length: 9672 Content-Type: text/event-plain regards, Tihomir. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/6879402e/attachment.html From am at voipit.pt Thu Sep 1 14:46:34 2016 From: am at voipit.pt (andremar) Date: Thu, 1 Sep 2016 03:46:34 -0700 (MST) Subject: [Freeswitch-users] HA Message-ID: <1472726794139-7596235.post@n2.nabble.com> Hy everyone. I'm trying the Freeswitch HA setup (described in https://freeswitch.org/confluence/display/FREESWITCH/High+Availability) with a MySQL database in a Master-Master configuration. I noticed that tables appear on both servers when the primary Freeswitch is started (only when track-calls is active), so I'm assuming the MySQL configuration and the Freeswitch DSNs for storing the call information are correct, also the tables get populated when there is a call (like sip_dialogs). When testing though, after calling ?fsctl crash? OR quitting FS with the kill command on the primary server, the MySQL tables (like sip_dialogs) are emptied. This gets replicated to the backup server. After that, if I try sofia recover, on the backup server, it reports that there are no calls to recover. Also, if I then restart FS and call sofia recover on the primary server, it works. Which seems strange. Any ideias on what could be happening? Is this right and I'm missing something? Are those tables the only information that should be shared between the servers? (FS version: FreeSWITCH Version 1.6.10-17-726448d~64bit) Thanks in advance for any tips. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/HA-tp7596235.html Sent from the freeswitch-users mailing list archive at Nabble.com. From s.safarov at gmail.com Thu Sep 1 17:57:41 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 01 Sep 2016 13:57:41 +0000 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> Message-ID: It is look like DNS not return reverse resolv results. Please check DNS requests and responses. On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy wrote: > Hello, > > Can anybody help me please? > > During this week I changed from CentOS 7 to Debian 8.5 and I still have > the same problem. Honestly I don't know what to do anymore. > > Regards, > Juan Pablo Godoy. > On 19-08-2016 15:00, Juan Pablo Godoy wrote: > > Hello Everybody, > > I'm new using Freeswitch and now I'm implementing it as a B2BUA using > Radius (using the module mod_xml_radius) for Accounting and Authentication. > Everything work OK until freeswitch has more than 260 simultaneous calls, > after that the cli shows errors: > > 2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046 mod_xml_radius: > Accounting Stop failed > 2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109 mod_xml_radius: > Failed to authenticate, authentication result: 1 > > Meanwhile, the messages file shows the following errors: > > rc_ip_hostname: couldn't look up host by addr: "HEXAIPADRRESS" > rc_send_server: no reply from RADIUS server unknown:1646, "IPADDRESS" > > It looks like it's timeout, however my Radius server is responding OK to > another server's requests. > > I'm using Freeswitch 1.6.9 compiled from source. > > Best Regards, > Juan Pablo Godoy. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/848498fd/attachment.html From italo at freeswitch.org Thu Sep 1 18:04:00 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 01 Sep 2016 14:04:00 +0000 Subject: [Freeswitch-users] CHANNEL_PARK In-Reply-To: References: Message-ID: Set variables before parking Em qui, 1 de set de 2016 ?s 10:29, Tihomir Culjaga escreveu: > hello, please can anyone help here. > > > is there any way to distinguish a CHANNEL_PARK generated by att_xfer > application from a "normal" CHANNEL_PARK generated by park application? > > > > > this is a CHANNEL_PARK i got by using att_xfer application: > > > Event-Name: CHANNEL_PARK > Core-UUID: f63b2100-6eb0-11e6-b09e-e558b70924ad > FreeSWITCH-Hostname: centralix.bbm.local > FreeSWITCH-Switchname: centralix.bbm.local > FreeSWITCH-IPv4: 192.168.141.60 > FreeSWITCH-IPv6: %3A%3A1 > Event-Date-Local: 2016-09-01%2015%3A04%3A21 > Event-Date-GMT: Thu,%2001%20Sep%202016%2013%3A04%3A21%20GMT > Event-Date-Timestamp: 1472735061810863 > Event-Calling-File: switch_ivr.c > Event-Calling-Function: switch_ivr_park > Event-Calling-Line-Number: 934 > Event-Sequence: 78869 > Channel-State: CS_PARK > Channel-Call-State: ACTIVE > Channel-State-Number: 6 > Channel-Name: sofia/internal/888%4010.10.254.236%3A5060 > Unique-ID: 934ee67c-7044-11e6-b404-e558b70924ad > Call-Direction: outbound > Presence-Call-Direction: outbound > Channel-HIT-Dialplan: false > Channel-Presence-ID: 888%40192.168.141.60 > Channel-Call-UUID: 8cb36612-7044-11e6-b3d8-e558b70924ad > Answer-State: answered > Channel-Read-Codec-Name: PCMA > Channel-Read-Codec-Rate: 8000 > Channel-Read-Codec-Bit-Rate: 64000 > Channel-Write-Codec-Name: PCMA > Channel-Write-Codec-Rate: 8000 > Channel-Write-Codec-Bit-Rate: 64000 > Caller-Direction: outbound > Caller-Logical-Direction: outbound > Caller-Username: 844 > Caller-Dialplan: XML > Caller-Caller-ID-Name: 844 > Caller-Caller-ID-Number: 844 > Caller-Orig-Caller-ID-Name: 844 > Caller-Orig-Caller-ID-Number: 844 > Caller-Callee-ID-Name: Outbound%20Call > Caller-Callee-ID-Number: 888 > Caller-Network-Addr: 10.10.254.236 > Caller-ANI: 844 > Caller-Destination-Number: 888 > Caller-Unique-ID: 934ee67c-7044-11e6-b404-e558b70924ad > Caller-Source: mod_sofia > Caller-Context: features > Caller-RDNIS: 0916331550 > Caller-Channel-Name: sofia/internal/888%4010.10.254.236%3A5060 > Caller-Profile-Index: 1 > Caller-Profile-Created-Time: 1472735051270863 > Caller-Channel-Created-Time: 1472735051270863 > Caller-Channel-Answered-Time: 1472735052210864 > Caller-Channel-Progress-Time: 1472735051510855 > Caller-Channel-Progress-Media-Time: 0 > Caller-Channel-Hangup-Time: 0 > Caller-Channel-Transfer-Time: 0 > Caller-Channel-Resurrect-Time: 0 > Caller-Channel-Bridged-Time: 1472735052230858 > Caller-Channel-Last-Hold: 0 > Caller-Channel-Hold-Accum: 0 > Caller-Screen-Bit: true > Caller-Privacy-Hide-Name: false > Caller-Privacy-Hide-Number: false > Other-Type: originator > Other-Leg-Direction: inbound > Other-Leg-Logical-Direction: inbound > Other-Leg-Username: 844 > Other-Leg-Dialplan: XML > Other-Leg-Caller-ID-Name: 844 > Other-Leg-Caller-ID-Number: 844 > Other-Leg-Orig-Caller-ID-Name: 844 > Other-Leg-Orig-Caller-ID-Number: 844 > Other-Leg-Callee-ID-Name: Outbound%20Call > Other-Leg-Callee-ID-Number: 0916331550 > Other-Leg-Network-Addr: 10.10.254.235 > Other-Leg-ANI: 844 > Other-Leg-Destination-Number: agent_state > Other-Leg-Unique-ID: 8cb36612-7044-11e6-b3d8-e558b70924ad > Other-Leg-Source: mod_sofia > Other-Leg-Context: features > Other-Leg-RDNIS: 0916331550 > Other-Leg-Channel-Name: sofia/internal/844%4010.10.254.254 > Other-Leg-Profile-Created-Time: 0 > Other-Leg-Channel-Created-Time: 0 > Other-Leg-Channel-Answered-Time: 0 > Other-Leg-Channel-Progress-Time: 0 > Other-Leg-Channel-Progress-Media-Time: 0 > Other-Leg-Channel-Hangup-Time: 0 > Other-Leg-Channel-Transfer-Time: 0 > Other-Leg-Channel-Resurrect-Time: 0 > Other-Leg-Channel-Bridged-Time: 0 > Other-Leg-Channel-Last-Hold: 0 > Other-Leg-Channel-Hold-Accum: 0 > Other-Leg-Screen-Bit: true > Other-Leg-Privacy-Hide-Name: false > Other-Leg-Privacy-Hide-Number: false > variable_direction: outbound > variable_is_outbound: true > variable_uuid: 934ee67c-7044-11e6-b404-e558b70924ad > variable_session_id: 65 > variable_sip_profile_name: internal > variable_channel_name: sofia/internal/888%4010.10.254.236%3A5060 > variable_sip_destination_url: > sip%3A888%4010.10.254.236%3A5060%3Bfs_nat%3Dyes > variable_sip_cid_type: pid > variable_switch_m_sdp: > v%3D0%0D%0Ao%3D844%208000%208000%20IN%20IP4%2010.10.253.10%0D%0As%3DSIP%20Call%0D%0Ac%3DIN%20IP4%2010.10.253.10%0D%0At%3D0%200%0D%0Am%3Daudio%2015004%20RTP/AVP%208%2018%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb%3Dno%0D%0Aa%3Dptime%3A20%0D%0A > variable_dialed_user: 888 > variable_dialed_domain: 192.168.141.60 > variable_sip_invite_domain: 192.168.141.60 > variable_presence_id: 888%40192.168.141.60 > variable_rtp_local_sdp_str: > v%3D0%0Ao%3DFreeSWITCH%201472709987%201472709988%20IN%20IP4%2010.10.254.254%0As%3DFreeSWITCH%0Ac%3DIN%20IP4%2010.10.254.254%0At%3D0%200%0Am%3Daudio%2025064%20RTP/AVP%208%2013%0Aa%3Drtpmap%3A8%20PCMA/8000%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A > variable_sip_outgoing_contact_uri: > %3Csip%3Amod_sofia%4010.10.254.254%3A5060%3E > variable_sip_req_uri: 888%4010.10.254.236%3A5060 > variable_sip_nat_detected: true > variable_sofia_profile_name: internal > variable_recovery_profile_name: internal > variable_sip_local_network_addr: 10.10.254.254 > variable_sip_reply_host: 10.10.254.236 > variable_sip_reply_port: 5060 > variable_sip_network_ip: 10.10.254.236 > variable_sip_network_port: 5060 > variable_ep_codec_string: PCMA%408000h%4020i%4064000b > variable_sip_user_agent: Grandstream%20GXP2100%201.0.7.8 > variable_sip_recover_contact: %3Csip%3A888%4010.10.253.11%3A5060%3E > variable_sip_full_via: > SIP/2.0/UDP%2010.10.254.254%3Brport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va > variable_sip_recover_via: > SIP/2.0/UDP%2010.10.254.254%3Brport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va > variable_sip_from_display: 844 > variable_sip_full_from: > %22844%22%20%3Csip%3A844%40192.168.141.60%3E%3Btag%3DmDe1c5tB3tDrp > variable_sip_full_to: > %3Csip%3A888%4010.10.254.236%3A5060%3E%3Btag%3D1143493955 > variable_sip_from_user: 844 > variable_sip_from_uri: 844%40192.168.141.60 > variable_sip_from_host: 192.168.141.60 > variable_sip_to_user: 888 > variable_sip_to_port: 5060 > variable_sip_to_uri: 888%4010.10.254.236%3A5060 > variable_sip_to_host: 10.10.254.236 > variable_sip_contact_user: 888 > variable_sip_contact_port: 5060 > variable_sip_contact_uri: 888%4010.10.253.11%3A5060 > variable_sip_contact_host: 10.10.253.11 > variable_sip_to_tag: 1143493955 > variable_sip_from_tag: mDe1c5tB3tDrp > variable_sip_cseq: 96031461 > variable_sip_call_id: 6aad3d60-eae7-1234-4793-f4ce46a93024 > variable_switch_r_sdp: > v%3D0%0D%0Ao%3D888%208000%208000%20IN%20IP4%2010.10.253.11%0D%0As%3DSIP%20Call%0D%0Ac%3DIN%20IP4%2010.10.253.11%0D%0At%3D0%200%0D%0Am%3Daudio%2015004%20RTP/AVP%208%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Dptime%3A20%0D%0A > variable_rtp_use_codec_string: PCMA%408000h%4020i,PCMA > variable_rtp_audio_recv_pt: 8 > variable_rtp_use_codec_name: PCMA > variable_rtp_use_codec_rate: 8000 > variable_rtp_use_codec_ptime: 20 > variable_rtp_use_codec_channels: 1 > variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c > variable_read_codec: PCMA > variable_original_read_codec: PCMA > variable_read_rate: 8000 > variable_original_read_rate: 8000 > variable_write_codec: PCMA > variable_write_rate: 8000 > variable_dtmf_type: info > variable_local_media_ip: 10.10.254.254 > variable_local_media_port: 25064 > variable_advertised_media_ip: 10.10.254.254 > variable_rtp_use_timer_name: soft > variable_rtp_use_pt: 8 > variable_rtp_use_ssrc: 4157591195 > variable_endpoint_disposition: ANSWER > variable_current_application_data: > 4%20a%20s%20execute_extension%3A%3Aatt_xfer%20XML%20features > variable_current_application: bind_meta_app > variable_record_stereo: true > variable_default_gateway: example.com > variable_default_areacode: 918 > variable_transfer_fallback_extension: operator > variable_toll_allow: domestic,international,local > variable_accountcode: 888 > variable_max_calls: 2 > variable_limit_exceeded: limit_exceeded > variable_user_context: default > variable_effective_caller_id_name: Karolina > variable_effective_caller_id_number: 888 > variable_outbound_caller_id_name: FreeSWITCH > variable_outbound_caller_id_number: 0000000000 > variable_callgroup: techsupport > variable_sip-force-contact: NDLB-connectile-dysfunction > variable_max_forwards: 68 > variable_originator_codec: PCMA%408000h%4020i > variable_originator: 8cb36612-7044-11e6-b3d8-e558b70924ad > variable_export_vars: RFC2822_DATE,execute_on_answer_1,execute_on_answer_2 > variable_RFC2822_DATE: Thu,%2001%20Sep%202016%2015%3A04%3A00%20%2B0200 > variable_execute_on_answer_1: start_dtmf > variable_execute_on_answer_2: > bind_meta_app%204%20a%20s%20execute_extension%3A%3Aatt_xfer%20XML%20features > variable_originate_early_media: true > variable_originating_leg_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad > variable_call_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad > variable_last_bridge_to: 8cb36612-7044-11e6-b3d8-e558b70924ad > variable_bridge_channel: sofia/internal/844%4010.10.254.254 > variable_bridge_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad > variable_signal_bond: 8cb36612-7044-11e6-b3d8-e558b70924ad > variable_last_sent_callee_id_name: 844 > variable_last_sent_callee_id_number: 844 > variable_remote_media_ip_reported: 10.10.253.11 > variable_remote_media_ip: 10.10.254.236 > variable_remote_media_port_reported: 15004 > variable_remote_media_port: 15004 > variable_rtp_auto_adjust: true > variable_sip_hangup_phrase: OK > variable_last_bridge_hangup_cause: NORMAL_CLEARING > variable_last_bridge_proto_specific_hangup_cause: sip%3A200 > > Content-Length: 9672 > Content-Type: text/event-plain > > > > > > regards, > Tihomir. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/fe836064/attachment-0001.html From rtreleaven at bunnykick.ca Thu Sep 1 18:08:27 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Thu, 1 Sep 2016 10:08:27 -0400 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: The robotic noise is packet loss. On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel wrote: > hi, > > do u have jitter buffer enabled because i recall i had a similar issue and > after disabling jitter buffer, cng to false and vad to none it resolved > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: [Freeswitch-users] Robotic voice with g729 pass through > From: devang nathwani > > To: FreeSWITCH Users Help > > Date: 9/1/2016, 11:43:38 AM > > Hello All, > > Whenever i am trying to make a call, Two way commnunication was > established but I am having kind of choppy like robotic voice or very bad > quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I > want to work with G729. > I have set below parameters in sip profile to try to resolve this issue. > But it doesn't work for me. > > aggressive-nat-detection : true > absolute_codec_string : G729 > inbound-codec-prefs :G729,PCMU,PCMA > outbound-codec-prefs : G729,PCMU,PCMA > inbound-late-negotiation :true > inbound-codec-negotiation : generous > > Any help and ideas will be appreciated. > > FYI : For debug purpose you may get SIP Log from > http://pastebin.com/D2cPLJWe > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/4096aab3/attachment.html From devang.nathwani31589 at gmail.com Thu Sep 1 20:15:19 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 1 Sep 2016 21:45:19 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: Okay...and how resolve the packet loss issue?! On Sep 1, 2016 7:39 PM, "Russell Treleaven" wrote: > The robotic noise is packet loss. > > > On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel wrote: > >> hi, >> >> do u have jitter buffer enabled because i recall i had a similar issue >> and after disabling jitter buffer, cng to false and vad to none it resolved >> >> Regards, >> Bipin >> >> >> ------------------------------ >> -------- Original Message -------- >> Subject: [Freeswitch-users] Robotic voice with g729 pass through >> From: devang nathwani >> >> To: FreeSWITCH Users Help >> >> Date: 9/1/2016, 11:43:38 AM >> >> Hello All, >> >> Whenever i am trying to make a call, Two way commnunication was >> established but I am having kind of choppy like robotic voice or very bad >> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >> want to work with G729. >> I have set below parameters in sip profile to try to resolve this issue. >> But it doesn't work for me. >> >> aggressive-nat-detection : true >> absolute_codec_string : G729 >> inbound-codec-prefs :G729,PCMU,PCMA >> outbound-codec-prefs : G729,PCMU,PCMA >> inbound-late-negotiation :true >> inbound-codec-negotiation : generous >> >> Any help and ideas will be appreciated. >> >> FYI : For debug purpose you may get SIP Log from >> http://pastebin.com/D2cPLJWe >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/b4773120/attachment.html From brian at freeswitch.org Thu Sep 1 20:19:13 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 1 Sep 2016 11:19:13 -0500 Subject: [Freeswitch-users] Ubuntu 14.x and 16.x Packages Message-ID: FreeSWITCHers, We have published both Ubuntu repositories: https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+16.04+Xenial https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty Please review and give us feedback. Also if you're new check out my signature for a discount code for the ebooks, This code applies to FreeSWITCH Cookbook And the new Mastering FreeSWITCH book. If you've not done so check them out, The entire team put in a lot of work writing and proofing the books. It will help you get started with FreeSWITCH faster. Thanks, -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/d90ef0e6/attachment.html From rtreleaven at bunnykick.ca Thu Sep 1 21:07:11 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Thu, 1 Sep 2016 13:07:11 -0400 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: First test I would do is bypass media. https://freeswitch.org/confluence/display/FREESWITCH/Bypass+Media+Overview This link might also help http://freeswitch.com/ On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Okay...and how resolve the packet loss issue?! > > On Sep 1, 2016 7:39 PM, "Russell Treleaven" > wrote: > >> The robotic noise is packet loss. >> >> >> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel wrote: >> >>> hi, >>> >>> do u have jitter buffer enabled because i recall i had a similar issue >>> and after disabling jitter buffer, cng to false and vad to none it resolved >>> >>> Regards, >>> Bipin >>> >>> >>> ------------------------------ >>> -------- Original Message -------- >>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>> From: devang nathwani >>> >>> To: FreeSWITCH Users Help >>> >>> Date: 9/1/2016, 11:43:38 AM >>> >>> Hello All, >>> >>> Whenever i am trying to make a call, Two way commnunication was >>> established but I am having kind of choppy like robotic voice or very bad >>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>> want to work with G729. >>> I have set below parameters in sip profile to try to resolve this issue. >>> But it doesn't work for me. >>> >>> aggressive-nat-detection : true >>> absolute_codec_string : G729 >>> inbound-codec-prefs :G729,PCMU,PCMA >>> outbound-codec-prefs : G729,PCMU,PCMA >>> inbound-late-negotiation :true >>> inbound-codec-negotiation : generous >>> >>> Any help and ideas will be appreciated. >>> >>> FYI : For debug purpose you may get SIP Log from >>> http://pastebin.com/D2cPLJWe >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/3ee6160f/attachment-0001.html From jprangi at gmail.com Thu Sep 1 22:16:12 2016 From: jprangi at gmail.com (Jai Rangi) Date: Thu, 1 Sep 2016 11:16:12 -0700 Subject: [Freeswitch-users] Voicemail Message Forward. Message-ID: We are experiencing a problem with voicemail message forwarding by pressing 8. This is how we reproduce the issue. Dial *98, enter the extension and password. Listen to Message. There is option to press 8 to forward message to another extension. In the logs I see Warning "Cannot locate domain DOMAINNAME" Nest line is Error Failed to forward message to 110. anyone else experience this issue? Why it wont find the domain. Thank you, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/30962650/attachment.html From victor.chukalovskiy at gmail.com Thu Sep 1 22:49:39 2016 From: victor.chukalovskiy at gmail.com (Victor Chukalovskiy) Date: Thu, 1 Sep 2016 14:49:39 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? Message-ID: Good day, I've been studying output of "show calls", "show detailed calls", and "show channels" for quite some time. Surprisingly, I can't find a value of ${network_address} variable or anything similar that will tell me for each outgoing leg SIP IP address on the far end. In other words, how do I find IP address of SIP UAS FreeSWITCH is communicating with on every outgoing call leg? I managed to get it in CDRs by dumping ${network_address}, but can't get it for active calls dump. Is there truly nothing in "show calls" or equivalent that will help me? Should I submit a feature request then? Few cents on my call scenario: SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). I'm originating my b-legs via sofia gateways (so IP address of the far-end is picked up from gateway config, and not mentioned in the dial-plan in any way or form). Many thanks, -Victor From mike at jerris.com Thu Sep 1 23:00:53 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 1 Sep 2016 15:00:53 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: References: Message-ID: <9856F231-E5A0-49CD-95DC-9DA7CABDB036@jerris.com> its in show channels, and its in the view over calls and channels. > On Sep 1, 2016, at 2:49 PM, Victor Chukalovskiy wrote: > > Good day, I've been studying output of "show calls", "show detailed > calls", and "show channels" for quite some time. > > Surprisingly, I can't find a value of ${network_address} variable or > anything similar that will tell me for each outgoing leg SIP IP address > on the far end. In other words, how do I find IP address of SIP UAS > FreeSWITCH is communicating with on every outgoing call leg? > > I managed to get it in CDRs by dumping ${network_address}, but can't get > it for active calls dump. Is there truly nothing in "show calls" or > equivalent that will help me? Should I submit a feature request then? > > Few cents on my call scenario: > > SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). > I'm originating my b-legs via sofia gateways (so IP address of the > far-end is picked up from gateway config, and not mentioned in the > dial-plan in any way or form). > > Many thanks, > > -Victor > From philq at qsystemsengineering.com Thu Sep 1 23:20:27 2016 From: philq at qsystemsengineering.com (Phil Quesinberry) Date: Thu, 01 Sep 2016 15:20:27 -0400 Subject: [Freeswitch-users] Using presence or state to avoid intercom barge-in Message-ID: <012101d20485$e605ffc0$b211ff40$@com> Hi, We're running into an issue with Cisco SPA50x phones where an intercom call to an extension either places the currently active call on hold or hangs up on it and switches to the intercom call. We'd like to not have this happen if the destination extension is in use. The only way I know of to do this would involve reconfiguring all of the phones to share presence and then check it in the dialplan before bridging. Is there a convenient "no-barge" variable or similar that can be set so FS won't send the invite if the extension is in use or a way to check the extension's state from the dialplan? I'm guessing that's a NO but I had to ask! Alternatively, is there a way to get the Cisco phones not to interrupt the call in progress when a call comes in? Instead of setting sip_auto_answer=true, I've also tried setting sip_h_Call-Info=;answer-after=0 which appears to stop this behavior on the Aastra phones but not the Cisco phones, although I'm not entirely sure about this as I now can't seem to reproduce the undesired behavior on the Aastra phones... Dialplan entry for the intercom as it stands is as follows: Any thoughts or advice would be appreciated. Thanks! Phil Quesinberry Q Systems Engineering, Inc. Embedded Systems, Telecom, IT (410) 969-8002 http://www.qsystemsengineering.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/86d30fa7/attachment.html From jack at livematch.com Thu Sep 1 23:33:55 2016 From: jack at livematch.com (Jack Loranger) Date: Thu, 1 Sep 2016 12:33:55 -0700 Subject: [Freeswitch-users] Change default directory for dtls-srtp.pem Message-ID: How would I change the default directory for the dtls-srtp.pem certificate? Thanks in advance, Jack From edwardludd at gmail.com Fri Sep 2 00:40:32 2016 From: edwardludd at gmail.com (Ned Ludd) Date: Thu, 1 Sep 2016 16:40:32 -0400 Subject: [Freeswitch-users] error: tport_logging: capture socket error: No such file or directory Message-ID: Trying to set up Homer and I get this in the "fs_cli" output. I saw something from 2014 in the IRC logs about it, there was debate whether it was a bug, but there didn't seem to be a resolution. I do have the appropriate entries in "sofia.conf.xml": And my sip profile: And I do see traffic on my capture server. Using 1.6.9. Any idea? ----- Ned Ludd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/60b2a2b3/attachment.html From tculjaga at gmail.com Fri Sep 2 01:02:44 2016 From: tculjaga at gmail.com (Tihomir Culjaga) Date: Thu, 1 Sep 2016 23:02:44 +0200 Subject: [Freeswitch-users] CHANNEL_PARK In-Reply-To: References: Message-ID: ciao Italo, i can set a variable before i execute a park application this is not a problem ... but what about park_after_bridge ? will the var i set before still be present into CHANNEL_PARK triggered by park_after_bridge ? On 1 September 2016 at 16:04, ?talo Rossi wrote: > Set variables before parking > Em qui, 1 de set de 2016 ?s 10:29, Tihomir Culjaga > escreveu: > >> hello, please can anyone help here. >> >> >> is there any way to distinguish a CHANNEL_PARK generated by att_xfer >> application from a "normal" CHANNEL_PARK generated by park application? >> >> >> >> >> this is a CHANNEL_PARK i got by using att_xfer application: >> >> >> Event-Name: CHANNEL_PARK >> Core-UUID: f63b2100-6eb0-11e6-b09e-e558b70924ad >> FreeSWITCH-Hostname: centralix.bbm.local >> FreeSWITCH-Switchname: centralix.bbm.local >> FreeSWITCH-IPv4: 192.168.141.60 >> FreeSWITCH-IPv6: %3A%3A1 >> Event-Date-Local: 2016-09-01%2015%3A04%3A21 >> Event-Date-GMT: Thu,%2001%20Sep%202016%2013%3A04%3A21%20GMT >> Event-Date-Timestamp: 1472735061810863 >> Event-Calling-File: switch_ivr.c >> Event-Calling-Function: switch_ivr_park >> Event-Calling-Line-Number: 934 >> Event-Sequence: 78869 >> Channel-State: CS_PARK >> Channel-Call-State: ACTIVE >> Channel-State-Number: 6 >> Channel-Name: sofia/internal/888%4010.10.254.236%3A5060 >> Unique-ID: 934ee67c-7044-11e6-b404-e558b70924ad >> Call-Direction: outbound >> Presence-Call-Direction: outbound >> Channel-HIT-Dialplan: false >> Channel-Presence-ID: 888%40192.168.141.60 >> Channel-Call-UUID: 8cb36612-7044-11e6-b3d8-e558b70924ad >> Answer-State: answered >> Channel-Read-Codec-Name: PCMA >> Channel-Read-Codec-Rate: 8000 >> Channel-Read-Codec-Bit-Rate: 64000 >> Channel-Write-Codec-Name: PCMA >> Channel-Write-Codec-Rate: 8000 >> Channel-Write-Codec-Bit-Rate: 64000 >> Caller-Direction: outbound >> Caller-Logical-Direction: outbound >> Caller-Username: 844 >> Caller-Dialplan: XML >> Caller-Caller-ID-Name: 844 >> Caller-Caller-ID-Number: 844 >> Caller-Orig-Caller-ID-Name: 844 >> Caller-Orig-Caller-ID-Number: 844 >> Caller-Callee-ID-Name: Outbound%20Call >> Caller-Callee-ID-Number: 888 >> Caller-Network-Addr: 10.10.254.236 >> Caller-ANI: 844 >> Caller-Destination-Number: 888 >> Caller-Unique-ID: 934ee67c-7044-11e6-b404-e558b70924ad >> Caller-Source: mod_sofia >> Caller-Context: features >> Caller-RDNIS: 0916331550 >> Caller-Channel-Name: sofia/internal/888%4010.10.254.236%3A5060 >> Caller-Profile-Index: 1 >> Caller-Profile-Created-Time: 1472735051270863 >> Caller-Channel-Created-Time: 1472735051270863 >> Caller-Channel-Answered-Time: 1472735052210864 >> Caller-Channel-Progress-Time: 1472735051510855 >> Caller-Channel-Progress-Media-Time: 0 >> Caller-Channel-Hangup-Time: 0 >> Caller-Channel-Transfer-Time: 0 >> Caller-Channel-Resurrect-Time: 0 >> Caller-Channel-Bridged-Time: 1472735052230858 >> Caller-Channel-Last-Hold: 0 >> Caller-Channel-Hold-Accum: 0 >> Caller-Screen-Bit: true >> Caller-Privacy-Hide-Name: false >> Caller-Privacy-Hide-Number: false >> Other-Type: originator >> Other-Leg-Direction: inbound >> Other-Leg-Logical-Direction: inbound >> Other-Leg-Username: 844 >> Other-Leg-Dialplan: XML >> Other-Leg-Caller-ID-Name: 844 >> Other-Leg-Caller-ID-Number: 844 >> Other-Leg-Orig-Caller-ID-Name: 844 >> Other-Leg-Orig-Caller-ID-Number: 844 >> Other-Leg-Callee-ID-Name: Outbound%20Call >> Other-Leg-Callee-ID-Number: 0916331550 >> Other-Leg-Network-Addr: 10.10.254.235 >> Other-Leg-ANI: 844 >> Other-Leg-Destination-Number: agent_state >> Other-Leg-Unique-ID: 8cb36612-7044-11e6-b3d8-e558b70924ad >> Other-Leg-Source: mod_sofia >> Other-Leg-Context: features >> Other-Leg-RDNIS: 0916331550 >> Other-Leg-Channel-Name: sofia/internal/844%4010.10.254.254 >> Other-Leg-Profile-Created-Time: 0 >> Other-Leg-Channel-Created-Time: 0 >> Other-Leg-Channel-Answered-Time: 0 >> Other-Leg-Channel-Progress-Time: 0 >> Other-Leg-Channel-Progress-Media-Time: 0 >> Other-Leg-Channel-Hangup-Time: 0 >> Other-Leg-Channel-Transfer-Time: 0 >> Other-Leg-Channel-Resurrect-Time: 0 >> Other-Leg-Channel-Bridged-Time: 0 >> Other-Leg-Channel-Last-Hold: 0 >> Other-Leg-Channel-Hold-Accum: 0 >> Other-Leg-Screen-Bit: true >> Other-Leg-Privacy-Hide-Name: false >> Other-Leg-Privacy-Hide-Number: false >> variable_direction: outbound >> variable_is_outbound: true >> variable_uuid: 934ee67c-7044-11e6-b404-e558b70924ad >> variable_session_id: 65 >> variable_sip_profile_name: internal >> variable_channel_name: sofia/internal/888%4010.10.254.236%3A5060 >> variable_sip_destination_url: sip%3A888%4010.10.254.236% >> 3A5060%3Bfs_nat%3Dyes >> variable_sip_cid_type: pid >> variable_switch_m_sdp: v%3D0%0D%0Ao%3D844%208000% >> 208000%20IN%20IP4%2010.10.253.10%0D%0As%3DSIP%20Call%0D%0Ac% >> 3DIN%20IP4%2010.10.253.10%0D%0At%3D0%200%0D%0Am%3Daudio% >> 2015004%20RTP/AVP%208%2018%0D%0Aa%3Drtpmap%3A8%20PCMA/8000% >> 0D%0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18% >> 20annexb%3Dno%0D%0Aa%3Dptime%3A20%0D%0A >> variable_dialed_user: 888 >> variable_dialed_domain: 192.168.141.60 >> variable_sip_invite_domain: 192.168.141.60 >> variable_presence_id: 888%40192.168.141.60 >> variable_rtp_local_sdp_str: v%3D0%0Ao%3DFreeSWITCH% >> 201472709987%201472709988%20IN%20IP4%2010.10.254.254% >> 0As%3DFreeSWITCH%0Ac%3DIN%20IP4%2010.10.254.254%0At%3D0% >> 200%0Am%3Daudio%2025064%20RTP/AVP%208%2013%0Aa%3Drtpmap%3A8% >> 20PCMA/8000%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A >> variable_sip_outgoing_contact_uri: %3Csip%3Amod_sofia%4010.10. >> 254.254%3A5060%3E >> variable_sip_req_uri: 888%4010.10.254.236%3A5060 >> variable_sip_nat_detected: true >> variable_sofia_profile_name: internal >> variable_recovery_profile_name: internal >> variable_sip_local_network_addr: 10.10.254.254 >> variable_sip_reply_host: 10.10.254.236 >> variable_sip_reply_port: 5060 >> variable_sip_network_ip: 10.10.254.236 >> variable_sip_network_port: 5060 >> variable_ep_codec_string: PCMA%408000h%4020i%4064000b >> variable_sip_user_agent: Grandstream%20GXP2100%201.0.7.8 >> variable_sip_recover_contact: %3Csip%3A888%4010.10.253.11%3A5060%3E >> variable_sip_full_via: SIP/2.0/UDP%2010.10.254.254% >> 3Brport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va >> variable_sip_recover_via: SIP/2.0/UDP%2010.10.254.254% >> 3Brport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va >> variable_sip_from_display: 844 >> variable_sip_full_from: %22844%22%20%3Csip%3A844% >> 40192.168.141.60%3E%3Btag%3DmDe1c5tB3tDrp >> variable_sip_full_to: %3Csip%3A888%4010.10.254.236% >> 3A5060%3E%3Btag%3D1143493955 >> variable_sip_from_user: 844 >> variable_sip_from_uri: 844%40192.168.141.60 >> variable_sip_from_host: 192.168.141.60 >> variable_sip_to_user: 888 >> variable_sip_to_port: 5060 >> variable_sip_to_uri: 888%4010.10.254.236%3A5060 >> variable_sip_to_host: 10.10.254.236 >> variable_sip_contact_user: 888 >> variable_sip_contact_port: 5060 >> variable_sip_contact_uri: 888%4010.10.253.11%3A5060 >> variable_sip_contact_host: 10.10.253.11 >> variable_sip_to_tag: 1143493955 >> variable_sip_from_tag: mDe1c5tB3tDrp >> variable_sip_cseq: 96031461 >> variable_sip_call_id: 6aad3d60-eae7-1234-4793-f4ce46a93024 >> variable_switch_r_sdp: v%3D0%0D%0Ao%3D888%208000% >> 208000%20IN%20IP4%2010.10.253.11%0D%0As%3DSIP%20Call%0D%0Ac% >> 3DIN%20IP4%2010.10.253.11%0D%0At%3D0%200%0D%0Am%3Daudio% >> 2015004%20RTP/AVP%208%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D% >> 0Aa%3Dptime%3A20%0D%0A >> variable_rtp_use_codec_string: PCMA%408000h%4020i,PCMA >> variable_rtp_audio_recv_pt: 8 >> variable_rtp_use_codec_name: PCMA >> variable_rtp_use_codec_rate: 8000 >> variable_rtp_use_codec_ptime: 20 >> variable_rtp_use_codec_channels: 1 >> variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c >> variable_read_codec: PCMA >> variable_original_read_codec: PCMA >> variable_read_rate: 8000 >> variable_original_read_rate: 8000 >> variable_write_codec: PCMA >> variable_write_rate: 8000 >> variable_dtmf_type: info >> variable_local_media_ip: 10.10.254.254 >> variable_local_media_port: 25064 >> variable_advertised_media_ip: 10.10.254.254 >> variable_rtp_use_timer_name: soft >> variable_rtp_use_pt: 8 >> variable_rtp_use_ssrc: 4157591195 >> variable_endpoint_disposition: ANSWER >> variable_current_application_data: 4%20a%20s%20execute_extension% >> 3A%3Aatt_xfer%20XML%20features >> variable_current_application: bind_meta_app >> variable_record_stereo: true >> variable_default_gateway: example.com >> variable_default_areacode: 918 >> variable_transfer_fallback_extension: operator >> variable_toll_allow: domestic,international,local >> variable_accountcode: 888 >> variable_max_calls: 2 >> variable_limit_exceeded: limit_exceeded >> variable_user_context: default >> variable_effective_caller_id_name: Karolina >> variable_effective_caller_id_number: 888 >> variable_outbound_caller_id_name: FreeSWITCH >> variable_outbound_caller_id_number: 0000000000 >> variable_callgroup: techsupport >> variable_sip-force-contact: NDLB-connectile-dysfunction >> variable_max_forwards: 68 >> variable_originator_codec: PCMA%408000h%4020i >> variable_originator: 8cb36612-7044-11e6-b3d8-e558b70924ad >> variable_export_vars: RFC2822_DATE,execute_on_ >> answer_1,execute_on_answer_2 >> variable_RFC2822_DATE: Thu,%2001%20Sep%202016%2015%3A04%3A00%20%2B0200 >> variable_execute_on_answer_1: start_dtmf >> variable_execute_on_answer_2: bind_meta_app%204%20a%20s% >> 20execute_extension%3A%3Aatt_xfer%20XML%20features >> variable_originate_early_media: true >> variable_originating_leg_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad >> variable_call_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad >> variable_last_bridge_to: 8cb36612-7044-11e6-b3d8-e558b70924ad >> variable_bridge_channel: sofia/internal/844%4010.10.254.254 >> variable_bridge_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad >> variable_signal_bond: 8cb36612-7044-11e6-b3d8-e558b70924ad >> variable_last_sent_callee_id_name: 844 >> variable_last_sent_callee_id_number: 844 >> variable_remote_media_ip_reported: 10.10.253.11 >> variable_remote_media_ip: 10.10.254.236 >> variable_remote_media_port_reported: 15004 >> variable_remote_media_port: 15004 >> variable_rtp_auto_adjust: true >> variable_sip_hangup_phrase: OK >> variable_last_bridge_hangup_cause: NORMAL_CLEARING >> variable_last_bridge_proto_specific_hangup_cause: sip%3A200 >> >> Content-Length: 9672 >> Content-Type: text/event-plain >> >> >> >> >> >> regards, >> Tihomir. >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/0d001786/attachment-0001.html From ak at hejdu.dk Fri Sep 2 01:03:38 2016 From: ak at hejdu.dk (Allan Kristensen) Date: Thu, 1 Sep 2016 23:03:38 +0200 Subject: [Freeswitch-users] Hangup cause translation issues? Message-ID: Hello, Why am I getting a (q850) NO_USER_RESPONSE (18) hangup cause from a SIP 480 Temp. unavail. When the RFC 4497 says (pick one): 19 No answer from the user 480 Temporarily unavailable 20 Subscriber absent 480 Temporarily unavailable I looked in the source (sofia_glue.c) and it says: /* map sip responses to QSIG cause codes ala RFC4497 section 8.4.4 */ switch_call_cause_t sofia_glue_sip_cause_to_freeswitch(int status) { switch (status) { ... ... case 480: return SWITCH_CAUSE_NO_USER_RESPONSE; Which is code 18, it seems incorrect.. is it just me? /Allan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/fdbfb4c1/attachment.html From mike at jerris.com Fri Sep 2 01:16:40 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 1 Sep 2016 17:16:40 -0400 Subject: [Freeswitch-users] Hangup cause translation issues? In-Reply-To: References: Message-ID: <6DE4D13D-25CD-4054-9A21-24A7765F9131@jerris.com> https://tools.ietf.org/html/rfc4497#section-8.4.4 480 Temporarily unavailable 18 No user responding > On Sep 1, 2016, at 5:03 PM, Allan Kristensen wrote: > > Hello, > > Why am I getting a (q850) NO_USER_RESPONSE (18) hangup cause from a SIP 480 Temp. unavail. > > When the RFC 4497 says (pick one): > > 19 No answer from the user 480 Temporarily unavailable > 20 Subscriber absent 480 Temporarily unavailable > > I looked in the source (sofia_glue.c) and it says: > > /* map sip responses to QSIG cause codes ala RFC4497 section 8.4.4 */ > switch_call_cause_t sofia_glue_sip_cause_to_freeswitch(int status) > { > switch (status) { > ... > ... > case 480: > return SWITCH_CAUSE_NO_USER_RESPONSE; > > Which is code 18, it seems incorrect.. is it just me? > > /Allan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/624b4a08/attachment.html From william at williamcollsassoc.ca Fri Sep 2 02:21:10 2016 From: william at williamcollsassoc.ca (William Colls) Date: Thu, 1 Sep 2016 18:21:10 -0400 Subject: [Freeswitch-users] Building an IVR - Macro not found error Message-ID: Freeswitch 1.6.9 debian Jessie 64 bit platform. New to Freeswitch and trying to build a small IVR. I am getting an error when it tries to execute a phrase macro. From looking at freeswitch.xml.fsxml it appears that the macro is loaded (reloadxml produces no errors). When I call into the switch, I can see the call being answered, and my IVR is picked, up and executes with out error until switch_ivr_play tries to play the macro. It then generates the error message "Can't find macro ourhouse_greet_long". Just before the error occurs, I get a debug message "No language specified - Using [en]". If I substitute one of the Demo IVR macros for ourhouse_greet_long, it will be executed with out error. The file containing macro is located in /usr/local/freeswitch/conf/lang/en/ivr. So what have I done wrong? Any help appreciated. I can provide more detail if needed. Thanks for your time. William. From mike at jerris.com Fri Sep 2 02:28:59 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 1 Sep 2016 18:28:59 -0400 Subject: [Freeswitch-users] Building an IVR - Macro not found error In-Reply-To: References: Message-ID: <2FB76069-BF30-4E4E-BF3F-8442CEC7546D@jerris.com> installing from source or packages? What file are you editing exactly and what have you added to it and where? > On Sep 1, 2016, at 6:21 PM, William Colls wrote: > > Freeswitch 1.6.9 > > debian Jessie 64 bit platform. > > New to Freeswitch and trying to build a small IVR. I am getting an error > when it tries to execute a phrase macro. > > From looking at freeswitch.xml.fsxml it appears that the macro is > loaded (reloadxml produces no errors). > > When I call into the switch, I can see the call being answered, and my > IVR is picked, up and executes with out error until switch_ivr_play > tries to play the macro. It then generates the error message "Can't find > macro ourhouse_greet_long". Just before the error occurs, I get a debug > message "No language specified - Using [en]". > > If I substitute one of the Demo IVR macros for ourhouse_greet_long, it > will be executed with out error. > > The file containing macro is located in > /usr/local/freeswitch/conf/lang/en/ivr. > > So what have I done wrong? Any help appreciated. I can provide more > detail if needed. > > Thanks for your time. > > William. > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From aronp at guaranteedplus.com Fri Sep 2 03:34:21 2016 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Thu, 1 Sep 2016 19:34:21 -0400 Subject: [Freeswitch-users] variable_DIALSTATUS reset by pickup endpoint Message-ID: Hi, I was relying on *variable_DIALSTATUS* to check for the originate error cause when dialing a user, it works for error cases like RECOVERY_ON_TIMER_EXPIRE, BUSY, however when the cause is USER_NOT_REGISTERED freeswitch overrides the DIALSTATUS with the pickup endpoint's error cause so I'm unable to detect the reason properly. How can I reliably retrieve the originate cause? Is this a bug or intended? 016-09-01 23:17:35.561182 [NOTICE] switch_ivr_originate.c:2759 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED] 2016-09-01 23:17:35.561182 [DEBUG] mod_dptools.c:3709 () State Change CS_NEW -> CS_ROUTING 2016-09-01 23:17:35.561182 [DEBUG] switch_core_session.c:1397 Send signal N/A [BREAK] 2016-09-01 23:17:35.561182 [NOTICE] switch_channel.c:1077 New Channel pickup/221 at example.com [446024c6-709a-11e6-a2c0-4d1647ad42e6] 2016-09-01 23:17:35.581187 [NOTICE] switch_ivr_originate.c:794 Hangup pickup/221 at example.com [CS_ROUTING] [NO_PICKUP] 2016-09-01 23:17:35.581187 [DEBUG] switch_channel.c:3244 Send signal pickup/ 221 at example.com [KILL] 2016-09-01 23:17:35.581187 [DEBUG] switch_core_session.c:1397 Send signal pickup/221 at example.com [BREAK] And those are the related variables afterwards. variable_originated_legs: [446024c6-709a-11e6-a2c0-4d1647ad42e6;Outbound Call;221] variable_last_bridge_hangup_cause: [NO_PICKUP] variable_originate_causes: [446024c6-709a-11e6-a2c0-4d1647ad42e6;NO_PICKUP] variable_originate_disposition: [NO_PICKUP] variable_DIALSTATUS: [NO_PICKUP] Thanks -- Aron Podrigal - '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/c62001be/attachment.html From fernando at softov.com.br Fri Sep 2 03:48:18 2016 From: fernando at softov.com.br (Luiz Fernando Softov) Date: Thu, 1 Sep 2016 19:48:18 -0400 Subject: [Freeswitch-users] Event Socket Outbound - Playback Sequence In-Reply-To: References: <78FBDF10-0D76-4064-A78C-FD0305CDE29C@beachdognet.com> Message-ID: Now I'm having another problem. Let's say ?I? have ?some audio files to playback file_1.mp3 -> ?? hello, you have pendencies file_2.mp3 -> to inform payment file_3.mp3 -> please press file_4.mp3 -> one ?Then, i do execute playback, without LOCK (because I need to garb DTMF and send BREAK to stop playback) ? playback="file_1.mp3!file_2.mp3!file_3.mp3!file_4.mp3" FS must say -> hello, you have pendencies, to inform payment, please press, one But FS is saying -> hello, you have ? ? ..... ? ? payment, please ... one The scenario is 2001 --> [FS A] -- gateway --> [FS B] --> playfiles If the scenario is 2001 --> [FS A] --> playfiles The files are played correct ? ? This ? is? happen ?ing? with the same codec in all legs ? I already enable and disable transcoding, ?without success There is the log of FS A https://pastebin.freeswitch.org/view/b783fc14 A ?nd log of ? FS B ? https://pastebin.freeswitch.org/view/95aa3580 2016-09-01 19:43 GMT-04:00 Luiz Fernando Softov : > Now I'm having another problem. > > Let's say > ?I? > have > ?some > audio files to playback > > file_1.mp3 -> > ?? > hello, you have pendencies > file_2.mp3 -> to inform payment > file_3.mp3 -> please press > file_4.mp3 -> one > > ?Then, i do execute playback, without LOCK (because I need to garb DTMF > and send BREAK to stop playback) > ? > > playback="file_1.mp3!file_2.mp3!file_3.mp3!file_4.mp3" > > FS must say > -> hello, you have pendencies, to inform payment, please press, one > > But FS is saying > -> hello, you have > ? ? > ..... > ? ? > payment, please ... one > > The scenario is > > 2001 --> [FS A] -- gateway --> [FS B] --> playfiles > > If the scenario is > > 2001 --> [FS A] --> playfiles > > The files are played correct > > ? > ? > This > ? is? > happen > ?ing? > with the same codec in all legs > ? > > I already enable and disable transcoding, > ?without success > > > There is the log of FS A > > https://pastebin.freeswitch.org/view/b783fc14 > > A > ?nd log of ? > FS B > ? > > https://pastebin.freeswitch.org/view/95aa3580 > > > > > > 2016-08-27 17:41 GMT-04:00 Luiz Fernando Softov : > >> Thanks, this do the job... >> >> 2016-08-26 8:01 GMT-04:00 Dave Horton : >> >>> Can't you play all the files in a single command using a playback >>> delimiter? >>> >>> Sent from my iPhone >>> >>> On Aug 26, 2016, at 12:34 AM, Luiz Fernando Softov < >>> fernando at softov.com.br> wrote: >>> >>> Hi all, >>> >>> I'm using FS with Event Socket Outbound. >>> >>> Eg: The user calls to XXX and the calls goes to socket. >>> >>> >>> >>> >> ?? >>> application="socket" data="127.0.0.1:3012 async full"/> >>> >>> >>> >>> >>> I receive a call, and play some files (sometimes http:// or shout://). >>> Using command action playback. >>> >>> sendmsg >>> call-command: execute >>> execute-app-name: playback >>> execute-app-arg: >>> ? >>> ? >>> /sounds/system/chr_ >>> ?1? >>> .mp3 >>> >>> >>> The problem is, I'm sending commands to playback files 1, 2, 3 >>> And the system are playing 3, 2, 1 >>> >>> I already tried to use event-lock. >>> ?S >>> ometimes?, >>> ? >>> if user press any DTMF >>> ?,? >>> I need to stop playback >>> I >>> ?f I use? >>> event-lock >>> ?: true. I >>> can't do anything until the files are done. >>> The same, using command break (break only show up when files are done). >>> >>> Is there another way, or a correct way to playback multiple sequential >>> files, in order >>> ?, using >>> ? >>> application="socket"? >>> This is a BUG? >>> >>> ? >>> ?I don't if I made myself clear here. >>> ? >>> In resume, I can't wait until the current file is done, to send another >>> command to play the next file, since I have one list (options), with >>> several list of files to play (files)?. And, using asynchronous events >>> (kqueue), the list(s) can change in the middle of process. >>> >>> ?It's like >>> * Option 1: >>> ** file: ?wellcome.mp3 >>> ** file: ?file_ >>> ?abc? >>> 1 >>> .mp3 >>> ?? >>> * Option >>> ?2? >>> : >>> ?** file: protocol.mp3? >>> ?? >>> ** file: ? >>> ?digit >>> _ >>> ?8? >>> .mp3 >>> ? >>> ? >>> ** file: ? >>> ?digit_ >>> ?7? >>> .mp3 >>> ? >>> ? >>> ** file: ? >>> ?digit_ >>> ?1? >>> .mp3 >>> ? >>> >>> ? >>> ** file: ? >>> ?digit_ >>> ?2? >>> .mp3 >>> ? >>> >>> ? >>> ** file: ? >>> ?digit_ >>> ?3? >>> .mp3 >>> ? >>> >>> ? >>> ? >>> * Option >>> ?3 >>> : >>> ?** file: ? >>> ?sales >>> .mp3?? >>> ? >>> >>> ?And, after this, the files to be played are >>> >>> wellcome.mp3 >>> file_ >>> ?abc? >>> 1 >>> .mp3 >>> protocol.mp3? >>> digit >>> _ >>> ?8? >>> .mp3? >>> digit_ >>> ?7? >>> .mp3? >>> digit_ >>> ?1? >>> .mp3? >>> >>> digit_ >>> ?2? >>> .mp3? >>> >>> digit_ >>> ?3? >>> .mp3? >>> >>> sales >>> .mp3??? >>> >>> But, the files are not played in sequence.? >>> >>> ? >>> ? >>> >>> >>> [DEBUG] switch_channel.c:3770 (sofia/profile_1/6001 at 192.168.142.12) >>> Callstate Change RINGING -> ACTIVE >>> [DEBUG] sofia.c:6858 Channel sofia/profile_1/6001 at 192.168.142.12 >>> entering state [completed][200] >>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>> Execute playback(/sounds/ivr/ivr_intro.mp3) >>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>> playback(/sounds/ivr/ivr_intro.mp3) >>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>> channels 20ms >>> [DEBUG] sofia.c:6858 Channel sofia/profile_1/6001 at 192.168.142.12 >>> entering state [ready][200] >>> [DEBUG] switch_rtp.c:6706 Correct audio ip/port confirmed. >>> [DEBUG] switch_rtp.c:1845 rtcp_stats_init: audio ssrc[1125545576] >>> base_seq[28137] >>> [DEBUG] switch_ivr_play_say.c:1910 done playing file >>> /sounds/ivr/ivr_intro.mp3 >>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>> Execute playback(/sounds/ivr/ivr_menu.mp3) >>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>> playback(/sounds/ivr/ivr_menu.mp3) >>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>> channels 20ms >>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>> Execute playback(/sounds/system/transfer_request.mp3) >>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>> playback(/sounds/system/transfer_request.mp3) >>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>> channels 20ms >>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>> Execute playback(/sounds/system/chr_1.mp3) >>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>> playback(/sounds/system/chr_1.mp3) >>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>> channels 20ms >>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>> Execute playback(/sounds/system/chr_2.mp3) >>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>> playback(/sounds/system/chr_2.mp3) >>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>> channels 20ms >>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>> Execute playback(/sounds/system/chr_3.mp3) >>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>> playback(/sounds/system/chr_3.mp3) >>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>> channels 20ms >>> [DEBUG] switch_ivr_play_say.c:1910 done playing file >>> ?? >>> /sounds/system/chr_3.mp3 >>> [DEBUG] switch_ivr_play_say.c:1910 done playing file >>> /sounds/system/chr_2.mp3 >>> [DEBUG] switch_ivr_play_say.c:1910 done playing file >>> /sounds/system/chr_1.mp3 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/f9a49f3c/attachment-0001.html From william at williamcollsassoc.ca Fri Sep 2 04:22:57 2016 From: william at williamcollsassoc.ca (William Colls) Date: Thu, 1 Sep 2016 20:22:57 -0400 Subject: [Freeswitch-users] Building an IVR - Macro not found error In-Reply-To: <2FB76069-BF30-4E4E-BF3F-8442CEC7546D@jerris.com> References: <2FB76069-BF30-4E4E-BF3F-8442CEC7546D@jerris.com> Message-ID: <2912ac7c-c4f4-95f0-2b3c-cb2d0b1834e7@williamcollsassoc.ca> Built from source. My IVR is derived from the demo_ivr, and the macros are in a seperate file. ivr and macro files as shown below. /usr/local/freeswitch/conf/ivr_menus/ourhouse_ivr.xml /usr/local/freeswitch/conf/lang/en/ivr/ourhouse_macro.xml On 2016-09-01 06:28 PM, Michael Jerris wrote: > installing from source or packages? What file are you editing exactly and what have you added to it and where? > >> On Sep 1, 2016, at 6:21 PM, William Colls wrote: >> >> Freeswitch 1.6.9 >> >> debian Jessie 64 bit platform. >> >> New to Freeswitch and trying to build a small IVR. I am getting an error >> when it tries to execute a phrase macro. >> >> From looking at freeswitch.xml.fsxml it appears that the macro is >> loaded (reloadxml produces no errors). >> >> When I call into the switch, I can see the call being answered, and my >> IVR is picked, up and executes with out error until switch_ivr_play >> tries to play the macro. It then generates the error message "Can't find >> macro ourhouse_greet_long". Just before the error occurs, I get a debug >> message "No language specified - Using [en]". >> >> If I substitute one of the Demo IVR macros for ourhouse_greet_long, it >> will be executed with out error. >> >> The file containing macro is located in >> /usr/local/freeswitch/conf/lang/en/ivr. >> >> So what have I done wrong? Any help appreciated. I can provide more >> detail if needed. >> >> Thanks for your time. >> >> William. >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From joel at gogii.net Fri Sep 2 04:23:59 2016 From: joel at gogii.net (Joel Serrano) Date: Thu, 1 Sep 2016 17:23:59 -0700 Subject: [Freeswitch-users] Hangup hooks in Python In-Reply-To: References: Message-ID: Hi Trever, I'd love to try and help you with this, but I don't understand completely your use case, can you give a little more details on what the issue is and what exactly you need. We use lua and python in hangup hooks and so far no issues. Joel. On Mon, Aug 15, 2016 at 2:19 AM, Trever L. Adams < trever at middleearth.sapphiresunday.org> wrote: > Thank you Joel. I was looking at that wondering if that would be the > correct way. Some variables available in the lua event hooks are not > available this way and vice versa. I am having some difficulty as each > presents its own problems. What I hope for is to use the api_hangup_hook > with lua. The problem that remains is that on outbound calls things get > messed up if the internal user transfers to another internal user. (I need > the call direction to be accurate or have a way to detect when I should > flip it.) > > Trever > > > On 08/01/2016 10:46 AM, Joel Serrano wrote: > > Hi, > > Have you tried something like: > > [...] > > > [...] > > > ?? > > > > On Mon, Aug 1, 2016 at 9:20 AM, Trever L. Adams sapphiresunday.org> wrote: > >> I am working on adding functionality to an external project that already >> supports Asterisk. I have used hook events with lua to capture call data >> on hangup and hangup complete before. Unfortunately, I need >> authenticated json rpc or xmlrpc. The original code I am working from is >> also in Python. Lua xml and json rpc modules do not seem to do >> authenticated requests. Since I already have Python, it seems to be >> easier. >> >> https://wiki.freeswitch.org/wiki/Mod_python#Hangup_hook_. >> 2B_SQLAlchemy_crashes_switch, >> it says that hangup hooks are very buggy and should be avoided. Is this >> still the case in the last year or so (recent versions)? If so, what is >> the best way to do this? If not, can someone post a simple equivalent of >> event:getHeader in a simple handler for hangups so that I can start >> working on this? >> >> Do I use def fsapi(session, stream, env, args) or def handler(session, >> args)? >> >> Thank you for help getting started, >> >> Trever >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/b0c9c6dc/attachment.html From joel at gogii.net Fri Sep 2 04:27:41 2016 From: joel at gogii.net (Joel Serrano) Date: Thu, 1 Sep 2016 17:27:41 -0700 Subject: [Freeswitch-users] link my freeswitch to external database In-Reply-To: <0B344957-FEA8-4CE0-AD91-5C1E44F10705@gmail.com> References: <0B344957-FEA8-4CE0-AD91-5C1E44F10705@gmail.com> Message-ID: So.. If you added: are comments. Or was that just a copy&paste typo? On Fri, Aug 19, 2016 at 10:44 AM, Ahmed Alzaeem wrote: > Dear Dev , > I?m newbies to freeswitch & fusionpbx > i have : > ============== > CentOS v7 > Freeswitch v1.6 > FusionPBX v4 > mysql external database to be linked my with fusionpbx . > ========== > > I?m really confused with the option from where do i tell fusionpbx to use > the external db ? > > i already added that db from the gui during the installation but it didn?t > work or at least wasn?t chosen to be the db of my freeswitch . > > what i have modified was the file : > /etc/freeswitch/autoload_configs/switch.conf.xml > i added line > > [FS A] -- gateway --> [FS B] --> playfiles > > If the scenario is > > 2001 --> [FS A] --> playfiles > > The files are played correct > > ? > ? > This > ? is? > happen > ?ing? > with the same codec in all legs > ? > > I already enable and disable transcoding, > ?without success > > > There is the log of FS A > > https://pastebin.freeswitch.org/view/b783fc14 > > A > ?nd log of ? > FS B > ? > > https://pastebin.freeswitch.org/view/95aa3580 > > 2016-09-01 19:43 GMT-04:00 Luiz Fernando Softov : > >> Now I'm having another problem. >> >> Let's say >> ?I? >> have >> ?some >> audio files to playback >> >> file_1.mp3 -> >> ?? >> hello, you have pendencies >> file_2.mp3 -> to inform payment >> file_3.mp3 -> please press >> file_4.mp3 -> one >> >> ?Then, i do execute playback, without LOCK (because I need to garb DTMF >> and send BREAK to stop playback) >> ? >> >> playback="file_1.mp3!file_2.mp3!file_3.mp3!file_4.mp3" >> >> FS must say >> -> hello, you have pendencies, to inform payment, please press, one >> >> But FS is saying >> -> hello, you have >> ? ? >> ..... >> ? ? >> payment, please ... one >> >> The scenario is >> >> 2001 --> [FS A] -- gateway --> [FS B] --> playfiles >> >> If the scenario is >> >> 2001 --> [FS A] --> playfiles >> >> The files are played correct >> >> ? >> ? >> This >> ? is? >> happen >> ?ing? >> with the same codec in all legs >> ? >> >> I already enable and disable transcoding, >> ?without success >> >> >> There is the log of FS A >> >> https://pastebin.freeswitch.org/view/b783fc14 >> >> A >> ?nd log of ? >> FS B >> ? >> >> https://pastebin.freeswitch.org/view/95aa3580 >> >> >> >> >> >> 2016-08-27 17:41 GMT-04:00 Luiz Fernando Softov : >> >>> Thanks, this do the job... >>> >>> 2016-08-26 8:01 GMT-04:00 Dave Horton : >>> >>>> Can't you play all the files in a single command using a playback >>>> delimiter? >>>> >>>> Sent from my iPhone >>>> >>>> On Aug 26, 2016, at 12:34 AM, Luiz Fernando Softov < >>>> fernando at softov.com.br> wrote: >>>> >>>> Hi all, >>>> >>>> I'm using FS with Event Socket Outbound. >>>> >>>> Eg: The user calls to XXX and the calls goes to socket. >>>> >>>> >>>> >>>> >>> ?? >>>> application="socket" data="127.0.0.1:3012 async full"/> >>>> >>>> >>>> >>>> >>>> I receive a call, and play some files (sometimes http:// or shout://). >>>> Using command action playback. >>>> >>>> sendmsg >>>> call-command: execute >>>> execute-app-name: playback >>>> execute-app-arg: >>>> ? >>>> ? >>>> /sounds/system/chr_ >>>> ?1? >>>> .mp3 >>>> >>>> >>>> The problem is, I'm sending commands to playback files 1, 2, 3 >>>> And the system are playing 3, 2, 1 >>>> >>>> I already tried to use event-lock. >>>> ?S >>>> ometimes?, >>>> ? >>>> if user press any DTMF >>>> ?,? >>>> I need to stop playback >>>> I >>>> ?f I use? >>>> event-lock >>>> ?: true. I >>>> can't do anything until the files are done. >>>> The same, using command break (break only show up when files are done). >>>> >>>> Is there another way, or a correct way to playback multiple sequential >>>> files, in order >>>> ?, using >>>> ? >>>> application="socket"? >>>> This is a BUG? >>>> >>>> ? >>>> ?I don't if I made myself clear here. >>>> ? >>>> In resume, I can't wait until the current file is done, to send another >>>> command to play the next file, since I have one list (options), with >>>> several list of files to play (files)?. And, using asynchronous events >>>> (kqueue), the list(s) can change in the middle of process. >>>> >>>> ?It's like >>>> * Option 1: >>>> ** file: ?wellcome.mp3 >>>> ** file: ?file_ >>>> ?abc? >>>> 1 >>>> .mp3 >>>> ?? >>>> * Option >>>> ?2? >>>> : >>>> ?** file: protocol.mp3? >>>> ?? >>>> ** file: ? >>>> ?digit >>>> _ >>>> ?8? >>>> .mp3 >>>> ? >>>> ? >>>> ** file: ? >>>> ?digit_ >>>> ?7? >>>> .mp3 >>>> ? >>>> ? >>>> ** file: ? >>>> ?digit_ >>>> ?1? >>>> .mp3 >>>> ? >>>> >>>> ? >>>> ** file: ? >>>> ?digit_ >>>> ?2? >>>> .mp3 >>>> ? >>>> >>>> ? >>>> ** file: ? >>>> ?digit_ >>>> ?3? >>>> .mp3 >>>> ? >>>> >>>> ? >>>> ? >>>> * Option >>>> ?3 >>>> : >>>> ?** file: ? >>>> ?sales >>>> .mp3?? >>>> ? >>>> >>>> ?And, after this, the files to be played are >>>> >>>> wellcome.mp3 >>>> file_ >>>> ?abc? >>>> 1 >>>> .mp3 >>>> protocol.mp3? >>>> digit >>>> _ >>>> ?8? >>>> .mp3? >>>> digit_ >>>> ?7? >>>> .mp3? >>>> digit_ >>>> ?1? >>>> .mp3? >>>> >>>> digit_ >>>> ?2? >>>> .mp3? >>>> >>>> digit_ >>>> ?3? >>>> .mp3? >>>> >>>> sales >>>> .mp3??? >>>> >>>> But, the files are not played in sequence.? >>>> >>>> ? >>>> ? >>>> >>>> >>>> [DEBUG] switch_channel.c:3770 (sofia/profile_1/6001 at 192.168.142.12) >>>> Callstate Change RINGING -> ACTIVE >>>> [DEBUG] sofia.c:6858 Channel sofia/profile_1/6001 at 192.168.142.12 >>>> entering state [completed][200] >>>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>>> Execute playback(/sounds/ivr/ivr_intro.mp3) >>>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>>> playback(/sounds/ivr/ivr_intro.mp3) >>>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>>> channels 20ms >>>> [DEBUG] sofia.c:6858 Channel sofia/profile_1/6001 at 192.168.142.12 >>>> entering state [ready][200] >>>> [DEBUG] switch_rtp.c:6706 Correct audio ip/port confirmed. >>>> [DEBUG] switch_rtp.c:1845 rtcp_stats_init: audio ssrc[1125545576] >>>> base_seq[28137] >>>> [DEBUG] switch_ivr_play_say.c:1910 done playing file >>>> /sounds/ivr/ivr_intro.mp3 >>>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>>> Execute playback(/sounds/ivr/ivr_menu.mp3) >>>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>>> playback(/sounds/ivr/ivr_menu.mp3) >>>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>>> channels 20ms >>>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>>> Execute playback(/sounds/system/transfer_request.mp3) >>>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>>> playback(/sounds/system/transfer_request.mp3) >>>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>>> channels 20ms >>>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>>> Execute playback(/sounds/system/chr_1.mp3) >>>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>>> playback(/sounds/system/chr_1.mp3) >>>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>>> channels 20ms >>>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>>> Execute playback(/sounds/system/chr_2.mp3) >>>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>>> playback(/sounds/system/chr_2.mp3) >>>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>>> channels 20ms >>>> [DEBUG] switch_ivr.c:623 sofia/profile_1/6001 at 192.168.142.12 Command >>>> Execute playback(/sounds/system/chr_3.mp3) >>>> EXECUTE sofia/profile_1/6001 at 192.168.142.12 >>>> playback(/sounds/system/chr_3.mp3) >>>> [DEBUG] switch_ivr_play_say.c:1467 Codec Activated L16 at 8000hz 1 >>>> channels 20ms >>>> [DEBUG] switch_ivr_play_say.c:1910 done playing file >>>> ?? >>>> /sounds/system/chr_3.mp3 >>>> [DEBUG] switch_ivr_play_say.c:1910 done playing file >>>> /sounds/system/chr_2.mp3 >>>> [DEBUG] switch_ivr_play_say.c:1910 done playing file >>>> /sounds/system/chr_1.mp3 >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/90175136/attachment-0001.html From joel at gogii.net Fri Sep 2 04:43:08 2016 From: joel at gogii.net (Joel Serrano) Date: Thu, 1 Sep 2016 17:43:08 -0700 Subject: [Freeswitch-users] Background noise on SIP 2 SIP calls In-Reply-To: References: Message-ID: Could be a little offtopic, but do VAD and CNG apply also to calls that connect to conferences? Thanks! On Wed, Aug 31, 2016 at 10:07 PM, Russell Treleaven wrote: > I guess comfort noise. > https://freeswitch.org/confluence/display/FREESWITCH/VAD+and+CNG > > On Thu, Sep 1, 2016 at 12:47 AM, Don Hawkins > wrote: > >> Hey everyone! >> >> When I place a call from one extension to another (SIP account -> SIP >> account / both on same FreeSwitch server) there is a LOT of background >> noise, I guess I would describe it as white noise. >> On the flip side, when calls are placed through one of our gateways to a >> landline or mobile the call is crystal clear without any background noise. >> >> I've tried different SIP phones in all kinds of ways, from my mobile >> (using SIP app), from Grandstream ATA, from X-Lite, they all have a lot of >> background noise on SIP 2 SIP calls. >> >> Any suggestions? A setting perhaps? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/c44c744f/attachment.html From joel at gogii.net Fri Sep 2 04:48:56 2016 From: joel at gogii.net (Joel Serrano) Date: Thu, 1 Sep 2016 17:48:56 -0700 Subject: [Freeswitch-users] One-way audio with Verto + Chrome (with video enabled) In-Reply-To: References: Message-ID: Hi, Any idea on what I can have wrong? Also, I don't know what type of logs are useful to debug these cases. The FreeSWITCH logs of a call with debug enabled maybe? Or the logs of the Chrome browser? As I said, I'm just getting started with Verto. Thanks, Joel. On Thu, Aug 25, 2016 at 2:52 PM, Joel Serrano wrote: > Hi Michael, > > I just updated to 1.6.10 and the behavior is exactly the same. > > Firefox: no issues with video on / off. > Chrome: video-enabled=one-way-audio, video-disabled=no issues. > > To add extra info: when I say "video disabled" what I do is uncheck the > setting "Use Video" inside the verto web configuration menu, then I end the > call and dial in again. > > Thanks for your help! > Joel. > > > > > > On Thu, Aug 25, 2016 at 12:27 PM, Michael Jerris wrote: > >> First re-test with 1.6.10. >> >> On Aug 25, 2016, at 3:14 PM, Joel Serrano wrote: >> >> Hi, >> >> I'm getting started with WebRTC, Verto, etc. I'm facing an issue with >> chrome+video, I get one-way-audio. >> >> Scenario: >> >> I login to Verto and I call a conference that has other users in it >> (those users enter the conference by SIP). >> >> 1- Chrome: If video is enabled, I can send audio and other users will >> hear me but I can't hear them. >> 2- Chrome: If video is disabled, all works correctly. >> 3- Firefox: with video enabled, all works correctly. >> >> This definitely looks like a config issue but I have no idea where to >> start looking. >> >> I found this JIRA https://freeswitch.org/jira/browse/FS-7679 but in my >> case, I think the correct candidate is being selected. >> >> Should I attach the full logs from all 3 test calls? >> >> Please let me know also if I should open a new JIRA for this, I just want >> to make sure this isn't a config issue first. >> >> Thanks! >> Joel. >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/73754899/attachment.html From ssinyagin at gmail.com Fri Sep 2 05:13:08 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 2 Sep 2016 03:13:08 +0200 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: References: Message-ID: uuid_dump should show all variables On Thu, Sep 1, 2016 at 8:49 PM, Victor Chukalovskiy wrote: > Good day, I've been studying output of "show calls", "show detailed > calls", and "show channels" for quite some time. > > Surprisingly, I can't find a value of ${network_address} variable or > anything similar that will tell me for each outgoing leg SIP IP address > on the far end. In other words, how do I find IP address of SIP UAS > FreeSWITCH is communicating with on every outgoing call leg? > > I managed to get it in CDRs by dumping ${network_address}, but can't get > it for active calls dump. Is there truly nothing in "show calls" or > equivalent that will help me? Should I submit a feature request then? > > Few cents on my call scenario: > > SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). > I'm originating my b-legs via sofia gateways (so IP address of the > far-end is picked up from gateway config, and not mentioned in the > dial-plan in any way or form). > > Many thanks, > > -Victor > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From victor.chukalovskiy at gmail.com Fri Sep 2 06:11:28 2016 From: victor.chukalovskiy at gmail.com (Victor Chukalovskiy) Date: Thu, 01 Sep 2016 22:11:28 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: References: Message-ID: <20160902021128.5824594.21808.17146@gmail.com> Thank you, that would be for a specific call. Anything that will do for all calls at once? ? Original Message ? From: Stanislav Sinyagin Sent: Thursday, September 1, 2016 21:16 To: FreeSWITCH Users Help Reply To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? uuid_dump should show all variables On Thu, Sep 1, 2016 at 8:49 PM, Victor Chukalovskiy wrote: > Good day, I've been studying output of "show calls", "show detailed > calls", and "show channels" for quite some time. > > Surprisingly, I can't find a value of ${network_address} variable or > anything similar that will tell me for each outgoing leg SIP IP address > on the far end. In other words, how do I find IP address of SIP UAS > FreeSWITCH is communicating with on every outgoing call leg? > > I managed to get it in CDRs by dumping ${network_address}, but can't get > it for active calls dump. Is there truly nothing in "show calls" or > equivalent that will help me? Should I submit a feature request then? > > Few cents on my call scenario: > > SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). > I'm originating my b-legs via sofia gateways (so IP address of the > far-end is picked up from gateway config, and not mentioned in the > dial-plan in any way or form). > > Many thanks, > > -Victor > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From gmaruzz at gmail.com Fri Sep 2 06:30:48 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Fri, 2 Sep 2016 04:30:48 +0200 Subject: [Freeswitch-users] error: tport_logging: capture socket error: No such file or directory In-Reply-To: References: Message-ID: IIRC it's something about connection with server. Check you have same settings on both Homer server and freeswitch server. Also, maybe you are using old format for "capture-server" parameter. Check in default config, few lines down.... -giovanni On Thu, Sep 1, 2016 at 10:40 PM, Ned Ludd wrote: > > Trying to set up Homer and I get this in the "fs_cli" output. > > I saw something from 2014 in the IRC logs about it, there was debate > whether it was a bug, but there didn't seem to be a resolution. > > I do have the appropriate entries in "sofia.conf.xml": > > > > And my sip profile: > > > > And I do see traffic on my capture server. > > Using 1.6.9. > > Any idea? > > ----- > Ned Ludd > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/e9b2c5ac/attachment.html From devang.nathwani31589 at gmail.com Fri Sep 2 08:16:51 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Fri, 2 Sep 2016 09:46:51 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: Tried inbound-bypass-media=true still robotic sound On Sep 1, 2016 10:38 PM, "Russell Treleaven" wrote: > First test I would do is bypass media. > https://freeswitch.org/confluence/display/FREESWITCH/Bypass+Media+Overview > > This link might also help http://freeswitch.com/ > > On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Okay...and how resolve the packet loss issue?! >> >> On Sep 1, 2016 7:39 PM, "Russell Treleaven" >> wrote: >> >>> The robotic noise is packet loss. >>> >>> >>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel wrote: >>> >>>> hi, >>>> >>>> do u have jitter buffer enabled because i recall i had a similar issue >>>> and after disabling jitter buffer, cng to false and vad to none it resolved >>>> >>>> Regards, >>>> Bipin >>>> >>>> >>>> ------------------------------ >>>> -------- Original Message -------- >>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>> From: devang nathwani >>>> >>>> To: FreeSWITCH Users Help >>>> >>>> Date: 9/1/2016, 11:43:38 AM >>>> >>>> Hello All, >>>> >>>> Whenever i am trying to make a call, Two way commnunication was >>>> established but I am having kind of choppy like robotic voice or very bad >>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>> want to work with G729. >>>> I have set below parameters in sip profile to try to resolve this >>>> issue. But it doesn't work for me. >>>> >>>> aggressive-nat-detection : true >>>> absolute_codec_string : G729 >>>> inbound-codec-prefs :G729,PCMU,PCMA >>>> outbound-codec-prefs : G729,PCMU,PCMA >>>> inbound-late-negotiation :true >>>> inbound-codec-negotiation : generous >>>> >>>> Any help and ideas will be appreciated. >>>> >>>> FYI : For debug purpose you may get SIP Log from >>>> http://pastebin.com/D2cPLJWe >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/3d22932a/attachment.html From hawkins at hawkinsegroup.com Fri Sep 2 08:20:42 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Thu, 1 Sep 2016 23:20:42 -0500 Subject: [Freeswitch-users] Background noise on SIP 2 SIP calls In-Reply-To: References: Message-ID: For sure off topic! And I dont know the answer. Russell, you we're correct, background noise is gone, thank you! On Thu, Sep 1, 2016 at 7:43 PM, Joel Serrano wrote: > Could be a little offtopic, but do VAD and CNG apply also to calls that > connect to conferences? > > Thanks! > > On Wed, Aug 31, 2016 at 10:07 PM, Russell Treleaven < > rtreleaven at bunnykick.ca> wrote: > >> I guess comfort noise. >> https://freeswitch.org/confluence/display/FREESWITCH/VAD+and+CNG >> >> On Thu, Sep 1, 2016 at 12:47 AM, Don Hawkins >> wrote: >> >>> Hey everyone! >>> >>> When I place a call from one extension to another (SIP account -> SIP >>> account / both on same FreeSwitch server) there is a LOT of background >>> noise, I guess I would describe it as white noise. >>> On the flip side, when calls are placed through one of our gateways to a >>> landline or mobile the call is crystal clear without any background noise. >>> >>> I've tried different SIP phones in all kinds of ways, from my mobile >>> (using SIP app), from Grandstream ATA, from X-Lite, they all have a lot of >>> background noise on SIP 2 SIP calls. >>> >>> Any suggestions? A setting perhaps? >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/5f6364ce/attachment-0001.html From jpgodoy at redvoiss.net Thu Sep 1 19:50:16 2016 From: jpgodoy at redvoiss.net (Juan Pablo Godoy) Date: Thu, 1 Sep 2016 12:50:16 -0300 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> Message-ID: <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160901/54a1d5ab/attachment.html From brian at freeswitch.org Fri Sep 2 17:33:23 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 2 Sep 2016 08:33:23 -0500 Subject: [Freeswitch-users] CHANNEL_PARK In-Reply-To: References: Message-ID: variable_current_application_data: 4%20a%20s%20execute_extension% 3A%3Aatt_xfer%20XML%20features variable_current_application: bind_meta_app On Thu, Sep 1, 2016 at 4:02 PM, Tihomir Culjaga wrote: > ciao Italo, > > > i can set a variable before i execute a park application this is not a > problem ... but what about park_after_bridge ? > will the var i set before still be present into CHANNEL_PARK triggered by > park_after_bridge ? > > > > On 1 September 2016 at 16:04, ?talo Rossi wrote: > >> Set variables before parking >> Em qui, 1 de set de 2016 ?s 10:29, Tihomir Culjaga >> escreveu: >> >>> hello, please can anyone help here. >>> >>> >>> is there any way to distinguish a CHANNEL_PARK generated by att_xfer >>> application from a "normal" CHANNEL_PARK generated by park application? >>> >>> >>> >>> >>> this is a CHANNEL_PARK i got by using att_xfer application: >>> >>> >>> Event-Name: CHANNEL_PARK >>> Core-UUID: f63b2100-6eb0-11e6-b09e-e558b70924ad >>> FreeSWITCH-Hostname: centralix.bbm.local >>> FreeSWITCH-Switchname: centralix.bbm.local >>> FreeSWITCH-IPv4: 192.168.141.60 >>> FreeSWITCH-IPv6: %3A%3A1 >>> Event-Date-Local: 2016-09-01%2015%3A04%3A21 >>> Event-Date-GMT: Thu,%2001%20Sep%202016%2013%3A04%3A21%20GMT >>> Event-Date-Timestamp: 1472735061810863 >>> Event-Calling-File: switch_ivr.c >>> Event-Calling-Function: switch_ivr_park >>> Event-Calling-Line-Number: 934 >>> Event-Sequence: 78869 >>> Channel-State: CS_PARK >>> Channel-Call-State: ACTIVE >>> Channel-State-Number: 6 >>> Channel-Name: sofia/internal/888%4010.10.254.236%3A5060 >>> Unique-ID: 934ee67c-7044-11e6-b404-e558b70924ad >>> Call-Direction: outbound >>> Presence-Call-Direction: outbound >>> Channel-HIT-Dialplan: false >>> Channel-Presence-ID: 888%40192.168.141.60 >>> Channel-Call-UUID: 8cb36612-7044-11e6-b3d8-e558b70924ad >>> Answer-State: answered >>> Channel-Read-Codec-Name: PCMA >>> Channel-Read-Codec-Rate: 8000 >>> Channel-Read-Codec-Bit-Rate: 64000 >>> Channel-Write-Codec-Name: PCMA >>> Channel-Write-Codec-Rate: 8000 >>> Channel-Write-Codec-Bit-Rate: 64000 >>> Caller-Direction: outbound >>> Caller-Logical-Direction: outbound >>> Caller-Username: 844 >>> Caller-Dialplan: XML >>> Caller-Caller-ID-Name: 844 >>> Caller-Caller-ID-Number: 844 >>> Caller-Orig-Caller-ID-Name: 844 >>> Caller-Orig-Caller-ID-Number: 844 >>> Caller-Callee-ID-Name: Outbound%20Call >>> Caller-Callee-ID-Number: 888 >>> Caller-Network-Addr: 10.10.254.236 >>> Caller-ANI: 844 >>> Caller-Destination-Number: 888 >>> Caller-Unique-ID: 934ee67c-7044-11e6-b404-e558b70924ad >>> Caller-Source: mod_sofia >>> Caller-Context: features >>> Caller-RDNIS: 0916331550 >>> Caller-Channel-Name: sofia/internal/888%4010.10.254.236%3A5060 >>> Caller-Profile-Index: 1 >>> Caller-Profile-Created-Time: 1472735051270863 >>> Caller-Channel-Created-Time: 1472735051270863 >>> Caller-Channel-Answered-Time: 1472735052210864 >>> Caller-Channel-Progress-Time: 1472735051510855 >>> Caller-Channel-Progress-Media-Time: 0 >>> Caller-Channel-Hangup-Time: 0 >>> Caller-Channel-Transfer-Time: 0 >>> Caller-Channel-Resurrect-Time: 0 >>> Caller-Channel-Bridged-Time: 1472735052230858 >>> Caller-Channel-Last-Hold: 0 >>> Caller-Channel-Hold-Accum: 0 >>> Caller-Screen-Bit: true >>> Caller-Privacy-Hide-Name: false >>> Caller-Privacy-Hide-Number: false >>> Other-Type: originator >>> Other-Leg-Direction: inbound >>> Other-Leg-Logical-Direction: inbound >>> Other-Leg-Username: 844 >>> Other-Leg-Dialplan: XML >>> Other-Leg-Caller-ID-Name: 844 >>> Other-Leg-Caller-ID-Number: 844 >>> Other-Leg-Orig-Caller-ID-Name: 844 >>> Other-Leg-Orig-Caller-ID-Number: 844 >>> Other-Leg-Callee-ID-Name: Outbound%20Call >>> Other-Leg-Callee-ID-Number: 0916331550 >>> Other-Leg-Network-Addr: 10.10.254.235 >>> Other-Leg-ANI: 844 >>> Other-Leg-Destination-Number: agent_state >>> Other-Leg-Unique-ID: 8cb36612-7044-11e6-b3d8-e558b70924ad >>> Other-Leg-Source: mod_sofia >>> Other-Leg-Context: features >>> Other-Leg-RDNIS: 0916331550 >>> Other-Leg-Channel-Name: sofia/internal/844%4010.10.254.254 >>> Other-Leg-Profile-Created-Time: 0 >>> Other-Leg-Channel-Created-Time: 0 >>> Other-Leg-Channel-Answered-Time: 0 >>> Other-Leg-Channel-Progress-Time: 0 >>> Other-Leg-Channel-Progress-Media-Time: 0 >>> Other-Leg-Channel-Hangup-Time: 0 >>> Other-Leg-Channel-Transfer-Time: 0 >>> Other-Leg-Channel-Resurrect-Time: 0 >>> Other-Leg-Channel-Bridged-Time: 0 >>> Other-Leg-Channel-Last-Hold: 0 >>> Other-Leg-Channel-Hold-Accum: 0 >>> Other-Leg-Screen-Bit: true >>> Other-Leg-Privacy-Hide-Name: false >>> Other-Leg-Privacy-Hide-Number: false >>> variable_direction: outbound >>> variable_is_outbound: true >>> variable_uuid: 934ee67c-7044-11e6-b404-e558b70924ad >>> variable_session_id: 65 >>> variable_sip_profile_name: internal >>> variable_channel_name: sofia/internal/888%4010.10.254.236%3A5060 >>> variable_sip_destination_url: sip%3A888%4010.10.254.236%3A50 >>> 60%3Bfs_nat%3Dyes >>> variable_sip_cid_type: pid >>> variable_switch_m_sdp: v%3D0%0D%0Ao%3D844%208000%2080 >>> 00%20IN%20IP4%2010.10.253.10%0D%0As%3DSIP%20Call%0D%0Ac%3DI >>> N%20IP4%2010.10.253.10%0D%0At%3D0%200%0D%0Am%3Daudio%2015004 >>> %20RTP/AVP%208%2018%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D% >>> 0Aa%3Drtpmap%3A18%20G729/8000%0D%0Aa%3Dfmtp%3A18%20annexb% >>> 3Dno%0D%0Aa%3Dptime%3A20%0D%0A >>> variable_dialed_user: 888 >>> variable_dialed_domain: 192.168.141.60 >>> variable_sip_invite_domain: 192.168.141.60 >>> variable_presence_id: 888%40192.168.141.60 >>> variable_rtp_local_sdp_str: v%3D0%0Ao%3DFreeSWITCH%2014727 >>> 09987%201472709988%20IN%20IP4%2010.10.254.254%0As% >>> 3DFreeSWITCH%0Ac%3DIN%20IP4%2010.10.254.254%0At%3D0%200% >>> 0Am%3Daudio%2025064%20RTP/AVP%208%2013%0Aa%3Drtpmap%3A8%20PC >>> MA/8000%0Aa%3Dptime%3A20%0Aa%3Dsendrecv%0A >>> variable_sip_outgoing_contact_uri: %3Csip%3Amod_sofia%4010.10.254 >>> .254%3A5060%3E >>> variable_sip_req_uri: 888%4010.10.254.236%3A5060 >>> variable_sip_nat_detected: true >>> variable_sofia_profile_name: internal >>> variable_recovery_profile_name: internal >>> variable_sip_local_network_addr: 10.10.254.254 >>> variable_sip_reply_host: 10.10.254.236 >>> variable_sip_reply_port: 5060 >>> variable_sip_network_ip: 10.10.254.236 >>> variable_sip_network_port: 5060 >>> variable_ep_codec_string: PCMA%408000h%4020i%4064000b >>> variable_sip_user_agent: Grandstream%20GXP2100%201.0.7.8 >>> variable_sip_recover_contact: %3Csip%3A888%4010.10.253.11%3A5060%3E >>> variable_sip_full_via: SIP/2.0/UDP%2010.10.254.254%3B >>> rport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va >>> variable_sip_recover_via: SIP/2.0/UDP%2010.10.254.254%3B >>> rport%3D5060%3Bbranch%3Dz9hG4bK3gv0mrSa3Z1va >>> variable_sip_from_display: 844 >>> variable_sip_full_from: %22844%22%20%3Csip%3A844%40192 >>> .168.141.60%3E%3Btag%3DmDe1c5tB3tDrp >>> variable_sip_full_to: %3Csip%3A888%4010.10.254.236%3 >>> A5060%3E%3Btag%3D1143493955 >>> variable_sip_from_user: 844 >>> variable_sip_from_uri: 844%40192.168.141.60 >>> variable_sip_from_host: 192.168.141.60 >>> variable_sip_to_user: 888 >>> variable_sip_to_port: 5060 >>> variable_sip_to_uri: 888%4010.10.254.236%3A5060 >>> variable_sip_to_host: 10.10.254.236 >>> variable_sip_contact_user: 888 >>> variable_sip_contact_port: 5060 >>> variable_sip_contact_uri: 888%4010.10.253.11%3A5060 >>> variable_sip_contact_host: 10.10.253.11 >>> variable_sip_to_tag: 1143493955 >>> variable_sip_from_tag: mDe1c5tB3tDrp >>> variable_sip_cseq: 96031461 >>> variable_sip_call_id: 6aad3d60-eae7-1234-4793-f4ce46a93024 >>> variable_switch_r_sdp: v%3D0%0D%0Ao%3D888%208000%2080 >>> 00%20IN%20IP4%2010.10.253.11%0D%0As%3DSIP%20Call%0D%0Ac%3DI >>> N%20IP4%2010.10.253.11%0D%0At%3D0%200%0D%0Am%3Daudio%2015004 >>> %20RTP/AVP%208%0D%0Aa%3Drtpmap%3A8%20PCMA/8000%0D%0Aa%3Dptime%3A20%0D%0A >>> variable_rtp_use_codec_string: PCMA%408000h%4020i,PCMA >>> variable_rtp_audio_recv_pt: 8 >>> variable_rtp_use_codec_name: PCMA >>> variable_rtp_use_codec_rate: 8000 >>> variable_rtp_use_codec_ptime: 20 >>> variable_rtp_use_codec_channels: 1 >>> variable_rtp_last_audio_codec_string: PCMA%408000h%4020i%401c >>> variable_read_codec: PCMA >>> variable_original_read_codec: PCMA >>> variable_read_rate: 8000 >>> variable_original_read_rate: 8000 >>> variable_write_codec: PCMA >>> variable_write_rate: 8000 >>> variable_dtmf_type: info >>> variable_local_media_ip: 10.10.254.254 >>> variable_local_media_port: 25064 >>> variable_advertised_media_ip: 10.10.254.254 >>> variable_rtp_use_timer_name: soft >>> variable_rtp_use_pt: 8 >>> variable_rtp_use_ssrc: 4157591195 >>> variable_endpoint_disposition: ANSWER >>> variable_current_application_data: 4%20a%20s%20execute_extension% >>> 3A%3Aatt_xfer%20XML%20features >>> variable_current_application: bind_meta_app >>> variable_record_stereo: true >>> variable_default_gateway: example.com >>> variable_default_areacode: 918 >>> variable_transfer_fallback_extension: operator >>> variable_toll_allow: domestic,international,local >>> variable_accountcode: 888 >>> variable_max_calls: 2 >>> variable_limit_exceeded: limit_exceeded >>> variable_user_context: default >>> variable_effective_caller_id_name: Karolina >>> variable_effective_caller_id_number: 888 >>> variable_outbound_caller_id_name: FreeSWITCH >>> variable_outbound_caller_id_number: 0000000000 >>> variable_callgroup: techsupport >>> variable_sip-force-contact: NDLB-connectile-dysfunction >>> variable_max_forwards: 68 >>> variable_originator_codec: PCMA%408000h%4020i >>> variable_originator: 8cb36612-7044-11e6-b3d8-e558b70924ad >>> variable_export_vars: RFC2822_DATE,execute_on_answer >>> _1,execute_on_answer_2 >>> variable_RFC2822_DATE: Thu,%2001%20Sep%202016%2015%3A04%3A00%20%2B0200 >>> variable_execute_on_answer_1: start_dtmf >>> variable_execute_on_answer_2: bind_meta_app%204%20a%20s%20ex >>> ecute_extension%3A%3Aatt_xfer%20XML%20features >>> variable_originate_early_media: true >>> variable_originating_leg_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad >>> variable_call_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad >>> variable_last_bridge_to: 8cb36612-7044-11e6-b3d8-e558b70924ad >>> variable_bridge_channel: sofia/internal/844%4010.10.254.254 >>> variable_bridge_uuid: 8cb36612-7044-11e6-b3d8-e558b70924ad >>> variable_signal_bond: 8cb36612-7044-11e6-b3d8-e558b70924ad >>> variable_last_sent_callee_id_name: 844 >>> variable_last_sent_callee_id_number: 844 >>> variable_remote_media_ip_reported: 10.10.253.11 >>> variable_remote_media_ip: 10.10.254.236 >>> variable_remote_media_port_reported: 15004 >>> variable_remote_media_port: 15004 >>> variable_rtp_auto_adjust: true >>> variable_sip_hangup_phrase: OK >>> variable_last_bridge_hangup_cause: NORMAL_CLEARING >>> variable_last_bridge_proto_specific_hangup_cause: sip%3A200 >>> >>> Content-Length: 9672 >>> Content-Type: text/event-plain >>> >>> >>> >>> >>> >>> regards, >>> Tihomir. >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/d163f60f/attachment-0001.html From rtreleaven at bunnykick.ca Fri Sep 2 17:37:09 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Fri, 2 Sep 2016 09:37:09 -0400 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: Ok so If Freeswitch isn't in the media path and you still have robotic sounding audio then you need to look at what remains, the UAC, UAS and the network between them. On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Tried inbound-bypass-media=true still robotic sound > > On Sep 1, 2016 10:38 PM, "Russell Treleaven" > wrote: > >> First test I would do is bypass media. >> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >> Media+Overview >> >> This link might also help http://freeswitch.com/ >> >> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> Okay...and how resolve the packet loss issue?! >>> >>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" >>> wrote: >>> >>>> The robotic noise is packet loss. >>>> >>>> >>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel wrote: >>>> >>>>> hi, >>>>> >>>>> do u have jitter buffer enabled because i recall i had a similar issue >>>>> and after disabling jitter buffer, cng to false and vad to none it resolved >>>>> >>>>> Regards, >>>>> Bipin >>>>> >>>>> >>>>> ------------------------------ >>>>> -------- Original Message -------- >>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>> From: devang nathwani >>>>> >>>>> To: FreeSWITCH Users Help >>>>> >>>>> Date: 9/1/2016, 11:43:38 AM >>>>> >>>>> Hello All, >>>>> >>>>> Whenever i am trying to make a call, Two way commnunication was >>>>> established but I am having kind of choppy like robotic voice or very bad >>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>> want to work with G729. >>>>> I have set below parameters in sip profile to try to resolve this >>>>> issue. But it doesn't work for me. >>>>> >>>>> aggressive-nat-detection : true >>>>> absolute_codec_string : G729 >>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>> inbound-late-negotiation :true >>>>> inbound-codec-negotiation : generous >>>>> >>>>> Any help and ideas will be appreciated. >>>>> >>>>> FYI : For debug purpose you may get SIP Log from >>>>> http://pastebin.com/D2cPLJWe >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>> >>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/4dcd1d8b/attachment.html From gmaruzz at gmail.com Fri Sep 2 18:09:45 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Fri, 2 Sep 2016 16:09:45 +0200 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: Russel is right, no FS in media path = FS is no cause. Check if endpoints are using exactly same g729 (eg, annexes), and how much packet loss you have. Use sngrep or wireshark to check rtp statistics. sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT On Sep 2, 2016 9:37 PM, "Russell Treleaven" wrote: > Ok so If Freeswitch isn't in the media path and you still have robotic > sounding audio then you need to look at what remains, the UAC, UAS and the > network between them. > > On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Tried inbound-bypass-media=true still robotic sound >> >> On Sep 1, 2016 10:38 PM, "Russell Treleaven" >> wrote: >> >>> First test I would do is bypass media. >>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>> Media+Overview >>> >>> This link might also help http://freeswitch.com/ >>> >>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> Okay...and how resolve the packet loss issue?! >>>> >>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" >>>> wrote: >>>> >>>>> The robotic noise is packet loss. >>>>> >>>>> >>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel wrote: >>>>> >>>>>> hi, >>>>>> >>>>>> do u have jitter buffer enabled because i recall i had a similar >>>>>> issue and after disabling jitter buffer, cng to false and vad to none it >>>>>> resolved >>>>>> >>>>>> Regards, >>>>>> Bipin >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> -------- Original Message -------- >>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>>> From: devang nathwani >>>>>> >>>>>> To: FreeSWITCH Users Help >>>>>> >>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>> >>>>>> Hello All, >>>>>> >>>>>> Whenever i am trying to make a call, Two way commnunication was >>>>>> established but I am having kind of choppy like robotic voice or very bad >>>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>>> want to work with G729. >>>>>> I have set below parameters in sip profile to try to resolve this >>>>>> issue. But it doesn't work for me. >>>>>> >>>>>> aggressive-nat-detection : true >>>>>> absolute_codec_string : G729 >>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>> inbound-late-negotiation :true >>>>>> inbound-codec-negotiation : generous >>>>>> >>>>>> Any help and ideas will be appreciated. >>>>>> >>>>>> FYI : For debug purpose you may get SIP Log from >>>>>> http://pastebin.com/D2cPLJWe >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/5c33a778/attachment-0001.html From mike at jerris.com Fri Sep 2 19:26:36 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 2 Sep 2016 11:26:36 -0400 Subject: [Freeswitch-users] Building an IVR - Macro not found error In-Reply-To: <2912ac7c-c4f4-95f0-2b3c-cb2d0b1834e7@williamcollsassoc.ca> References: <2FB76069-BF30-4E4E-BF3F-8442CEC7546D@jerris.com> <2912ac7c-c4f4-95f0-2b3c-cb2d0b1834e7@williamcollsassoc.ca> Message-ID: > On Sep 1, 2016, at 8:22 PM, William Colls wrote: > > Built from source. My IVR is derived from the demo_ivr, and the macros > are in a seperate file. ivr and macro files as shown below. > > /usr/local/freeswitch/conf/ivr_menus/ourhouse_ivr.xml this one should be included from /usr/local/freeswitch/conf/autoload_configs/ivr.conf.xml > > > greet-long="phrase:ourhouse_greet_long" > greet-short="phrase:ourhouse_greet_short" > invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" > exit-sound="voicemail/vm-goodbye.wav" > confirm-macro="" > confirm-key="" > tts-engine="flite" > tts-voice="rms" > confirm-attempts="3" > timeout="10000" > inter-digit-timeout="2000" > max-failures="3" > max-timeouts="3" > digit-len="4"> > > > > > > > > /usr/local/freeswitch/conf/lang/en/ivr/ourhouse_macro.xml this one should be included from the glob in /usr/local/freeswitch/conf/lang/en/en.xml > > > > > > > data="/usr/local/freeswitch/recordings/thanks.wav"/> > data="ivr/ivr-you_may_exit_by_hanging_up.wav"/> > > > > > > > > > data="(3 4 3 2000 # ivr/ivr-enter_ext_pound.wav > /invalid.wav ext_dialed \d+ 500"/> > > > data="/usr/local/freeswitch/recordings/heather.wav"/> > > > data="/usr/local/freeswitch/recordings/contact.wav"/> > > data="/usr/local/freeswitch/recordings/replay.wav"/> > > > > > > > > > On 2016-09-01 06:28 PM, Michael Jerris wrote: >> installing from source or packages? What file are you editing exactly and what have you added to it and where? >> >>> On Sep 1, 2016, at 6:21 PM, William Colls wrote: >>> >>> Freeswitch 1.6.9 >>> >>> debian Jessie 64 bit platform. >>> >>> New to Freeswitch and trying to build a small IVR. I am getting an error >>> when it tries to execute a phrase macro. >>> >>> From looking at freeswitch.xml.fsxml it appears that the macro is >>> loaded (reloadxml produces no errors). >>> >>> When I call into the switch, I can see the call being answered, and my >>> IVR is picked, up and executes with out error until switch_ivr_play >>> tries to play the macro. It then generates the error message "Can't find >>> macro ourhouse_greet_long". Just before the error occurs, I get a debug >>> message "No language specified - Using [en]". >>> >>> If I substitute one of the Demo IVR macros for ourhouse_greet_long, it >>> will be executed with out error. >>> >>> The file containing macro is located in >>> /usr/local/freeswitch/conf/lang/en/ivr. >>> >>> So what have I done wrong? Any help appreciated. I can provide more >>> detail if needed. >>> >>> Thanks for your time. >>> >>> William. >>> >>> >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mike at jerris.com Fri Sep 2 19:29:54 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 2 Sep 2016 11:29:54 -0400 Subject: [Freeswitch-users] One-way audio with Verto + Chrome (with video enabled) In-Reply-To: References: Message-ID: Please confirm you are trying this from latest release version of crome, on either windows or mac. > On Sep 1, 2016, at 8:48 PM, Joel Serrano wrote: > > Hi, > > Any idea on what I can have wrong? Also, I don't know what type of logs are useful to debug these cases. > > The FreeSWITCH logs of a call with debug enabled maybe? Or the logs of the Chrome browser? As I said, I'm just getting started with Verto. > > Thanks, > Joel. > > On Thu, Aug 25, 2016 at 2:52 PM, Joel Serrano > wrote: > Hi Michael, > > I just updated to 1.6.10 and the behavior is exactly the same. > > Firefox: no issues with video on / off. > Chrome: video-enabled=one-way-audio, video-disabled=no issues. > > To add extra info: when I say "video disabled" what I do is uncheck the setting "Use Video" inside the verto web configuration menu, then I end the call and dial in again. > > Thanks for your help! > Joel. > > > > > > On Thu, Aug 25, 2016 at 12:27 PM, Michael Jerris > wrote: > First re-test with 1.6.10. > >> On Aug 25, 2016, at 3:14 PM, Joel Serrano > wrote: >> >> Hi, >> >> I'm getting started with WebRTC, Verto, etc. I'm facing an issue with chrome+video, I get one-way-audio. >> >> Scenario: >> >> I login to Verto and I call a conference that has other users in it (those users enter the conference by SIP). >> >> 1- Chrome: If video is enabled, I can send audio and other users will hear me but I can't hear them. >> 2- Chrome: If video is disabled, all works correctly. >> 3- Firefox: with video enabled, all works correctly. >> >> This definitely looks like a config issue but I have no idea where to start looking. >> >> I found this JIRA https://freeswitch.org/jira/browse/FS-7679 but in my case, I think the correct candidate is being selected. >> >> Should I attach the full logs from all 3 test calls? >> >> Please let me know also if I should open a new JIRA for this, I just want to make sure this isn't a config issue first. >> >> Thanks! >> Joel. >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/4b67a022/attachment.html From hartmut.schebl at synaix.de Fri Sep 2 18:07:04 2016 From: hartmut.schebl at synaix.de (hartmut.schebl) Date: Fri, 2 Sep 2016 07:07:04 -0700 (MST) Subject: [Freeswitch-users] Problems with group calls Message-ID: <1472825224324-7596236.post@n2.nabble.com> I have some Problems with group calls. I'm using FreeSWITCH Version 1.6.6-13-d2d0b32~64bit (-13-d2d0b32 64bit) and mod_xml_curl with a java backend to control the FreeSWITCH. Now my Problem: I have groups, for example:
...
Some users inside the groups have multiple devices, for example:
If I call this group with the +A option like this: only the first device of the user rings. The channel to the second device is ended immediately. The Log says: 2016-09-02 10:00:11.724379 [NOTICE] switch_ivr_originate.c:1415 Hangup sofia/internal/82040 at 172.16.0.21 [CS_INIT] [LOSE_RACE] If I call the group using the +E option like this: All devices are ringing and that problem is solved, but now I run into an other problem that doesn't exist with +A option. I use groups for fail over. If some user doesn't answer in a defined time a group should start ringing together with the user. The line in dialplan for this is: user/some.user at my.domain.de:_:{origination_caller_id_name='Failover',is_failover='true'}[originate_delay_start=20000]${group_call(GROUP1 at my.domain.de+E)}"/> In this case only the first user (group.user1 from example above) respects the delay all following users of the group start ringing immediately together with 'some.user'. I also tried an other syntax: user/soma.user at my.domain.de:_:{originate_delay_start=20000,origination_caller_id_name='Failover',is_failover='true'}${group_call(GROUP1 at my.domain.de+E)}"/> But I get the same problem and additionally the delay of 'group.user1' is doubled. I have no idea how to get out of this vicious circle. Either I can use only one device per user or I can't start the group delayed. Please help me to solve this problem. Best Regards, Hartmut -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Problems-with-group-calls-tp7596236.html Sent from the freeswitch-users mailing list archive at Nabble.com. From edwardludd at gmail.com Fri Sep 2 19:36:47 2016 From: edwardludd at gmail.com (Ned Ludd) Date: Fri, 2 Sep 2016 11:36:47 -0400 Subject: [Freeswitch-users] error: tport_logging: capture socket error: No such file or directory In-Reply-To: References: Message-ID: I was using the old format for the "capture-server" param (using a stripped down config so I didn't see the commented example). Thanks On Thu, Sep 1, 2016 at 10:30 PM, Giovanni Maruzzelli wrote: > IIRC it's something about connection with server. Check you have same > settings on both Homer server and freeswitch server. Also, maybe you are > using old format for "capture-server" parameter. Check in default config, > few lines down.... > > -giovanni > > On Thu, Sep 1, 2016 at 10:40 PM, Ned Ludd wrote: > >> >> Trying to set up Homer and I get this in the "fs_cli" output. >> >> I saw something from 2014 in the IRC logs about it, there was debate >> whether it was a bug, but there didn't seem to be a resolution. >> >> I do have the appropriate entries in "sofia.conf.xml": >> >> >> >> And my sip profile: >> >> >> >> And I do see traffic on my capture server. >> >> Using 1.6.9. >> >> Any idea? >> >> ----- >> Ned Ludd >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ----- Ned Ludd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/02bd125f/attachment-0001.html From jungleboogie0 at gmail.com Fri Sep 2 19:49:23 2016 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Fri, 2 Sep 2016 08:49:23 -0700 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: <20160902021128.5824594.21808.17146@gmail.com> References: <20160902021128.5824594.21808.17146@gmail.com> Message-ID: On 1 September 2016 at 19:11, Victor Chukalovskiy wrote: > Thank you, that would be for a specific call. Anything that will do for all calls at once? Isn't this also seen in the freeswitch database (non-cdr) when calls are in progress? -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info From abaci64 at gmail.com Fri Sep 2 20:22:43 2016 From: abaci64 at gmail.com (Abaci B) Date: Fri, 2 Sep 2016 12:22:43 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: References: <20160902021128.5824594.21808.17146@gmail.com> Message-ID: it's in the core.db database (you have tablesL channels, calls, basic_calls, detailed_calls) where you can find this info On Fri, Sep 2, 2016 at 11:49 AM, jungle Boogie wrote: > On 1 September 2016 at 19:11, Victor Chukalovskiy > wrote: > > Thank you, that would be for a specific call. Anything that will do for > all calls at once? > > Isn't this also seen in the freeswitch database (non-cdr) when calls > are in progress? > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/dd609c00/attachment.html From victor.chukalovskiy at gmail.com Fri Sep 2 20:29:00 2016 From: victor.chukalovskiy at gmail.com (Victor Chukalovskiy) Date: Fri, 2 Sep 2016 12:29:00 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: References: <20160902021128.5824594.21808.17146@gmail.com> Message-ID: <4e74c1ac-8eab-55ce-7bd5-f3a292b76c68@gmail.com> Abaci, Jungle Boogie, good idea, I'll look into this. I didn't tinker with FS DB previously so it didn't cross my mind. Thanks again, -Victor On 16-09-02 12:22 PM, Abaci B wrote: > it's in the core.db database (you have tablesL channels, calls, > basic_calls, detailed_calls) where you can find this info > > On Fri, Sep 2, 2016 at 11:49 AM, jungle Boogie > > wrote: > > On 1 September 2016 at 19:11, Victor Chukalovskiy > > wrote: > > Thank you, that would be for a specific call. Anything that will > do for all calls at once? > > Isn't this also seen in the freeswitch database (non-cdr) when calls > are in progress? > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/680c9c1a/attachment.html From mike at jerris.com Fri Sep 2 20:34:03 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 2 Sep 2016 12:34:03 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: <20160902021128.5824594.21808.17146@gmail.com> References: <20160902021128.5824594.21808.17146@gmail.com> Message-ID: <8F2F168A-F858-429A-BCA2-F920F2D077E3@jerris.com> see my previous answer to this question on this thread. You don?t need to mess with anything, its already there. > On Sep 1, 2016, at 10:11 PM, Victor Chukalovskiy wrote: > > Thank you, that would be for a specific call. Anything that will do for all calls at once? > > Original Message > From: Stanislav Sinyagin > Sent: Thursday, September 1, 2016 21:16 > To: FreeSWITCH Users Help > Reply To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? > > uuid_dump should show all variables > > On Thu, Sep 1, 2016 at 8:49 PM, Victor Chukalovskiy > wrote: >> Good day, I've been studying output of "show calls", "show detailed >> calls", and "show channels" for quite some time. >> >> Surprisingly, I can't find a value of ${network_address} variable or >> anything similar that will tell me for each outgoing leg SIP IP address >> on the far end. In other words, how do I find IP address of SIP UAS >> FreeSWITCH is communicating with on every outgoing call leg? >> >> I managed to get it in CDRs by dumping ${network_address}, but can't get >> it for active calls dump. Is there truly nothing in "show calls" or >> equivalent that will help me? Should I submit a feature request then? >> >> Few cents on my call scenario: >> >> SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). >> I'm originating my b-legs via sofia gateways (so IP address of the >> far-end is picked up from gateway config, and not mentioned in the >> dial-plan in any way or form). >> >> Many thanks, >> >> -Victor >> From victor.chukalovskiy at gmail.com Fri Sep 2 20:47:02 2016 From: victor.chukalovskiy at gmail.com (Victor Chukalovskiy) Date: Fri, 2 Sep 2016 12:47:02 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: <8F2F168A-F858-429A-BCA2-F920F2D077E3@jerris.com> References: <20160902021128.5824594.21808.17146@gmail.com> <8F2F168A-F858-429A-BCA2-F920F2D077E3@jerris.com> Message-ID: <8cd6b828-efb6-7f12-12cd-6a7cbd5193dc@gmail.com> Michael, saw your answer thank you. Yes, would prefer not to mess with DB. I searched and I couldn't find the value of ${network_address} in "show channels" output. I'm on 1.6.6 still if it matters. Here is the header row of "show channels": uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context "network_address" isn't there :( On 16-09-02 12:34 PM, Michael Jerris wrote: > see my previous answer to this question on this thread. You don?t need to mess with anything, its already there. > >> On Sep 1, 2016, at 10:11 PM, Victor Chukalovskiy wrote: >> >> Thank you, that would be for a specific call. Anything that will do for all calls at once? >> >> Original Message >> From: Stanislav Sinyagin >> Sent: Thursday, September 1, 2016 21:16 >> To: FreeSWITCH Users Help >> Reply To: FreeSWITCH Users Help >> Subject: Re: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? >> >> uuid_dump should show all variables >> >> On Thu, Sep 1, 2016 at 8:49 PM, Victor Chukalovskiy >> wrote: >>> Good day, I've been studying output of "show calls", "show detailed >>> calls", and "show channels" for quite some time. >>> >>> Surprisingly, I can't find a value of ${network_address} variable or >>> anything similar that will tell me for each outgoing leg SIP IP address >>> on the far end. In other words, how do I find IP address of SIP UAS >>> FreeSWITCH is communicating with on every outgoing call leg? >>> >>> I managed to get it in CDRs by dumping ${network_address}, but can't get >>> it for active calls dump. Is there truly nothing in "show calls" or >>> equivalent that will help me? Should I submit a feature request then? >>> >>> Few cents on my call scenario: >>> >>> SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). >>> I'm originating my b-legs via sofia gateways (so IP address of the >>> far-end is picked up from gateway config, and not mentioned in the >>> dial-plan in any way or form). >>> >>> Many thanks, >>> >>> -Victor >>> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mike at jerris.com Fri Sep 2 21:22:36 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 2 Sep 2016 13:22:36 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: <8cd6b828-efb6-7f12-12cd-6a7cbd5193dc@gmail.com> References: <20160902021128.5824594.21808.17146@gmail.com> <8F2F168A-F858-429A-BCA2-F920F2D077E3@jerris.com> <8cd6b828-efb6-7f12-12cd-6a7cbd5193dc@gmail.com> Message-ID: look at the actual data. it doesn?t have the same name ... > On Sep 2, 2016, at 12:47 PM, Victor Chukalovskiy wrote: > > Michael, saw your answer thank you. Yes, would prefer not to mess with DB. > > I searched and I couldn't find the value of ${network_address} in "show > channels" output. I'm on 1.6.6 still if it matters. Here is the header > row of "show channels": > > uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context > > "network_address" isn't there :( > > On 16-09-02 12:34 PM, Michael Jerris wrote: >> see my previous answer to this question on this thread. You don?t need to mess with anything, its already there. >> >>> On Sep 1, 2016, at 10:11 PM, Victor Chukalovskiy wrote: >>> >>> Thank you, that would be for a specific call. Anything that will do for all calls at once? >>> >>> Original Message >>> From: Stanislav Sinyagin >>> Sent: Thursday, September 1, 2016 21:16 >>> To: FreeSWITCH Users Help >>> Reply To: FreeSWITCH Users Help >>> Subject: Re: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? >>> >>> uuid_dump should show all variables >>> >>> On Thu, Sep 1, 2016 at 8:49 PM, Victor Chukalovskiy >>> wrote: >>>> Good day, I've been studying output of "show calls", "show detailed >>>> calls", and "show channels" for quite some time. >>>> >>>> Surprisingly, I can't find a value of ${network_address} variable or >>>> anything similar that will tell me for each outgoing leg SIP IP address >>>> on the far end. In other words, how do I find IP address of SIP UAS >>>> FreeSWITCH is communicating with on every outgoing call leg? >>>> >>>> I managed to get it in CDRs by dumping ${network_address}, but can't get >>>> it for active calls dump. Is there truly nothing in "show calls" or >>>> equivalent that will help me? Should I submit a feature request then? >>>> >>>> Few cents on my call scenario: >>>> >>>> SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). >>>> I'm originating my b-legs via sofia gateways (so IP address of the >>>> far-end is picked up from gateway config, and not mentioned in the >>>> dial-plan in any way or form). >>>> >>>> Many thanks, >>>> >>>> -Victor >>>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From ashwinrath at gmail.com Fri Sep 2 21:23:26 2016 From: ashwinrath at gmail.com (Ashwin Rath) Date: Fri, 2 Sep 2016 22:53:26 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: I had this issue and it turned out to be mismatched ptimes. On 2 September 2016 at 19:07, Russell Treleaven wrote: > Ok so If Freeswitch isn't in the media path and you still have robotic > sounding audio then you need to look at what remains, the UAC, UAS and the > network between them. > > On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Tried inbound-bypass-media=true still robotic sound >> >> On Sep 1, 2016 10:38 PM, "Russell Treleaven" >> wrote: >> >>> First test I would do is bypass media. >>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>> Media+Overview >>> >>> This link might also help http://freeswitch.com/ >>> >>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> Okay...and how resolve the packet loss issue?! >>>> >>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" >>>> wrote: >>>> >>>>> The robotic noise is packet loss. >>>>> >>>>> >>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel wrote: >>>>> >>>>>> hi, >>>>>> >>>>>> do u have jitter buffer enabled because i recall i had a similar >>>>>> issue and after disabling jitter buffer, cng to false and vad to none it >>>>>> resolved >>>>>> >>>>>> Regards, >>>>>> Bipin >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> -------- Original Message -------- >>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>>> From: devang nathwani >>>>>> >>>>>> To: FreeSWITCH Users Help >>>>>> >>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>> >>>>>> Hello All, >>>>>> >>>>>> Whenever i am trying to make a call, Two way commnunication was >>>>>> established but I am having kind of choppy like robotic voice or very bad >>>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>>> want to work with G729. >>>>>> I have set below parameters in sip profile to try to resolve this >>>>>> issue. But it doesn't work for me. >>>>>> >>>>>> aggressive-nat-detection : true >>>>>> absolute_codec_string : G729 >>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>> inbound-late-negotiation :true >>>>>> inbound-codec-negotiation : generous >>>>>> >>>>>> Any help and ideas will be appreciated. >>>>>> >>>>>> FYI : For debug purpose you may get SIP Log from >>>>>> http://pastebin.com/D2cPLJWe >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>> >>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Ashwin Kumar Rath -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/0fd6adfa/attachment-0001.html From victor.chukalovskiy at gmail.com Fri Sep 2 22:22:09 2016 From: victor.chukalovskiy at gmail.com (Victor Chukalovskiy) Date: Fri, 2 Sep 2016 14:22:09 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: References: <20160902021128.5824594.21808.17146@gmail.com> <8F2F168A-F858-429A-BCA2-F920F2D077E3@jerris.com> <8cd6b828-efb6-7f12-12cd-6a7cbd5193dc@gmail.com> Message-ID: The IP I saw in the actual "show channels" dump represents the value of the far-end signaling IP for incoming (a-leg) of the call. However, for b-leg of the call the IP value printed is the far-end IP of the corresponding a-leg. So the variable is not just named differently, but also doesn't contain expected value for the b-leg of the call. On 16-09-02 01:22 PM, Michael Jerris wrote: > look at the actual data. it doesn?t have the same name ... > >> On Sep 2, 2016, at 12:47 PM, Victor Chukalovskiy wrote: >> >> Michael, saw your answer thank you. Yes, would prefer not to mess with DB. >> >> I searched and I couldn't find the value of ${network_address} in "show >> channels" output. I'm on 1.6.6 still if it matters. Here is the header >> row of "show channels": >> >> uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context >> >> "network_address" isn't there :( >> >> On 16-09-02 12:34 PM, Michael Jerris wrote: >>> see my previous answer to this question on this thread. You don?t need to mess with anything, its already there. >>> >>>> On Sep 1, 2016, at 10:11 PM, Victor Chukalovskiy wrote: >>>> >>>> Thank you, that would be for a specific call. Anything that will do for all calls at once? >>>> >>>> Original Message >>>> From: Stanislav Sinyagin >>>> Sent: Thursday, September 1, 2016 21:16 >>>> To: FreeSWITCH Users Help >>>> Reply To: FreeSWITCH Users Help >>>> Subject: Re: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? >>>> >>>> uuid_dump should show all variables >>>> >>>> On Thu, Sep 1, 2016 at 8:49 PM, Victor Chukalovskiy >>>> wrote: >>>>> Good day, I've been studying output of "show calls", "show detailed >>>>> calls", and "show channels" for quite some time. >>>>> >>>>> Surprisingly, I can't find a value of ${network_address} variable or >>>>> anything similar that will tell me for each outgoing leg SIP IP address >>>>> on the far end. In other words, how do I find IP address of SIP UAS >>>>> FreeSWITCH is communicating with on every outgoing call leg? >>>>> >>>>> I managed to get it in CDRs by dumping ${network_address}, but can't get >>>>> it for active calls dump. Is there truly nothing in "show calls" or >>>>> equivalent that will help me? Should I submit a feature request then? >>>>> >>>>> Few cents on my call scenario: >>>>> >>>>> SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). >>>>> I'm originating my b-legs via sofia gateways (so IP address of the >>>>> far-end is picked up from gateway config, and not mentioned in the >>>>> dial-plan in any way or form). >>>>> >>>>> Many thanks, >>>>> >>>>> -Victor >>>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mike at jerris.com Fri Sep 2 22:46:12 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 2 Sep 2016 14:46:12 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: References: <20160902021128.5824594.21808.17146@gmail.com> <8F2F168A-F858-429A-BCA2-F920F2D077E3@jerris.com> <8cd6b828-efb6-7f12-12cd-6a7cbd5193dc@gmail.com> Message-ID: That doesn?t sound right to me. Are you sure? > On Sep 2, 2016, at 2:22 PM, Victor Chukalovskiy wrote: > > The IP I saw in the actual "show channels" dump represents the value of > the far-end signaling IP for incoming (a-leg) of the call. However, for > b-leg of the call the IP value printed is the far-end IP of the > corresponding a-leg. So the variable is not just named differently, but > also doesn't contain expected value for the b-leg of the call. > > On 16-09-02 01:22 PM, Michael Jerris wrote: >> look at the actual data. it doesn?t have the same name ... >> >>> On Sep 2, 2016, at 12:47 PM, Victor Chukalovskiy wrote: >>> >>> Michael, saw your answer thank you. Yes, would prefer not to mess with DB. >>> >>> I searched and I couldn't find the value of ${network_address} in "show >>> channels" output. I'm on 1.6.6 still if it matters. Here is the header >>> row of "show channels": >>> >>> uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context >>> >>> "network_address" isn't there :( >>> >>> On 16-09-02 12:34 PM, Michael Jerris wrote: >>>> see my previous answer to this question on this thread. You don?t need to mess with anything, its already there. >>>> >>>>> On Sep 1, 2016, at 10:11 PM, Victor Chukalovskiy wrote: >>>>> >>>>> Thank you, that would be for a specific call. Anything that will do for all calls at once? >>>>> >>>>> Original Message >>>>> From: Stanislav Sinyagin >>>>> Sent: Thursday, September 1, 2016 21:16 >>>>> To: FreeSWITCH Users Help >>>>> Reply To: FreeSWITCH Users Help >>>>> Subject: Re: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? >>>>> >>>>> uuid_dump should show all variables >>>>> >>>>> On Thu, Sep 1, 2016 at 8:49 PM, Victor Chukalovskiy >>>>> wrote: >>>>>> Good day, I've been studying output of "show calls", "show detailed >>>>>> calls", and "show channels" for quite some time. >>>>>> >>>>>> Surprisingly, I can't find a value of ${network_address} variable or >>>>>> anything similar that will tell me for each outgoing leg SIP IP address >>>>>> on the far end. In other words, how do I find IP address of SIP UAS >>>>>> FreeSWITCH is communicating with on every outgoing call leg? >>>>>> >>>>>> I managed to get it in CDRs by dumping ${network_address}, but can't get >>>>>> it for active calls dump. Is there truly nothing in "show calls" or >>>>>> equivalent that will help me? Should I submit a feature request then? >>>>>> >>>>>> Few cents on my call scenario: >>>>>> >>>>>> SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). >>>>>> I'm originating my b-legs via sofia gateways (so IP address of the >>>>>> far-end is picked up from gateway config, and not mentioned in the >>>>>> dial-plan in any way or form). >>>>>> >>>>>> Many thanks, >>>>>> >>>>>> -Victor From devang.nathwani31589 at gmail.com Fri Sep 2 23:42:55 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Sat, 3 Sep 2016 01:12:55 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: - when i tried with alaw and ulaw it worked perfectly, no audio issue; its with g729 only; if this is the than does this has anything to do with ptime? - As UAC i am using iphone pjsip library and UAS grandstream IP phone, both supporting and freeswitch as well as provider though which call is routing are supporting g729, no transcoding is there. On Fri, Sep 2, 2016 at 10:53 PM, Ashwin Rath wrote: > I had this issue and it turned out to be mismatched ptimes. > > On 2 September 2016 at 19:07, Russell Treleaven > wrote: > >> Ok so If Freeswitch isn't in the media path and you still have robotic >> sounding audio then you need to look at what remains, the UAC, UAS and the >> network between them. >> >> On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> Tried inbound-bypass-media=true still robotic sound >>> >>> On Sep 1, 2016 10:38 PM, "Russell Treleaven" >>> wrote: >>> >>>> First test I would do is bypass media. >>>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>>> Media+Overview >>>> >>>> This link might also help http://freeswitch.com/ >>>> >>>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>>> devang.nathwani31589 at gmail.com> wrote: >>>> >>>>> Okay...and how resolve the packet loss issue?! >>>>> >>>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" >>>>> wrote: >>>>> >>>>>> The robotic noise is packet loss. >>>>>> >>>>>> >>>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel wrote: >>>>>> >>>>>>> hi, >>>>>>> >>>>>>> do u have jitter buffer enabled because i recall i had a similar >>>>>>> issue and after disabling jitter buffer, cng to false and vad to none it >>>>>>> resolved >>>>>>> >>>>>>> Regards, >>>>>>> Bipin >>>>>>> >>>>>>> >>>>>>> ------------------------------ >>>>>>> -------- Original Message -------- >>>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>>>> From: devang nathwani >>>>>>> >>>>>>> To: FreeSWITCH Users Help >>>>>>> >>>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>>> >>>>>>> Hello All, >>>>>>> >>>>>>> Whenever i am trying to make a call, Two way commnunication was >>>>>>> established but I am having kind of choppy like robotic voice or very bad >>>>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>>>> want to work with G729. >>>>>>> I have set below parameters in sip profile to try to resolve this >>>>>>> issue. But it doesn't work for me. >>>>>>> >>>>>>> aggressive-nat-detection : true >>>>>>> absolute_codec_string : G729 >>>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>>> inbound-late-negotiation :true >>>>>>> inbound-codec-negotiation : generous >>>>>>> >>>>>>> Any help and ideas will be appreciated. >>>>>>> >>>>>>> FYI : For debug purpose you may get SIP Log from >>>>>>> http://pastebin.com/D2cPLJWe >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>> >>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Ashwin Kumar Rath > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/280c87ab/attachment-0001.html From devang.nathwani31589 at gmail.com Fri Sep 2 23:47:02 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Sat, 3 Sep 2016 01:17:02 +0530 Subject: [Freeswitch-users] Getting, sofia_glue.c:1031 Error creating HANDLE! In-Reply-To: References: <46c4f33a-880c-8379-cf77-0cd6280fa991@xbipin.com> <6a418d39-45aa-3ada-5293-b56d438dd870@xbipin.com> <0AC47320-931D-419E-942F-3EB2FADA7DB2@440hz.fr> Message-ID: okay, let me set the condition in dialplan for caller-id-name and number that if it is null than pass nothing and dont pass ''. i think this should work. On Wed, Aug 31, 2016 at 8:19 PM, Brian West wrote: > If you don't want a name set it to _undef_ but DO NOT set them to invalid > options. > > On Wed, Aug 31, 2016 at 9:05 AM, Vallimamod Abdullah wrote: > >> Hi, >> >> Why are you doing the following in your dialplan: >> >> >> >> >> You should definitely not use brackets on these values, especially the >> caller_id_number. >> >> Best Regards, >> Vallimamod >> . >> >> > On 31 Aug 2016, at 07:42, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> > >> > Hello, >> > >> > http://pastebin.com/emN6xXrV >> > here is the fs_cli log for the error call >> > >> > 91.12.21.131 is opensips server ip >> > 91.12.21.1312 is freeswitch server ip >> > >> > >> > >> > On Tue, Aug 30, 2016 at 10:00 PM, Brian West >> wrote: >> > Thats not the issue its the after the sip: >> > >> > On Tue, Aug 30, 2016 at 11:28 AM, Bipin Patel wrote: >> > one thing in the code is that it wont allow < and > in the from before >> @ so that could be the issue, the "" is still fine as its within "" >> > >> > >> > Regards, >> > Bipin >> > >> > >> > -------- Original Message -------- >> > Subject: Re: [Freeswitch-users] Getting, sofia_glue.c:1031 Error >> creating HANDLE! >> > From: Bipin Patel >> > To: FreeSWITCH Users Help >> > Date: 8/30/2016, 8:24:23 PM >> >> well i dont think null in from is the issue as while fixing the cid >> thing for spa3102 i played with the code and with weird characters also it >> worked fine, what i think is the issue is something else, i might be wrong >> though >> >> >> >> >> >> Regards, >> >> Bipin >> >> >> >> >> >> -------- Original Message -------- >> >> Subject: Re: [Freeswitch-users] Getting, sofia_glue.c:1031 Error >> creating HANDLE! >> >> From: Brian West >> >> To: FreeSWITCH Users Help >> >> Date: 8/30/2016, 8:14:30 PM >> >>> Well that could be one for sure. >> >>> >> >>> On Tue, Aug 30, 2016 at 9:16 AM, Vallimamod Abdullah >> wrote: >> >>> Hi, >> >>> >> >>> Your from seems corrupted or invalid: >> >>> >> >>> > from_str=["" @172.16.3.2>] >> >>> >> >>> >> >>> Make a sip trace and check why there is no username. >> >>> >> >>> Best Regards, >> >>> Vallimamod >> >>> . >> >>> >> >>> >> >>> > On 26 Aug 2016, at 16:11, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> > >> >>> > Hello, >> >>> > >> >>> > While routing the call from opensips server to freeswitch server i >> am getting this error in fs_cli log, >> >>> > >> >>> > 2016-08-26 14:05:13.611542 [CRIT] sofia_glue.c:1031 Error creating >> HANDLE! >> >>> > url_str=[sip:357xxxxxxxx at 178.xxx.xxx.xxx] >> >>> > call_id=[N/A] >> >>> > to_str=[] >> >>> > from_str=["" @172.16.3.2>] >> >>> > invite_contact=[> udp;gw=gtw-name>] >> >>> > >> >>> > I have tried configuring 1.6.8 and 1.6.9 versions of freeswitch but >> getting the same error. >> >>> > What am i missing? >> >>> > >> >>> > ____________________________________________________________ >> _____________ >> >>> > Professional FreeSWITCH Consulting Services: >> >>> > consulting at 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 at 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 at 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 at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> freeswitch-users >> >>> http://www.freeswitch.org >> >>> >> >>> >> >>> >> >>> -- >> >>> Brian West >> >>> brian at freeswitch.org >> >>> >> >>> >> >>> >> >>> Twitter: @FreeSWITCH , @briankwest >> >>> http://www.freeswitchbook.com >> >>> http://www.freeswitchcookbook.com >> >>> https://www.gofundme.com/freeswitch_ubuntu >> >>> >> >>> Got Bugs? Report them here! | Reddit: /r/freeswitch >> >>> >> >>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) >> >>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest >> >>> >> >>> >> >>> >> >>> ____________________________________________________________ >> >>> _____________ >> >>> Professional FreeSWITCH Consulting Services: >> >>> >> >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> > -- >> > Brian West >> > brian at freeswitch.org >> > >> > >> > >> > Twitter: @FreeSWITCH , @briankwest >> > http://www.freeswitchbook.com >> > http://www.freeswitchcookbook.com >> > https://www.gofundme.com/freeswitch_ubuntu >> > >> > Got Bugs? Report them here! | Reddit: /r/freeswitch >> > >> > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) >> > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest >> > >> > >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com > http://www.freeswitchcookbook.com > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/19f7ee10/attachment-0001.html From rtreleaven at bunnykick.ca Sat Sep 3 00:35:07 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Fri, 2 Sep 2016 16:35:07 -0400 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: Do you really need G729? If yes, why? On Fri, Sep 2, 2016 at 3:42 PM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > - when i tried with alaw and ulaw it worked perfectly, no audio issue; its > with g729 only; if this is the than does this has anything to do with ptime? > > - As UAC i am using iphone pjsip library and UAS grandstream IP phone, > both supporting and freeswitch as well as provider though which call is > routing are supporting g729, no transcoding is there. > > On Fri, Sep 2, 2016 at 10:53 PM, Ashwin Rath wrote: > >> I had this issue and it turned out to be mismatched ptimes. >> >> On 2 September 2016 at 19:07, Russell Treleaven >> wrote: >> >>> Ok so If Freeswitch isn't in the media path and you still have robotic >>> sounding audio then you need to look at what remains, the UAC, UAS and the >>> network between them. >>> >>> On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> Tried inbound-bypass-media=true still robotic sound >>>> >>>> On Sep 1, 2016 10:38 PM, "Russell Treleaven" >>>> wrote: >>>> >>>>> First test I would do is bypass media. >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>>>> Media+Overview >>>>> >>>>> This link might also help http://freeswitch.com/ >>>>> >>>>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>>>> devang.nathwani31589 at gmail.com> wrote: >>>>> >>>>>> Okay...and how resolve the packet loss issue?! >>>>>> >>>>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" >>>>>> wrote: >>>>>> >>>>>>> The robotic noise is packet loss. >>>>>>> >>>>>>> >>>>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel >>>>>>> wrote: >>>>>>> >>>>>>>> hi, >>>>>>>> >>>>>>>> do u have jitter buffer enabled because i recall i had a similar >>>>>>>> issue and after disabling jitter buffer, cng to false and vad to none it >>>>>>>> resolved >>>>>>>> >>>>>>>> Regards, >>>>>>>> Bipin >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------ >>>>>>>> -------- Original Message -------- >>>>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>>>>> From: devang nathwani >>>>>>>> >>>>>>>> To: FreeSWITCH Users Help >>>>>>>> >>>>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>>>> >>>>>>>> Hello All, >>>>>>>> >>>>>>>> Whenever i am trying to make a call, Two way commnunication was >>>>>>>> established but I am having kind of choppy like robotic voice or very bad >>>>>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>>>>> want to work with G729. >>>>>>>> I have set below parameters in sip profile to try to resolve this >>>>>>>> issue. But it doesn't work for me. >>>>>>>> >>>>>>>> aggressive-nat-detection : true >>>>>>>> absolute_codec_string : G729 >>>>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>>>> inbound-late-negotiation :true >>>>>>>> inbound-codec-negotiation : generous >>>>>>>> >>>>>>>> Any help and ideas will be appreciated. >>>>>>>> >>>>>>>> FYI : For debug purpose you may get SIP Log from >>>>>>>> http://pastebin.com/D2cPLJWe >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Ashwin Kumar Rath >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/4425b383/attachment-0001.html From devang.nathwani31589 at gmail.com Sat Sep 3 00:39:52 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Sat, 3 Sep 2016 02:09:52 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: bandwidth consumption http://www.cisco.com/c/en/us/support/docs/voice/voice-quality/7934-bwidth-consume.html http://www.voip-info.org/wiki/view/Bandwidth+consumption On Sat, Sep 3, 2016 at 2:05 AM, Russell Treleaven wrote: > Do you really need G729? > If yes, why? > > > On Fri, Sep 2, 2016 at 3:42 PM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> - when i tried with alaw and ulaw it worked perfectly, no audio issue; >> its with g729 only; if this is the than does this has anything to do with >> ptime? >> >> - As UAC i am using iphone pjsip library and UAS grandstream IP phone, >> both supporting and freeswitch as well as provider though which call is >> routing are supporting g729, no transcoding is there. >> >> On Fri, Sep 2, 2016 at 10:53 PM, Ashwin Rath >> wrote: >> >>> I had this issue and it turned out to be mismatched ptimes. >>> >>> On 2 September 2016 at 19:07, Russell Treleaven >> > wrote: >>> >>>> Ok so If Freeswitch isn't in the media path and you still have robotic >>>> sounding audio then you need to look at what remains, the UAC, UAS and the >>>> network between them. >>>> >>>> On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < >>>> devang.nathwani31589 at gmail.com> wrote: >>>> >>>>> Tried inbound-bypass-media=true still robotic sound >>>>> >>>>> On Sep 1, 2016 10:38 PM, "Russell Treleaven" >>>>> wrote: >>>>> >>>>>> First test I would do is bypass media. >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>>>>> Media+Overview >>>>>> >>>>>> This link might also help http://freeswitch.com/ >>>>>> >>>>>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>> >>>>>>> Okay...and how resolve the packet loss issue?! >>>>>>> >>>>>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" >>>>>>> wrote: >>>>>>> >>>>>>>> The robotic noise is packet loss. >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel >>>>>>>> wrote: >>>>>>>> >>>>>>>>> hi, >>>>>>>>> >>>>>>>>> do u have jitter buffer enabled because i recall i had a similar >>>>>>>>> issue and after disabling jitter buffer, cng to false and vad to none it >>>>>>>>> resolved >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Bipin >>>>>>>>> >>>>>>>>> >>>>>>>>> ------------------------------ >>>>>>>>> -------- Original Message -------- >>>>>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>>>>>> From: devang nathwani >>>>>>>>> >>>>>>>>> To: FreeSWITCH Users Help >>>>>>>>> >>>>>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>>>>> >>>>>>>>> Hello All, >>>>>>>>> >>>>>>>>> Whenever i am trying to make a call, Two way commnunication was >>>>>>>>> established but I am having kind of choppy like robotic voice or very bad >>>>>>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>>>>>> want to work with G729. >>>>>>>>> I have set below parameters in sip profile to try to resolve this >>>>>>>>> issue. But it doesn't work for me. >>>>>>>>> >>>>>>>>> aggressive-nat-detection : true >>>>>>>>> absolute_codec_string : G729 >>>>>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>>>>> inbound-late-negotiation :true >>>>>>>>> inbound-codec-negotiation : generous >>>>>>>>> >>>>>>>>> Any help and ideas will be appreciated. >>>>>>>>> >>>>>>>>> FYI : For debug purpose you may get SIP Log from >>>>>>>>> http://pastebin.com/D2cPLJWe >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Ashwin Kumar Rath >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/ad5254b8/attachment-0001.html From rtreleaven at bunnykick.ca Sat Sep 3 00:43:15 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Fri, 2 Sep 2016 16:43:15 -0400 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: Just FYI, you won't be able to record, originate or terminate calls without the commercial g729 codec. https://freeswitch.com/cart.php?gid=2 On Fri, Sep 2, 2016 at 4:39 PM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > bandwidth consumption > http://www.cisco.com/c/en/us/support/docs/voice/voice- > quality/7934-bwidth-consume.html > http://www.voip-info.org/wiki/view/Bandwidth+consumption > > On Sat, Sep 3, 2016 at 2:05 AM, Russell Treleaven > wrote: > >> Do you really need G729? >> If yes, why? >> >> >> On Fri, Sep 2, 2016 at 3:42 PM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> - when i tried with alaw and ulaw it worked perfectly, no audio issue; >>> its with g729 only; if this is the than does this has anything to do with >>> ptime? >>> >>> - As UAC i am using iphone pjsip library and UAS grandstream IP phone, >>> both supporting and freeswitch as well as provider though which call is >>> routing are supporting g729, no transcoding is there. >>> >>> On Fri, Sep 2, 2016 at 10:53 PM, Ashwin Rath >>> wrote: >>> >>>> I had this issue and it turned out to be mismatched ptimes. >>>> >>>> On 2 September 2016 at 19:07, Russell Treleaven < >>>> rtreleaven at bunnykick.ca> wrote: >>>> >>>>> Ok so If Freeswitch isn't in the media path and you still have robotic >>>>> sounding audio then you need to look at what remains, the UAC, UAS and the >>>>> network between them. >>>>> >>>>> On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < >>>>> devang.nathwani31589 at gmail.com> wrote: >>>>> >>>>>> Tried inbound-bypass-media=true still robotic sound >>>>>> >>>>>> On Sep 1, 2016 10:38 PM, "Russell Treleaven" >>>>>> wrote: >>>>>> >>>>>>> First test I would do is bypass media. >>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>>>>>> Media+Overview >>>>>>> >>>>>>> This link might also help http://freeswitch.com/ >>>>>>> >>>>>>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>>> >>>>>>>> Okay...and how resolve the packet loss issue?! >>>>>>>> >>>>>>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" < >>>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>>> >>>>>>>>> The robotic noise is packet loss. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> hi, >>>>>>>>>> >>>>>>>>>> do u have jitter buffer enabled because i recall i had a similar >>>>>>>>>> issue and after disabling jitter buffer, cng to false and vad to none it >>>>>>>>>> resolved >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> Bipin >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ------------------------------ >>>>>>>>>> -------- Original Message -------- >>>>>>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>>>>>>> From: devang nathwani >>>>>>>>>> >>>>>>>>>> To: FreeSWITCH Users Help >>>>>>>>>> >>>>>>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>>>>>> >>>>>>>>>> Hello All, >>>>>>>>>> >>>>>>>>>> Whenever i am trying to make a call, Two way commnunication was >>>>>>>>>> established but I am having kind of choppy like robotic voice or very bad >>>>>>>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>>>>>>> want to work with G729. >>>>>>>>>> I have set below parameters in sip profile to try to resolve this >>>>>>>>>> issue. But it doesn't work for me. >>>>>>>>>> >>>>>>>>>> aggressive-nat-detection : true >>>>>>>>>> absolute_codec_string : G729 >>>>>>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>>>>>> inbound-late-negotiation :true >>>>>>>>>> inbound-codec-negotiation : generous >>>>>>>>>> >>>>>>>>>> Any help and ideas will be appreciated. >>>>>>>>>> >>>>>>>>>> FYI : For debug purpose you may get SIP Log from >>>>>>>>>> http://pastebin.com/D2cPLJWe >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Ashwin Kumar Rath >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/22c0c045/attachment-0001.html From devang.nathwani31589 at gmail.com Sat Sep 3 00:46:17 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Sat, 3 Sep 2016 02:16:17 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: what about pass through mode? On Sat, Sep 3, 2016 at 2:13 AM, Russell Treleaven wrote: > Just FYI, you won't be able to record, originate or terminate calls > without the commercial g729 codec. https://freeswitch.com/cart.php?gid=2 > > > > On Fri, Sep 2, 2016 at 4:39 PM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> bandwidth consumption >> http://www.cisco.com/c/en/us/support/docs/voice/voice-qualit >> y/7934-bwidth-consume.html >> http://www.voip-info.org/wiki/view/Bandwidth+consumption >> >> On Sat, Sep 3, 2016 at 2:05 AM, Russell Treleaven < >> rtreleaven at bunnykick.ca> wrote: >> >>> Do you really need G729? >>> If yes, why? >>> >>> >>> On Fri, Sep 2, 2016 at 3:42 PM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> - when i tried with alaw and ulaw it worked perfectly, no audio issue; >>>> its with g729 only; if this is the than does this has anything to do with >>>> ptime? >>>> >>>> - As UAC i am using iphone pjsip library and UAS grandstream IP phone, >>>> both supporting and freeswitch as well as provider though which call is >>>> routing are supporting g729, no transcoding is there. >>>> >>>> On Fri, Sep 2, 2016 at 10:53 PM, Ashwin Rath >>>> wrote: >>>> >>>>> I had this issue and it turned out to be mismatched ptimes. >>>>> >>>>> On 2 September 2016 at 19:07, Russell Treleaven < >>>>> rtreleaven at bunnykick.ca> wrote: >>>>> >>>>>> Ok so If Freeswitch isn't in the media path and you still have >>>>>> robotic sounding audio then you need to look at what remains, the UAC, UAS >>>>>> and the network between them. >>>>>> >>>>>> On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < >>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>> >>>>>>> Tried inbound-bypass-media=true still robotic sound >>>>>>> >>>>>>> On Sep 1, 2016 10:38 PM, "Russell Treleaven" < >>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>> >>>>>>>> First test I would do is bypass media. >>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>>>>>>> Media+Overview >>>>>>>> >>>>>>>> This link might also help http://freeswitch.com/ >>>>>>>> >>>>>>>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>>>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>>>> >>>>>>>>> Okay...and how resolve the packet loss issue?! >>>>>>>>> >>>>>>>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" < >>>>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>>>> >>>>>>>>>> The robotic noise is packet loss. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> hi, >>>>>>>>>>> >>>>>>>>>>> do u have jitter buffer enabled because i recall i had a similar >>>>>>>>>>> issue and after disabling jitter buffer, cng to false and vad to none it >>>>>>>>>>> resolved >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> Bipin >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ------------------------------ >>>>>>>>>>> -------- Original Message -------- >>>>>>>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>>>>>>>> From: devang nathwani >>>>>>>>>>> >>>>>>>>>>> To: FreeSWITCH Users Help >>>>>>>>>> itch.org> >>>>>>>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>>>>>>> >>>>>>>>>>> Hello All, >>>>>>>>>>> >>>>>>>>>>> Whenever i am trying to make a call, Two way commnunication was >>>>>>>>>>> established but I am having kind of choppy like robotic voice or very bad >>>>>>>>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>>>>>>>> want to work with G729. >>>>>>>>>>> I have set below parameters in sip profile to try to resolve >>>>>>>>>>> this issue. But it doesn't work for me. >>>>>>>>>>> >>>>>>>>>>> aggressive-nat-detection : true >>>>>>>>>>> absolute_codec_string : G729 >>>>>>>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>>>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>>>>>>> inbound-late-negotiation :true >>>>>>>>>>> inbound-codec-negotiation : generous >>>>>>>>>>> >>>>>>>>>>> Any help and ideas will be appreciated. >>>>>>>>>>> >>>>>>>>>>> FYI : For debug purpose you may get SIP Log from >>>>>>>>>>> http://pastebin.com/D2cPLJWe >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>> >>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Ashwin Kumar Rath >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/b048371c/attachment-0001.html From david.villasmil.work at gmail.com Sat Sep 3 00:52:10 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Fri, 2 Sep 2016 22:52:10 +0200 Subject: [Freeswitch-users] console siptrace filtering In-Reply-To: References: <78030E66-BC25-4B30-BCA2-AF5F146EB281@jerris.com> Message-ID: Hello all, So I discarded all previous changes and re-worked it all on sofia instead of console. You may want to check it out on https://freeswitch.org/stash/users/davidcsi/repos/freeswitch/browse freeswitch at core> sofia USAGE: -------------------------------------------------------------------------------- sofia filter sofia global siptrace sofia capture watchdog sofia profile [start | stop | restart | rescan] [wait] flush_inbound_reg [ | <[user]@domain>] [reboot] check_sync [ | <[user]@domain>] [register | unregister] [ | all] killgw [stun-auto-disable | stun-enabled] [true | false]] siptrace capture watchdog sofia profile [reg []] | [pres ] | [user ] sofia gateway sofia loglevel [0-9] sofia tracelevel sofia help -------------------------------------------------------------------------------- sofia: freeswitch at core> sofia filter sofia filter is disabled. (sofia filter ) - Enable, disable filtering, set 'filer-expression' to use as filter. Set 'filter-expression' to 'off' to stop filtering Comments are very welcome! Please whoever is able, test and comment! Thanks!! David ? ? On Sun, Aug 28, 2016 at 11:27 PM, David Villasmil < david.villasmil.work at gmail.com> wrote: > Great, thanks mike. > > David > ? > > On Fri, Aug 26, 2016 at 10:06 PM, Michael Jerris wrote: > >> sorry for the delay.. take a look in sofia.c >> >> static void logger(void *logarg, char const *fmt, va_list ap) >> { >> if (!fmt) return; >> >> switch_log_vprintf(SWITCH_CHANNEL_LOG_CLEAN, >> mod_sofia_globals.tracelevel, fmt, ap); >> } >> >> and also in >> >> switch_status_t sofia_init(void) >> >> where it binds the logger function >> >> su_log_redirect(tport_log, logger, NULL); >> >> Mike >> >> >> On Aug 26, 2016, at 11:33 AM, David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> Nice, thanks >> ? >> >> On Fri, Aug 26, 2016 at 5:26 PM, Michael Jerris wrote: >> >>> give me a few minutes to finish my meeting and I'll get you that >>> >>> >>> On Friday, August 26, 2016, David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> Hello Michael, >>>> >>>> Agreed, i just couldn't find the related code. It's important to note >>>> i'm no expert :) >>>> >>>> Regards, >>>> >>>> David >>>> ? >>>> >>>> On Fri, Aug 26, 2016 at 5:14 PM, Michael Jerris >>>> wrote: >>>> >>>>> this is interesting but I'm much more interested in this in mod_sofia >>>>> at the callback we get for sip tracing. I think this is interesting too >>>>> but maybe better to do down one level in logger so you can do this to log >>>>> files and other things too. >>>>> >>>>> >>>>> On Friday, August 26, 2016, David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >>>>>> Hello guys, >>>>>> >>>>>> You can get all SIP messages coming and going to a specific profile >>>>>> by typing on the console: >>>>>> ?sofia profile [PROFILE] siptrace on? >>>>>> >>>>>> But if you have traffic on the box, this is a NIGHTMARE, as you get >>>>>> ALL messages? >>>>>> >>>>>> So I made a modification to mod_console.c to add a filtering for >>>>>> siptraces. >>>>>> >>>>>> By enabling the filter like so: >>>>>> >>>>>> ?console filter [expression]? >>>>>> >>>>>> Where ?expression? can be anything present in the packets you want to >>>>>> get, be it username, dialed number, whatever. Only those messages on which >>>>>> the expression was found will be shown: >>>>>> >>>>>> freeswitch at MacBookPro-David> console >>>>>> >>>>>> USAGE: >>>>>> -------------------------------------------------------------------------------- >>>>>> console help >>>>>> console loglevel [[0-7] | ] >>>>>> console filter <<>>>>> console colorize [on|off|toggle] >>>>>> ???????????????????????????????????????? >>>>>> >>>>>> freeswitch at MacBookPro-David> console filter >>>>>> >>>>>> USAGE: >>>>>> -------------------------------------------------------------------------------- >>>>>> console filter >>>>>> >>>>>> Enable, disable filtering, Only messages containing the 'filer-expression' will be printed out. >>>>>> set 'filter-expression' to 'off' to stop filtering >>>>>> ???????????????????????????????????????? >>>>>> >>>>>> Typing: >>>>>> console filter 1001 >>>>>> >>>>>> Would result in only seeing messages which include 1001 >>>>>> >>>>>> EXPRESSION (1001) FOUND IN: >>>>>> <<>>>>> ------------------------------------------------------------------------ >>>>>> INVITE sip:1001 at 127.0.0.1 SIP/2.0 >>>>>> Call-ID: 6f9cdc511446251e254e9e617d26647c at 0:0:0:0:0:0:0:0 >>>>>> CSeq: 2 INVITE >>>>>> From: "1000" ;tag=45dd865b >>>>>> To: >>>>>> Max-Forwards: 70 >>>>>> Contact: "1000" >>>>>> User-Agent: Jitsi2.8.5426Mac OS X >>>>>> Content-Type: application/sdp >>>>>> Via: SIP/2.0/TCP 127.0.0.1:52917;branch=z9hG4bK-343435-1dc76531757a26482fa8ff1bac9acf3b >>>>>> Proxy-Authorization: Digest username="1000",realm="127.0.0.1",nonce="1a2be9b9-fa12-4763-b00c-dfeacc79f9fd",uri="sip:1001 at 127.0.0.1",response="fce7bf74772a149fe39ec7e50ec61c69",algorithm=MD5,qop=auth,cnonce="xyz",nc=00000001 >>>>>> Content-Length: 566 >>>>>> >>>>>> v=0 >>>>>> o=1000-jitsi.org 0 0 IN IP4 127.0.0.1 >>>>>> s=- >>>>>> c=IN IP4 127.0.0.1 >>>>>> t=0 0 >>>>>> m=audio 5119 RTP/AVP 96 >>>>>> a=rtpmap:96 opus/48000/2 >>>>>> a=fmtp:96 usedtx=1 >>>>>> a=extmap:1 urn:ietf:params:rtp-hdrext:csrc-audio-level >>>>>> a=extmap:2 urn:ietf:params:rtp-hdrext:ssrc-audio-level >>>>>> a=rtcp-xr:voip-metrics >>>>>> m=video 5121 RTP/AVP 97 99 >>>>>> a=recvonly >>>>>> a=rtpmap:97 H264/90000 >>>>>> a=fmtp:97 profile-level-id=4DE01f;packetization-mode=1 >>>>>> a=imageattr:97 send * recv [x=[0-1920],y=[0-1200]] >>>>>> a=rtpmap:99 H264/90000 >>>>>> a=fmtp:99 profile-level-id=4DE01f >>>>>> a=imageattr:99 send * recv [x=[0-1920],y=[0-1200]] >>>>>> ------------------------------------------------------------------------ >>>>>> >>>>>> >>> >>>>>> >>>>>> My goal is to extend this to also filter other messages, like call >>>>>> processing, etc. (ERR messages would not be filtered out) >>>>>> >>>>>> I?m wondering whether it is possible to do a pull request on this? >>>>>> >>>>>> Regards, >>>>>> >>>>>> David >>>>>> ? >>>>>> ? >>>>>> >>>>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/8c3f1207/attachment-0001.html From rtreleaven at bunnykick.ca Sat Sep 3 00:54:57 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Fri, 2 Sep 2016 16:54:57 -0400 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: That should work. First thing to do is use wireshark to verify the media is going direct. On Fri, Sep 2, 2016 at 4:46 PM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > what about pass through mode? > > On Sat, Sep 3, 2016 at 2:13 AM, Russell Treleaven > wrote: > >> Just FYI, you won't be able to record, originate or terminate calls >> without the commercial g729 codec. https://freeswitch.com/cart.php?gid=2 >> >> >> >> On Fri, Sep 2, 2016 at 4:39 PM, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> bandwidth consumption >>> http://www.cisco.com/c/en/us/support/docs/voice/voice-qualit >>> y/7934-bwidth-consume.html >>> http://www.voip-info.org/wiki/view/Bandwidth+consumption >>> >>> On Sat, Sep 3, 2016 at 2:05 AM, Russell Treleaven < >>> rtreleaven at bunnykick.ca> wrote: >>> >>>> Do you really need G729? >>>> If yes, why? >>>> >>>> >>>> On Fri, Sep 2, 2016 at 3:42 PM, devang nathwani < >>>> devang.nathwani31589 at gmail.com> wrote: >>>> >>>>> - when i tried with alaw and ulaw it worked perfectly, no audio issue; >>>>> its with g729 only; if this is the than does this has anything to do with >>>>> ptime? >>>>> >>>>> - As UAC i am using iphone pjsip library and UAS grandstream IP phone, >>>>> both supporting and freeswitch as well as provider though which call is >>>>> routing are supporting g729, no transcoding is there. >>>>> >>>>> On Fri, Sep 2, 2016 at 10:53 PM, Ashwin Rath >>>>> wrote: >>>>> >>>>>> I had this issue and it turned out to be mismatched ptimes. >>>>>> >>>>>> On 2 September 2016 at 19:07, Russell Treleaven < >>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>> >>>>>>> Ok so If Freeswitch isn't in the media path and you still have >>>>>>> robotic sounding audio then you need to look at what remains, the UAC, UAS >>>>>>> and the network between them. >>>>>>> >>>>>>> On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < >>>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>>> >>>>>>>> Tried inbound-bypass-media=true still robotic sound >>>>>>>> >>>>>>>> On Sep 1, 2016 10:38 PM, "Russell Treleaven" < >>>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>>> >>>>>>>>> First test I would do is bypass media. >>>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>>>>>>>> Media+Overview >>>>>>>>> >>>>>>>>> This link might also help http://freeswitch.com/ >>>>>>>>> >>>>>>>>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>>>>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Okay...and how resolve the packet loss issue?! >>>>>>>>>> >>>>>>>>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" < >>>>>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>>>>> >>>>>>>>>>> The robotic noise is packet loss. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> hi, >>>>>>>>>>>> >>>>>>>>>>>> do u have jitter buffer enabled because i recall i had a >>>>>>>>>>>> similar issue and after disabling jitter buffer, cng to false and vad to >>>>>>>>>>>> none it resolved >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Bipin >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ------------------------------ >>>>>>>>>>>> -------- Original Message -------- >>>>>>>>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass through >>>>>>>>>>>> From: devang nathwani >>>>>>>>>>>> >>>>>>>>>>>> To: FreeSWITCH Users Help >>>>>>>>>>> itch.org> >>>>>>>>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>>>>>>>> >>>>>>>>>>>> Hello All, >>>>>>>>>>>> >>>>>>>>>>>> Whenever i am trying to make a call, Two way commnunication was >>>>>>>>>>>> established but I am having kind of choppy like robotic voice or very bad >>>>>>>>>>>> quality of voice with only G729 codec.For PCMU,PCMA both are working fine.I >>>>>>>>>>>> want to work with G729. >>>>>>>>>>>> I have set below parameters in sip profile to try to resolve >>>>>>>>>>>> this issue. But it doesn't work for me. >>>>>>>>>>>> >>>>>>>>>>>> aggressive-nat-detection : true >>>>>>>>>>>> absolute_codec_string : G729 >>>>>>>>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>>>>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>>>>>>>> inbound-late-negotiation :true >>>>>>>>>>>> inbound-codec-negotiation : generous >>>>>>>>>>>> >>>>>>>>>>>> Any help and ideas will be appreciated. >>>>>>>>>>>> >>>>>>>>>>>> FYI : For debug purpose you may get SIP Log from >>>>>>>>>>>> http://pastebin.com/D2cPLJWe >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>>> >>>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>> _____________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>> switch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Ashwin Kumar Rath >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/8afde4c8/attachment-0001.html From chad at apartmentlines.com Sat Sep 3 03:36:40 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Fri, 2 Sep 2016 16:36:40 -0700 Subject: [Freeswitch-users] Looking for Linux tc wizard Message-ID: Anybody here a master of the Linux Traffic Control program? http://lartc.org/manpages/tc.txt Asking because I have a need for a script that will allow me to simulate different types of internet connections (shitty 3G, DSL, wifi, etc), for the purposes of quality testing a WebRTC implementation. I?d like to use tc (and perhaps iptables if that would help) to as closely simulate the various conditions (asymmetric bandwidth, packet loss, etc.) as possible. I?m willing to pay for the help, and would be happy to donate the work back as open source. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/ad9e98ab/attachment.html From joel at gogii.net Sat Sep 3 04:14:41 2016 From: joel at gogii.net (Joel Serrano) Date: Fri, 2 Sep 2016 17:14:41 -0700 Subject: [Freeswitch-users] Looking for Linux tc wizard In-Reply-To: References: Message-ID: Hi Chad, Jitter & Loss info: alias jitteron='tc qdisc add dev eth1 root handle 1: netem delay 40ms 20ms ; tc qdisc add dev eth1 parent 1:1 pfifo limit 1000' alias joff='tc qdisc del dev eth1 root netem' alias jon='tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev eth1 root netem delay 200ms reorder 75% gap 1' alias jon2='tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev eth1 root netem delay 20ms reorder 10% gap 1' alias jon3='tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev eth1 root netem delay 100ms reorder 25% gap 1' alias jonl='tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev eth1 root netem loss 15%' alias jshow='tc qdisc show dev eth1' alias loss='tc qdisc change dev eth1 root netem loss ' You will have to adapt them to suit your need... Also, I would have a look at https://freeswitch.org/stash/ projects/FS/repos/freeswitch/browse/support-d/.bashrc Best, Joel. On Fri, Sep 2, 2016 at 4:36 PM, Chad Phillips wrote: > Anybody here a master of the Linux Traffic Control program? > > http://lartc.org/manpages/tc.txt > > Asking because I have a need for a script that will allow me to simulate > different types of internet connections (shitty 3G, DSL, wifi, etc), for > the purposes of quality testing a WebRTC implementation. > > I?d like to use tc (and perhaps iptables if that would help) to as closely > simulate the various conditions (asymmetric bandwidth, packet loss, etc.) > as possible. > > I?m willing to pay for the help, and would be happy to donate the work > back as open source. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/e38d2075/attachment.html From s.safarov at gmail.com Sat Sep 3 07:24:39 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 03 Sep 2016 03:24:39 +0000 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> Message-ID: Reverse resolving is independent from hostname or forward DNS name related FreeSWITCH settings. On Fri, Sep 2, 2016, 16:29 Juan Pablo Godoy wrote: > Hello Sergey, > > Thank you very much for your help. > > Please correct me if I'm wrong, but I don't think this is related to my > DNS because my configuration don't use hostnames. Besides now that I'm > using Debian I don't see those "look up" message anymore. > > Best Regards, > Juan Pablo Godoy. > On 01-09-2016 10:57, Sergey Safarov wrote: > > It is look like DNS not return reverse resolv results. > Please check DNS requests and responses. > > On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy wrote: > >> Hello, >> >> Can anybody help me please? >> >> During this week I changed from CentOS 7 to Debian 8.5 and I still have >> the same problem. Honestly I don't know what to do anymore. >> >> Regards, >> Juan Pablo Godoy. >> On 19-08-2016 15:00, Juan Pablo Godoy wrote: >> >> Hello Everybody, >> >> I'm new using Freeswitch and now I'm implementing it as a B2BUA using >> Radius (using the module mod_xml_radius) for Accounting and Authentication. >> Everything work OK until freeswitch has more than 260 simultaneous calls, >> after that the cli shows errors: >> >> 2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046 mod_xml_radius: >> Accounting Stop failed >> 2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109 mod_xml_radius: >> Failed to authenticate, authentication result: 1 >> >> Meanwhile, the messages file shows the following errors: >> >> rc_ip_hostname: couldn't look up host by addr: "HEXAIPADRRESS" >> rc_send_server: no reply from RADIUS server unknown:1646, "IPADDRESS" >> >> It looks like it's timeout, however my Radius server is responding OK to >> another server's requests. >> >> I'm using Freeswitch 1.6.9 compiled from source. >> >> Best Regards, >> Juan Pablo Godoy. >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/bf1ab62d/attachment.html From devang.nathwani31589 at gmail.com Sat Sep 3 12:15:05 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Sat, 3 Sep 2016 13:45:05 +0530 Subject: [Freeswitch-users] SDP from public to private network, no audio Message-ID: I know it may be out of scope but nevertheless I want to route the call from opensips to freeswitch but the opensips is on public Network and freeswitch servers are on private network so SDP is not directly travelling from opensips public network to freeswitch private network and there is no audio during the call To achieve this I am using RTP proxy I want to know how exactly bind the public IP to private IP using rtp proxy, I am missing some configuration I have tried many links but no luck yet If anybody would suggest any opensips configurations, links to refer, other way out of this to achieve this; it would be helpful -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/5c4cf6b0/attachment-0001.html From aqsyounas at gmail.com Sat Sep 3 17:40:24 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Sat, 3 Sep 2016 18:40:24 +0500 Subject: [Freeswitch-users] SDP from public to private network, no audio In-Reply-To: References: Message-ID: How are you starting rtpproxy? On Sep 3, 2016 1:18 PM, "devang nathwani" wrote: > > I know it may be out of scope but nevertheless > I want to route the call from opensips to freeswitch but the opensips is on public Network and freeswitch servers are on private network so SDP is not directly travelling from opensips public network to freeswitch private network and there is no audio during the call > To achieve this I am using RTP proxy > I want to know how exactly bind the public IP to private IP using rtp proxy, I am missing some configuration I have tried many links but no luck yet > If anybody would suggest any opensips configurations, links to refer, other way out of this to achieve this; it would be helpful > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/ee32ecf6/attachment.html From d.mordovin at dwide.com Sat Sep 3 20:02:45 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Sat, 03 Sep 2016 20:02:45 +0400 Subject: [Freeswitch-users] bgapi with two commands one by one Message-ID: <57CAF425.3030308@dwide.com> Hello I want to execute two commands with bgapi, but can't find solution in FreeSWITCH manual or google. bgapi expand originate [origination_caller_id_name='test']sofia/gateway/first_supplier/12345 at first_supplier|[origination_caller_id_name='test']sofia/gateway/second_supplier/12345 at second_supplier 00294539; curl http://127.0.0.1/cgi?e=originate_done I want command 'curl' to be executed after 'originate' done (call disconnected). Like linux shell can run commands one by one, just separate with ';' Is it possible? If so, how can I do it? From jpgodoy at redvoiss.net Fri Sep 2 21:20:55 2016 From: jpgodoy at redvoiss.net (Juan Pablo Godoy) Date: Fri, 2 Sep 2016 14:20:55 -0300 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/1b79c200/attachment.html From jpgodoy at redvoiss.net Sat Sep 3 01:16:44 2016 From: jpgodoy at redvoiss.net (Juan Pablo Godoy) Date: Fri, 2 Sep 2016 18:16:44 -0300 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> Message-ID: <7f8e3b3a-5a59-cdc8-c5a7-b399916f4279@redvoiss.net> Hello, I'm sorry to bother everyone with these mails, but I'm discovering things (I'm completely new in Freeswitch) and probably this will help someone in the future. The problem is not caused by DNS at all. The reverse resolv it's used by Radius client just for logging purposes. I gave a FQDN to each Radius and the report changed to: "freeswitch: rc_send_server: no reply from RADIUS server FQDN:1646, XXX.XXX.XXX.XXX" After that I increased the amount of retries in mod_xml_radius and then my Radius server (BTW is a Radiator) logged messages like the next one: "INFO: Duplicate request id 53 received from XXX.XXX.XXX.XX(42430): retransmit reply" If I run tcpdump in my Freeswitch server I can see every reply retransmited from the Radius server. It looks like that Radius Client can't process those replies. What else can I check? Regards, On 02-09-2016 14:20, Juan Pablo Godoy wrote: > > Hello, > > I was wrong yesterday Sergey, as you say the problem could be related > to reverse resolv. > > I've discovered that in Debian those errors are reported in > /var/log/users.log and that the problem perhaps is the rate of calls, > therefore could be related to the rate that my system tries to do the > reverse resolv. > > I don't think the problem is my DNS server, anyway right now I'm using > google's DNS with the same results. > > What could be limiting that rate? Is there a way to fix it? > > Best Regards, > Juan Pablo Godoy. > > On 01-09-2016 12:50, Juan Pablo Godoy wrote: >> >> Hello Sergey, >> >> Thank you very much for your help. >> >> Please correct me if I'm wrong, but I don't think this is related to >> my DNS because my configuration don't use hostnames. Besides now that >> I'm using Debian I don't see those "look up" message anymore. >> >> Best Regards, >> Juan Pablo Godoy. >> >> On 01-09-2016 10:57, Sergey Safarov wrote: >>> >>> It is look like DNS not return reverse resolv results. >>> Please check DNS requests and responses. >>> >>> >>> On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy >> > wrote: >>> >>> Hello, >>> >>> Can anybody help me please? >>> >>> During this week I changed from CentOS 7 to Debian 8.5 and I >>> still have the same problem. Honestly I don't know what to do >>> anymore. >>> >>> Regards, >>> Juan Pablo Godoy. >>> >>> On 19-08-2016 15:00, Juan Pablo Godoy wrote: >>>> Hello Everybody, >>>> >>>> I'm new using Freeswitch and now I'm implementing it as a B2BUA >>>> using Radius (using the module mod_xml_radius) for Accounting >>>> and Authentication. Everything work OK until freeswitch has >>>> more than 260 simultaneous calls, after that the cli shows >>>> errors: >>>> >>>> 2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046 >>>> mod_xml_radius: Accounting Stop failed >>>> 2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109 >>>> mod_xml_radius: Failed to authenticate, authentication result: 1 >>>> >>>> Meanwhile, the messages file shows the following errors: >>>> >>>> rc_ip_hostname: couldn't look up host by addr: "HEXAIPADRRESS" >>>> rc_send_server: no reply from RADIUS server unknown:1646, >>>> "IPADDRESS" >>>> >>>> It looks like it's timeout, however my Radius server is >>>> responding OK to another server's requests. >>>> >>>> I'm using Freeswitch 1.6.9 compiled from source. >>>> >>>> Best Regards, >>>> Juan Pablo Godoy. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> > From jeff at eoni.com Sat Sep 3 08:20:15 2016 From: jeff at eoni.com (Jeff Crews) Date: Sat, 3 Sep 2016 04:20:15 +0000 Subject: [Freeswitch-users] intermittent DTMF duplicate digit detection Message-ID: <5c1728935ef44b9fa0da100d7cf4210f@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> I am running FreeSWITCH Version 1.6.6~64bit ( 64bit) running in a non-virtualized hardware platform. I am using it with FusionPBX (roughly 2 weeks since my last git pull) When using a SIP trunk from my CopperCom IP card I get intermittent duplicate DTMF digits specifically causing me trouble using the IVR application. With these options on: dtmf_verbose=true spandsp_dtmf_rx_threshold=-42 spandsp_dtmf_rx_twist=8 spandsp_dtmf_rx_reverse_twist=6 min_dup_digit_spacing_ms=50 (I have adjusted this from 0 to values of upwards of 2000...not sure it applies in this case as I think the duplicate digits might not be impacted by this value as I think two different systems are detecting the DTMF). In the following logs the min_dup_digit_spacing_ms might have been any number of values I was testing. So...on a properly recognized DTMF digit the logs look like this when I placed a test call to the IVR and dialed 9 as a menu option for the company directory then 489 to successfully to search for a name...in this call all worked as expected: b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.113751 [DEBUG] switch_core_media.c:4485 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 recv payload to 101 b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d parsing [public->dtmf-type] continue=true b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Regex (PASS) [dtmf-type] () =~ // break=on-false b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(dtmf_verbose=true) b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_threshold=-42) b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_twist=8) b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_reverse_twist=6) b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action spandsp_start_dtmf() b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(dtmf_verbose=true) b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [dtmf_verbose]=[true] b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_threshold=-42) b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_threshold]=[-42] b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_twist=8) b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_twist]=[8] b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_reverse_twist=6) b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_reverse_twist]=[6] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_session.c:2628 Application spandsp_start_dtmf Requires media! pre_answering channel sofia/internal/541xxxyyyy at a.b.c.d b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6332 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6339 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf receive payload to 101 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6362 sofia/internal/541xxxyyyy at a.b.c.d Set rtp dtmf delay to 40 b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d spandsp_start_dtmf() b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.973723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially D - total -18.52dB, row -35.24dB, col -32.15dB, duration 62628 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.18dB, col -5.09dB, duration 62730 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.94dB, row -5.03dB, col -5.06dB, duration 62832 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [INFO] switch_channel.c:512 RECV DTMF 9:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.013719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.03dB, row -5.21dB, col -5.28dB, duration 102 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.013719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.02dB, row -5.29dB, col -5.13dB, duration 204 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.033720 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.92dB, row -5.03dB, col -5.03dB, duration 306 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.053716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.08dB, col -5.22dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.053716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -9.02dB, row -17.52dB, col -16.96dB, duration 510 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.073716 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 76 ms b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.093756 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially D - total -19.84dB, row -34.97dB, col -34.04dB, duration 48144 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.80dB, row -4.77dB, col -4.77dB, duration 48246 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.92dB, row -5.02dB, col -5.03dB, duration 48348 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [4] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [INFO] switch_channel.c:512 RECV DTMF 4:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.133730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.14dB, row -5.55dB, col -5.42dB, duration 102 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.133730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.77dB, row -4.66dB, col -4.80dB, duration 204 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.153730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.25dB, row -5.70dB, col -5.63dB, duration 306 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.173727 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.79dB, row -4.84dB, col -4.70dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.173727 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.92dB, row -5.00dB, col -5.05dB, duration 510 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.193720 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.11dB, row -7.36dB, col -7.35dB, duration 612 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.213719 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [4], duration = 89 ms b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.313724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.95dB, row -7.12dB, col -7.00dB, duration 918 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.333719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.10dB, row -5.44dB, col -5.32dB, duration 1020 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.99dB, row -5.15dB, col -5.16dB, duration 1122 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [8] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [INFO] switch_channel.c:512 RECV DTMF 8:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.85dB, row -4.84dB, col -4.94dB, duration 102 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.373724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.90dB, row -5.02dB, col -4.93dB, duration 204 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.393724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.98dB, row -5.22dB, col -5.11dB, duration 306 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.393724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.11dB, row -5.32dB, col -5.43dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.413724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.09dB, row -5.33dB, col -5.39dB, duration 510 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.413724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially * - total -13.19dB, row -24.69dB, col -24.21dB, duration 612 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.433724 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [8], duration = 89 ms b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.473724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -9.05dB, row -17.46dB, col -17.13dB, duration 306 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.12dB, col -5.12dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.96dB, row -5.16dB, col -5.06dB, duration 510 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [INFO] switch_channel.c:512 RECV DTMF 9:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.513724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -8.91dB, row -16.92dB, col -17.15dB, duration 102 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.533724 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 25 ms b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.553724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -5.06dB, row -9.31dB, col -9.33dB, duration 204 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.98dB, row -5.04dB, col -5.19dB, duration 306 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.93dB, row -5.14dB, col -4.99dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [INFO] switch_channel.c:512 RECV DTMF 9:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.593730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.02dB, row -5.28dB, col -5.20dB, duration 102 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.593730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -11.08dB, row -21.34dB, col -21.19dB, duration 204 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.613728 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 38 ms this time I dialed the same menu and dialed 4 and got invalid entry (which digit I dial to cause the intermittent failure seems to be nearly any digit): 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] switch_core_media.c:4485 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 recv payload to 101 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d parsing [public->dtmf-type] continue=true 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Regex (PASS) [dtmf-type] () =~ // break=on-false 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(dtmf_verbose=true) 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_threshold=-42) 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_twist=8) 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_reverse_twist=6) 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action spandsp_start_dtmf() 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(dtmf_verbose=true) 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [dtmf_verbose]=[true] 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_threshold=-42) 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_threshold]=[-42] 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_twist=8) 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_twist]=[8] 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_reverse_twist=6) 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_reverse_twist]=[6] 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] switch_core_session.c:2628 Application spandsp_start_dtmf Requires media! pre_answering channel sofia/internal/541xxxyyyy at a.b.c.d 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6332 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6339 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf receive payload to 101 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6362 sofia/internal/541xxxyyyy at a.b.c.d Set rtp dtmf delay to 40 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d spandsp_start_dtmf() 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.593744 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.41dB, row -8.03dB, col -8.02dB, duration 32538 - miss 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.593744 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.73dB, row -4.71dB, col -4.59dB, duration 32640 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.693734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.19dB, row -7.59dB, col -7.55dB, duration 33354 - miss 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.25dB, row -5.68dB, col -5.62dB, duration 33456 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.76dB, row -4.65dB, col -4.79dB, duration 33558 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [4] 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [INFO] switch_channel.c:512 RECV DTMF 4:2000 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.733724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.18dB, row -5.61dB, col -5.47dB, duration 102 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 4:800 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [INFO] switch_channel.c:512 RECV DTMF 4:800 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.76dB, row -6.65dB, col -6.69dB, duration 204 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.793718 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [4], duration = 51 ms Whenever I have problems with duplicate digits as in the later example above I always get a line with switch_rtp.c like this: 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 4:800 If one of the switch_rtp lines does not show up in the output put that it RECV DTMF the DTMF is recognized properly. Is there an option that I can set to tell the switch_rtp.c to ignore receiving DTMF? I do not know happens that causes some calls to work and some calls to not work. I was not sure if when it is intermittent (sometimes 80% get duplicate DTMF, sometimes only 20% get duplicate DTMF) what else to try. I saw this: https://freeswitch.org/confluence/display/FREESWITCH/RTP+Issues and was not sure if this applied...or where options like: Were supposed to be placed in the dial plan to get these in the right place. Is this part of the options before you invoke action=spandsp_start_dtmf Thanks in advance for any help you can provide. Jeff -.-. --.- -.. . -.- . --... --.- -.-- ..- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/153a0110/attachment-0001.html From abhik at cloudgate.in Sat Sep 3 10:54:14 2016 From: abhik at cloudgate.in (Abhik Biswas) Date: Sat, 3 Sep 2016 06:54:14 +0000 Subject: [Freeswitch-users] Popup on incoming call on FS Message-ID: I am a recent adopter of FS and sorry if this has been addressed many times before. I would like the incoming call on FS pop up screen or update a page on my desktop. I need to know how this incoming call event can be captured and the Caller-id be picked up from the same. Based on the above I am assuming a notification can be sent to the webpage. Abhik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/6fc99d56/attachment.html From abhik at cloudgate.in Sat Sep 3 16:50:59 2016 From: abhik at cloudgate.in (Abhik Biswas) Date: Sat, 3 Sep 2016 12:50:59 +0000 Subject: [Freeswitch-users] Popup on incoming call on FS Message-ID: Also looking for guidance on thoughts on how to handle this for SIP and WebRTC calls and text messages. Abhik From: Abhik Biswas Sent: Saturday, September 3, 2016 5:26 PM To: freeswitch-users at lists.freeswitch.org Subject: Popup on incoming call on FS I am a recent adopter of FS and sorry if this has been addressed many times before. I would like the incoming call on FS pop up screen or update a page on my desktop. I need to know how this incoming call event can be captured and the Caller-id be picked up from the same. Based on the above I am assuming a notification can be sent to the webpage. Abhik -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/7d7ef87c/attachment.html From grcamauer at gmail.com Sat Sep 3 20:14:07 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Sat, 3 Sep 2016 13:14:07 -0300 Subject: [Freeswitch-users] intermittent DTMF duplicate digit detection In-Reply-To: <5c1728935ef44b9fa0da100d7cf4210f@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> References: <5c1728935ef44b9fa0da100d7cf4210f@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> Message-ID: Can you try with RFC-2833 inste as of inband? Guillermo Sent from my iPhone > On Sep 3, 2016, at 01:20, Jeff Crews wrote: > > I am running > FreeSWITCH Version 1.6.6~64bit ( 64bit) running in a non-virtualized hardware platform. I am using it with FusionPBX (roughly 2 weeks since my last git pull) > > When using a SIP trunk from my CopperCom IP card I get intermittent duplicate DTMF digits specifically causing me trouble using the IVR application. > > With these options on: > > dtmf_verbose=true > > spandsp_dtmf_rx_threshold=-42 > > spandsp_dtmf_rx_twist=8 > > spandsp_dtmf_rx_reverse_twist=6 > > min_dup_digit_spacing_ms=50 > (I have adjusted this from 0 to values of upwards of 2000?not sure it applies in this case as I think the duplicate digits might not be impacted by this value as I think two different systems are detecting the DTMF). > > In the following logs the min_dup_digit_spacing_ms might have been any number of values I was testing. > > So?on a properly recognized DTMF digit the logs look like this when I placed a test call to the IVR and dialed 9 as a menu option for the company directory then 489 to successfully to search for a name?in this call all worked as expected: > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.113751 [DEBUG] switch_core_media.c:4485 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 recv payload to 101 > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d parsing [public->dtmf-type] continue=true > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Regex (PASS) [dtmf-type] () =~ // break=on-false > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(dtmf_verbose=true) > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_threshold=-42) > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_twist=8) > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_reverse_twist=6) > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action spandsp_start_dtmf() > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(dtmf_verbose=true) > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [dtmf_verbose]=[true] > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_threshold=-42) > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_threshold]=[-42] > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_twist=8) > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_twist]=[8] > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_reverse_twist=6) > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_reverse_twist]=[6] > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_session.c:2628 Application spandsp_start_dtmf Requires media! pre_answering channel sofia/internal/541xxxyyyy at a.b.c.d > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6332 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6339 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf receive payload to 101 > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6362 sofia/internal/541xxxyyyy at a.b.c.d Set rtp dtmf delay to 40 > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d spandsp_start_dtmf() > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.973723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially D - total -18.52dB, row -35.24dB, col -32.15dB, duration 62628 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.18dB, col -5.09dB, duration 62730 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.94dB, row -5.03dB, col -5.06dB, duration 62832 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [INFO] switch_channel.c:512 RECV DTMF 9:2000 > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.013719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.03dB, row -5.21dB, col -5.28dB, duration 102 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.013719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.02dB, row -5.29dB, col -5.13dB, duration 204 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.033720 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.92dB, row -5.03dB, col -5.03dB, duration 306 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.053716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.08dB, col -5.22dB, duration 408 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.053716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -9.02dB, row -17.52dB, col -16.96dB, duration 510 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.073716 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 76 ms > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.093756 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially D - total -19.84dB, row -34.97dB, col -34.04dB, duration 48144 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.80dB, row -4.77dB, col -4.77dB, duration 48246 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.92dB, row -5.02dB, col -5.03dB, duration 48348 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [4] > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [INFO] switch_channel.c:512 RECV DTMF 4:2000 > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.133730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.14dB, row -5.55dB, col -5.42dB, duration 102 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.133730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.77dB, row -4.66dB, col -4.80dB, duration 204 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.153730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.25dB, row -5.70dB, col -5.63dB, duration 306 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.173727 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.79dB, row -4.84dB, col -4.70dB, duration 408 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.173727 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.92dB, row -5.00dB, col -5.05dB, duration 510 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.193720 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.11dB, row -7.36dB, col -7.35dB, duration 612 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.213719 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [4], duration = 89 ms > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.313724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.95dB, row -7.12dB, col -7.00dB, duration 918 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.333719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.10dB, row -5.44dB, col -5.32dB, duration 1020 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.99dB, row -5.15dB, col -5.16dB, duration 1122 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [8] > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [INFO] switch_channel.c:512 RECV DTMF 8:2000 > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.85dB, row -4.84dB, col -4.94dB, duration 102 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.373724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.90dB, row -5.02dB, col -4.93dB, duration 204 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.393724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.98dB, row -5.22dB, col -5.11dB, duration 306 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.393724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.11dB, row -5.32dB, col -5.43dB, duration 408 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.413724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.09dB, row -5.33dB, col -5.39dB, duration 510 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.413724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially * - total -13.19dB, row -24.69dB, col -24.21dB, duration 612 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.433724 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [8], duration = 89 ms > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.473724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -9.05dB, row -17.46dB, col -17.13dB, duration 306 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.12dB, col -5.12dB, duration 408 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.96dB, row -5.16dB, col -5.06dB, duration 510 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [INFO] switch_channel.c:512 RECV DTMF 9:2000 > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.513724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -8.91dB, row -16.92dB, col -17.15dB, duration 102 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.533724 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 25 ms > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.553724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -5.06dB, row -9.31dB, col -9.33dB, duration 204 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.98dB, row -5.04dB, col -5.19dB, duration 306 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.93dB, row -5.14dB, col -4.99dB, duration 408 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [INFO] switch_channel.c:512 RECV DTMF 9:2000 > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.593730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.02dB, row -5.28dB, col -5.20dB, duration 102 - hit > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.593730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -11.08dB, row -21.34dB, col -21.19dB, duration 204 - miss > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.613728 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 38 ms > > this time I dialed the same menu and dialed 4 and got invalid entry (which digit I dial to cause the intermittent failure seems to be nearly any digit): > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] switch_core_media.c:4485 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 recv payload to 101 > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d parsing [public->dtmf-type] continue=true > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Regex (PASS) [dtmf-type] () =~ // break=on-false > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(dtmf_verbose=true) > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_threshold=-42) > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_twist=8) > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_reverse_twist=6) > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action spandsp_start_dtmf() > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(dtmf_verbose=true) > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [dtmf_verbose]=[true] > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_threshold=-42) > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_threshold]=[-42] > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_twist=8) > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_twist]=[8] > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_reverse_twist=6) > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_reverse_twist]=[6] > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] switch_core_session.c:2628 Application spandsp_start_dtmf Requires media! pre_answering channel sofia/internal/541xxxyyyy at a.b.c.d > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6332 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6339 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf receive payload to 101 > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6362 sofia/internal/541xxxyyyy at a.b.c.d Set rtp dtmf delay to 40 > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d spandsp_start_dtmf() > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.593744 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.41dB, row -8.03dB, col -8.02dB, duration 32538 - miss > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.593744 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.73dB, row -4.71dB, col -4.59dB, duration 32640 - hit > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.693734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.19dB, row -7.59dB, col -7.55dB, duration 33354 - miss > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.25dB, row -5.68dB, col -5.62dB, duration 33456 - hit > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.76dB, row -4.65dB, col -4.79dB, duration 33558 - hit > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [4] > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [INFO] switch_channel.c:512 RECV DTMF 4:2000 > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.733724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.18dB, row -5.61dB, col -5.47dB, duration 102 - hit > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 4:800 > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [INFO] switch_channel.c:512 RECV DTMF 4:800 > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.76dB, row -6.65dB, col -6.69dB, duration 204 - hit > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.793718 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [4], duration = 51 ms > > Whenever I have problems with duplicate digits as in the later example above I always get a line with switch_rtp.c like this: > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 4:800 > > If one of the switch_rtp lines does not show up in the output put that it RECV DTMF the DTMF is recognized properly. > > Is there an option that I can set to tell the switch_rtp.c to ignore receiving DTMF? > > I do not know happens that causes some calls to work and some calls to not work. > > I was not sure if when it is intermittent (sometimes 80% get duplicate DTMF, sometimes only 20% get duplicate DTMF) what else to try. > > I saw this: > https://freeswitch.org/confluence/display/FREESWITCH/RTP+Issues > and was not sure if this applied?or where options like: > > Were supposed to be placed in the dial plan to get these in the right place. Is this part of the options before you invoke action=spandsp_start_dtmf > > Thanks in advance for any help you can provide. > > Jeff > -.-. --.- -.. . -.- . --... --.- -.-- ..- > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/8ab904c9/attachment-0001.html From mike at jerris.com Sat Sep 3 20:15:54 2016 From: mike at jerris.com (Michael Jerris) Date: Sat, 3 Sep 2016 12:15:54 -0400 Subject: [Freeswitch-users] bgapi with two commands one by one In-Reply-To: <57CAF425.3030308@dwide.com> References: <57CAF425.3030308@dwide.com> Message-ID: How are you running api commands, there might be a way to do it like you are saying. That being said, originate command finishes not when the call ends, but when we relieve media from the other end, or depending on settings sometimes even sooner. You probably want to look at api_hangup_hook On Saturday, September 3, 2016, Dmitry Mordovin wrote: > Hello > > I want to execute two commands with bgapi, but can't find solution in > FreeSWITCH manual or google. > > bgapi expand originate > [origination_caller_ > id_name='test']sofia/gateway/first_supplier/12345 at first_ > supplier|[origination_caller_id_name='test']sofia/gateway/ > second_supplier/12345 at second_supplier > 00294539; curl http://127.0.0.1/cgi?e=originate_done > > I want command 'curl' to be executed after 'originate' done (call > disconnected). > Like linux shell can run commands one by one, just separate with ';' > > Is it possible? If so, how can I do it? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/1c41703a/attachment.html From s.safarov at gmail.com Sat Sep 3 20:49:25 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 03 Sep 2016 16:49:25 +0000 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: <7f8e3b3a-5a59-cdc8-c5a7-b399916f4279@redvoiss.net> References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> <7f8e3b3a-5a59-cdc8-c5a7-b399916f4279@redvoiss.net> Message-ID: Default freeswitch is compiled with freeradius-client 1.1.6 version. This version has several bugs fixed in 1.1.7. Please recompile FreeSwitch with 1.1.7 radius lib and also check that iptables and selinux is disables. http://freeradius.org/freeradius-client/ ??, 3 ????. 2016 ?. ? 19:04, Juan Pablo Godoy : > Hello, > > I'm sorry to bother everyone with these mails, but I'm discovering > things (I'm completely new in Freeswitch) and probably this will help > someone in the future. The problem is not caused by DNS at all. The > reverse resolv it's used by Radius client just for logging purposes. I > gave a FQDN to each Radius and the report changed to: > > "freeswitch: rc_send_server: no reply from RADIUS server FQDN:1646, > XXX.XXX.XXX.XXX" > > After that I increased the amount of retries in mod_xml_radius and then > my Radius server (BTW is a Radiator) logged messages like the next one: > > "INFO: Duplicate request id 53 received from XXX.XXX.XXX.XX(42430): > retransmit reply" > > If I run tcpdump in my Freeswitch server I can see every reply > retransmited from the Radius server. It looks like that Radius Client > can't process those replies. > > What else can I check? > > Regards, > > On 02-09-2016 14:20, Juan Pablo Godoy wrote: > > > > Hello, > > > > I was wrong yesterday Sergey, as you say the problem could be related > > to reverse resolv. > > > > I've discovered that in Debian those errors are reported in > > /var/log/users.log and that the problem perhaps is the rate of calls, > > therefore could be related to the rate that my system tries to do the > > reverse resolv. > > > > I don't think the problem is my DNS server, anyway right now I'm using > > google's DNS with the same results. > > > > What could be limiting that rate? Is there a way to fix it? > > > > Best Regards, > > Juan Pablo Godoy. > > > > On 01-09-2016 12:50, Juan Pablo Godoy wrote: > >> > >> Hello Sergey, > >> > >> Thank you very much for your help. > >> > >> Please correct me if I'm wrong, but I don't think this is related to > >> my DNS because my configuration don't use hostnames. Besides now that > >> I'm using Debian I don't see those "look up" message anymore. > >> > >> Best Regards, > >> Juan Pablo Godoy. > >> > >> On 01-09-2016 10:57, Sergey Safarov wrote: > >>> > >>> It is look like DNS not return reverse resolv results. > >>> Please check DNS requests and responses. > >>> > >>> > >>> On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy >>> > wrote: > >>> > >>> Hello, > >>> > >>> Can anybody help me please? > >>> > >>> During this week I changed from CentOS 7 to Debian 8.5 and I > >>> still have the same problem. Honestly I don't know what to do > >>> anymore. > >>> > >>> Regards, > >>> Juan Pablo Godoy. > >>> > >>> On 19-08-2016 15:00, Juan Pablo Godoy wrote: > >>>> Hello Everybody, > >>>> > >>>> I'm new using Freeswitch and now I'm implementing it as a B2BUA > >>>> using Radius (using the module mod_xml_radius) for Accounting > >>>> and Authentication. Everything work OK until freeswitch has > >>>> more than 260 simultaneous calls, after that the cli shows > >>>> errors: > >>>> > >>>> 2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046 > >>>> mod_xml_radius: Accounting Stop failed > >>>> 2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109 > >>>> mod_xml_radius: Failed to authenticate, authentication result: 1 > >>>> > >>>> Meanwhile, the messages file shows the following errors: > >>>> > >>>> rc_ip_hostname: couldn't look up host by addr: "HEXAIPADRRESS" > >>>> rc_send_server: no reply from RADIUS server unknown:1646, > >>>> "IPADDRESS" > >>>> > >>>> It looks like it's timeout, however my Radius server is > >>>> responding OK to another server's requests. > >>>> > >>>> I'm using Freeswitch 1.6.9 compiled from source. > >>>> > >>>> Best Regards, > >>>> Juan Pablo Godoy. > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/a4c586bc/attachment.html From d.mordovin at dwide.com Sat Sep 3 21:47:39 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Sat, 03 Sep 2016 21:47:39 +0400 Subject: [Freeswitch-users] bgapi with two commands one by one In-Reply-To: <57CAF425.3030308@dwide.com> References: <57CAF425.3030308@dwide.com> Message-ID: <57CB0CBB.8020000@dwide.com> Hello I want to execute two commands with bgapi, but can't find solution in FreeSWITCH manual or google. bgapi expand originate [origination_caller_id_name='test']sofia/gateway/first_supplier/12345 at first_supplier|[origination_caller_id_name='test']sofia/gateway/second_supplier/12345 at second_supplier 00294539; curl http://127.0.0.1/cgi?e=originate_done I want command 'curl' to be executed after 'originate' done (call disconnected). Like linux shell can run commands one by one, just separate with ';' Is it possible? If so, how can I do it? From d.mordovin at dwide.com Sat Sep 3 22:01:22 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Sat, 03 Sep 2016 22:01:22 +0400 Subject: [Freeswitch-users] bgapi with two commands one by one In-Reply-To: <57CAF425.3030308@dwide.com> References: <57CAF425.3030308@dwide.com> Message-ID: <57CB0FF2.2080607@dwide.com> I run command from ESL, connect to 8021 port and send command. I know about api_hangup_hook, in my case it will fire two times for each call (if first supplier fail) But I want event when originate complete done, to be sure no one tries to call any more. ---------------------- How are you running api commands, there might be a way to do it like you are saying. That being said, originate command finishes not when the call ends, but when we relieve media from the other end, or depending on settings sometimes even sooner. You probably want to look at api_hangup_hook On 09/03/2016 08:02 PM, Dmitry Mordovin wrote: > Hello > > I want to execute two commands with bgapi, but can't find solution in > FreeSWITCH manual or google. > > bgapi expand originate > [origination_caller_id_name='test']sofia/gateway/first_supplier/12345 at first_supplier|[origination_caller_id_name='test']sofia/gateway/second_supplier/12345 at second_supplier > 00294539; curl http://127.0.0.1/cgi?e=originate_done > > I want command 'curl' to be executed after 'originate' done (call > disconnected). > Like linux shell can run commands one by one, just separate with ';' > > Is it possible? If so, how can I do it? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/b430a1d4/attachment-0001.html From devang.nathwani31589 at gmail.com Sat Sep 3 22:04:29 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Sat, 3 Sep 2016 23:34:29 +0530 Subject: [Freeswitch-users] SDP from public to private network, no audio In-Reply-To: References: Message-ID: Have tried using this steps, changed somewhat as per opensips config; http://saevolgo.blogspot.in/2012/03/making-rtpproxy-work.html?m=1 But no luck, now trying this; http://opensips.org/pipermail/users/2011-January/016130.html Till now, call is establishing but no audio from either side On Sep 3, 2016 7:11 PM, "Aqs Younas" wrote: > How are you starting rtpproxy? > On Sep 3, 2016 1:18 PM, "devang nathwani" > wrote: > > > > > > I know it may be out of scope but nevertheless > > I want to route the call from opensips to freeswitch but the opensips is > on public Network and freeswitch servers are on private network so SDP is > not directly travelling from opensips public network to freeswitch private > network and there is no audio during the call > > To achieve this I am using RTP proxy > > I want to know how exactly bind the public IP to private IP using rtp > proxy, I am missing some configuration I have tried many links but no luck > yet > > If anybody would suggest any opensips configurations, links to refer, > other way out of this to achieve this; it would be helpful > > > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160903/2ec8a911/attachment.html From jpgodoy at redvoiss.net Sat Sep 3 23:16:07 2016 From: jpgodoy at redvoiss.net (Juan Pablo Godoy) Date: Sat, 3 Sep 2016 16:16:07 -0300 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> <7f8e3b3a-5a59-cdc8-c5a7-b399916f4279@redvoiss.net> Message-ID: Thank you Sergey, I'll try that the next Monday. Is it necessary a different process to compile Freeradius Client? I know FreeSwitch by default uses the directory "../../../../libs/freeradius-client-1.1.6" and patches the file config.c Best Regards and thank you again for your help. Juan Pablo Godoy. On 03-09-2016 13:49, Sergey Safarov wrote: > Default freeswitch is compiled with freeradius-client 1.1.6 version. > This version has several bugs fixed in 1.1.7. > Please recompile FreeSwitch with 1.1.7 radius lib and also check that > iptables and selinux is disables. > > http://freeradius.org/freeradius-client/ > > ??, 3 ????. 2016 ?. ? 19:04, Juan Pablo Godoy >: > > Hello, > > I'm sorry to bother everyone with these mails, but I'm discovering > things (I'm completely new in Freeswitch) and probably this will help > someone in the future. The problem is not caused by DNS at all. The > reverse resolv it's used by Radius client just for logging purposes. I > gave a FQDN to each Radius and the report changed to: > > "freeswitch: rc_send_server: no reply from RADIUS server FQDN:1646, > XXX.XXX.XXX.XXX" > > After that I increased the amount of retries in mod_xml_radius and > then > my Radius server (BTW is a Radiator) logged messages like the next > one: > > "INFO: Duplicate request id 53 received from XXX.XXX.XXX.XX(42430): > retransmit reply" > > If I run tcpdump in my Freeswitch server I can see every reply > retransmited from the Radius server. It looks like that Radius Client > can't process those replies. > > What else can I check? > > Regards, > > On 02-09-2016 14:20, Juan Pablo Godoy wrote: > > > > Hello, > > > > I was wrong yesterday Sergey, as you say the problem could be > related > > to reverse resolv. > > > > I've discovered that in Debian those errors are reported in > > /var/log/users.log and that the problem perhaps is the rate of > calls, > > therefore could be related to the rate that my system tries to > do the > > reverse resolv. > > > > I don't think the problem is my DNS server, anyway right now I'm > using > > google's DNS with the same results. > > > > What could be limiting that rate? Is there a way to fix it? > > > > Best Regards, > > Juan Pablo Godoy. > > > > On 01-09-2016 12:50, Juan Pablo Godoy wrote: > >> > >> Hello Sergey, > >> > >> Thank you very much for your help. > >> > >> Please correct me if I'm wrong, but I don't think this is > related to > >> my DNS because my configuration don't use hostnames. Besides > now that > >> I'm using Debian I don't see those "look up" message anymore. > >> > >> Best Regards, > >> Juan Pablo Godoy. > >> > >> On 01-09-2016 10:57, Sergey Safarov wrote: > >>> > >>> It is look like DNS not return reverse resolv results. > >>> Please check DNS requests and responses. > >>> > >>> > >>> On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy > > >>> >> > wrote: > >>> > >>> Hello, > >>> > >>> Can anybody help me please? > >>> > >>> During this week I changed from CentOS 7 to Debian 8.5 and I > >>> still have the same problem. Honestly I don't know what to do > >>> anymore. > >>> > >>> Regards, > >>> Juan Pablo Godoy. > >>> > >>> On 19-08-2016 15:00, Juan Pablo Godoy wrote: > >>>> Hello Everybody, > >>>> > >>>> I'm new using Freeswitch and now I'm implementing it as a > B2BUA > >>>> using Radius (using the module mod_xml_radius) for Accounting > >>>> and Authentication. Everything work OK until freeswitch has > >>>> more than 260 simultaneous calls, after that the cli shows > >>>> errors: > >>>> > >>>> 2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046 > >>>> mod_xml_radius: Accounting Stop failed > >>>> 2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109 > >>>> mod_xml_radius: Failed to authenticate, authentication > result: 1 > >>>> > >>>> Meanwhile, the messages file shows the following errors: > >>>> > >>>> rc_ip_hostname: couldn't look up host by addr: > "HEXAIPADRRESS" > >>>> rc_send_server: no reply from RADIUS server unknown:1646, > >>>> "IPADDRESS" > >>>> > >>>> It looks like it's timeout, however my Radius server is > >>>> responding OK to another server's requests. > >>>> > >>>> I'm using Freeswitch 1.6.9 compiled from source. > >>>> > >>>> Best Regards, > >>>> Juan Pablo Godoy. > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From william at williamcollsassoc.ca Sat Sep 3 23:31:08 2016 From: william at williamcollsassoc.ca (William Colls) Date: Sat, 3 Sep 2016 15:31:08 -0400 Subject: [Freeswitch-users] Building an IVR - Macro not found error In-Reply-To: References: <2FB76069-BF30-4E4E-BF3F-8442CEC7546D@jerris.com> <2912ac7c-c4f4-95f0-2b3c-cb2d0b1834e7@williamcollsassoc.ca> Message-ID: <74888c7e-4283-50f3-da99-6e0269939ce5@williamcollsassoc.ca> Working now. Never overlook "dumb" as possible cause of a problem. I this case it appears that either the macro name or the call to it had a hidden character. renamed the macro, and upated the invocation: problem goes away. Thanks for your help. Where you note "This looks wrong" you are correct. A line was dropped when I copy/pasted the file into the e-mail. On 2016-09-02 11:26 AM, Michael Jerris wrote: >> On Sep 1, 2016, at 8:22 PM, William Colls wrote: >> >> Built from source. My IVR is derived from the demo_ivr, and the macros >> are in a seperate file. ivr and macro files as shown below. >> >> /usr/local/freeswitch/conf/ivr_menus/ourhouse_ivr.xml > this one should be included from /usr/local/freeswitch/conf/autoload_configs/ivr.conf.xml > >> >> > greet-long="phrase:ourhouse_greet_long" >> greet-short="phrase:ourhouse_greet_short" >> invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav" >> exit-sound="voicemail/vm-goodbye.wav" >> confirm-macro="" >> confirm-key="" >> tts-engine="flite" >> tts-voice="rms" >> confirm-attempts="3" >> timeout="10000" >> inter-digit-timeout="2000" >> max-failures="3" >> max-timeouts="3" >> digit-len="4"> >> >> >> >> >> >> >> >> /usr/local/freeswitch/conf/lang/en/ivr/ourhouse_macro.xml > this one should be included from the glob in /usr/local/freeswitch/conf/lang/en/en.xml > >> >> >> >> >> >> > data="/usr/local/freeswitch/recordings/thanks.wav"/> >> > data="ivr/ivr-you_may_exit_by_hanging_up.wav"/> >> >> >> >> >> >> >> >> >> > data="(3 4 3 2000 # ivr/ivr-enter_ext_pound.wav >> /invalid.wav ext_dialed \d+ 500"/> >> >> >> > data="/usr/local/freeswitch/recordings/heather.wav"/> >> >> >> > data="/usr/local/freeswitch/recordings/contact.wav"/> >> >> > data="/usr/local/freeswitch/recordings/replay.wav"/> >> >> >> >> >> >> >> >> >> On 2016-09-01 06:28 PM, Michael Jerris wrote: >>> installing from source or packages? What file are you editing exactly and what have you added to it and where? >>> >>>> On Sep 1, 2016, at 6:21 PM, William Colls wrote: >>>> >>>> Freeswitch 1.6.9 >>>> >>>> debian Jessie 64 bit platform. >>>> >>>> New to Freeswitch and trying to build a small IVR. I am getting an error >>>> when it tries to execute a phrase macro. >>>> >>>> From looking at freeswitch.xml.fsxml it appears that the macro is >>>> loaded (reloadxml produces no errors). >>>> >>>> When I call into the switch, I can see the call being answered, and my >>>> IVR is picked, up and executes with out error until switch_ivr_play >>>> tries to play the macro. It then generates the error message "Can't find >>>> macro ourhouse_greet_long". Just before the error occurs, I get a debug >>>> message "No language specified - Using [en]". >>>> >>>> If I substitute one of the Demo IVR macros for ourhouse_greet_long, it >>>> will be executed with out error. >>>> >>>> The file containing macro is located in >>>> /usr/local/freeswitch/conf/lang/en/ivr. >>>> >>>> So what have I done wrong? Any help appreciated. I can provide more >>>> detail if needed. >>>> >>>> Thanks for your time. >>>> >>>> William. >>>> >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mike at jerris.com Sun Sep 4 08:06:28 2016 From: mike at jerris.com (Michael Jerris) Date: Sun, 4 Sep 2016 00:06:28 -0400 Subject: [Freeswitch-users] bgapi with two commands one by one In-Reply-To: <57CB0FF2.2080607@dwide.com> References: <57CAF425.3030308@dwide.com> <57CB0FF2.2080607@dwide.com> Message-ID: set the hangup hook just on the a leg On Saturday, September 3, 2016, Dmitry Mordovin wrote: > I run command from ESL, connect to 8021 port and send command. > > I know about api_hangup_hook, in my case it will fire two times for each > call (if first supplier fail) > But I want event when originate complete done, to be sure no one tries to > call any more. > > > ---------------------- > How are you running api commands, there might be a way to do it like you > are saying. That being said, originate command finishes not when the call > ends, but when we relieve media from the other end, or depending on > settings sometimes even sooner. You probably want to look at > api_hangup_hook > > > > On 09/03/2016 08:02 PM, Dmitry Mordovin wrote: > > Hello > > I want to execute two commands with bgapi, but can't find solution in > FreeSWITCH manual or google. > > bgapi expand originate fail=true>[origination_caller_id_name='test']sofia/gateway/ > first_supplier/12345 at first_supplier|[origination_caller_ > id_name='test']sofia/gateway/second_supplier/12345 at second_supplier > 00294539; curl http://127.0.0.1/cgi?e=originate_done > > I want command 'curl' to be executed after 'originate' done (call > disconnected). > Like linux shell can run commands one by one, just separate with ';' > > Is it possible? If so, how can I do it? > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/3651fa9f/attachment.html From s.safarov at gmail.com Sun Sep 4 08:29:38 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 04 Sep 2016 04:29:38 +0000 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> <7f8e3b3a-5a59-cdc8-c5a7-b399916f4279@redvoiss.net> Message-ID: ??, 3 ????. 2016 ?. ? 22:17, Juan Pablo Godoy : > Is it necessary a different process to compile Freeradius Client? I know > FreeSwitch by default uses the directory > "../../../../libs/freeradius-client-1.1.6" and patches the file config.c > I am not full understand "different process to compile Freeradius Client". Default FreeSwitch makefiles wrote to statically link with freeradius-client lib. Required to patch this makefiles. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/cba2f0c3/attachment.html From bipin at xbipin.com Sun Sep 4 17:24:21 2016 From: bipin at xbipin.com (Bipin Patel) Date: Sun, 4 Sep 2016 17:24:21 +0400 Subject: [Freeswitch-users] week day and time condition possible bug Message-ID: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/71467202/attachment.html From krice at freeswitch.org Sun Sep 4 17:35:09 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 4 Sep 2016 08:35:09 -0500 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> Message-ID: <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> Its a misconfig you are specifying only 1 second where the first condition can fire 0 thru 0 is just 0 Sent from my iPhone > On Sep 4, 2016, at 8:24 AM, Bipin Patel wrote: > > i found one bug today relating to conditions where day and date are used, just wanted to confirm if its a bug or a misconfig > > i have a condition as below > > > > > > what this does is if its a Sunday to Monday morning then set out-prefix variable to 777 but even though being a Sunday this always parses as fail unless i set wday to 1 and time-of-day to 00:00:00-23:59:59 > > the reason i use the above is because i have more conditions which r as follows > > > > > > > > > > -- > Regards, > Bipin > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/8f33a6cd/attachment.html From bipin at xbipin.com Sun Sep 4 17:45:07 2016 From: bipin at xbipin.com (Bipin Patel) Date: Sun, 4 Sep 2016 17:45:07 +0400 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/f6b70082/attachment-0001.html From krice at freeswitch.org Sun Sep 4 18:14:44 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 4 Sep 2016 09:14:44 -0500 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> Message-ID: <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> No it tells it second 0 to second 0 on days days 1 and 2 Sent from my iPhone > On Sep 4, 2016, at 8:45 AM, Bipin Patel wrote: > > but doesnt specifying 1-2 as weekday tell it Sunday 0 to Monday 0 > > > Regards, > Bipin > > > -------- Original Message -------- > Subject: Re: [Freeswitch-users] week day and time condition possible bug > From: Ken Rice > To: FreeSWITCH Users Help > Date: 9/4/2016, 5:35:09 PM >> Its a misconfig you are specifying only 1 second where the first condition can fire 0 thru 0 is just 0 >> >> Sent from my iPhone >> >> On Sep 4, 2016, at 8:24 AM, Bipin Patel wrote: >> >>> i found one bug today relating to conditions where day and date are used, just wanted to confirm if its a bug or a misconfig >>> >>> i have a condition as below >>> >>> >>> >>> >>> >>> what this does is if its a Sunday to Monday morning then set out-prefix variable to 777 but even though being a Sunday this always parses as fail unless i set wday to 1 and time-of-day to 00:00:00-23:59:59 >>> >>> the reason i use the above is because i have more conditions which r as follows >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> Regards, >>> Bipin >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/9037d4d9/attachment.html From bipin at xbipin.com Sun Sep 4 18:35:36 2016 From: bipin at xbipin.com (Bipin Patel) Date: Sun, 4 Sep 2016 18:35:36 +0400 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> Message-ID: <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/02f8ee54/attachment-0001.html From krice at freeswitch.org Sun Sep 4 19:14:25 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 4 Sep 2016 10:14:25 -0500 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> Message-ID: Ok lets try to make sense of this. The time-of-day matching in your initial email >> happens in 2 stages... stage 1) does wday fall in the range of 1-2 wday="1-2" wdaymin = 1 wdayamx = 2 so does if (today >= wday-min || today <= wday-max).... if you set this for 0-0 or 1-1 then only day 0 or only day 1 would match. Now the above example is simplified psuedo code just for the sake of explanation... The time-of-day matching works similarly... after the value for the time of day field is parsed the following if statement (actually taken from the code) happens if (range_start <= range_end ? (val >= range_start && val <= range_end) : (val >= range_start || val <= range_end)) { ... } so this allos for the range_end to be a lower value... however the same thing happens does the current time val fall in the range of times... so if you set the start and the end time to 00:00:00 the only time it will match is 00:00:00. lets reduce this for the sake of simplicity from the long date to just seconds of the day... 00:00:00 == second 0 for the day... so range start is <= range_end (in fact its 0) so ... we'll do the true half of the expression?true:false statement there... if (val >= range_start && val <= range_end) where val is the current number of seconds into today... so you have told it that the only range that can match is 0 thru 0 inclusive... how can any other time match... so in your example there are only 2 times that will match 00:00:00 on day 1 and 00:00:00 on day 2... the proper way to include an entire day is 00:00:00-23:59:59 which covers all possible seconds in a range On Sun, Sep 4, 2016 at 9:35 AM, Bipin Patel wrote: > well but if u follow the guide of wrap around time similar to my 3rd > condition then doesnt it need to be true or does it only work when 'a' hour > is higher than 'b' in a "a-b" time span because if u specify a range of > "05:00-05:00" then this would also be zero even though u set a weekday of > "1-2" > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] week day and time condition possible bug > From: Ken Rice > To: FreeSWITCH Users Help > > Date: 9/4/2016, 6:14:44 PM > > No it tells it second 0 to second 0 on days days 1 and 2 > > > > Sent from my iPhone > > On Sep 4, 2016, at 8:45 AM, Bipin Patel wrote: > > but doesnt specifying 1-2 as weekday tell it Sunday 0 to Monday 0 > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] week day and time condition possible bug > From: Ken Rice > To: FreeSWITCH Users Help > > Date: 9/4/2016, 5:35:09 PM > > Its a misconfig you are specifying only 1 second where the first condition > can fire 0 thru 0 is just 0 > > Sent from my iPhone > > On Sep 4, 2016, at 8:24 AM, Bipin Patel wrote: > > i found one bug today relating to conditions where day and date are used, > just wanted to confirm if its a bug or a misconfig > > i have a condition as below > > > > > > what this does is if its a Sunday to Monday morning then set out-prefix > variable to 777 but even though being a Sunday this always parses as fail > unless i set wday to 1 and time-of-day to 00:00:00-23:59:59 > > the reason i use the above is because i have more conditions which r as > follows > > > > > > > > > > -- > Regards, > Bipin > > > ------------------------------ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/5063154e/attachment.html From bipin at xbipin.com Sun Sep 4 19:33:02 2016 From: bipin at xbipin.com (Bipin Patel) Date: Sun, 4 Sep 2016 19:33:02 +0400 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/fda647fb/attachment-0001.html From krice at freeswitch.org Sun Sep 4 20:08:31 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 4 Sep 2016 11:08:31 -0500 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> Message-ID: <87ADB87D-7BD3-4A46-84F8-4EDB14661D7D@freeswitch.org> Wrong there is no wrap around time.. There is only ranges of time on a day... Look back at the code i pasted again. If start time > end time then we check to see if current time < end time OR > start time again i. Seconds and for symplicity we'll use just 60 of them If the rand is 45 through 15 then we do the false part of the exp?true:false which is (val >= range_start || val <= range_end) So now start is 45 and end is 15 so we look for the time to >= 45 or <= 15 again on day 1 or day 2 assuming wday="1-2" So there is no "wrap around time" there is no wday=1-2" and timeofday="9p-5a" and an expectation of that only working from 9p on day 1 to 9p on day 2 thats day 1 from 00:00 to 05:00 and from 21:00 til 23:59:59 then the same thing on day 2. Sent from my iPhone > On Sep 4, 2016, at 10:33 AM, Bipin Patel wrote: > > thanks for the detailed explanation :) > > so what i make of this is if u use a wrap around time or u want full 24 hours either in same day or across days then u need to set one second lower so "5:00-5:00" should actually be "5:00:00-4:59:59" which would be 5am from today to 4:59:59am tomorrow and same goes for "00:00:00-00:00:00" which should be "00:00:00-23:59:59" > > now same if u combine with wday then again u need to specify a second lower in the max time for it to work properly if the start and end time is set same or it will read it as 0 > > > Regards, > Bipin > > > -------- Original Message -------- > Subject: Re: [Freeswitch-users] week day and time condition possible bug > From: Ken Rice > To: FreeSWITCH Users Help > Date: 9/4/2016, 7:14:25 PM >> Ok lets try to make sense of this. >> >> The time-of-day matching in your initial email >> >> >> >> happens in 2 stages... stage 1) does wday fall in the range of 1-2 >> wday="1-2" >> wdaymin = 1 >> wdayamx = 2 >> so does if (today >= wday-min || today <= wday-max).... if you set this for 0-0 or 1-1 then only day 0 or only day 1 would match. Now the above example is simplified psuedo code just for the sake of explanation... >> >> The time-of-day matching works similarly... after the value for the time of day field is parsed the following if statement (actually taken from the code) happens >> >> if (range_start <= range_end ? (val >= range_start && val <= range_end) : (val >= range_start || val <= range_end)) { ... } >> >> so this allos for the range_end to be a lower value... however the same thing happens does the current time val fall in the range of times... so if you set the start and the end time to 00:00:00 the only time it will match is 00:00:00. lets reduce this for the sake of simplicity from the long date to just seconds of the day... 00:00:00 == second 0 for the day... so >> >> >> range start is <= range_end (in fact its 0) so ... we'll do the true half of the expression?true:false statement there... >> if (val >= range_start && val <= range_end) where val is the current number of seconds into today... >> >> so you have told it that the only range that can match is 0 thru 0 inclusive... how can any other time match... >> >> so in your example there are only 2 times that will match 00:00:00 on day 1 and 00:00:00 on day 2... >> >> the proper way to include an entire day is 00:00:00-23:59:59 which covers all possible seconds in a range > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/a80dc14f/attachment.html From bipin at xbipin.com Sun Sep 4 20:38:09 2016 From: bipin at xbipin.com (Bipin Patel) Date: Sun, 4 Sep 2016 20:38:09 +0400 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: <87ADB87D-7BD3-4A46-84F8-4EDB14661D7D@freeswitch.org> References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> <87ADB87D-7BD3-4A46-84F8-4EDB14661D7D@freeswitch.org> Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/b9a4b672/attachment-0001.html From krice at freeswitch.org Sun Sep 4 23:05:40 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 4 Sep 2016 14:05:40 -0500 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> <87ADB87D-7BD3-4A46-84F8-4EDB14661D7D@freeswitch.org> Message-ID: <23F1400B-8FFA-4B07-9A44-18963FAF98F6@freeswitch.org> If you specified 5pm to 5pm it would only fire on the 1 second that is 5 pm as anything else would not match today is not sept 4, 2016 from 00:00:00 until 00:00:00 it is sept 4 2016 from 00:00:00 until 23:59:59 after that we either restarted the day oe went to another day Sent from my iPhone > On Sep 4, 2016, at 11:38 AM, Bipin Patel wrote: > > ok so logically in code u dont see it as wrap around so 9pm to 5am would be 0am to 5am and 9pm to 0am and if days 1-2 then on both days because the code evaluate on a per day basis rather than across multiple days and applies the same to the day1 and day2. > > do u still agree the to time needs to be one second shorter than the from time for the code to evaluate it properly or else 5pm-5pm would result in 0 and the way to specify full 24 hrs needs to be 5pm-4:59pm > > > Regards, > Bipin > > > -------- Original Message -------- > Subject: Re: [Freeswitch-users] week day and time condition possible bug > From: Ken Rice > To: FreeSWITCH Users Help > Date: 9/4/2016, 8:08:31 PM >> Wrong there is no wrap around time.. There is only ranges of time on a day... >> >> Look back at the code i pasted again. >> >> If start time > end time then we check to see if current time < end time OR > start time again i. Seconds and for symplicity we'll use just 60 of them >> >> If the rand is 45 through 15 then we do the false part of the exp?true:false which is (val >= range_start || val <= range_end) >> >> So now start is 45 and end is 15 so we look for the time to >= 45 or <= 15 again on day 1 or day 2 assuming wday="1-2" >> >> So there is no "wrap around time" there is no wday=1-2" and timeofday="9p-5a" and an expectation of that only working from 9p on day 1 to 9p on day 2 thats day 1 from 00:00 to 05:00 and from 21:00 til 23:59:59 then the same thing on day 2. >> >> >> >> Sent from my iPhone >> >> On Sep 4, 2016, at 10:33 AM, Bipin Patel wrote: >> >>> thanks for the detailed explanation :) >>> >>> so what i make of this is if u use a wrap around time or u want full 24 hours either in same day or across days then u need to set one second lower so "5:00-5:00" should actually be "5:00:00-4:59:59" which would be 5am from today to 4:59:59am tomorrow and same goes for "00:00:00-00:00:00" which should be "00:00:00-23:59:59" >>> >>> now same if u combine with wday then again u need to specify a second lower in the max time for it to work properly if the start and end time is set same or it will read it as 0 >>> >>> >>> Regards, >>> Bipin >>> >>> >>> -------- Original Message -------- >>> Subject: Re: [Freeswitch-users] week day and time condition possible bug >>> From: Ken Rice >>> To: FreeSWITCH Users Help >>> Date: 9/4/2016, 7:14:25 PM >>>> Ok lets try to make sense of this. >>>> >>>> The time-of-day matching in your initial email >>>> >> >>>> >>>> happens in 2 stages... stage 1) does wday fall in the range of 1-2 >>>> wday="1-2" >>>> wdaymin = 1 >>>> wdayamx = 2 >>>> so does if (today >= wday-min || today <= wday-max).... if you set this for 0-0 or 1-1 then only day 0 or only day 1 would match. Now the above example is simplified psuedo code just for the sake of explanation... >>>> >>>> The time-of-day matching works similarly... after the value for the time of day field is parsed the following if statement (actually taken from the code) happens >>>> >>>> if (range_start <= range_end ? (val >= range_start && val <= range_end) : (val >= range_start || val <= range_end)) { ... } >>>> >>>> so this allos for the range_end to be a lower value... however the same thing happens does the current time val fall in the range of times... so if you set the start and the end time to 00:00:00 the only time it will match is 00:00:00. lets reduce this for the sake of simplicity from the long date to just seconds of the day... 00:00:00 == second 0 for the day... so >>>> >>>> >>>> range start is <= range_end (in fact its 0) so ... we'll do the true half of the expression?true:false statement there... >>>> if (val >= range_start && val <= range_end) where val is the current number of seconds into today... >>>> >>>> so you have told it that the only range that can match is 0 thru 0 inclusive... how can any other time match... >>>> >>>> so in your example there are only 2 times that will match 00:00:00 on day 1 and 00:00:00 on day 2... >>>> >>>> the proper way to include an entire day is 00:00:00-23:59:59 which covers all possible seconds in a range >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/d22d6658/attachment.html From bipin at xbipin.com Sun Sep 4 23:49:04 2016 From: bipin at xbipin.com (Bipin Patel) Date: Sun, 04 Sep 2016 23:49:04 +0400 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: <23F1400B-8FFA-4B07-9A44-18963FAF98F6@freeswitch.org> References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> <87ADB87D-7BD3-4A46-84F8-4EDB14661D7D@freeswitch.org> <23F1400B-8FFA-4B07-9A44-18963FAF98F6@freeswitch.org> Message-ID: <156f6bf3b98.2787.b07ebdf329620b8089087c7205b03f01@xbipin.com> OK thanks, understood it now. Added some info to confluence about what I learnt On September 4, 2016 11:07:32 PM Ken Rice wrote: > If you specified 5pm to 5pm it would only fire on the 1 second that is 5 pm > as anything else would not match today is not sept 4, 2016 from 00:00:00 > until 00:00:00 it is sept 4 2016 from 00:00:00 until 23:59:59 after that we > either restarted the day oe went to another day > > Sent from my iPhone > >> On Sep 4, 2016, at 11:38 AM, Bipin Patel wrote: >> >> ok so logically in code u dont see it as wrap around so 9pm to 5am would be >> 0am to 5am and 9pm to 0am and if days 1-2 then on both days because the >> code evaluate on a per day basis rather than across multiple days and >> applies the same to the day1 and day2. >> >> do u still agree the to time needs to be one second shorter than the from >> time for the code to evaluate it properly or else 5pm-5pm would result in 0 >> and the way to specify full 24 hrs needs to be 5pm-4:59pm >> >> >> Regards, >> Bipin >> >> >> -------- Original Message -------- >> Subject: Re: [Freeswitch-users] week day and time condition possible bug >> From: Ken Rice >> To: FreeSWITCH Users Help >> Date: 9/4/2016, 8:08:31 PM >>> Wrong there is no wrap around time.. There is only ranges of time on a day... >>> >>> Look back at the code i pasted again. >>> >>> If start time > end time then we check to see if current time < end time OR >>> > start time again i. Seconds and for symplicity we'll use just 60 of them >>> >>> If the rand is 45 through 15 then we do the false part of the >>> exp?true:false which is (val >= range_start || val <= range_end) >>> >>> So now start is 45 and end is 15 so we look for the time to >= 45 or <= 15 >>> again on day 1 or day 2 assuming wday="1-2" >>> >>> So there is no "wrap around time" there is no wday=1-2" and >>> timeofday="9p-5a" and an expectation of that only working from 9p on day 1 >>> to 9p on day 2 thats day 1 from 00:00 to 05:00 and from 21:00 til 23:59:59 >>> then the same thing on day 2. >>> >>> >>> >>> Sent from my iPhone >>> >>> On Sep 4, 2016, at 10:33 AM, Bipin Patel wrote: >>> >>>> thanks for the detailed explanation :) >>>> >>>> so what i make of this is if u use a wrap around time or u want full 24 >>>> hours either in same day or across days then u need to set one second lower >>>> so "5:00-5:00" should actually be "5:00:00-4:59:59" which would be 5am from >>>> today to 4:59:59am tomorrow and same goes for "00:00:00-00:00:00" which >>>> should be "00:00:00-23:59:59" >>>> >>>> now same if u combine with wday then again u need to specify a second lower >>>> in the max time for it to work properly if the start and end >>>> time is set same or it will read it as 0 >>>> >>>> >>>> Regards, >>>> Bipin >>>> >>>> >>>> -------- Original Message -------- >>>> Subject: Re: [Freeswitch-users] week day and time condition possible bug >>>> From: Ken Rice >>>> To: FreeSWITCH Users Help >>>> Date: 9/4/2016, 7:14:25 PM >>>>> Ok lets try to make sense of this. >>>>> >>>>> The time-of-day matching in your initial email >>>>> >> >>>>> >>>>> happens in 2 stages... stage 1) does wday fall in the range of 1-2 >>>>> wday="1-2" >>>>> wdaymin = 1 >>>>> wdayamx = 2 >>>>> so does if (today >= wday-min || today <= wday-max).... if you set this for >>>>> 0-0 or 1-1 then only day 0 or only day 1 would match. Now the above example >>>>> is simplified psuedo code just for the sake of explanation... >>>>> >>>>> The time-of-day matching works similarly... after the value for the time of >>>>> day field is parsed the following if statement >>>>> (actually taken from the code) happens >>>>> >>>>> if (range_start <= range_end ? (val >= range_start && val <= range_end) : >>>>> (val >= range_start || val <= range_end)) { ... } >>>>> >>>>> so this allos for the range_end to be a lower value... however the same >>>>> thing happens does the current time val fall in the range of times... so if >>>>> you set the start and the end time to 00:00:00 the only time it will match >>>>> is 00:00:00. lets reduce this for the sake of simplicity from the long date >>>>> to just seconds of the day... 00:00:00 == second 0 for the day... so >>>>> >>>>> >>>>> range start is <= range_end (in fact its 0) so ... we'll do the true half >>>>> of the expression?true:false statement there... >>>>> if (val >= range_start && val <= range_end) where val is the current >>>>> number of seconds into today... >>>>> >>>>> so you have told it that the only range that can match is 0 thru 0 >>>>> inclusive... how can any other time match... >>>>> >>>>> so in your example there are only 2 times that will match 00:00:00 on day 1 >>>>> and 00:00:00 on day 2... >>>>> >>>>> the proper way to include an entire day is 00:00:00-23:59:59 which covers >>>>> all possible seconds in a range >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/7843914e/attachment-0001.html From steveayre at gmail.com Mon Sep 5 01:43:57 2016 From: steveayre at gmail.com (Steven Ayre) Date: Sun, 4 Sep 2016 22:43:57 +0100 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> Message-ID: > the proper way to include an entire day is 00:00:00-23:59:59 which covers all possible seconds in a range What about 23:59:60? ;) Bipin, if you're matching on the entire day, why do you need the time-of-day attribute at all? wday would be enough on its own. On 4 September 2016 at 16:14, Ken Rice wrote: > Ok lets try to make sense of this. > > The time-of-day matching in your initial email > >> break="never"> > > happens in 2 stages... stage 1) does wday fall in the range of 1-2 > wday="1-2" > wdaymin = 1 > wdayamx = 2 > so does if (today >= wday-min || today <= wday-max).... if you set this > for 0-0 or 1-1 then only day 0 or only day 1 would match. Now the above > example is simplified psuedo code just for the sake of explanation... > > The time-of-day matching works similarly... after the value for the time > of day field is parsed the following if statement (actually taken from the > code) happens > > if (range_start <= range_end ? (val >= range_start && val <= range_end) : > (val >= range_start || val <= range_end)) { ... } > > so this allos for the range_end to be a lower value... however the same > thing happens does the current time val fall in the range of times... so if > you set the start and the end time to 00:00:00 the only time it will match > is 00:00:00. lets reduce this for the sake of simplicity from the long date > to just seconds of the day... 00:00:00 == second 0 for the day... so > > > range start is <= range_end (in fact its 0) so ... we'll do the true half > of the expression?true:false statement there... > if (val >= range_start && val <= range_end) where val is the current > number of seconds into today... > > so you have told it that the only range that can match is 0 thru 0 > inclusive... how can any other time match... > > so in your example there are only 2 times that will match 00:00:00 on day > 1 and 00:00:00 on day 2... > > the proper way to include an entire day is 00:00:00-23:59:59 which covers > all possible seconds in a range > > > > On Sun, Sep 4, 2016 at 9:35 AM, Bipin Patel wrote: > >> well but if u follow the guide of wrap around time similar to my 3rd >> condition then doesnt it need to be true or does it only work when 'a' hour >> is higher than 'b' in a "a-b" time span because if u specify a range of >> "05:00-05:00" then this would also be zero even though u set a weekday of >> "1-2" >> >> >> Regards, >> Bipin >> >> >> ------------------------------ >> -------- Original Message -------- >> Subject: Re: [Freeswitch-users] week day and time condition possible bug >> From: Ken Rice >> To: FreeSWITCH Users Help >> >> Date: 9/4/2016, 6:14:44 PM >> >> No it tells it second 0 to second 0 on days days 1 and 2 >> >> >> >> Sent from my iPhone >> >> On Sep 4, 2016, at 8:45 AM, Bipin Patel wrote: >> >> but doesnt specifying 1-2 as weekday tell it Sunday 0 to Monday 0 >> >> >> Regards, >> Bipin >> >> >> ------------------------------ >> -------- Original Message -------- >> Subject: Re: [Freeswitch-users] week day and time condition possible bug >> From: Ken Rice >> To: FreeSWITCH Users Help >> >> Date: 9/4/2016, 5:35:09 PM >> >> Its a misconfig you are specifying only 1 second where the first >> condition can fire 0 thru 0 is just 0 >> >> Sent from my iPhone >> >> On Sep 4, 2016, at 8:24 AM, Bipin Patel wrote: >> >> i found one bug today relating to conditions where day and date are used, >> just wanted to confirm if its a bug or a misconfig >> >> i have a condition as below >> >> > break="never"> >> >> >> >> what this does is if its a Sunday to Monday morning then set out-prefix >> variable to 777 but even though being a Sunday this always parses as fail >> unless i set wday to 1 and time-of-day to 00:00:00-23:59:59 >> >> the reason i use the above is because i have more conditions which r as >> follows >> >> >> >> >> >> >> >> >> >> -- >> Regards, >> Bipin >> >> >> ------------------------------ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160904/a330992c/attachment.html From bipin at xbipin.com Mon Sep 5 09:49:09 2016 From: bipin at xbipin.com (Bipin Patel) Date: Mon, 5 Sep 2016 09:49:09 +0400 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/7c9bcb2f/attachment-0001.html From krice at freeswitch.org Mon Sep 5 10:02:36 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 5 Sep 2016 01:02:36 -0500 Subject: [Freeswitch-users] week day and time condition possible bug In-Reply-To: References: <008e9aec-60e3-b2c1-f973-117bed3918da@xbipin.com> <91602DFD-3ED7-4916-AD86-6737C624D2FC@freeswitch.org> <431FD595-94EE-4CFB-A5E5-84D80DB45968@freeswitch.org> <7b7bf5df-70e3-07db-ca63-3efe9e398d6a@xbipin.com> Message-ID: If you want to know how something is coded specifically I would suggest reading the source. Its the ultimate documentation Sent from my iPhone > On Sep 5, 2016, at 12:49 AM, Bipin Patel wrote: > > Steven, i could use that if the whole day was to be included but the point was the start and end time being same values was read as 0 so just wanted to know how the logic is coded for this > > > Regards, > Bipin > > > -------- Original Message -------- > Subject: Re: [Freeswitch-users] week day and time condition possible bug > From: Steven Ayre > To: FreeSWITCH Users Help > Date: 9/5/2016, 1:43:57 AM >> > the proper way to include an entire day is 00:00:00-23:59:59 which covers all possible seconds in a range >> >> What about 23:59:60? ;) >> >> Bipin, if you're matching on the entire day, why do you need the time-of-day attribute at all? wday would be enough on its own. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/dcc6f064/attachment.html From yehavi.bourvine at gmail.com Mon Sep 5 10:54:29 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Mon, 5 Sep 2016 09:54:29 +0300 Subject: [Freeswitch-users] Fax receive stopped working on 1.6.10 Message-ID: Hi, After upgrading from 1.6.9 to 1.6.10 fax receive stopped; worse: it informs the other side that the fax has been received, but no file is created. I've filed a JIRA FS-9481 about it. I think I've located the problematic line (mentioned in that ticket). So, if you need fax receive, don't go to 1.6.10... Regards, __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/031007d8/attachment.html From deepikay at iiitd.ac.in Mon Sep 5 14:48:31 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Mon, 5 Sep 2016 16:18:31 +0530 Subject: [Freeswitch-users] Conference Call drops Message-ID: Hi , I am using conference call service of Freeswitch over ESL with 21- 22 members over GSM for around 1 hour. One problem that I am facing is frequent call drops of the connected callers. My program has a logic of redialing a caller in case of disconnection, if the caller is not reachable due to some reason the redial happens three times. I am maintaining sufficient balance to keep 22 channels in parallel and also for the duration of calls. One thing that I am observing which I am not sure to be the cause is when I increased the redial trial to five times, the frequency of call drops increased. Is the dialing attempt count should be taken care for the balance maintenance or there is some other cause ? The Freeswitch logs are of type - CALL REJECTED, USER BUSY Regards, Deepika -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/f691a447/attachment.html From jpgodoy at redvoiss.net Mon Sep 5 18:20:27 2016 From: jpgodoy at redvoiss.net (Juan Pablo Godoy) Date: Mon, 5 Sep 2016 11:20:27 -0300 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> <7f8e3b3a-5a59-cdc8-c5a7-b399916f4279@redvoiss.net> Message-ID: <630fc9ac-9fd0-d3c8-cea6-392a888b1abe@redvoiss.net> OK, I think it was the freeradius client version all the time. I manually downloaded the last FreeRadius-Client version and recompiled xml_mod_radius as Sergey said. If someone needs to fix this problem, just copy the newer FreeRadius-Client directory where the old one is. Then open the makefile inside "/src/mod/xml_int/mod_xml_radius/" and change the variable "RADCLIENT_VERSION" from 1.1.6 to 1.1.7. Thank you to Sergey and Ahmed for your time and help. Best Regards, Juan Pablo Godoy. On 03-09-2016 13:49, Sergey Safarov wrote: > Default freeswitch is compiled with freeradius-client 1.1.6 version. > This version has several bugs fixed in 1.1.7. > Please recompile FreeSwitch with 1.1.7 radius lib and also check that > iptables and selinux is disables. > > http://freeradius.org/freeradius-client/ > > ??, 3 ????. 2016 ?. ? 19:04, Juan Pablo Godoy >: > > Hello, > > I'm sorry to bother everyone with these mails, but I'm discovering > things (I'm completely new in Freeswitch) and probably this will help > someone in the future. The problem is not caused by DNS at all. The > reverse resolv it's used by Radius client just for logging purposes. I > gave a FQDN to each Radius and the report changed to: > > "freeswitch: rc_send_server: no reply from RADIUS server FQDN:1646, > XXX.XXX.XXX.XXX" > > After that I increased the amount of retries in mod_xml_radius and > then > my Radius server (BTW is a Radiator) logged messages like the next > one: > > "INFO: Duplicate request id 53 received from XXX.XXX.XXX.XX(42430): > retransmit reply" > > If I run tcpdump in my Freeswitch server I can see every reply > retransmited from the Radius server. It looks like that Radius Client > can't process those replies. > > What else can I check? > > Regards, > > On 02-09-2016 14:20, Juan Pablo Godoy wrote: > > > > Hello, > > > > I was wrong yesterday Sergey, as you say the problem could be > related > > to reverse resolv. > > > > I've discovered that in Debian those errors are reported in > > /var/log/users.log and that the problem perhaps is the rate of > calls, > > therefore could be related to the rate that my system tries to > do the > > reverse resolv. > > > > I don't think the problem is my DNS server, anyway right now I'm > using > > google's DNS with the same results. > > > > What could be limiting that rate? Is there a way to fix it? > > > > Best Regards, > > Juan Pablo Godoy. > > > > On 01-09-2016 12:50, Juan Pablo Godoy wrote: > >> > >> Hello Sergey, > >> > >> Thank you very much for your help. > >> > >> Please correct me if I'm wrong, but I don't think this is > related to > >> my DNS because my configuration don't use hostnames. Besides > now that > >> I'm using Debian I don't see those "look up" message anymore. > >> > >> Best Regards, > >> Juan Pablo Godoy. > >> > >> On 01-09-2016 10:57, Sergey Safarov wrote: > >>> > >>> It is look like DNS not return reverse resolv results. > >>> Please check DNS requests and responses. > >>> > >>> > >>> On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy > > >>> >> > wrote: > >>> > >>> Hello, > >>> > >>> Can anybody help me please? > >>> > >>> During this week I changed from CentOS 7 to Debian 8.5 and I > >>> still have the same problem. Honestly I don't know what to do > >>> anymore. > >>> > >>> Regards, > >>> Juan Pablo Godoy. > >>> > >>> On 19-08-2016 15:00, Juan Pablo Godoy wrote: > >>>> Hello Everybody, > >>>> > >>>> I'm new using Freeswitch and now I'm implementing it as a > B2BUA > >>>> using Radius (using the module mod_xml_radius) for Accounting > >>>> and Authentication. Everything work OK until freeswitch has > >>>> more than 260 simultaneous calls, after that the cli shows > >>>> errors: > >>>> > >>>> 2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046 > >>>> mod_xml_radius: Accounting Stop failed > >>>> 2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109 > >>>> mod_xml_radius: Failed to authenticate, authentication > result: 1 > >>>> > >>>> Meanwhile, the messages file shows the following errors: > >>>> > >>>> rc_ip_hostname: couldn't look up host by addr: > "HEXAIPADRRESS" > >>>> rc_send_server: no reply from RADIUS server unknown:1646, > >>>> "IPADDRESS" > >>>> > >>>> It looks like it's timeout, however my Radius server is > >>>> responding OK to another server's requests. > >>>> > >>>> I'm using Freeswitch 1.6.9 compiled from source. > >>>> > >>>> Best Regards, > >>>> Juan Pablo Godoy. > >>> > >>> > _________________________________________________________________________ > >>> Professional FreeSWITCH Consulting Services: > >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From italo at freeswitch.org Mon Sep 5 20:34:40 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Mon, 05 Sep 2016 16:34:40 +0000 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: <630fc9ac-9fd0-d3c8-cea6-392a888b1abe@redvoiss.net> References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> <7f8e3b3a-5a59-cdc8-c5a7-b399916f4279@redvoiss.net> <630fc9ac-9fd0-d3c8-cea6-392a888b1abe@redvoiss.net> Message-ID: This should be documented. Can anyone open a pull request? Em seg, 5 de set de 2016 ?s 11:22, Juan Pablo Godoy escreveu: > OK, I think it was the freeradius client version all the time. > > I manually downloaded the last FreeRadius-Client version and recompiled > xml_mod_radius as Sergey said. > > If someone needs to fix this problem, just copy the newer > FreeRadius-Client directory where the old one is. Then open the makefile > inside "/src/mod/xml_int/mod_xml_radius/" and change the variable > "RADCLIENT_VERSION" from 1.1.6 to 1.1.7. > > Thank you to Sergey and Ahmed for your time and help. > > Best Regards, > Juan Pablo Godoy. > > On 03-09-2016 13:49, Sergey Safarov wrote: > > Default freeswitch is compiled with freeradius-client 1.1.6 version. > > This version has several bugs fixed in 1.1.7. > > Please recompile FreeSwitch with 1.1.7 radius lib and also check that > > iptables and selinux is disables. > > > > http://freeradius.org/freeradius-client/ > > > > ??, 3 ????. 2016 ?. ? 19:04, Juan Pablo Godoy > >: > > > > Hello, > > > > I'm sorry to bother everyone with these mails, but I'm discovering > > things (I'm completely new in Freeswitch) and probably this will help > > someone in the future. The problem is not caused by DNS at all. The > > reverse resolv it's used by Radius client just for logging purposes. > I > > gave a FQDN to each Radius and the report changed to: > > > > "freeswitch: rc_send_server: no reply from RADIUS server FQDN:1646, > > XXX.XXX.XXX.XXX" > > > > After that I increased the amount of retries in mod_xml_radius and > > then > > my Radius server (BTW is a Radiator) logged messages like the next > > one: > > > > "INFO: Duplicate request id 53 received from XXX.XXX.XXX.XX(42430): > > retransmit reply" > > > > If I run tcpdump in my Freeswitch server I can see every reply > > retransmited from the Radius server. It looks like that Radius Client > > can't process those replies. > > > > What else can I check? > > > > Regards, > > > > On 02-09-2016 14:20, Juan Pablo Godoy wrote: > > > > > > Hello, > > > > > > I was wrong yesterday Sergey, as you say the problem could be > > related > > > to reverse resolv. > > > > > > I've discovered that in Debian those errors are reported in > > > /var/log/users.log and that the problem perhaps is the rate of > > calls, > > > therefore could be related to the rate that my system tries to > > do the > > > reverse resolv. > > > > > > I don't think the problem is my DNS server, anyway right now I'm > > using > > > google's DNS with the same results. > > > > > > What could be limiting that rate? Is there a way to fix it? > > > > > > Best Regards, > > > Juan Pablo Godoy. > > > > > > On 01-09-2016 12:50, Juan Pablo Godoy wrote: > > >> > > >> Hello Sergey, > > >> > > >> Thank you very much for your help. > > >> > > >> Please correct me if I'm wrong, but I don't think this is > > related to > > >> my DNS because my configuration don't use hostnames. Besides > > now that > > >> I'm using Debian I don't see those "look up" message anymore. > > >> > > >> Best Regards, > > >> Juan Pablo Godoy. > > >> > > >> On 01-09-2016 10:57, Sergey Safarov wrote: > > >>> > > >>> It is look like DNS not return reverse resolv results. > > >>> Please check DNS requests and responses. > > >>> > > >>> > > >>> On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy > > > > >>> >> > > wrote: > > >>> > > >>> Hello, > > >>> > > >>> Can anybody help me please? > > >>> > > >>> During this week I changed from CentOS 7 to Debian 8.5 and I > > >>> still have the same problem. Honestly I don't know what to do > > >>> anymore. > > >>> > > >>> Regards, > > >>> Juan Pablo Godoy. > > >>> > > >>> On 19-08-2016 15:00, Juan Pablo Godoy wrote: > > >>>> Hello Everybody, > > >>>> > > >>>> I'm new using Freeswitch and now I'm implementing it as a > > B2BUA > > >>>> using Radius (using the module mod_xml_radius) for > Accounting > > >>>> and Authentication. Everything work OK until freeswitch has > > >>>> more than 260 simultaneous calls, after that the cli shows > > >>>> errors: > > >>>> > > >>>> 2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046 > > >>>> mod_xml_radius: Accounting Stop failed > > >>>> 2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109 > > >>>> mod_xml_radius: Failed to authenticate, authentication > > result: 1 > > >>>> > > >>>> Meanwhile, the messages file shows the following errors: > > >>>> > > >>>> rc_ip_hostname: couldn't look up host by addr: > > "HEXAIPADRRESS" > > >>>> rc_send_server: no reply from RADIUS server unknown:1646, > > >>>> "IPADDRESS" > > >>>> > > >>>> It looks like it's timeout, however my Radius server is > > >>>> responding OK to another server's requests. > > >>>> > > >>>> I'm using Freeswitch 1.6.9 compiled from source. > > >>>> > > >>>> Best Regards, > > >>>> Juan Pablo Godoy. > > >>> > > >>> > > > _________________________________________________________________________ > > >>> Professional FreeSWITCH Consulting Services: > > >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/a76b10af/attachment-0001.html From david.villasmil.work at gmail.com Mon Sep 5 20:47:50 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 5 Sep 2016 18:47:50 +0200 Subject: [Freeswitch-users] sofia patch to filter sip messages Message-ID: Hello Guys, So I discarded all previous changes and re-worked it all on sofia instead of console. You may want to review changes on https://freeswitch.org/stash/users/davidcsi/repos/freeswitch/compare/diff?targetBranch=refs%2Fheads%2Fmaster&sourceBranch=refs%2Fheads%2Ffeature%2Ftracing_facilities&targetRepoId=46 freeswitch at core> sofia USAGE: -------------------------------------------------------------------------------- sofia filter sofia global siptrace sofia capture watchdog sofia profile [start | stop | restart | rescan] [wait] flush_inbound_reg [ | <[user]@domain>] [reboot] check_sync [ | <[user]@domain>] [register | unregister] [ | all] killgw [stun-auto-disable | stun-enabled] [true | false]] siptrace capture watchdog sofia profile [reg []] | [pres ] | [user ] sofia gateway sofia loglevel [0-9] sofia tracelevel sofia help -------------------------------------------------------------------------------- sofia: freeswitch at core> sofia filter sofia filter is disabled. (sofia filter ) - Enable, disable filtering, set 'filter-expression' to use as filter. Set 'filter-expression' to 'off' to stop filtering Comments are very welcome! The git is on https://freeswitch.org/stash/users/davidcsi/repos/freeswitch/browse?at=refs%2Fheads%2Ffeature%2Ftracing_facilities If possible, please review and comment back. Not sure I should do a PR without someone else reviewing it. Thanks!! David ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/7a3b7b52/attachment.html From trever at middleearth.sapphiresunday.org Mon Sep 5 20:58:20 2016 From: trever at middleearth.sapphiresunday.org (Trever L. Adams) Date: Mon, 5 Sep 2016 10:58:20 -0600 Subject: [Freeswitch-users] [SPAM] Popup on incoming call on FS In-Reply-To: References: Message-ID: <2ed7e9b2-eef4-73ee-67ae-287e3dc0f9d0@middleearth.sapphiresunday.org> On 09/03/2016 12:54 AM, Abhik Biswas wrote: > > I am a recent adopter of FS and sorry if this has been addressed many > times before. > > > > I would like the incoming call on FS pop up screen or update a page > on my desktop. I need to know how this incoming call event can be > captured and the Caller-id be picked up from the same. > > > > Based on the above I am assuming a notification can be sent to the > webpage. > > > > Abhik > You could use mod_cidlookup to trigger the pop-up. If you are using Odoo, https://github.com/treveradams/connector-telephony branches freeswitch-odooversion or logcall-odooversion may have examples. The modules in logcall and freeswitch_click2dial (scripts directory) may have some relevant ideas even if you aren't using Odoo. If you are using mod_verto and not just webrtc, I am sure you can easily do this in other ways, but at least the example client (haven't tried verto communicator) does a pop-up of sorts. Trever -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/4781a9a8/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 872 bytes Desc: OpenPGP digital signature Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/4781a9a8/attachment.bin From s.safarov at gmail.com Mon Sep 5 23:29:15 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 05 Sep 2016 19:29:15 +0000 Subject: [Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client? In-Reply-To: References: <1ed58136-5920-c526-2030-5f28605a5221@redvoiss.net> <51eec601-e585-d0f7-5f38-e57f1b94bfff@redvoiss.net> <7f8e3b3a-5a59-cdc8-c5a7-b399916f4279@redvoiss.net> <630fc9ac-9fd0-d3c8-cea6-392a888b1abe@redvoiss.net> Message-ID: I has opened Jira tiket FS-7575 But I not is developer and not familiar with autoconf make files ??, 5 ????. 2016 ?. ? 19:36, ?talo Rossi : > This should be documented. Can anyone open a pull request? > Em seg, 5 de set de 2016 ?s 11:22, Juan Pablo Godoy > escreveu: > >> OK, I think it was the freeradius client version all the time. >> >> I manually downloaded the last FreeRadius-Client version and recompiled >> xml_mod_radius as Sergey said. >> >> If someone needs to fix this problem, just copy the newer >> FreeRadius-Client directory where the old one is. Then open the makefile >> inside "/src/mod/xml_int/mod_xml_radius/" and change the variable >> "RADCLIENT_VERSION" from 1.1.6 to 1.1.7. >> >> Thank you to Sergey and Ahmed for your time and help. >> >> Best Regards, >> Juan Pablo Godoy. >> >> On 03-09-2016 13:49, Sergey Safarov wrote: >> > Default freeswitch is compiled with freeradius-client 1.1.6 version. >> > This version has several bugs fixed in 1.1.7. >> > Please recompile FreeSwitch with 1.1.7 radius lib and also check that >> > iptables and selinux is disables. >> > >> > http://freeradius.org/freeradius-client/ >> > >> > ??, 3 ????. 2016 ?. ? 19:04, Juan Pablo Godoy > > >: >> > >> > Hello, >> > >> > I'm sorry to bother everyone with these mails, but I'm discovering >> > things (I'm completely new in Freeswitch) and probably this will >> help >> > someone in the future. The problem is not caused by DNS at all. The >> > reverse resolv it's used by Radius client just for logging >> purposes. I >> > gave a FQDN to each Radius and the report changed to: >> > >> > "freeswitch: rc_send_server: no reply from RADIUS server FQDN:1646, >> > XXX.XXX.XXX.XXX" >> > >> > After that I increased the amount of retries in mod_xml_radius and >> > then >> > my Radius server (BTW is a Radiator) logged messages like the next >> > one: >> > >> > "INFO: Duplicate request id 53 received from XXX.XXX.XXX.XX(42430): >> > retransmit reply" >> > >> > If I run tcpdump in my Freeswitch server I can see every reply >> > retransmited from the Radius server. It looks like that Radius >> Client >> > can't process those replies. >> > >> > What else can I check? >> > >> > Regards, >> > >> > On 02-09-2016 14:20, Juan Pablo Godoy wrote: >> > > >> > > Hello, >> > > >> > > I was wrong yesterday Sergey, as you say the problem could be >> > related >> > > to reverse resolv. >> > > >> > > I've discovered that in Debian those errors are reported in >> > > /var/log/users.log and that the problem perhaps is the rate of >> > calls, >> > > therefore could be related to the rate that my system tries to >> > do the >> > > reverse resolv. >> > > >> > > I don't think the problem is my DNS server, anyway right now I'm >> > using >> > > google's DNS with the same results. >> > > >> > > What could be limiting that rate? Is there a way to fix it? >> > > >> > > Best Regards, >> > > Juan Pablo Godoy. >> > > >> > > On 01-09-2016 12:50, Juan Pablo Godoy wrote: >> > >> >> > >> Hello Sergey, >> > >> >> > >> Thank you very much for your help. >> > >> >> > >> Please correct me if I'm wrong, but I don't think this is >> > related to >> > >> my DNS because my configuration don't use hostnames. Besides >> > now that >> > >> I'm using Debian I don't see those "look up" message anymore. >> > >> >> > >> Best Regards, >> > >> Juan Pablo Godoy. >> > >> >> > >> On 01-09-2016 10:57, Sergey Safarov wrote: >> > >>> >> > >>> It is look like DNS not return reverse resolv results. >> > >>> Please check DNS requests and responses. >> > >>> >> > >>> >> > >>> On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy >> > >> > >>> >> >> > wrote: >> > >>> >> > >>> Hello, >> > >>> >> > >>> Can anybody help me please? >> > >>> >> > >>> During this week I changed from CentOS 7 to Debian 8.5 and >> I >> > >>> still have the same problem. Honestly I don't know what to >> do >> > >>> anymore. >> > >>> >> > >>> Regards, >> > >>> Juan Pablo Godoy. >> > >>> >> > >>> On 19-08-2016 15:00, Juan Pablo Godoy wrote: >> > >>>> Hello Everybody, >> > >>>> >> > >>>> I'm new using Freeswitch and now I'm implementing it as a >> > B2BUA >> > >>>> using Radius (using the module mod_xml_radius) for >> Accounting >> > >>>> and Authentication. Everything work OK until freeswitch has >> > >>>> more than 260 simultaneous calls, after that the cli shows >> > >>>> errors: >> > >>>> >> > >>>> 2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046 >> > >>>> mod_xml_radius: Accounting Stop failed >> > >>>> 2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109 >> > >>>> mod_xml_radius: Failed to authenticate, authentication >> > result: 1 >> > >>>> >> > >>>> Meanwhile, the messages file shows the following errors: >> > >>>> >> > >>>> rc_ip_hostname: couldn't look up host by addr: >> > "HEXAIPADRRESS" >> > >>>> rc_send_server: no reply from RADIUS server unknown:1646, >> > >>>> "IPADDRESS" >> > >>>> >> > >>>> It looks like it's timeout, however my Radius server is >> > >>>> responding OK to another server's requests. >> > >>>> >> > >>>> I'm using Freeswitch 1.6.9 compiled from source. >> > >>>> >> > >>>> Best Regards, >> > >>>> Juan Pablo Godoy. >> > >>> >> > >>> >> > >> _________________________________________________________________________ >> > >>> Professional FreeSWITCH Consulting Services: >> > >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/87db755d/attachment-0001.html From hawkins at hawkinsegroup.com Tue Sep 6 00:20:57 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Mon, 5 Sep 2016 15:20:57 -0500 Subject: [Freeswitch-users] Popup on incoming call on FS In-Reply-To: References: Message-ID: Easiest way would be to use a execute command, for example, 'execute_on_media' or 'execute_on_ring' in your dialplan. Execute a curl post to an external url, that url can notify your application for the pop up, I'm thinking Ajax in the browser or something similar. You could also just execute a curl post in the dialplan period, so whenever x extension is in use you get that post. Sincerely, Don Hawkins Sent from my NationPCS? Nexus 6. On Sep 3, 2016 11:06 AM, "Abhik Biswas" wrote: > I am a recent adopter of FS and sorry if this has been addressed many > times before. > > > > I would like the incoming call on FS pop up screen or update a page on my > desktop. I need to know how this incoming call event can be captured and > the Caller-id be picked up from the same. > > > > Based on the above I am assuming a notification can be sent to the webpage. > > > > Abhik > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/d437a60f/attachment.html From gregor at infomedia.si Tue Sep 6 00:26:17 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 5 Sep 2016 22:26:17 +0200 Subject: [Freeswitch-users] Popup on incoming call on FS In-Reply-To: References: Message-ID: Or try with Verto, because you get events in javascript and also make calls with browser. There is a lot to dig if you are new to FS, but will worth it. 2016-09-05 22:20 GMT+02:00 Don Hawkins : > Easiest way would be to use a execute command, for example, > 'execute_on_media' or 'execute_on_ring' in your dialplan. > > Execute a curl post to an external url, that url can notify your > application for the pop up, I'm thinking Ajax in the browser or something > similar. > > You could also just execute a curl post in the dialplan period, so > whenever x extension is in use you get that post. > > Sincerely, > Don Hawkins > > Sent from my NationPCS? Nexus 6. > > On Sep 3, 2016 11:06 AM, "Abhik Biswas" wrote: > >> I am a recent adopter of FS and sorry if this has been addressed many >> times before. >> >> >> >> I would like the incoming call on FS pop up screen or update a page on >> my desktop. I need to know how this incoming call event can be captured >> and the Caller-id be picked up from the same. >> >> >> >> Based on the above I am assuming a notification can be sent to the >> webpage. >> >> >> >> Abhik >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/62aebe01/attachment.html From brian at freeswitch.org Tue Sep 6 08:33:21 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 5 Sep 2016 23:33:21 -0500 Subject: [Freeswitch-users] Fax receive stopped working on 1.6.10 In-Reply-To: References: Message-ID: Yehavi, Not a very optimistic mailing list post, 1.6.10 works in my testing what specifically are you talking to? Your JIRA was absent of any useful details, logs and more information would be helpful. I suspect I know which commit that I reverted that made yours break but the original fix was not correct and nobody really helps me test in these edge cases so these issues may pop up. I do not want to sound all preachy but we do need the community to help test from time to time on master. I'll look at it later if you can provide logs and data to go on. /b On Monday, September 5, 2016, Yehavi Bourvine wrote: > Hi, > > After upgrading from 1.6.9 to 1.6.10 fax receive stopped; worse: it > informs the other side that the fax has been received, but no file is > created. > > I've filed a JIRA FS-9481 about > it. I think I've located the problematic line (mentioned in that ticket). > > So, if you need fax receive, don't go to 1.6.10... > > Regards, __Yehavi: > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/f90f0009/attachment.html From kamal at xoxzo.com Tue Sep 6 08:50:42 2016 From: kamal at xoxzo.com (Mohd Kamal Mustafa) Date: Tue, 6 Sep 2016 12:50:42 +0800 Subject: [Freeswitch-users] Does nibble execute sql queries in single transaction ? Message-ID: If not, is there a possibilities of reach condition where updates from multiple channels override each other. For example, 2 incoming calls at the same time to 2 different numbers, but owned by single user - that mean nibble will be updating the same record in database. I'm planning to add "FOR UPDATE" clause to the custom_sql_lookup:- SELECT cash AS nibble_balance FROM accounts WHERE account_code='${nibble_account} FOR UPDATE But if each query run inside their own transaction, that would be no use. Thank you. From fanx07 at gmail.com Tue Sep 6 12:07:54 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Tue, 6 Sep 2016 11:07:54 +0300 Subject: [Freeswitch-users] mod_amqp publish question Message-ID: Hi, I have a question related to Freeswitch's mod_amqp. I can see that one can specify the types of events to be published. For example I would need Freeswitch to publish in celery format [1]. Is there a way to manipulate the published format? Thanks, Stefan [1] http://docs.celeryproject.org/en/latest/internals/protocol.html#example-message -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/73ef689e/attachment.html From brian at freeswitch.org Tue Sep 6 13:50:15 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Sep 2016 04:50:15 -0500 Subject: [Freeswitch-users] Fax receive stopped working on 1.6.10 In-Reply-To: References: Message-ID: Your issue was related to me reverting FS-8565, which was blamed for a few other interop issues, please follow that and if you can re-test the patch in your situation, its a one line patch, but I need the original reporter to assist me in understanding the change so we can redo it to account for the other situations that it seems to be causing issues with, Also if anyone has c3x fax/t.38 issues I would very much like to work with you to resolve them too, I've been fighting with three issues on JIRA related to it that seem to only happen in the wild and I would love to resolve them ASAP. Thanks, /b On Mon, Sep 5, 2016 at 11:33 PM, Brian West wrote: > Yehavi, > Not a very optimistic mailing list post, 1.6.10 works in my testing what > specifically are you talking to? Your JIRA was absent of any useful > details, logs and more information would be helpful. I suspect I know > which commit that I reverted that made yours break but the original fix was > not correct and nobody really helps me test in these edge cases so these > issues may pop up. > > I do not want to sound all preachy but we do need the community to help > test from time to time on master. > > I'll look at it later if you can provide logs and data to go on. > > /b > > > On Monday, September 5, 2016, Yehavi Bourvine > wrote: > >> Hi, >> >> After upgrading from 1.6.9 to 1.6.10 fax receive stopped; worse: it >> informs the other side that the fax has been received, but no file is >> created. >> >> I've filed a JIRA FS-9481 about >> it. I think I've located the problematic line (mentioned in that ticket). >> >> So, if you need fax receive, don't go to 1.6.10... >> >> Regards, __Yehavi: >> > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/f1c5c66f/attachment.html From yehavi.bourvine at gmail.com Tue Sep 6 18:12:53 2016 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Tue, 6 Sep 2016 17:12:53 +0300 Subject: [Freeswitch-users] Fax receive stopped working on 1.6.10 In-Reply-To: References: Message-ID: Hello Brian, I just wanted to warn other people about that issue, since I faced a few angry users that stopped receiving faxes... I am out of the office in the coming few days, but I'll try working on it from home toward the weekend. Thanks, __yehavi: 2016-09-06 7:33 GMT+03:00 Brian West : > Yehavi, > Not a very optimistic mailing list post, 1.6.10 works in my testing what > specifically are you talking to? Your JIRA was absent of any useful > details, logs and more information would be helpful. I suspect I know > which commit that I reverted that made yours break but the original fix was > not correct and nobody really helps me test in these edge cases so these > issues may pop up. > > I do not want to sound all preachy but we do need the community to help > test from time to time on master. > > I'll look at it later if you can provide logs and data to go on. > > /b > > > On Monday, September 5, 2016, Yehavi Bourvine > wrote: > >> Hi, >> >> After upgrading from 1.6.9 to 1.6.10 fax receive stopped; worse: it >> informs the other side that the fax has been received, but no file is >> created. >> >> I've filed a JIRA FS-9481 about >> it. I think I've located the problematic line (mentioned in that ticket). >> >> So, if you need fax receive, don't go to 1.6.10... >> >> Regards, __Yehavi: >> > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/a39c5be2/attachment.html From bipin at xbipin.com Tue Sep 6 18:32:34 2016 From: bipin at xbipin.com (Bipin Patel) Date: Tue, 6 Sep 2016 18:32:34 +0400 Subject: [Freeswitch-users] Fax receive stopped working on 1.6.10 In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/c3a486b0/attachment-0001.html From bipin at xbipin.com Tue Sep 6 18:41:19 2016 From: bipin at xbipin.com (Bipin Patel) Date: Tue, 6 Sep 2016 18:41:19 +0400 Subject: [Freeswitch-users] originate command to send fax only after tone detected Message-ID: <52528ef4-e688-4dbf-d629-8bcc3e19a351@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/ce063147/attachment.html From brian at freeswitch.org Tue Sep 6 19:07:42 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 6 Sep 2016 10:07:42 -0500 Subject: [Freeswitch-users] Fax receive stopped working on 1.6.10 In-Reply-To: References: Message-ID: Its an edge case, so I am sure the patch that I reverted due to it breaking other things will be needed in his case, but I need cooperation for the other users to distill down the facts and fix all cases to work correctly. /b On Tue, Sep 6, 2016 at 9:32 AM, Bipin Patel wrote: > i use FS master on a rpi and inbound faxes work fine, no issues here > > > Regards, > Bipin > > > ------------------------------ > -------- Original Message -------- > Subject: Re: [Freeswitch-users] Fax receive stopped working on 1.6.10 > From: Yehavi Bourvine > > To: FreeSWITCH Users Help > > Date: 9/6/2016, 6:12:53 PM > > Hello Brian, > > I just wanted to warn other people about that issue, since I faced a few > angry users that stopped receiving faxes... > > I am out of the office in the coming few days, but I'll try working on it > from home toward the weekend. > > Thanks, __yehavi: > > 2016-09-06 7:33 GMT+03:00 Brian West : > >> Yehavi, >> Not a very optimistic mailing list post, 1.6.10 works in my testing what >> specifically are you talking to? Your JIRA was absent of any useful >> details, logs and more information would be helpful. I suspect I know >> which commit that I reverted that made yours break but the original fix was >> not correct and nobody really helps me test in these edge cases so these >> issues may pop up. >> >> I do not want to sound all preachy but we do need the community to help >> test from time to time on master. >> >> I'll look at it later if you can provide logs and data to go on. >> >> /b >> >> >> On Monday, September 5, 2016, Yehavi Bourvine >> wrote: >> >>> Hi, >>> >>> After upgrading from 1.6.9 to 1.6.10 fax receive stopped; worse: it >>> informs the other side that the fax has been received, but no file is >>> created. >>> >>> I've filed a JIRA FS-9481 about >>> it. I think I've located the problematic line (mentioned in that ticket). >>> >>> So, if you need fax receive, don't go to 1.6.10... >>> >>> Regards, __Yehavi: >>> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/05316f56/attachment.html From John.Nowlin at tresta.com Tue Sep 6 19:34:04 2016 From: John.Nowlin at tresta.com (John.Nowlin at tresta.com) Date: Tue, 6 Sep 2016 11:34:04 -0400 Subject: [Freeswitch-users] play sound file before hangup for non-ip phone ring group Message-ID: I have been given the following acceptance criteria. I do not see a hook in freeswitch that will let me accomplish this... As a user who is receiving a user group call I want to hear a notification when another user accepts the call or the caller is transferred to voicemail So that I can understand why I was unable to speak to the caller. Acceptance Criteria: ? When multiple users answer a call, the system will play a prompt to each user instructing them to press 1 to accept the call. ? When one of the users presses 1 and accepts the call, other users will hear a prompt "Sorry, this call has been answered by another group member and is no longer available to accept. " and then the calls to other users will hang up. ? When the caller is transferred to voicemail because none of the users have accepted the call, then the users will hear a prompt indicating "Sorry, this call has been transferred to voicemail and is no longer available to accept." I have tried setHangupHook in a lua script, but that appears to be too late. Is there another hook that I am missing? john nowlin Senior Software Developer Tresta office: 850.383.7756 mobile: 850.294.5635 www.tresta.com - A Better Phone Experience -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/3f879a46/attachment-0001.html From ssinyagin at gmail.com Tue Sep 6 20:48:41 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Tue, 6 Sep 2016 18:48:41 +0200 Subject: [Freeswitch-users] play sound file before hangup for non-ip phone ring group In-Reply-To: References: Message-ID: You can create an ESL application and handle the calls and race conditions from it. Then you're in the full control of who hears what. In this case, it would be a bunch of open channels which you need to control yourself, instead of using group call. On 6 Sep 2016 17:37, "John.Nowlin at tresta.com" wrote: I have been given the following acceptance criteria. I do not see a hook in freeswitch that will let me accomplish this? As a user who is receiving a user group call I want to hear a notification when another user accepts the call or the caller is transferred to voicemail So that I can understand why I was unable to speak to the caller. Acceptance Criteria: ? When multiple users answer a call, the system will play a prompt to each user instructing them to press 1 to accept the call. ? When one of the users presses 1 and accepts the call, other users will hear a prompt "Sorry, this call has been answered by another group member and is no longer available to accept. " and then the calls to other users will hang up. ? When the caller is transferred to voicemail because none of the users have accepted the call, then the users will hear a prompt indicating "Sorry, this call has been transferred to voicemail and is no longer available to accept." I have tried setHangupHook in a lua script, but that appears to be too late. Is there another hook that I am missing? *john nowlin* Senior Software Developer *Tresta* office: 850.383.7756 mobile: 850.294.5635 www.tresta.com ? A Better Phone Experience _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/3298efaa/attachment.html From schoch+freeswitch.org at xwin32.com Tue Sep 6 21:31:00 2016 From: schoch+freeswitch.org at xwin32.com (Steven Schoch) Date: Tue, 6 Sep 2016 10:31:00 -0700 Subject: [Freeswitch-users] originate command to send fax only after tone detected In-Reply-To: <52528ef4-e688-4dbf-d629-8bcc3e19a351@xbipin.com> References: <52528ef4-e688-4dbf-d629-8bcc3e19a351@xbipin.com> Message-ID: One possibility is to implement retries and timeout in the mail transport. When your python script detects a busy signal, have it exit with EX_TEMPFAIL, which will cause the mail process to retry after a while. -- Steve On Tue, Sep 6, 2016 at 7:41 AM, Bipin Patel wrote: > hi, > > i have created a custom script in python which extracts PDF files and > phone number from email and then converts them to tiffs and all this works > well, now i made the script send the originate command to FS which connects > to a a PSTN gateway device and this device dials out the number and when > answered it bridges to the originate command channel. The problem i face is > how do we make the txfax application in the originate command wait till it > gets a fax tone from the called party then try to send its fax? second > issue is suppose if the PSTN line was busy and the device rejected the call > from FS, how do we configure camping so FS tries a few times before failing > finally? > > i tried adding the camping variables to the originate command but they > dont seems to work at all, my main aim is to make the originate command > initiate the call from FS to PSTN number using that gateway device and if > the outgoing line is busy or the remote line is busy then try a few more > times at regular intervals and also attempt to send fax only when there is > a fax tone detected from the remote end > > -- > Regards, > Bipin > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/c1d26cfb/attachment.html From blackc2004 at gmail.com Tue Sep 6 22:53:55 2016 From: blackc2004 at gmail.com (Cj B) Date: Tue, 6 Sep 2016 11:53:55 -0700 Subject: [Freeswitch-users] Verto and DTMF Message-ID: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> Hi All, I have verto working and can make calls, but I can?t seem to get DTMF working. I am using fusionpbx and need to enter a conference room pin number however once I enter the conference extension number and get asked to enter the pin it just always says ?invalid pin?. Looking at the logs, I don?t see any DTMF getting passed back to freeswitch. Is there a config option I can do to enable the keypad? Thanks Cj B -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/4cfcb4e9/attachment.html From steveayre at gmail.com Tue Sep 6 23:22:36 2016 From: steveayre at gmail.com (Steven Ayre) Date: Tue, 6 Sep 2016 20:22:36 +0100 Subject: [Freeswitch-users] Does nibble execute sql queries in single transaction ? In-Reply-To: References: Message-ID: bill_event() charges atomically: sql = dsql = switch_mprintf("UPDATE %s SET %s=%s-%f WHERE %s='%s'", globals.db_table, globals.db_column_cash, globals.db_column_cash, billamount, globals.db_column_account, billaccount); That UPDATE query won't conflict with any other queries running at the same time, they'll lock on each other so one updates the row at a time. The balance fetched by get_balance isn't used to update the balance so it shouldn't matter if there are multiple calls. Both will use UPDATE and overlapping calls will update the balance correctly. They'll then both spot if the balance drops below the minimum. On 6 September 2016 at 05:50, Mohd Kamal Mustafa wrote: > If not, is there a possibilities of reach condition where updates from > multiple channels override each other. For example, 2 incoming calls > at the same time to 2 different numbers, but owned by single user - > that mean nibble will be updating the same record in database. > > I'm planning to add "FOR UPDATE" clause to the custom_sql_lookup:- > > SELECT cash AS nibble_balance FROM accounts WHERE > account_code='${nibble_account} FOR UPDATE > > But if each query run inside their own transaction, that would be no use. > > Thank you. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/08a791eb/attachment-0001.html From bipin at xbipin.com Tue Sep 6 23:52:43 2016 From: bipin at xbipin.com (Bipin Patel) Date: Tue, 06 Sep 2016 23:52:43 +0400 Subject: [Freeswitch-users] originate command to send fax only after tone detected In-Reply-To: References: <52528ef4-e688-4dbf-d629-8bcc3e19a351@xbipin.com> Message-ID: <157010f4b10.2787.b07ebdf329620b8089087c7205b03f01@xbipin.com> Well the python script checks gmail and there is no local mail server and I'm trying to keep it as simple as possible, would it be possible to use originate command to dial an extension in the dial plan where I could try and make call camping work. I just recently started using the originate command so have not much of an idea on how I can make it dial an extension in the dial plan where it can also feed the fax number to dial along probably using variables. Is it possible to originate to an extension called send_fax with condition to match dialed number as fax in the default dial plan? On September 6, 2016 9:32:34 PM Steven Schoch wrote: > One possibility is to implement retries and timeout in the mail transport. > When your python script detects a busy signal, have it exit with > EX_TEMPFAIL, which will cause the mail process to retry after a while. > > -- > Steve > > On Tue, Sep 6, 2016 at 7:41 AM, Bipin Patel wrote: > >> hi, >> >> i have created a custom script in python which extracts PDF files and >> phone number from email and then converts them to tiffs and all this works >> well, now i made the script send the originate command to FS which connects >> to a a PSTN gateway device and this device dials out the number and when >> answered it bridges to the originate command channel. The problem i face is >> how do we make the txfax application in the originate command wait till it >> gets a fax tone from the called party then try to send its fax? second >> issue is suppose if the PSTN line was busy and the device rejected the call >> from FS, how do we configure camping so FS tries a few times before failing >> finally? >> >> i tried adding the camping variables to the originate command but they >> dont seems to work at all, my main aim is to make the originate command >> initiate the call from FS to PSTN number using that gateway device and if >> the outgoing line is busy or the remote line is busy then try a few more >> times at regular intervals and also attempt to send fax only when there is >> a fax tone detected from the remote end >> >> -- >> Regards, >> Bipin >> > > > > ---------- > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/237ebd2e/attachment.html From italo at freeswitch.org Wed Sep 7 00:39:51 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 6 Sep 2016 17:39:51 -0300 Subject: [Freeswitch-users] Verto and DTMF In-Reply-To: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> References: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> Message-ID: You mean Verto Communicator or Original Verto Demo ? On Tue, Sep 6, 2016 at 3:53 PM, Cj B wrote: > Hi All, > > I have verto working and can make calls, but I can?t seem to get DTMF > working. I am using fusionpbx and need to enter a conference room pin > number however once I enter the conference extension number and get asked > to enter the pin it just always says ?invalid pin?. > > Looking at the logs, I don?t see any DTMF getting passed back to > freeswitch. Is there a config option I can do to enable the keypad? > > Thanks > Cj B > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/3fb18eca/attachment.html From blackc2004 at gmail.com Wed Sep 7 00:42:47 2016 From: blackc2004 at gmail.com (Cj B) Date: Tue, 6 Sep 2016 13:42:47 -0700 Subject: [Freeswitch-users] Verto and DTMF In-Reply-To: References: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> Message-ID: I ran the debian8-install.sh and then copied dist to /var/www/verto So I assume that?s Verto Communicator. Thanks, Cj B > On Sep 6, 2016, at 1:39 PM, ?talo Rossi wrote: > > You mean Verto Communicator or Original Verto Demo ? > > On Tue, Sep 6, 2016 at 3:53 PM, Cj B > wrote: > Hi All, > > I have verto working and can make calls, but I can?t seem to get DTMF working. I am using fusionpbx and need to enter a conference room pin number however once I enter the conference extension number and get asked to enter the pin it just always says ?invalid pin?. > > Looking at the logs, I don?t see any DTMF getting passed back to freeswitch. Is there a config option I can do to enable the keypad? > > Thanks > Cj B > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > ?talo Rossi > italo at freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/62bb048d/attachment-0001.html From jungleboogie0 at gmail.com Wed Sep 7 03:52:56 2016 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Tue, 6 Sep 2016 16:52:56 -0700 Subject: [Freeswitch-users] pull request #944: originate-retry-timeout to master Message-ID: Hi All, Did this new implementation break anyone else's build with make current? https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/962908aa5a100185c9631d76b9bc69cd07aa657b https://freeswitch.org/jira/browse/FS-9484 -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info From italo at freeswitch.org Wed Sep 7 05:08:12 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Tue, 6 Sep 2016 22:08:12 -0300 Subject: [Freeswitch-users] Verto and DTMF In-Reply-To: References: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> Message-ID: Ok, found a jira already opened to this: https://freeswitch.org/jira/browse/FS-9346 tomorrow is holiday here but I can work on this (I've already started last week). On Tue, Sep 6, 2016 at 5:42 PM, Cj B wrote: > I ran the debian8-install.sh and then copied dist to /var/www/verto So I > assume that?s Verto Communicator. > > Thanks, > Cj B > > On Sep 6, 2016, at 1:39 PM, ?talo Rossi wrote: > > You mean Verto Communicator or Original Verto Demo ? > > On Tue, Sep 6, 2016 at 3:53 PM, Cj B wrote: > >> Hi All, >> >> I have verto working and can make calls, but I can?t seem to get DTMF >> working. I am using fusionpbx and need to enter a conference room pin >> number however once I enter the conference extension number and get asked >> to enter the pin it just always says ?invalid pin?. >> >> Looking at the logs, I don?t see any DTMF getting passed back to >> freeswitch. Is there a config option I can do to enable the keypad? >> >> Thanks >> Cj B >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > italo at freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160906/5b3c4d50/attachment.html From dcolombo at voismart.it Wed Sep 7 11:10:29 2016 From: dcolombo at voismart.it (Davide Colombo) Date: Wed, 7 Sep 2016 09:10:29 +0200 (CEST) Subject: [Freeswitch-users] Verto and DTMF In-Reply-To: References: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> Message-ID: <1824868220.538550.1473232229849.JavaMail.zimbra@voismart.it> Hi Italo, maybe there is also this jira opened https://freeswitch.org/jira/browse/FS-8955 Davide ----- Messaggio originale ----- Da: "?talo Rossi" A: "freeswitch-users" Inviato: Mercoled?, 7 settembre 2016 3:08:12 Oggetto: Re: [Freeswitch-users] Verto and DTMF Ok, found a jira already opened to this: https://freeswitch.org/jira/browse/FS-9346 tomorrow is holiday here but I can work on this (I've already started last week). On Tue, Sep 6, 2016 at 5:42 PM, Cj B < blackc2004 at gmail.com > wrote: I ran the debian8-install.sh and then copied dist to /var/www/verto So I assume that?s Verto Communicator. Thanks, Cj B On Sep 6, 2016, at 1:39 PM, ?talo Rossi < italo at freeswitch.org > wrote: You mean Verto Communicator or Original Verto Demo ? On Tue, Sep 6, 2016 at 3:53 PM, Cj B < blackc2004 at gmail.com > wrote: Hi All, I have verto working and can make calls, but I can?t seem to get DTMF working. I am using fusionpbx and need to enter a conference room pin number however once I enter the conference extension number and get asked to enter the pin it just always says ?invalid pin?. Looking at the logs, I don?t see any DTMF getting passed back to freeswitch. Is there a config option I can do to enable the keypad? Thanks Cj B _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- ?talo Rossi italo at freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- ?talo Rossi italo at freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From fanx07 at gmail.com Wed Sep 7 14:51:24 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Wed, 7 Sep 2016 13:51:24 +0300 Subject: [Freeswitch-users] playback start position Message-ID: Hi, I am trying to playback a file from a given position. I am setting this in my extension, however the file always plays from the beginning: " " I am using FreeSWITCH Version 1.6.10-17-726448d~64bit. Any idea how to make it work? Also, I am curious if shout cast playback from a given start position is possible; something like this: " " Thanks, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/11b24764/attachment.html From benjamin.cropley at gmail.com Wed Sep 7 15:21:16 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Wed, 7 Sep 2016 12:21:16 +0100 Subject: [Freeswitch-users] playback start position In-Reply-To: References: Message-ID: Think you need to correctly perceive what the 'samples' value means. If the WAV files sample rate is 44kHz (it probably is), then the each second = 44000 samples per second (eg. sample rate * 1000) Therefore, 5 seconds would be 220000 samples. I think the example in the wiki (@@8000) is based off a G729 file, which runs at 8kHz therefore 8000 samples = 1 second. Cheers Ben Cropley On Wed, Sep 7, 2016 at 11:51 AM, Anonim Stefan wrote: > Hi, > > I am trying to playback a file from a given position. I am setting this in > my extension, however the file always plays from the beginning: > " > > " > I am using FreeSWITCH Version 1.6.10-17-726448d~64bit. > Any idea how to make it work? > > > Also, I am curious if shout cast playback from a given start position is > possible; something like this: > " > > " > > Thanks, > Stefan > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/1e55bbb8/attachment-0001.html From benjamin.cropley at gmail.com Wed Sep 7 15:55:55 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Wed, 7 Sep 2016 12:55:55 +0100 Subject: [Freeswitch-users] Conference Call drops In-Reply-To: References: Message-ID: I would look at a SIP trace first and try to better understand how the calls are dropping eg.. 1. Does the caller suddenly stop sending audio, but no SIP packet to indicate the end of the session. Therefore FreeSWITCH would time out (on receipt of no audio) and terminate. 2. Does the caller or FreeSWITCH send a termination (in the form of a BYE) to the other party? If this is the case, look at the logs for something that provoked it. Good luck, Ben On Mon, Sep 5, 2016 at 11:48 AM, Deepika Yadav wrote: > Hi , > > I am using conference call service of Freeswitch over ESL with 21- 22 > members over GSM for around 1 hour. One problem that I am facing is > frequent call drops of the connected callers. > > My program has a logic of redialing a caller in case of disconnection, if > the caller is not reachable due to some reason the redial happens three > times. I am maintaining sufficient balance to keep 22 channels in parallel > and also for the duration of calls. > > One thing that I am observing which I am not sure to be the cause is when > I increased the redial trial to five times, the frequency of call drops > increased. > > Is the dialing attempt count should be taken care for the balance > maintenance or there is some other cause ? > > The Freeswitch logs are of type - CALL REJECTED, USER BUSY > > Regards, > Deepika > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/c25e49b8/attachment.html From fanx07 at gmail.com Wed Sep 7 16:12:36 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Wed, 7 Sep 2016 15:12:36 +0300 Subject: [Freeswitch-users] playback start position In-Reply-To: References: Message-ID: Thank you Benjamin for clarifying me this. I've tested with local .wav(44k) and .mp3(48k) and it's working fine for the local files or "file://" or "file_string://". However, when I try the same on a "shout://" it's not working. Do you know if playback start position is implemented for mod_shout also? Stefan On Wed, Sep 7, 2016 at 2:21 PM, Benjamin Cropley wrote: > Think you need to correctly perceive what the 'samples' value means. > > If the WAV files sample rate is 44kHz (it probably is), then the each > second = 44000 samples per second (eg. sample rate * 1000) > > Therefore, 5 seconds would be 220000 samples. > > I think the example in the wiki (@@8000) is based off a G729 file, which > runs at 8kHz therefore 8000 samples = 1 second. > > Cheers > Ben Cropley > > > > On Wed, Sep 7, 2016 at 11:51 AM, Anonim Stefan wrote: > >> Hi, >> >> I am trying to playback a file from a given position. I am setting this >> in my extension, however the file always plays from the beginning: >> " >> >> " >> I am using FreeSWITCH Version 1.6.10-17-726448d~64bit. >> Any idea how to make it work? >> >> >> Also, I am curious if shout cast playback from a given start position is >> possible; something like this: >> " >> >> " >> >> Thanks, >> Stefan >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > All the best, > Ben Cropley > 07539 366 905 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/a9073a60/attachment.html From jeff at eoni.com Wed Sep 7 16:15:00 2016 From: jeff at eoni.com (Jeff Crews) Date: Wed, 7 Sep 2016 12:15:00 +0000 Subject: [Freeswitch-users] intermittent DTMF duplicate digit detection In-Reply-To: References: <5c1728935ef44b9fa0da100d7cf4210f@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> Message-ID: <0b8b94d8c9ca4876988a7f490c7a0b17@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> Sorry my original email had so many typos. Thanks for this suggestion. I was trying to figure out how to do this exact change to use rfc2833, none or inband to see if it impacted this issue?I was not sure where to make this change?are you suggesting I remove the line to ?spandsp_start_dtmf? or is dtmf-type an option for spandsp? I did not see any options for spandsp that mention 2833 so I figured this was something someplace else. I have tried removing the spandsp_start_dtmf and adding setting dtmf-type=rfc2833 followed by start_dtmf and I still see my dialed DTMF digits receiving twice and sometimes three times?sometimes I only get the digit once (what I would expect when I only press the button once). I have tried removing start_dtmf and leaving the dtmf-type=rfc2833 I also tried dtmf-type=inband but so no improvement. I have tried setting dtmf-type=junk to see if I would get an error message or something to indicate I am putting the parameter in the correct place?but do not see any error?this seems to get submitted as the call processes and does not seem to change anything. Is there a debug level or log setting that would confirm if I switch to rfc2833 or inband that freeswitch is indeed working as rfc2833 or inband? If I could figure out how to disable whatever the switch_rtp.c message indicates on the log DTMF processing?that would seem to address my issue. Thanks in advance for any help you can provide. From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Guillermo Ruiz Camauer Sent: Saturday, September 03, 2016 09:14 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] intermittent DTMF duplicate digit detection Can you try with RFC-2833 inste as of inband? Guillermo Sent from my iPhone On Sep 3, 2016, at 01:20, Jeff Crews > wrote: I am running FreeSWITCH Version 1.6.6~64bit ( 64bit) running in a non-virtualized hardware platform. I am using it with FusionPBX (roughly 2 weeks since my last git pull) When using a SIP trunk from my CopperCom IP card I get intermittent duplicate DTMF digits specifically causing me trouble using the IVR application. With these options on: dtmf_verbose=true spandsp_dtmf_rx_threshold=-42 spandsp_dtmf_rx_twist=8 spandsp_dtmf_rx_reverse_twist=6 min_dup_digit_spacing_ms=50 (I have adjusted this from 0 to values of upwards of 2000?not sure it applies in this case as I think the duplicate digits might not be impacted by this value as I think two different systems are detecting the DTMF). In the following logs the min_dup_digit_spacing_ms might have been any number of values I was testing. So?on a properly recognized DTMF digit the logs look like this when I placed a test call to the IVR and dialed 9 as a menu option for the company directory then 489 to successfully to search for a name?in this call all worked as expected: b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.113751 [DEBUG] switch_core_media.c:4485 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 recv payload to 101 b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d parsing [public->dtmf-type] continue=true b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Regex (PASS) [dtmf-type] () =~ // break=on-false b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(dtmf_verbose=true) b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_threshold=-42) b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_twist=8) b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_reverse_twist=6) b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action spandsp_start_dtmf() b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(dtmf_verbose=true) b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [dtmf_verbose]=[true] b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_threshold=-42) b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_threshold]=[-42] b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_twist=8) b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_twist]=[8] b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_reverse_twist=6) b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_reverse_twist]=[6] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_session.c:2628 Application spandsp_start_dtmf Requires media! pre_answering channel sofia/internal/541xxxyyyy at a.b.c.d b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6332 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6339 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf receive payload to 101 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] switch_core_media.c:6362 sofia/internal/541xxxyyyy at a.b.c.d Set rtp dtmf delay to 40 b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d spandsp_start_dtmf() b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.973723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially D - total -18.52dB, row -35.24dB, col -32.15dB, duration 62628 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.18dB, col -5.09dB, duration 62730 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.94dB, row -5.03dB, col -5.06dB, duration 62832 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [INFO] switch_channel.c:512 RECV DTMF 9:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.013719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.03dB, row -5.21dB, col -5.28dB, duration 102 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.013719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.02dB, row -5.29dB, col -5.13dB, duration 204 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.033720 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.92dB, row -5.03dB, col -5.03dB, duration 306 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.053716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.08dB, col -5.22dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.053716 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -9.02dB, row -17.52dB, col -16.96dB, duration 510 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.073716 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 76 ms b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.093756 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially D - total -19.84dB, row -34.97dB, col -34.04dB, duration 48144 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.80dB, row -4.77dB, col -4.77dB, duration 48246 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.92dB, row -5.02dB, col -5.03dB, duration 48348 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [4] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [INFO] switch_channel.c:512 RECV DTMF 4:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.133730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.14dB, row -5.55dB, col -5.42dB, duration 102 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.133730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.77dB, row -4.66dB, col -4.80dB, duration 204 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.153730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.25dB, row -5.70dB, col -5.63dB, duration 306 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.173727 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.79dB, row -4.84dB, col -4.70dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.173727 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.92dB, row -5.00dB, col -5.05dB, duration 510 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.193720 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.11dB, row -7.36dB, col -7.35dB, duration 612 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.213719 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [4], duration = 89 ms b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.313724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.95dB, row -7.12dB, col -7.00dB, duration 918 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.333719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.10dB, row -5.44dB, col -5.32dB, duration 1020 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.99dB, row -5.15dB, col -5.16dB, duration 1122 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [8] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [INFO] switch_channel.c:512 RECV DTMF 8:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.85dB, row -4.84dB, col -4.94dB, duration 102 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.373724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.90dB, row -5.02dB, col -4.93dB, duration 204 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.393724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.98dB, row -5.22dB, col -5.11dB, duration 306 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.393724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.11dB, row -5.32dB, col -5.43dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.413724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.09dB, row -5.33dB, col -5.39dB, duration 510 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.413724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially * - total -13.19dB, row -24.69dB, col -24.21dB, duration 612 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.433724 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [8], duration = 89 ms b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.473724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -9.05dB, row -17.46dB, col -17.13dB, duration 306 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.12dB, col -5.12dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.96dB, row -5.16dB, col -5.06dB, duration 510 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [INFO] switch_channel.c:512 RECV DTMF 9:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.513724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -8.91dB, row -16.92dB, col -17.15dB, duration 102 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.533724 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 25 ms b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.553724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -5.06dB, row -9.31dB, col -9.33dB, duration 204 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.98dB, row -5.04dB, col -5.19dB, duration 306 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.93dB, row -5.14dB, col -4.99dB, duration 408 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [INFO] switch_channel.c:512 RECV DTMF 9:2000 b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.593730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.02dB, row -5.28dB, col -5.20dB, duration 102 - hit b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.593730 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -11.08dB, row -21.34dB, col -21.19dB, duration 204 - miss b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.613728 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 38 ms this time I dialed the same menu and dialed 4 and got invalid entry (which digit I dial to cause the intermittent failure seems to be nearly any digit): 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] switch_core_media.c:4485 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 recv payload to 101 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d parsing [public->dtmf-type] continue=true 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Regex (PASS) [dtmf-type] () =~ // break=on-false 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(dtmf_verbose=true) 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_threshold=-42) 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_twist=8) 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_reverse_twist=6) 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: sofia/internal/541xxxyyyy at a.b.c.d Action spandsp_start_dtmf() 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(dtmf_verbose=true) 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [dtmf_verbose]=[true] 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_threshold=-42) 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_threshold]=[-42] 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_twist=8) 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_twist]=[8] 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_reverse_twist=6) 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d [spandsp_dtmf_rx_reverse_twist]=[6] 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] switch_core_session.c:2628 Application spandsp_start_dtmf Requires media! pre_answering channel sofia/internal/541xxxyyyy at a.b.c.d 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6332 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf send payload to 101 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6339 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf receive payload to 101 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] switch_core_media.c:6362 sofia/internal/541xxxyyyy at a.b.c.d Set rtp dtmf delay to 40 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE sofia/internal/541xxxyyyy at a.b.c.d spandsp_start_dtmf() 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.593744 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.41dB, row -8.03dB, col -8.02dB, duration 32538 - miss 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.593744 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.73dB, row -4.71dB, col -4.59dB, duration 32640 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.693734 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.19dB, row -7.59dB, col -7.55dB, duration 33354 - miss 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.25dB, row -5.68dB, col -5.62dB, duration 33456 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.76dB, row -4.65dB, col -4.79dB, duration 33558 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [4] 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [INFO] switch_channel.c:512 RECV DTMF 4:2000 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.733724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.18dB, row -5.61dB, col -5.47dB, duration 102 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 4:800 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [INFO] switch_channel.c:512 RECV DTMF 4:800 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.76dB, row -6.65dB, col -6.69dB, duration 204 - hit 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.793718 [DEBUG] mod_spandsp_dsp.c:387 DTMF END DETECTED: [4], duration = 51 ms Whenever I have problems with duplicate digits as in the later example above I always get a line with switch_rtp.c like this: 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 4:800 If one of the switch_rtp lines does not show up in the output put that it RECV DTMF the DTMF is recognized properly. Is there an option that I can set to tell the switch_rtp.c to ignore receiving DTMF? I do not know happens that causes some calls to work and some calls to not work. I was not sure if when it is intermittent (sometimes 80% get duplicate DTMF, sometimes only 20% get duplicate DTMF) what else to try. I saw this: https://freeswitch.org/confluence/display/FREESWITCH/RTP+Issues and was not sure if this applied?or where options like: Were supposed to be placed in the dial plan to get these in the right place. Is this part of the options before you invoke action=spandsp_start_dtmf Thanks in advance for any help you can provide. Jeff -.-. --.- -.. . -.- . --... --.- -.-- ..- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/223905d4/attachment-0001.html From mike at jerris.com Wed Sep 7 17:27:06 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 7 Sep 2016 09:27:06 -0400 Subject: [Freeswitch-users] playback start position In-Reply-To: References: Message-ID: it is only implemented for local mp3 files. It is explicitly not there for streaming in mod_shout. > On Sep 7, 2016, at 8:12 AM, Anonim Stefan wrote: > > Thank you Benjamin for clarifying me this. I've tested with local .wav(44k) and .mp3(48k) and it's working fine for the local files or "file://" or "file_string://". > > However, when I try the same on a "shout://" it's not working. Do you know if playback start position is implemented for mod_shout also? > > Stefan > > On Wed, Sep 7, 2016 at 2:21 PM, Benjamin Cropley > wrote: > Think you need to correctly perceive what the 'samples' value means. > > If the WAV files sample rate is 44kHz (it probably is), then the each second = 44000 samples per second (eg. sample rate * 1000) > > Therefore, 5 seconds would be 220000 samples. > > I think the example in the wiki (@@8000) is based off a G729 file, which runs at 8kHz therefore 8000 samples = 1 second. > > Cheers > Ben Cropley > > > > On Wed, Sep 7, 2016 at 11:51 AM, Anonim Stefan > wrote: > Hi, > > I am trying to playback a file from a given position. I am setting this in my extension, however the file always plays from the beginning: > " > > " > I am using FreeSWITCH Version 1.6.10-17-726448d~64bit. > Any idea how to make it work? > > > Also, I am curious if shout cast playback from a given start position is possible; something like this: > " > > " -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/d6e9ec68/attachment.html From hawkins at hawkinsegroup.com Wed Sep 7 19:33:57 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Wed, 7 Sep 2016 10:33:57 -0500 Subject: [Freeswitch-users] Getting fail2ban working properly Message-ID: Morning! I've followed all instructions here, 10 times over now: https://freeswitch.org/confluence/display/FREESWITCH/Fail2Ban Then I type iptables -L f2b-freeswitch iptables: No chain/target/match by that name. It keeps saying it's not there, but I did add it, is there something I'm missing? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/80745828/attachment.html From ak at hejdu.dk Wed Sep 7 19:38:58 2016 From: ak at hejdu.dk (Allan Kristensen) Date: Wed, 7 Sep 2016 17:38:58 +0200 Subject: [Freeswitch-users] Getting destination number Message-ID: Hello, I've just setup a sip trunk with a new provider, however there are some issues receiving calls. The INVITE looks like this: INVITE sip:NCdWXsdSsaF2B at 192.168.0.190:52284 SIP/2.0 .... From: ;tag=Ud8ghaXg01821203 To: ... The invite has my account name, instead of the destination number and the real destination number is in the "To:" field (which it normally is I guess ;-) Then Freeswitch does this of cause: [INFO] mod_dialplan_xml.c:637 Processing +XXXXXXXXXX <+XXXXXXXXXX>->NCdWXsdSsaF2B in context inbound That is undesirable, so Is there any way for Freeswitch to grab the destination number from the to field instead of the INVITE string ? I could make a special sip profile for that provider with it's own dialplan and then set destination_number from the "sip_to_user" variable and transfer to the real dialplan, but it just seems so messy... Or is it my provider that is doing it wrong? Best regards, Allan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/90ef1017/attachment.html From krice at freeswitch.org Wed Sep 7 19:43:55 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 7 Sep 2016 10:43:55 -0500 Subject: [Freeswitch-users] Getting destination number In-Reply-To: References: Message-ID: <000e01d2091e$a51c9b70$ef55d250$@freeswitch.org> Check out the info dialplan application? You?re provider is doing something unusual here as the invite URI is what you use to route the call, the to: uri is supposed to be the original dialed digits From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Allan Kristensen Sent: Wednesday, September 7, 2016 10:39 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Getting destination number Hello, I've just setup a sip trunk with a new provider, however there are some issues receiving calls. The INVITE looks like this: INVITE sip:NCdWXsdSsaF2B at 192.168.0.190:52284 SIP/2.0 .... From: ;tag=Ud8ghaXg01821203 To: ... The invite has my account name, instead of the destination number and the real destination number is in the "To:" field (which it normally is I guess ;-) Then Freeswitch does this of cause: [INFO] mod_dialplan_xml.c:637 Processing +XXXXXXXXXX <+XXXXXXXXXX>->NCdWXsdSsaF2B in context inbound That is undesirable, so Is there any way for Freeswitch to grab the destination number from the to field instead of the INVITE string ? I could make a special sip profile for that provider with it's own dialplan and then set destination_number from the "sip_to_user" variable and transfer to the real dialplan, but it just seems so messy... Or is it my provider that is doing it wrong? Best regards, Allan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/e53ffa41/attachment.html From andrew at cassidywebservices.co.uk Wed Sep 7 19:48:49 2016 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Wed, 7 Sep 2016 16:48:49 +0100 Subject: [Freeswitch-users] Getting destination number In-Reply-To: <000e01d2091e$a51c9b70$ef55d250$@freeswitch.org> References: <000e01d2091e$a51c9b70$ef55d250$@freeswitch.org> Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files#SofiaConfigurationFiles-Parameters Specifically the "extension" parameter. On 7 September 2016 at 16:43, Ken Rice wrote: > Check out the info dialplan application? > > > > You?re provider is doing something unusual here as the invite URI is what > you use to route the call, the to: uri is supposed to be the original > dialed digits > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Allan > Kristensen > *Sent:* Wednesday, September 7, 2016 10:39 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] Getting destination number > > > > Hello, > > > > I've just setup a sip trunk with a new provider, however there are some > issues receiving calls. > > > > The INVITE looks like this: > > > > INVITE sip:NCdWXsdSsaF2B at 192.168.0.190:52284 SIP/2.0 > > .... > > From: ;tag=Ud8ghaXg01821203 > > To: > > ... > > > > The invite has my account name, instead of the destination number and the > real destination number is in the "To:" field (which it normally is I guess > ;-) > > > > Then Freeswitch does this of cause: > > > > [INFO] mod_dialplan_xml.c:637 Processing +XXXXXXXXXX <+XXXXXXXXXX>->NCdWXsdSsaF2B in > context inbound > > > > That is undesirable, so Is there any way for Freeswitch to grab the > destination number from the to field instead of the INVITE string ? > > I could make a special sip profile for that provider with it's own > dialplan and then set destination_number from the "sip_to_user" variable > and transfer to the real dialplan, but it just seems so messy... > > Or is it my provider that is doing it wrong? > > > > Best regards, > > Allan > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director 03303 880 960 andrew at cassidyweb.co.uk www.cassidyweb.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/5384b730/attachment-0001.html From victor.chukalovskiy at gmail.com Wed Sep 7 19:56:11 2016 From: victor.chukalovskiy at gmail.com (Victor Chukalovskiy) Date: Wed, 7 Sep 2016 11:56:11 -0400 Subject: [Freeswitch-users] Getting destination number In-Reply-To: References: Message-ID: <96c2451c-e2e4-f959-fefb-efe9c71617ec@gmail.com> I'd ask provider to make a change and send destination number in SIP URI like most others do. Especially if later you get different numbers from a different provider, you might benefit from having it all standard from day 1. On 16-09-07 11:38 AM, Allan Kristensen wrote: > Hello, > > I've just setup a sip trunk with a new provider, however there are > some issues receiving calls. > > The INVITE looks like this: > > INVITE sip:NCdWXsdSsaF2B at 192.168.0.190:52284 > SIP/2.0 > .... > From: ;tag=Ud8ghaXg01821203 > To: > ... > > The invite has my account name, instead of the destination number and > the real destination number is in the "To:" field (which it normally > is I guess ;-) > > Then Freeswitch does this of cause: > > [INFO] mod_dialplan_xml.c:637 Processing > +XXXXXXXXXX <+XXXXXXXXXX>->NCdWXsdSsaF2B in context inbound > > That is undesirable, so Is there any way for Freeswitch to grab the > destination number from the to field instead of the INVITE string ? > I could make a special sip profile for that provider with it's own > dialplan and then set destination_number from the "sip_to_user" > variable and transfer to the real dialplan, but it just seems so messy... > Or is it my provider that is doing it wrong? > > Best regards, > Allan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/981e1944/attachment.html From jungleboogie0 at gmail.com Wed Sep 7 20:01:52 2016 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Wed, 7 Sep 2016 09:01:52 -0700 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: On 7 September 2016 at 08:33, Don Hawkins wrote: > It keeps saying it's not there, but I did add it, is there something I'm > missing? How did you add it? Is fail2ban running? Have you restarted your computer after setting up fail2ban? If you do iptables -S, do you see the rules? -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info From mike at jerris.com Wed Sep 7 20:57:52 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 7 Sep 2016 12:57:52 -0400 Subject: [Freeswitch-users] Getting destination number In-Reply-To: References: Message-ID: If this is to a registered trunk, and they include the tags we use in the registered contact, we will properly detect this, and use the to user instead of the request user. This allows you to register once for multiple DID?s. Otherwise what the provider is doing here is weird and pretty non standard, and you would need to handle it manually in the dial plan looking at the sip_to_user var. Mike > On Sep 7, 2016, at 11:38 AM, Allan Kristensen wrote: > > Hello, > > I've just setup a sip trunk with a new provider, however there are some issues receiving calls. > > The INVITE looks like this: > > INVITE sip:NCdWXsdSsaF2B at 192.168.0.190:52284 SIP/2.0 > .... > From: ;tag=Ud8ghaXg01821203 > To: > ... > > The invite has my account name, instead of the destination number and the real destination number is in the "To:" field (which it normally is I guess ;-) > > Then Freeswitch does this of cause: > > [INFO] mod_dialplan_xml.c:637 Processing +XXXXXXXXXX <+XXXXXXXXXX>->NCdWXsdSsaF2B in context inbound > > That is undesirable, so Is there any way for Freeswitch to grab the destination number from the to field instead of the INVITE string ? > I could make a special sip profile for that provider with it's own dialplan and then set destination_number from the "sip_to_user" variable and transfer to the real dialplan, but it just seems so messy... > Or is it my provider that is doing it wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/1e528d83/attachment.html From ak at hejdu.dk Wed Sep 7 21:22:08 2016 From: ak at hejdu.dk (Allan Kristensen) Date: Wed, 7 Sep 2016 19:22:08 +0200 Subject: [Freeswitch-users] Hangup cause translation issues? In-Reply-To: <6DE4D13D-25CD-4054-9A21-24A7765F9131@jerris.com> References: <6DE4D13D-25CD-4054-9A21-24A7765F9131@jerris.com> Message-ID: Hello Michael, Ahh, so I was looking the wrong direction for the translation (qsig -> sip) Thanks for your help! /Allan On Thu, Sep 1, 2016 at 11:16 PM, Michael Jerris wrote: > https://tools.ietf.org/html/rfc4497#section-8.4.4 > > 480 Temporarily unavailable 18 No user responding > > > > On Sep 1, 2016, at 5:03 PM, Allan Kristensen wrote: > > Hello, > > Why am I getting a (q850) NO_USER_RESPONSE (18) hangup cause from a SIP > 480 Temp. unavail. > > When the RFC 4497 says (pick one): > > > 19 No answer from the user 480 Temporarily unavailable > 20 Subscriber absent 480 Temporarily unavailable > > > I looked in the source (sofia_glue.c) and it says: > > > /* map sip responses to QSIG cause codes ala RFC4497 section 8.4.4 */ > switch_call_cause_t sofia_glue_sip_cause_to_freeswitch(int status) > { > switch (status) { > ... > > ... > > case 480: > return SWITCH_CAUSE_NO_USER_RESPONSE; > > > Which is code 18, it seems incorrect.. is it just me? > > /Allan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/a2b05251/attachment.html From ak at hejdu.dk Wed Sep 7 21:38:14 2016 From: ak at hejdu.dk (Allan Kristensen) Date: Wed, 7 Sep 2016 19:38:14 +0200 Subject: [Freeswitch-users] Getting destination number In-Reply-To: <96c2451c-e2e4-f959-fefb-efe9c71617ec@gmail.com> References: <96c2451c-e2e4-f959-fefb-efe9c71617ec@gmail.com> Message-ID: It IS a trunk with multiple DID's and it IS registered with the provider. Setting the "extension" parameter however does not change anything. It's like the invite request is not "matched" with the gateway config and the option is therefore not applied. It's a pretty simple config: I will contact the provider if the way they are doing it is non standard... /Allan On Wed, Sep 7, 2016 at 5:56 PM, Victor Chukalovskiy < victor.chukalovskiy at gmail.com> wrote: > I'd ask provider to make a change and send destination number in SIP URI > like most others do. > > Especially if later you get different numbers from a different provider, > you might benefit from having it all standard from day 1. > > On 16-09-07 11:38 AM, Allan Kristensen wrote: > > Hello, > > I've just setup a sip trunk with a new provider, however there are some > issues receiving calls. > > The INVITE looks like this: > > INVITE sip:NCdWXsdSsaF2B at 192.168.0.190:52284 SIP/2.0 > .... > From: ;tag= > Ud8ghaXg01821203 > To: > ... > > The invite has my account name, instead of the destination number and the > real destination number is in the "To:" field (which it normally is I guess > ;-) > > Then Freeswitch does this of cause: > > [INFO] mod_dialplan_xml.c:637 Processing +XXXXXXXXXX <+XXXXXXXXXX>->NCdWXsdSsaF2B in > context inbound > > That is undesirable, so Is there any way for Freeswitch to grab the > destination number from the to field instead of the INVITE string ? > I could make a special sip profile for that provider with it's own > dialplan and then set destination_number from the "sip_to_user" variable > and transfer to the real dialplan, but it just seems so messy... > Or is it my provider that is doing it wrong? > > Best regards, > Allan > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/27ae8b20/attachment-0001.html From grcamauer at gmail.com Wed Sep 7 21:42:42 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Wed, 7 Sep 2016 14:42:42 -0300 Subject: [Freeswitch-users] intermittent DTMF duplicate digit detection In-Reply-To: <0b8b94d8c9ca4876988a7f490c7a0b17@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> References: <5c1728935ef44b9fa0da100d7cf4210f@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> <0b8b94d8c9ca4876988a7f490c7a0b17@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> Message-ID: Jeff, Just a couple of pointers. Inband DTMF detection is handled by spandsp and only really works if you are using PCMU or PCMA codecs (it does NOT work if you use codecs that compress like G.729, etc.) Spandsp analyses the tone frequencies received and tries to determine which DTMF was sent. RFC2833 works by sending a special packet in the RTP stream, no analysis needed. You should only specify ONE DTMF method for a channel if you don't want to have duplication problems. You should set and in the sip profile so that it only accepts RFC2833. Regards, Guillermo On Wed, Sep 7, 2016 at 9:15 AM, Jeff Crews wrote: > Sorry my original email had so many typos. > > > > Thanks for this suggestion. > > > > I was trying to figure out how to do this exact change to use rfc2833, > none or inband to see if it impacted this issue?I was not sure where to > make this change?are you suggesting I remove the line to > ?spandsp_start_dtmf? or is dtmf-type an option for spandsp? I did not see > any options for spandsp that mention 2833 so I figured this was something > someplace else. > > > > I have tried removing the spandsp_start_dtmf and adding setting > dtmf-type=rfc2833 followed by start_dtmf and I still see my dialed DTMF > digits receiving twice and sometimes three times?sometimes I only get the > digit once (what I would expect when I only press the button once). I have > tried removing start_dtmf and leaving the dtmf-type=rfc2833 > > > > I also tried dtmf-type=inband but so no improvement. > > > > I have tried setting dtmf-type=junk to see if I would get an error message > or something to indicate I am putting the parameter in the correct > place?but do not see any error?this seems to get submitted as the call > processes and does not seem to change anything. > > > > Is there a debug level or log setting that would confirm if I switch to > rfc2833 or inband that freeswitch is indeed working as rfc2833 or inband? > > > > If I could figure out how to disable whatever the switch_rtp.c message > indicates on the log DTMF processing?that would seem to address my issue. > > > > Thanks in advance for any help you can provide. > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Guillermo > Ruiz Camauer > *Sent:* Saturday, September 03, 2016 09:14 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] intermittent DTMF duplicate digit > detection > > > > Can you try with RFC-2833 inste as of inband? > > > > Guillermo > > Sent from my iPhone > > > On Sep 3, 2016, at 01:20, Jeff Crews wrote: > > I am running > > FreeSWITCH Version 1.6.6~64bit ( 64bit) running in a non-virtualized > hardware platform. I am using it with FusionPBX (roughly 2 weeks since my > last git pull) > > > > When using a SIP trunk from my CopperCom IP card I get intermittent > duplicate DTMF digits specifically causing me trouble using the IVR > application. > > > > With these options on: > > > > dtmf_verbose=true > > > > spandsp_dtmf_rx_threshold=-42 > > > > spandsp_dtmf_rx_twist=8 > > > > spandsp_dtmf_rx_reverse_twist=6 > > > > min_dup_digit_spacing_ms=50 > > (I have adjusted this from 0 to values of upwards of 2000?not sure it > applies in this case as I think the duplicate digits might not be impacted > by this value as I think two different systems are detecting the DTMF). > > > > In the following logs the min_dup_digit_spacing_ms might have been any > number of values I was testing. > > > > So?on a properly recognized DTMF digit the logs look like this when I > placed a test call to the IVR and dialed 9 as a menu option for the company > directory then 489 to successfully to search for a name?in this call all > worked as expected: > > > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.113751 [DEBUG] > switch_core_media.c:4485 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf > send payload to 101 recv payload to 101 > > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d parsing [public->dtmf-type] > continue=true > > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Regex (PASS) [dtmf-type] () =~ // > break=on-false > > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action set(dtmf_verbose=true) > > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_threshold= > -42) > > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_twist=8) > > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_reverse_ > twist=6) > > b6fe5cc0-717e-11e6-a586-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action spandsp_start_dtmf() > > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d set(dtmf_verbose=true) > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] > mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d > [dtmf_verbose]=[true] > > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_threshold=-42) > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] > mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d > [spandsp_dtmf_rx_threshold]=[-42] > > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_twist=8) > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] > mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d > [spandsp_dtmf_rx_twist]=[8] > > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_reverse_twist=6) > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] > mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d > [spandsp_dtmf_rx_reverse_twist]=[6] > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] > switch_core_session.c:2628 Application spandsp_start_dtmf Requires media! > pre_answering channel sofia/internal/541xxxyyyy at a.b.c.d > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] > switch_core_media.c:6332 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf > send payload to 101 > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] > switch_core_media.c:6339 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf > receive payload to 101 > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:32:53.133718 [DEBUG] > switch_core_media.c:6362 sofia/internal/541xxxyyyy at a.b.c.d Set rtp dtmf > delay to 40 > > b6fe5cc0-717e-11e6-a586-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d spandsp_start_dtmf() > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.973723 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially D - total -18.52dB, row > -35.24dB, col -32.15dB, duration 62628 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.18dB, > col -5.09dB, duration 62730 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.94dB, row -5.03dB, > col -5.06dB, duration 62832 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [DEBUG] > mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:00.993716 [INFO] > switch_channel.c:512 RECV DTMF 9:2000 > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.013719 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.03dB, row -5.21dB, > col -5.28dB, duration 102 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.013719 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.02dB, row -5.29dB, > col -5.13dB, duration 204 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.033720 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.92dB, row -5.03dB, > col -5.03dB, duration 306 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.053716 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.08dB, > col -5.22dB, duration 408 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.053716 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -9.02dB, row > -17.52dB, col -16.96dB, duration 510 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:01.073716 [DEBUG] > mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 76 ms > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.093756 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially D - total -19.84dB, row > -34.97dB, col -34.04dB, duration 48144 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.80dB, row -4.77dB, > col -4.77dB, duration 48246 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.92dB, row -5.02dB, > col -5.03dB, duration 48348 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [DEBUG] > mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [4] > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.113726 [INFO] > switch_channel.c:512 RECV DTMF 4:2000 > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.133730 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.14dB, row -5.55dB, > col -5.42dB, duration 102 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.133730 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.77dB, row -4.66dB, > col -4.80dB, duration 204 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.153730 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.25dB, row -5.70dB, > col -5.63dB, duration 306 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.173727 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.79dB, row -4.84dB, > col -4.70dB, duration 408 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.173727 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.92dB, row -5.00dB, > col -5.05dB, duration 510 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.193720 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.11dB, row -7.36dB, > col -7.35dB, duration 612 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.213719 [DEBUG] > mod_spandsp_dsp.c:387 DTMF END DETECTED: [4], duration = 89 ms > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.313724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.95dB, row -7.12dB, > col -7.00dB, duration 918 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.333719 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.10dB, row -5.44dB, > col -5.32dB, duration 1020 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.99dB, row -5.15dB, > col -5.16dB, duration 1122 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] > mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [8] > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [INFO] > switch_channel.c:512 RECV DTMF 8:2000 > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.353724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.85dB, row -4.84dB, > col -4.94dB, duration 102 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.373724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.90dB, row -5.02dB, > col -4.93dB, duration 204 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.393724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -2.98dB, row -5.22dB, > col -5.11dB, duration 306 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.393724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.11dB, row -5.32dB, > col -5.43dB, duration 408 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.413724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 8 - total -3.09dB, row -5.33dB, > col -5.39dB, duration 510 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.413724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially * - total -13.19dB, row > -24.69dB, col -24.21dB, duration 612 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.433724 [DEBUG] > mod_spandsp_dsp.c:387 DTMF END DETECTED: [8], duration = 89 ms > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.473724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -9.05dB, row > -17.46dB, col -17.13dB, duration 306 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.97dB, row -5.12dB, > col -5.12dB, duration 408 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.96dB, row -5.16dB, > col -5.06dB, duration 510 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [DEBUG] > mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.493719 [INFO] > switch_channel.c:512 RECV DTMF 9:2000 > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.513724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -8.91dB, row > -16.92dB, col -17.15dB, duration 102 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.533724 [DEBUG] > mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 25 ms > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.553724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -5.06dB, row -9.31dB, > col -9.33dB, duration 204 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.98dB, row -5.04dB, > col -5.19dB, duration 306 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -2.93dB, row -5.14dB, > col -4.99dB, duration 408 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [DEBUG] > mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [9] > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.573734 [INFO] > switch_channel.c:512 RECV DTMF 9:2000 > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.593730 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -3.02dB, row -5.28dB, > col -5.20dB, duration 102 - hit > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.593730 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 9 - total -11.08dB, row > -21.34dB, col -21.19dB, duration 204 - miss > > b6fe5cc0-717e-11e6-a586-0360625ff113 2016-09-02 19:33:07.613728 [DEBUG] > mod_spandsp_dsp.c:387 DTMF END DETECTED: [9], duration = 38 ms > > > > this time I dialed the same menu and dialed 4 and got invalid entry (which > digit I dial to cause the intermittent failure seems to be nearly any > digit): > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] > switch_core_media.c:4485 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf > send payload to 101 recv payload to 101 > > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d parsing [public->dtmf-type] > continue=true > > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Regex (PASS) [dtmf-type] () =~ // > break=on-false > > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action set(dtmf_verbose=true) > > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_threshold= > -42) > > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_twist=8) > > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action set(spandsp_dtmf_rx_reverse_ > twist=6) > > 0da6c076-717f-11e6-a732-0360625ff113 Dialplan: > sofia/internal/541xxxyyyy at a.b.c.d Action spandsp_start_dtmf() > > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d set(dtmf_verbose=true) > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] > mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d > [dtmf_verbose]=[true] > > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_threshold=-42) > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] > mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d > [spandsp_dtmf_rx_threshold]=[-42] > > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_twist=8) > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] > mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d > [spandsp_dtmf_rx_twist]=[8] > > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d set(spandsp_dtmf_rx_reverse_twist=6) > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] > mod_dptools.c:1498 SET sofia/internal/541xxxyyyy at a.b.c.d > [spandsp_dtmf_rx_reverse_twist]=[6] > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.513757 [DEBUG] > switch_core_session.c:2628 Application spandsp_start_dtmf Requires media! > pre_answering channel sofia/internal/541xxxyyyy at a.b.c.d > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] > switch_core_media.c:6332 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf > send payload to 101 > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] > switch_core_media.c:6339 sofia/internal/541xxxyyyy at a.b.c.d Set 2833 dtmf > receive payload to 101 > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:18.533724 [DEBUG] > switch_core_media.c:6362 sofia/internal/541xxxyyyy at a.b.c.d Set rtp dtmf > delay to 40 > > 0da6c076-717f-11e6-a732-0360625ff113 EXECUTE > sofia/internal/541xxxyyyy at a.b.c.d spandsp_start_dtmf() > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.593744 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.41dB, row -8.03dB, > col -8.02dB, duration 32538 - miss > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.593744 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.73dB, row -4.71dB, > col -4.59dB, duration 32640 - hit > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.693734 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -4.19dB, row -7.59dB, > col -7.55dB, duration 33354 - miss > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.25dB, row -5.68dB, > col -5.62dB, duration 33456 - hit > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -2.76dB, row -4.65dB, > col -4.79dB, duration 33558 - hit > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [DEBUG] > mod_spandsp_dsp.c:375 DTMF BEGIN DETECTED: [4] > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.713723 [INFO] > switch_channel.c:512 RECV DTMF 4:2000 > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.733724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.18dB, row -5.61dB, > col -5.47dB, duration 102 - hit > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] > switch_rtp.c:6874 RTP RECV DTMF 4:800 > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [INFO] > switch_channel.c:512 RECV DTMF 4:800 > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] > mod_spandsp_fax.c:276 FLOW DTMF Potentially 4 - total -3.76dB, row -6.65dB, > col -6.69dB, duration 204 - hit > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.793718 [DEBUG] > mod_spandsp_dsp.c:387 DTMF END DETECTED: [4], duration = 51 ms > > > > Whenever I have problems with duplicate digits as in the later example > above I always get a line with switch_rtp.c like this: > > > > 0da6c076-717f-11e6-a732-0360625ff113 2016-09-02 19:35:22.753724 [DEBUG] > switch_rtp.c:6874 RTP RECV DTMF 4:800 > > > > If one of the switch_rtp lines does not show up in the output put that it > RECV DTMF the DTMF is recognized properly. > > > > Is there an option that I can set to tell the switch_rtp.c to ignore > receiving DTMF? > > > > I do not know happens that causes some calls to work and some calls to not > work. > > > > I was not sure if when it is intermittent (sometimes 80% get duplicate > DTMF, sometimes only 20% get duplicate DTMF) what else to try. > > > > I saw this: > > https://freeswitch.org/confluence/display/FREESWITCH/RTP+Issues > > and was not sure if this applied?or where options like: > > > > Were supposed to be placed in the dial plan to get these in the right > place. Is this part of the options before you invoke > action=spandsp_start_dtmf > > > > Thanks in advance for any help you can provide. > > > > Jeff > > -.-. --.- -.. . -.- . --... --.- -.-- ..- > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/e2758442/attachment-0001.html From victor.chukalovskiy at gmail.com Wed Sep 7 23:50:07 2016 From: victor.chukalovskiy at gmail.com (Victor Chukalovskiy) Date: Wed, 7 Sep 2016 15:50:07 -0400 Subject: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? In-Reply-To: References: <20160902021128.5824594.21808.17146@gmail.com> <8F2F168A-F858-429A-BCA2-F920F2D077E3@jerris.com> <8cd6b828-efb6-7f12-12cd-6a7cbd5193dc@gmail.com> Message-ID: I'm quite sure. I even checked in core.db table "detailed_calls". What I see is that the value of "ip_addr" column is always that same as value of "b_ip_addr" column. Both columns contain IP of the UAC that initiated the call towards FS on the a-leg. Table "detailed_calls" does not have any column that would have the expected value (IP of the UAS that FS is talking to on the b-leg). On 16-09-02 02:46 PM, Michael Jerris wrote: > That doesn?t sound right to me. Are you sure? > >> On Sep 2, 2016, at 2:22 PM, Victor Chukalovskiy wrote: >> >> The IP I saw in the actual "show channels" dump represents the value of >> the far-end signaling IP for incoming (a-leg) of the call. However, for >> b-leg of the call the IP value printed is the far-end IP of the >> corresponding a-leg. So the variable is not just named differently, but >> also doesn't contain expected value for the b-leg of the call. >> >> On 16-09-02 01:22 PM, Michael Jerris wrote: >>> look at the actual data. it doesn?t have the same name ... >>> >>>> On Sep 2, 2016, at 12:47 PM, Victor Chukalovskiy wrote: >>>> >>>> Michael, saw your answer thank you. Yes, would prefer not to mess with DB. >>>> >>>> I searched and I couldn't find the value of ${network_address} in "show >>>> channels" output. I'm on 1.6.6 still if it matters. Here is the header >>>> row of "show channels": >>>> >>>> uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num,initial_cid_name,initial_cid_num,initial_ip_addr,initial_dest,initial_dialplan,initial_context >>>> >>>> "network_address" isn't there :( >>>> >>>> On 16-09-02 12:34 PM, Michael Jerris wrote: >>>>> see my previous answer to this question on this thread. You don?t need to mess with anything, its already there. >>>>> >>>>>> On Sep 1, 2016, at 10:11 PM, Victor Chukalovskiy wrote: >>>>>> >>>>>> Thank you, that would be for a specific call. Anything that will do for all calls at once? >>>>>> >>>>>> Original Message >>>>>> From: Stanislav Sinyagin >>>>>> Sent: Thursday, September 1, 2016 21:16 >>>>>> To: FreeSWITCH Users Help >>>>>> Reply To: FreeSWITCH Users Help >>>>>> Subject: Re: [Freeswitch-users] How to find destination IP address of b-leg in "show calls" or alike? >>>>>> >>>>>> uuid_dump should show all variables >>>>>> >>>>>> On Thu, Sep 1, 2016 at 8:49 PM, Victor Chukalovskiy >>>>>> wrote: >>>>>>> Good day, I've been studying output of "show calls", "show detailed >>>>>>> calls", and "show channels" for quite some time. >>>>>>> >>>>>>> Surprisingly, I can't find a value of ${network_address} variable or >>>>>>> anything similar that will tell me for each outgoing leg SIP IP address >>>>>>> on the far end. In other words, how do I find IP address of SIP UAS >>>>>>> FreeSWITCH is communicating with on every outgoing call leg? >>>>>>> >>>>>>> I managed to get it in CDRs by dumping ${network_address}, but can't get >>>>>>> it for active calls dump. Is there truly nothing in "show calls" or >>>>>>> equivalent that will help me? Should I submit a feature request then? >>>>>>> >>>>>>> Few cents on my call scenario: >>>>>>> >>>>>>> SIP call coming in (a-leg) --> multiple sip calls going out (b-legs). >>>>>>> I'm originating my b-legs via sofia gateways (so IP address of the >>>>>>> far-end is picked up from gateway config, and not mentioned in the >>>>>>> dial-plan in any way or form). >>>>>>> >>>>>>> Many thanks, >>>>>>> >>>>>>> -Victor > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From hawkins at hawkinsegroup.com Thu Sep 8 01:15:22 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Wed, 7 Sep 2016 16:15:22 -0500 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Thanks for the reply! *Fail2Ban is running:* root at sip:/etc/fail2ban# fail2ban-client start ERROR Server already running *I added everything in /etc/fail2ban/jail.conf* [ssh] enabled = true port = 22 filter = sshd logpath = /var/log/auth.log maxretry = 6 [freeswitch] enabled = true port = 5060,5061,5080,5081 filter = freeswitch logpath = /var/log/freeswitch/freeswitch.log maxretry = 10 *I also created /etc/fail2ban/filter.d/freeswitch.conf* as shown on https://github.com/fail2ban/fail2ban/blob/master/config/filter.d/freeswitch.conf *root at sip:/etc/fail2ban/filter.d# iptables -S* -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -N fail2ban-ssh -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh As you can see when running iptables -S it shoes the "fail2ban-ssh" rule but nothing about FreeSwitch. Any help is appreciated. On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie wrote: > On 7 September 2016 at 08:33, Don Hawkins > wrote: > > It keeps saying it's not there, but I did add it, is there something I'm > > missing? > > How did you add it? Is fail2ban running? Have you restarted your > computer after setting up fail2ban? If you do iptables -S, do you see > the rules? > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/d55afd32/attachment.html From mario_fs at mgtech.com Thu Sep 8 05:46:13 2016 From: mario_fs at mgtech.com (Mario G) Date: Wed, 7 Sep 2016 18:46:13 -0700 Subject: [Freeswitch-users] pull request #944: originate-retry-timeout to master In-Reply-To: References: Message-ID: <5FAB4258-E459-455A-A40B-DDD7A2F9E0BF@mgtech.com> I think this busted make, I can no longer build master. See https://freeswitch.org/jira/browse/FS-9489 Mario G > On Sep 6, 2016, at 4:52 PM, jungle Boogie wrote: > > Hi All, > > Did this new implementation break anyone else's build with make current? > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/962908aa5a100185c9631d76b9bc69cd07aa657b > > https://freeswitch.org/jira/browse/FS-9484 > > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/6e5c9321/attachment.html From jurijs.ivolga at gmail.com Thu Sep 8 09:42:22 2016 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Thu, 8 Sep 2016 08:42:22 +0300 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Hi, I configured fail2ban several times a while ago, but not with freeswitch... If you see that rules are missing, just add them and you can use SSH rules as template. I believe it should make a trick. And I see from you rules, that you are allowing all traffic and this is really bad idea... You should drop everything and allow only needed traffic. With kind regards, Jurijs On Thu, Sep 8, 2016 at 12:15 AM, Don Hawkins wrote: > Thanks for the reply! > > *Fail2Ban is running:* > root at sip:/etc/fail2ban# fail2ban-client start > ERROR Server already running > > > *I added everything in /etc/fail2ban/jail.conf* > > [ssh] > enabled = true > port = 22 > filter = sshd > logpath = /var/log/auth.log > maxretry = 6 > > [freeswitch] > enabled = true > port = 5060,5061,5080,5081 > filter = freeswitch > logpath = /var/log/freeswitch/freeswitch.log > maxretry = 10 > > > *I also created /etc/fail2ban/filter.d/freeswitch.conf* as shown on > https://github.com/fail2ban/fail2ban/blob/master/ > config/filter.d/freeswitch.conf > > > *root at sip:/etc/fail2ban/filter.d# iptables -S* > -P INPUT ACCEPT > -P FORWARD ACCEPT > -P OUTPUT ACCEPT > -N fail2ban-ssh > -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh > > > As you can see when running iptables -S it shoes the "fail2ban-ssh" rule > but nothing about FreeSwitch. > > > Any help is appreciated. > > > > On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie > wrote: > >> On 7 September 2016 at 08:33, Don Hawkins >> wrote: >> > It keeps saying it's not there, but I did add it, is there something I'm >> > missing? >> >> How did you add it? Is fail2ban running? Have you restarted your >> computer after setting up fail2ban? If you do iptables -S, do you see >> the rules? >> >> >> -- >> ------- >> inum: 883510009027723 >> sip: jungleboogie at sip2sip.info >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/7895e575/attachment-0001.html From mirkobrankovic at gmail.com Thu Sep 8 10:53:04 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 8 Sep 2016 08:53:04 +0200 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: On ubuntu it is called : Chain fail2ban-freeswitch (1 references) iptables -L should give you the chain if F2B started correctly, otherwise see the fail2ban log for errors. On Thu, Sep 8, 2016 at 7:42 AM, Jurijs Ivolga wrote: > Hi, > > I configured fail2ban several times a while ago, but not with freeswitch... > > If you see that rules are missing, just add them and you can use SSH rules > as template. I believe it should make a trick. > > And I see from you rules, that you are allowing all traffic and this is > really bad idea... > > You should drop everything and allow only needed traffic. > > With kind regards, > > Jurijs > > On Thu, Sep 8, 2016 at 12:15 AM, Don Hawkins > wrote: > >> Thanks for the reply! >> >> *Fail2Ban is running:* >> root at sip:/etc/fail2ban# fail2ban-client start >> ERROR Server already running >> >> >> *I added everything in /etc/fail2ban/jail.conf* >> >> [ssh] >> enabled = true >> port = 22 >> filter = sshd >> logpath = /var/log/auth.log >> maxretry = 6 >> >> [freeswitch] >> enabled = true >> port = 5060,5061,5080,5081 >> filter = freeswitch >> logpath = /var/log/freeswitch/freeswitch.log >> maxretry = 10 >> >> >> *I also created /etc/fail2ban/filter.d/freeswitch.conf* as shown on >> https://github.com/fail2ban/fail2ban/blob/master/config/ >> filter.d/freeswitch.conf >> >> >> *root at sip:/etc/fail2ban/filter.d# iptables -S* >> -P INPUT ACCEPT >> -P FORWARD ACCEPT >> -P OUTPUT ACCEPT >> -N fail2ban-ssh >> -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh >> >> >> As you can see when running iptables -S it shoes the "fail2ban-ssh" rule >> but nothing about FreeSwitch. >> >> >> Any help is appreciated. >> >> >> >> On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie >> wrote: >> >>> On 7 September 2016 at 08:33, Don Hawkins >>> wrote: >>> > It keeps saying it's not there, but I did add it, is there something >>> I'm >>> > missing? >>> >>> How did you add it? Is fail2ban running? Have you restarted your >>> computer after setting up fail2ban? If you do iptables -S, do you see >>> the rules? >>> >>> >>> -- >>> ------- >>> inum: 883510009027723 >>> sip: jungleboogie at sip2sip.info >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> Don Hawkins >> CEO >> Hawkins Enterprise Group LLC >> http://hawkinsegroup.com >> Zello PTT : push2don >> P: 469-214-5044 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/6088687d/attachment.html From mike at jerris.com Thu Sep 8 12:06:15 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 8 Sep 2016 04:06:15 -0400 Subject: [Freeswitch-users] pull request #944: originate-retry-timeout to master In-Reply-To: <5FAB4258-E459-455A-A40B-DDD7A2F9E0BF@mgtech.com> References: <5FAB4258-E459-455A-A40B-DDD7A2F9E0BF@mgtech.com> Message-ID: builds fine for me?. now? > On Sep 7, 2016, at 9:46 PM, Mario G wrote: > > I think this busted make, I can no longer build master. See https://freeswitch.org/jira/browse/FS-9489 > Mario G > >> On Sep 6, 2016, at 4:52 PM, jungle Boogie > wrote: >> >> Hi All, >> >> Did this new implementation break anyone else's build with make current? >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/962908aa5a100185c9631d76b9bc69cd07aa657b >> >> https://freeswitch.org/jira/browse/FS-9484 >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/ea8ae63e/attachment.html From jeff at eoni.com Thu Sep 8 17:01:50 2016 From: jeff at eoni.com (Jeff Crews) Date: Thu, 8 Sep 2016 13:01:50 +0000 Subject: [Freeswitch-users] intermittent DTMF duplicate digit detection In-Reply-To: References: <5c1728935ef44b9fa0da100d7cf4210f@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> <0b8b94d8c9ca4876988a7f490c7a0b17@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> Message-ID: <75ffb552385d45a08e4ce6a39558e932@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> Thank you very much. Those descriptions help understand the relationship much better. So I am only using PCMU and PCMA codecs. My only active SIP profile was already on: dtmf-type=rfc2833 with liberal-dtmf not specified?however I added liberal-dtmf=false anyway just to be sure. Then I made sure anything with start_dtmf or start_spandsp were disabled and made a test call to the IVR. I made three test calls and dialed a signal digit of 9 on the IVR menu and each of the three times?it routed perfectly with log entries like this: 2016-09-08 05:09:33.086731 [DEBUG] switch_ivr_menu.c:424 digits 9 Then on my fourth call?I dialed the same numbers and the IVR menu kept playing as it was as if no digits were detected at all. This is the symptom that led me to a person suggesting I place the ?start_dtmf? at the beginning of my inbound routes for my user needing the IVR menu. After placing 10 calls using the same Verizon Droid Turbo mobile phone, on 10 calls, 50% of the calls resulting in the IVR not hearing the DTMF and the IVR recording played on. I tried dialing several times the 9 digit?and no improvement. In running a: tail freeswitch.log | grep ?i dtmf I see nothing with the text dtmf in the log when the DTMF is not detected. Then I tried 10 more and all failed to recognize DTMF dialed while the IVR menu was played. Then I added back start_dtmf on the inbound route for this customer. Then I could consistently get the DTMF to be recognized. I started two SSH sessions tailing the freeswitch.log to look for ?digits? in one and case-insensitive ?dtmf? in the other. I did 20 test calls from the same mobile phone, no speakerphone, dialing 9 each time. In 20 calls only 1 call got double digits received by the switch_ivr_menu.c. When I did see double digits?I got an entry like this: 2016-09-08 05:49:15.846749 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 9:1280 I placed 30 more test calls 8 had double digit 9, 2 had triple digit 9 and the other 10 were good with only single digit received. Again when duplicate digits occurred I got entries in the log from switch_rtp.c Last week when I noticed duplicate digits were received I added IVR menu options for each menu entry so that if 2=sales I added 2, 22 and 222 to all go to sales to keep calls flowing until I can figure this out. Does anyone know exactly what does ?RTP RECV DTMF? indicates? Would packet capture in wireshark show something? Jeff From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Guillermo Ruiz Camauer Sent: Wednesday, September 07, 2016 10:43 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] intermittent DTMF duplicate digit detection Jeff, Just a couple of pointers. Inband DTMF detection is handled by spandsp and only really works if you are using PCMU or PCMA codecs (it does NOT work if you use codecs that compress like G.729, etc.) Spandsp analyses the tone frequencies received and tries to determine which DTMF was sent. RFC2833 works by sending a special packet in the RTP stream, no analysis needed. You should only specify ONE DTMF method for a channel if you don't want to have duplication problems. You should set and in the sip profile so that it only accepts RFC2833. Regards, Guillermo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/c70f72e5/attachment-0001.html From mirkobrankovic at gmail.com Thu Sep 8 17:33:08 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 8 Sep 2016 15:33:08 +0200 Subject: [Freeswitch-users] intermittent DTMF duplicate digit detection In-Reply-To: <75ffb552385d45a08e4ce6a39558e932@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> References: <5c1728935ef44b9fa0da100d7cf4210f@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> <0b8b94d8c9ca4876988a7f490c7a0b17@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> <75ffb552385d45a08e4ce6a39558e932@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> Message-ID: start_dtmf you need to start only if you receive in-band (tone) dtmf. If you are receiving rfc2833 then it should be rtp event packed picked up by FS by default, so RTP RECV DTMF 9:1280 means you got RTP EVENT with duration 1280 sent by source like that. This you should be able to see if you tcpdump/ngrep on that server. So I suggest disable start_dtmf and do the tcpdump to see if you will receive RTP EVENT when dtmf is ignored. mirko On Thu, Sep 8, 2016 at 3:01 PM, Jeff Crews wrote: > Thank you very much. > > > > Those descriptions help understand the relationship much better. > > > > So I am only using PCMU and PCMA codecs. > > > > My only active SIP profile was already on: dtmf-type=rfc2833 with > liberal-dtmf not specified?however I added liberal-dtmf=false anyway just > to be sure. > > > > Then I made sure anything with start_dtmf or start_spandsp were disabled > and made a test call to the IVR. > > > > I made three test calls and dialed a signal digit of 9 on the IVR menu and > each of the three times?it routed perfectly with log entries like this: > > 2016-09-08 05:09:33.086731 [DEBUG] switch_ivr_menu.c:424 digits 9 > > > > Then on my fourth call?I dialed the same numbers and the IVR menu kept > playing as it was as if no digits were detected at all. This is the > symptom that led me to a person suggesting I place the ?start_dtmf? at the > beginning of my inbound routes for my user needing the IVR menu. After > placing 10 calls using the same Verizon Droid Turbo mobile phone, on 10 > calls, 50% of the calls resulting in the IVR not hearing the DTMF and the > IVR recording played on. I tried dialing several times the 9 digit?and no > improvement. > > > > In running a: tail freeswitch.log | grep ?i dtmf > > I see nothing with the text dtmf in the log when the DTMF is not detected. > > > > Then I tried 10 more and all failed to recognize DTMF dialed while the IVR > menu was played. > > > > Then I added back start_dtmf on the inbound route for this customer. > > > > Then I could consistently get the DTMF to be recognized. > > > > I started two SSH sessions tailing the freeswitch.log to look for ?digits? > in one and case-insensitive ?dtmf? in the other. > > > > I did 20 test calls from the same mobile phone, no speakerphone, dialing 9 > each time. > > In 20 calls only 1 call got double digits received by the > switch_ivr_menu.c. > > When I did see double digits?I got an entry like this: > > 2016-09-08 05:49:15.846749 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 9:1280 > > > > I placed 30 more test calls > > 8 had double digit 9, 2 had triple digit 9 and the other 10 were good with > only single digit received. > > Again when duplicate digits occurred I got entries in the log from > switch_rtp.c > > > > Last week when I noticed duplicate digits were received I added IVR menu > options for each menu entry so that if 2=sales I added 2, 22 and 222 to all > go to sales to keep calls flowing until I can figure this out. > > > > Does anyone know exactly what does ?RTP RECV DTMF? indicates? > > > > Would packet capture in wireshark show something? > > > > Jeff > > > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Guillermo > Ruiz Camauer > *Sent:* Wednesday, September 07, 2016 10:43 > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] intermittent DTMF duplicate digit > detection > > > > Jeff, > > > > Just a couple of pointers. Inband DTMF detection is handled by spandsp > and only really works if you are using PCMU or PCMA codecs (it does NOT > work if you use codecs that compress like G.729, etc.) Spandsp analyses > the tone frequencies received and tries to determine which DTMF was sent. > > RFC2833 works by sending a special packet in the RTP stream, no analysis > needed. You should only specify ONE DTMF method for a channel if you don't > want to have duplication problems. > > You should set and name="liberal-dtmf" value="false"/> in the sip profile so that it only > accepts RFC2833. > > > > Regards, > > > > Guillermo > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/860a9cf6/attachment.html From jaradmorgan at gmail.com Wed Sep 7 04:33:29 2016 From: jaradmorgan at gmail.com (Jarad Morgan) Date: Wed, 07 Sep 2016 00:33:29 +0000 Subject: [Freeswitch-users] set energy level in dialplan? Message-ID: Forgive me if I am wording this poorly or missed this part in the docs. Is it possible to set the energy level in a dialplan when placing someone into a conference? Use case is that we have some users dialing into a conference via WebRTC where we would like to set the energy level to something different then what the conference profile is set too. Or if there is a better way to handle this please feel free to point me in the right direction. Thanks! Jarad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160907/011c308b/attachment-0001.html From craem at craem.net Thu Sep 8 11:50:28 2016 From: craem at craem.net (=?utf-8?Q?Angel_Elena?=) Date: Thu, 8 Sep 2016 09:50:28 +0200 Subject: [Freeswitch-users] Getting fail2ban working properly Message-ID: fail2ban (only) is a bad idea to protect a freeswitch / sip server. If you have the server with 5060 NATed or published directly to internet, is better or add a layer 7 security. The SIP-boot networks are managed by SipVicious / SipVAx / Ozeeki softs...... fail2ban + iptables layer 7 security is best option.... who ? # Generated by iptables-save *filter :INPUT ACCEPT [541:131352] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [528:125051] :SIPDOS - [0:0] -A INPUT -p udp -m udp --dport 5060 -m string --string "VoIP v11.2.4" --algo bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS -A INPUT -p udp -m udp --dport 5060 -m string --string "sundayddr" --algo bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS -A INPUT -p udp -m udp --dport 5060 -m string --string "sipsak" --algo bm --to 65535 -m comment --comment "deny sipsak" -j SIPDOS -A INPUT -p udp -m udp --dport 5060 -m string --string "sipvicious" --algo bm --to 65535 -m comment --comment "deny sipvicious" -j SIPDOS -A INPUT -p udp -m udp --dport 5060 -m string --string "friendly-scanner" --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDOS -A INPUT -p udp -m udp --dport 5060 -m string --string "iWar" --algo bm --to 65535 -m comment --comment "deny iWar" -j SIPDOS -A INPUT -p udp -m udp --dport 5060 -m string --string "sip-scan" --algo bm --to 65535 -m comment --comment "deny sip-scan" -j SIPDOS -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sundayddr" --algo bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipsak" --algo bm --to 65535 -m comment --comment "deny sipsak" -j SIPDOS -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipvicious" --algo bm --to 65535 -m comment --comment "deny sipvicious" -j SIPDOS -A INPUT -p tcp -m tcp --dport 5060 -m string --string "friendly-scanner" --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDOS -A INPUT -p tcp -m tcp --dport 5060 -m string --string "iWar" --algo bm --to 65535 -m comment --comment "deny iWar" -j SIPDOS -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipcli" --algo bm --to 65535 -m comment --comment "deny sipcli" -j SIPDOS -A INPUT -p udp -m udp --dport 5060 -m string --string "VaxSIPUserAgent/3.1" --algo bm --to 65535 -m comment --comment "deny VaxSip" -j SIPDOS -A SIPDOS -j LOG --log-prefix "firewall-sipdos: " --log-level 6 -A SIPDOS -j DROP COMMIT # Completed -------------------------------- ?ngel Elena Medina _o) craem at craem.net / \\ http://blog.craem.net _(___V @craem_ -------------------------------- -----Mensaje original----- De: Mirko Brankovic Enviado: Jue 08-09-2016 08:56 Asunto: Re: [Freeswitch-users] Getting fail2ban working properly Para: FreeSWITCH Users Help ; > On ubuntu it is called : > Chain fail2ban-freeswitch (1 references) > > iptables -L should give you the chain if F2B started correctly, otherwise see > the fail2ban log for errors. > > > > On Thu, Sep 8, 2016 at 7:42 AM, Jurijs Ivolga > wrote: > Hi, > > I configured fail2ban several times a while ago, but not with freeswitch... > > If you see that rules are missing, just add them and you can use SSH rules as > template. I believe it should make a trick. > > And I see from you rules, that you are allowing all traffic and this is really > bad idea... > > You should drop everything and allow only needed traffic. > > With kind regards, > > Jurijs > > On Thu, Sep 8, 2016 at 12:15 AM, Don Hawkins > wrote: > Thanks for the reply! > > Fail2Ban is running: > root at sip:/etc/fail2ban# fail2ban-client start > ERROR ?Server already running > > > I added everything in /etc/fail2ban/jail.conf > > [ssh] > enabled ?= true > port ? ? = 22 > filter ? = sshd > logpath ?= /var/log/auth.log > maxretry = 6 > > [freeswitch] > enabled ?= true > port ? ? = 5060,5061,5080,5081 > filter ? = freeswitch > logpath ?= /var/log/freeswitch/freeswitch.log > maxretry = 10 > > > I also created?/etc/fail2ban/filter.d/freeswitch.conf as shown on? > https://github.com/fail2ban/fail2ban/blob/master/config/filter.d/freeswitch.conf > > > root at sip:/etc/fail2ban/filter.d# iptables -S > -P INPUT ACCEPT > -P FORWARD ACCEPT > -P OUTPUT ACCEPT > -N fail2ban-ssh > -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh > > > As you can see when running iptables -S it shoes the "fail2ban-ssh" rule but > nothing about FreeSwitch. > > > Any help is appreciated. > > > > On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie > wrote: > On 7 September 2016 at 08:33, Don Hawkins > wrote: > > It keeps saying it's not there, but I did add it, is there something I'm > > missing? > > How did you add it? Is fail2ban running? Have you restarted your > computer after setting up fail2ban? If you do iptables -S, do you see > the rules? > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > From mirkobrankovic at gmail.com Thu Sep 8 18:36:57 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 8 Sep 2016 16:36:57 +0200 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Yes I agree, it is better to drop the unwanted packets, but are you sure that those strings in the example will appear in the packets, I mean will someone advertise the software used to send DoS attack ? --mirko On Thu, Sep 8, 2016 at 9:50 AM, Angel Elena wrote: > fail2ban (only) is a bad idea to protect a freeswitch / sip server. > > If you have the server with 5060 NATed or published directly to internet, > is better or add a layer 7 security. > > The SIP-boot networks are managed by SipVicious / SipVAx / Ozeeki > softs...... fail2ban + iptables layer 7 security is best option.... who ? > > > # Generated by iptables-save > *filter > :INPUT ACCEPT [541:131352] > :FORWARD ACCEPT [0:0] > :OUTPUT ACCEPT [528:125051] > :SIPDOS - [0:0] > -A INPUT -p udp -m udp --dport 5060 -m string --string "VoIP v11.2.4" > --algo bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "sundayddr" --algo > bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "sipsak" --algo bm > --to 65535 -m comment --comment "deny sipsak" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "sipvicious" --algo > bm --to 65535 -m comment --comment "deny sipvicious" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "friendly-scanner" > --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "iWar" --algo bm > --to 65535 -m comment --comment "deny iWar" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "sip-scan" --algo > bm --to 65535 -m comment --comment "deny sip-scan" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sundayddr" --algo > bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipsak" --algo bm > --to 65535 -m comment --comment "deny sipsak" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipvicious" --algo > bm --to 65535 -m comment --comment "deny sipvicious" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "friendly-scanner" > --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "iWar" --algo bm > --to 65535 -m comment --comment "deny iWar" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipcli" --algo bm > --to 65535 -m comment --comment "deny sipcli" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string > "VaxSIPUserAgent/3.1" --algo bm --to 65535 -m comment --comment "deny > VaxSip" -j SIPDOS > -A SIPDOS -j LOG --log-prefix "firewall-sipdos: " --log-level 6 > -A SIPDOS -j DROP > > COMMIT > # Completed > > -------------------------------- > ?ngel Elena Medina _o) > craem at craem.net / \\ > http://blog.craem.net _(___V > @craem_ > -------------------------------- > > -----Mensaje original----- > De: Mirko Brankovic > Enviado: Jue 08-09-2016 08:56 > Asunto: Re: [Freeswitch-users] Getting fail2ban working properly > Para: FreeSWITCH Users Help ; > > On ubuntu it is called : > > Chain fail2ban-freeswitch (1 references) > > > > iptables -L should give you the chain if F2B started correctly, > otherwise see > > the fail2ban log for errors. > > > > > > > > On Thu, Sep 8, 2016 at 7:42 AM, Jurijs Ivolga > > wrote: > > Hi, > > > > I configured fail2ban several times a while ago, but not with > freeswitch... > > > > If you see that rules are missing, just add them and you can use SSH > rules as > > template. I believe it should make a trick. > > > > And I see from you rules, that you are allowing all traffic and this is > really > > bad idea... > > > > You should drop everything and allow only needed traffic. > > > > With kind regards, > > > > Jurijs > > > > On Thu, Sep 8, 2016 at 12:15 AM, Don Hawkins > > wrote: > > Thanks for the reply! > > > > Fail2Ban is running: > > root at sip:/etc/fail2ban# fail2ban-client start > > ERROR Server already running > > > > > > I added everything in /etc/fail2ban/jail.conf > > > > [ssh] > > enabled = true > > port = 22 > > filter = sshd > > logpath = /var/log/auth.log > > maxretry = 6 > > > > [freeswitch] > > enabled = true > > port = 5060,5061,5080,5081 > > filter = freeswitch > > logpath = /var/log/freeswitch/freeswitch.log > > maxretry = 10 > > > > > > I also created /etc/fail2ban/filter.d/freeswitch.conf as shown on > > https://github.com/fail2ban/fail2ban/blob/master/config/ > filter.d/freeswitch.conf > > > > > > root at sip:/etc/fail2ban/filter.d# iptables -S > > -P INPUT ACCEPT > > -P FORWARD ACCEPT > > -P OUTPUT ACCEPT > > -N fail2ban-ssh > > -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh > > > > > > As you can see when running iptables -S it shoes the "fail2ban-ssh" rule > but > > nothing about FreeSwitch. > > > > > > Any help is appreciated. > > > > > > > > On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie > > wrote: > > On 7 September 2016 at 08:33, Don Hawkins > > wrote: > > > It keeps saying it's not there, but I did add it, is there something > I'm > > > missing? > > > > How did you add it? Is fail2ban running? Have you restarted your > > computer after setting up fail2ban? If you do iptables -S, do you see > > the rules? > > > > > > -- > > ------- > > inum: 883510009027723 > > sip: jungleboogie at sip2sip.info > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > -- > > Sincerely, > > Don Hawkins > > CEO > > Hawkins Enterprise Group LLC > > http://hawkinsegroup.com > > Zello PTT : push2don > > P: 469-214-5044 > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > -- > > Regards, > > Mirko > > > > ____________________________________________________________ > _____________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/ef820c20/attachment-0001.html From david.villasmil.work at gmail.com Thu Sep 8 18:49:08 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 08 Sep 2016 14:49:08 +0000 Subject: [Freeswitch-users] set energy level in dialplan? In-Reply-To: References: Message-ID: Hello, What do you mean by "energy level"? If you mean audio, take a look at https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_audio_level Regards David On Thu, Sep 8, 2016 at 4:07 PM Jarad Morgan wrote: > Forgive me if I am wording this poorly or missed this part in the docs. Is > it possible to set the energy level in a dialplan when placing someone into > a conference? > > Use case is that we have some users dialing into a conference via WebRTC > where we would like to set the energy level to something different then > what the conference profile is set too. > > Or if there is a better way to handle this please feel free to point me in > the right direction. > > Thanks! > Jarad > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/c3f8cd68/attachment.html From andrew at cassidywebservices.co.uk Thu Sep 8 18:53:21 2016 From: andrew at cassidywebservices.co.uk (Andrew Cassidy) Date: Thu, 8 Sep 2016 15:53:21 +0100 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Usually they do, yes. Sometimes they change the UA to a valid one. Most people running these attacks are skiddies so don't bother. I use these sorts of rules in conjunction with fail2ban because an IP match is much faster than a substring match. That is to say I log and drop, then have fail2ban checking the logs and adding the IP addresses. On 8 September 2016 at 15:36, Mirko Brankovic wrote: > Yes I agree, it is better to drop the unwanted packets, but are you sure > that those strings in the example will appear in the packets, I mean will > someone advertise the software used to send DoS attack ? > > --mirko > > On Thu, Sep 8, 2016 at 9:50 AM, Angel Elena wrote: > >> fail2ban (only) is a bad idea to protect a freeswitch / sip server. >> >> If you have the server with 5060 NATed or published directly to internet, >> is better or add a layer 7 security. >> >> The SIP-boot networks are managed by SipVicious / SipVAx / Ozeeki >> softs...... fail2ban + iptables layer 7 security is best option.... who ? >> >> >> # Generated by iptables-save >> *filter >> :INPUT ACCEPT [541:131352] >> :FORWARD ACCEPT [0:0] >> :OUTPUT ACCEPT [528:125051] >> :SIPDOS - [0:0] >> -A INPUT -p udp -m udp --dport 5060 -m string --string "VoIP v11.2.4" >> --algo bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS >> -A INPUT -p udp -m udp --dport 5060 -m string --string "sundayddr" --algo >> bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS >> -A INPUT -p udp -m udp --dport 5060 -m string --string "sipsak" --algo bm >> --to 65535 -m comment --comment "deny sipsak" -j SIPDOS >> -A INPUT -p udp -m udp --dport 5060 -m string --string "sipvicious" >> --algo bm --to 65535 -m comment --comment "deny sipvicious" -j SIPDOS >> -A INPUT -p udp -m udp --dport 5060 -m string --string "friendly-scanner" >> --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDOS >> -A INPUT -p udp -m udp --dport 5060 -m string --string "iWar" --algo bm >> --to 65535 -m comment --comment "deny iWar" -j SIPDOS >> -A INPUT -p udp -m udp --dport 5060 -m string --string "sip-scan" --algo >> bm --to 65535 -m comment --comment "deny sip-scan" -j SIPDOS >> -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sundayddr" --algo >> bm --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS >> -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipsak" --algo bm >> --to 65535 -m comment --comment "deny sipsak" -j SIPDOS >> -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipvicious" >> --algo bm --to 65535 -m comment --comment "deny sipvicious" -j SIPDOS >> -A INPUT -p tcp -m tcp --dport 5060 -m string --string "friendly-scanner" >> --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDOS >> -A INPUT -p tcp -m tcp --dport 5060 -m string --string "iWar" --algo bm >> --to 65535 -m comment --comment "deny iWar" -j SIPDOS >> -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipcli" --algo bm >> --to 65535 -m comment --comment "deny sipcli" -j SIPDOS >> -A INPUT -p udp -m udp --dport 5060 -m string --string >> "VaxSIPUserAgent/3.1" --algo bm --to 65535 -m comment --comment "deny >> VaxSip" -j SIPDOS >> -A SIPDOS -j LOG --log-prefix "firewall-sipdos: " --log-level 6 >> -A SIPDOS -j DROP >> >> COMMIT >> # Completed >> >> -------------------------------- >> ?ngel Elena Medina _o) >> craem at craem.net / \\ >> http://blog.craem.net _(___V >> @craem_ >> -------------------------------- >> >> -----Mensaje original----- >> De: Mirko Brankovic >> Enviado: Jue 08-09-2016 08:56 >> Asunto: Re: [Freeswitch-users] Getting fail2ban working properly >> Para: FreeSWITCH Users Help ; >> > On ubuntu it is called : >> > Chain fail2ban-freeswitch (1 references) >> > >> > iptables -L should give you the chain if F2B started correctly, >> otherwise see >> > the fail2ban log for errors. >> > >> > >> > >> > On Thu, Sep 8, 2016 at 7:42 AM, Jurijs Ivolga > > > wrote: >> > Hi, >> > >> > I configured fail2ban several times a while ago, but not with >> freeswitch... >> > >> > If you see that rules are missing, just add them and you can use SSH >> rules as >> > template. I believe it should make a trick. >> > >> > And I see from you rules, that you are allowing all traffic and this is >> really >> > bad idea... >> > >> > You should drop everything and allow only needed traffic. >> > >> > With kind regards, >> > >> > Jurijs >> > >> > On Thu, Sep 8, 2016 at 12:15 AM, Don Hawkins > > > wrote: >> > Thanks for the reply! >> > >> > Fail2Ban is running: >> > root at sip:/etc/fail2ban# fail2ban-client start >> > ERROR Server already running >> > >> > >> > I added everything in /etc/fail2ban/jail.conf >> > >> > [ssh] >> > enabled = true >> > port = 22 >> > filter = sshd >> > logpath = /var/log/auth.log >> > maxretry = 6 >> > >> > [freeswitch] >> > enabled = true >> > port = 5060,5061,5080,5081 >> > filter = freeswitch >> > logpath = /var/log/freeswitch/freeswitch.log >> > maxretry = 10 >> > >> > >> > I also created /etc/fail2ban/filter.d/freeswitch.conf as shown on >> > https://github.com/fail2ban/fail2ban/blob/master/config/filt >> er.d/freeswitch.conf >> > >> > >> > root at sip:/etc/fail2ban/filter.d# iptables -S >> > -P INPUT ACCEPT >> > -P FORWARD ACCEPT >> > -P OUTPUT ACCEPT >> > -N fail2ban-ssh >> > -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh >> > >> > >> > As you can see when running iptables -S it shoes the "fail2ban-ssh" >> rule but >> > nothing about FreeSwitch. >> > >> > >> > Any help is appreciated. >> > >> > >> > >> > On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie > > > wrote: >> > On 7 September 2016 at 08:33, Don Hawkins > > > wrote: >> > > It keeps saying it's not there, but I did add it, is there something >> I'm >> > > missing? >> > >> > How did you add it? Is fail2ban running? Have you restarted your >> > computer after setting up fail2ban? If you do iptables -S, do you see >> > the rules? >> > >> > >> > -- >> > ------- >> > inum: 883510009027723 >> > sip: jungleboogie at sip2sip.info >> > >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at lists.freeswitch.org >> > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> freeswitch-users >> > >> > http://www.freeswitch.org >> > >> > >> > >> > -- >> > Sincerely, >> > Don Hawkins >> > CEO >> > Hawkins Enterprise Group LLC >> > http://hawkinsegroup.com >> > Zello PTT : push2don >> > P: 469-214-5044 >> > >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at 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 at 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 at lists.freeswitch.org >> > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> freeswitch-users >> > >> > http://www.freeswitch.org >> > >> > >> > >> > -- >> > Regards, >> > Mirko >> > >> > ____________________________________________________________ >> _____________ >> > >> > Professional FreeSWITCH Consulting Services: >> > >> > consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director 03303 880 960 andrew at cassidyweb.co.uk www.cassidyweb.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/4a6172db/attachment-0001.html From bipin at xbipin.com Thu Sep 8 20:57:46 2016 From: bipin at xbipin.com (Bipin Patel) Date: Thu, 8 Sep 2016 20:57:46 +0400 Subject: [Freeswitch-users] originate command to send fax only after tone detected In-Reply-To: <157010f4b10.2787.b07ebdf329620b8089087c7205b03f01@xbipin.com> References: <52528ef4-e688-4dbf-d629-8bcc3e19a351@xbipin.com> <157010f4b10.2787.b07ebdf329620b8089087c7205b03f01@xbipin.com> Message-ID: An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/af957636/attachment.html From hawkins at hawkinsegroup.com Thu Sep 8 22:23:55 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Thu, 8 Sep 2016 13:23:55 -0500 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: I cleared out the logs and reloaded fail2ban. Going back to look at the logs again now and I don't even see an attempt to load the FreeSwitch filter. fail2ban.log: 2016-09-08 18:21:16,855 fail2ban.server [3576]: INFO Changed logging target to /var/log/fail2ban.log for Fail2ban v0.8.13 2016-09-08 18:21:16,856 fail2ban.jail [3576]: INFO Creating new jail 'ssh' 2016-09-08 18:21:16,856 fail2ban.jail [3576]: INFO Jail 'ssh' uses pyinotify 2016-09-08 18:21:16,862 fail2ban.jail [3576]: INFO Initiated 'pyinotify' backend 2016-09-08 18:21:16,864 fail2ban.filter [3576]: INFO Added logfile = /var/log/auth.log 2016-09-08 18:21:16,866 fail2ban.filter [3576]: INFO Set maxRetry = 6 2016-09-08 18:21:16,867 fail2ban.filter [3576]: INFO Set findtime = 600 2016-09-08 18:21:16,868 fail2ban.actions[3576]: INFO Set banTime = 1800 2016-09-08 18:21:16,889 fail2ban.jail [3576]: INFO Creating new jail 'ssh-ddos' 2016-09-08 18:21:16,890 fail2ban.jail [3576]: INFO Jail 'ssh-ddos' uses pyinotify 2016-09-08 18:21:16,896 fail2ban.jail [3576]: INFO Initiated 'pyinotify' backend 2016-09-08 18:21:16,898 fail2ban.filter [3576]: INFO Added logfile = /var/log/auth.log 2016-09-08 18:21:16,900 fail2ban.filter [3576]: INFO Set maxRetry = 6 2016-09-08 18:21:16,901 fail2ban.filter [3576]: INFO Set findtime = 600 2016-09-08 18:21:16,902 fail2ban.actions[3576]: INFO Set banTime = 1800 2016-09-08 18:21:16,910 fail2ban.jail [3576]: INFO Jail 'ssh' started 2016-09-08 18:21:16,914 fail2ban.jail [3576]: INFO Jail 'ssh-ddos' started On Thu, Sep 8, 2016 at 1:53 AM, Mirko Brankovic wrote: > On ubuntu it is called : > Chain fail2ban-freeswitch (1 references) > > iptables -L should give you the chain if F2B started correctly, otherwise > see the fail2ban log for errors. > > > > On Thu, Sep 8, 2016 at 7:42 AM, Jurijs Ivolga > wrote: > >> Hi, >> >> I configured fail2ban several times a while ago, but not with >> freeswitch... >> >> If you see that rules are missing, just add them and you can use SSH >> rules as template. I believe it should make a trick. >> >> And I see from you rules, that you are allowing all traffic and this is >> really bad idea... >> >> You should drop everything and allow only needed traffic. >> >> With kind regards, >> >> Jurijs >> >> On Thu, Sep 8, 2016 at 12:15 AM, Don Hawkins >> wrote: >> >>> Thanks for the reply! >>> >>> *Fail2Ban is running:* >>> root at sip:/etc/fail2ban# fail2ban-client start >>> ERROR Server already running >>> >>> >>> *I added everything in /etc/fail2ban/jail.conf* >>> >>> [ssh] >>> enabled = true >>> port = 22 >>> filter = sshd >>> logpath = /var/log/auth.log >>> maxretry = 6 >>> >>> [freeswitch] >>> enabled = true >>> port = 5060,5061,5080,5081 >>> filter = freeswitch >>> logpath = /var/log/freeswitch/freeswitch.log >>> maxretry = 10 >>> >>> >>> *I also created /etc/fail2ban/filter.d/freeswitch.conf* as shown on >>> https://github.com/fail2ban/fail2ban/blob/master/config/f >>> ilter.d/freeswitch.conf >>> >>> >>> *root at sip:/etc/fail2ban/filter.d# iptables -S* >>> -P INPUT ACCEPT >>> -P FORWARD ACCEPT >>> -P OUTPUT ACCEPT >>> -N fail2ban-ssh >>> -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh >>> >>> >>> As you can see when running iptables -S it shoes the "fail2ban-ssh" rule >>> but nothing about FreeSwitch. >>> >>> >>> Any help is appreciated. >>> >>> >>> >>> On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie >>> wrote: >>> >>>> On 7 September 2016 at 08:33, Don Hawkins >>>> wrote: >>>> > It keeps saying it's not there, but I did add it, is there something >>>> I'm >>>> > missing? >>>> >>>> How did you add it? Is fail2ban running? Have you restarted your >>>> computer after setting up fail2ban? If you do iptables -S, do you see >>>> the rules? >>>> >>>> >>>> -- >>>> ------- >>>> inum: 883510009027723 >>>> sip: jungleboogie at sip2sip.info >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> Don Hawkins >>> CEO >>> Hawkins Enterprise Group LLC >>> http://hawkinsegroup.com >>> Zello PTT : push2don >>> P: 469-214-5044 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/be49cbb2/attachment-0001.html From devang.nathwani31589 at gmail.com Thu Sep 8 22:41:18 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Fri, 9 Sep 2016 00:11:18 +0530 Subject: [Freeswitch-users] Robotic voice with g729 pass through In-Reply-To: References: Message-ID: Hello Guys, I manage to resolve it. As I said, I was facing it only when I use ios(through PJSip library) as UAC and specifically with G729 codec. I am using a third party patch for G729. The issue was with compatibility of the patch with the pjsip's version Thank you all for your time and interest. On Sat, Sep 3, 2016 at 2:24 AM, Russell Treleaven wrote: > That should work. > First thing to do is use wireshark to verify the media is going direct. > > On Fri, Sep 2, 2016 at 4:46 PM, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> what about pass through mode? >> >> On Sat, Sep 3, 2016 at 2:13 AM, Russell Treleaven < >> rtreleaven at bunnykick.ca> wrote: >> >>> Just FYI, you won't be able to record, originate or terminate calls >>> without the commercial g729 codec. https://freeswitch.com/cart.php?gid=2 >>> >>> >>> >>> On Fri, Sep 2, 2016 at 4:39 PM, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> bandwidth consumption >>>> http://www.cisco.com/c/en/us/support/docs/voice/voice-qualit >>>> y/7934-bwidth-consume.html >>>> http://www.voip-info.org/wiki/view/Bandwidth+consumption >>>> >>>> On Sat, Sep 3, 2016 at 2:05 AM, Russell Treleaven < >>>> rtreleaven at bunnykick.ca> wrote: >>>> >>>>> Do you really need G729? >>>>> If yes, why? >>>>> >>>>> >>>>> On Fri, Sep 2, 2016 at 3:42 PM, devang nathwani < >>>>> devang.nathwani31589 at gmail.com> wrote: >>>>> >>>>>> - when i tried with alaw and ulaw it worked perfectly, no audio >>>>>> issue; its with g729 only; if this is the than does this has anything to do >>>>>> with ptime? >>>>>> >>>>>> - As UAC i am using iphone pjsip library and UAS grandstream IP >>>>>> phone, both supporting and freeswitch as well as provider though which call >>>>>> is routing are supporting g729, no transcoding is there. >>>>>> >>>>>> On Fri, Sep 2, 2016 at 10:53 PM, Ashwin Rath >>>>>> wrote: >>>>>> >>>>>>> I had this issue and it turned out to be mismatched ptimes. >>>>>>> >>>>>>> On 2 September 2016 at 19:07, Russell Treleaven < >>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>> >>>>>>>> Ok so If Freeswitch isn't in the media path and you still have >>>>>>>> robotic sounding audio then you need to look at what remains, the UAC, UAS >>>>>>>> and the network between them. >>>>>>>> >>>>>>>> On Fri, Sep 2, 2016 at 12:16 AM, devang nathwani < >>>>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>>>> >>>>>>>>> Tried inbound-bypass-media=true still robotic sound >>>>>>>>> >>>>>>>>> On Sep 1, 2016 10:38 PM, "Russell Treleaven" < >>>>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>>>> >>>>>>>>>> First test I would do is bypass media. >>>>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Bypass+ >>>>>>>>>> Media+Overview >>>>>>>>>> >>>>>>>>>> This link might also help http://freeswitch.com/ >>>>>>>>>> >>>>>>>>>> On Thu, Sep 1, 2016 at 12:15 PM, devang nathwani < >>>>>>>>>> devang.nathwani31589 at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Okay...and how resolve the packet loss issue?! >>>>>>>>>>> >>>>>>>>>>> On Sep 1, 2016 7:39 PM, "Russell Treleaven" < >>>>>>>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>>>>>>> >>>>>>>>>>>> The robotic noise is packet loss. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Sep 1, 2016 at 4:49 AM, Bipin Patel >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> hi, >>>>>>>>>>>>> >>>>>>>>>>>>> do u have jitter buffer enabled because i recall i had a >>>>>>>>>>>>> similar issue and after disabling jitter buffer, cng to false and vad to >>>>>>>>>>>>> none it resolved >>>>>>>>>>>>> >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> Bipin >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ------------------------------ >>>>>>>>>>>>> -------- Original Message -------- >>>>>>>>>>>>> Subject: [Freeswitch-users] Robotic voice with g729 pass >>>>>>>>>>>>> through >>>>>>>>>>>>> From: devang nathwani >>>>>>>>>>>>> >>>>>>>>>>>>> To: FreeSWITCH Users Help >>>>>>>>>>>> itch.org> >>>>>>>>>>>>> Date: 9/1/2016, 11:43:38 AM >>>>>>>>>>>>> >>>>>>>>>>>>> Hello All, >>>>>>>>>>>>> >>>>>>>>>>>>> Whenever i am trying to make a call, Two way commnunication >>>>>>>>>>>>> was established but I am having kind of choppy like robotic voice or very >>>>>>>>>>>>> bad quality of voice with only G729 codec.For PCMU,PCMA both are working >>>>>>>>>>>>> fine.I want to work with G729. >>>>>>>>>>>>> I have set below parameters in sip profile to try to resolve >>>>>>>>>>>>> this issue. But it doesn't work for me. >>>>>>>>>>>>> >>>>>>>>>>>>> aggressive-nat-detection : true >>>>>>>>>>>>> absolute_codec_string : G729 >>>>>>>>>>>>> inbound-codec-prefs :G729,PCMU,PCMA >>>>>>>>>>>>> outbound-codec-prefs : G729,PCMU,PCMA >>>>>>>>>>>>> inbound-late-negotiation :true >>>>>>>>>>>>> inbound-codec-negotiation : generous >>>>>>>>>>>>> >>>>>>>>>>>>> Any help and ideas will be appreciated. >>>>>>>>>>>>> >>>>>>>>>>>>> FYI : For debug purpose you may get SIP Log from >>>>>>>>>>>>> http://pastebin.com/D2cPLJWe >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>>>>>>>>>>> >>>>>>>>>>>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>>>>>>>>>>> >>>>>>>>>>>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>>> _____________ >>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>>> switch-users >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>> _____________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>> switch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Ashwin Kumar Rath >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/c72b860f/attachment-0001.html From grcamauer at gmail.com Thu Sep 8 22:41:39 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Thu, 8 Sep 2016 15:41:39 -0300 Subject: [Freeswitch-users] intermittent DTMF duplicate digit detection In-Reply-To: References: <5c1728935ef44b9fa0da100d7cf4210f@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> <0b8b94d8c9ca4876988a7f490c7a0b17@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> <75ffb552385d45a08e4ce6a39558e932@MBX082-E2-VA-4.EXCH082.SERVERPOD.NET> Message-ID: I see that you are using a CopperCom IP card. What exactly is that (I cannot find any info, have they gone out of business?) If it is a T1/E1 card, then you will only be able to use INBAND signalling, unless the card generates RFC2833 for you. Have you checked the settings/parameters for this card? Does this happen to you if you use a plain SIP provider or from a SIP phone? Guillermo On Thu, Sep 8, 2016 at 10:33 AM, Mirko Brankovic wrote: > start_dtmf you need to start only if you receive in-band (tone) dtmf. > If you are receiving rfc2833 then it should be rtp event packed picked up > by FS by default, so > RTP RECV DTMF 9:1280 means you got RTP EVENT with duration 1280 sent by > source like that. This you should be able to see if you tcpdump/ngrep on > that server. > > So I suggest disable start_dtmf and do the tcpdump to see if you will > receive RTP EVENT when dtmf is ignored. > > mirko > > > > On Thu, Sep 8, 2016 at 3:01 PM, Jeff Crews wrote: > >> Thank you very much. >> >> >> >> Those descriptions help understand the relationship much better. >> >> >> >> So I am only using PCMU and PCMA codecs. >> >> >> >> My only active SIP profile was already on: dtmf-type=rfc2833 with >> liberal-dtmf not specified?however I added liberal-dtmf=false anyway just >> to be sure. >> >> >> >> Then I made sure anything with start_dtmf or start_spandsp were disabled >> and made a test call to the IVR. >> >> >> >> I made three test calls and dialed a signal digit of 9 on the IVR menu >> and each of the three times?it routed perfectly with log entries like this: >> >> 2016-09-08 05:09:33.086731 [DEBUG] switch_ivr_menu.c:424 digits 9 >> >> >> >> Then on my fourth call?I dialed the same numbers and the IVR menu kept >> playing as it was as if no digits were detected at all. This is the >> symptom that led me to a person suggesting I place the ?start_dtmf? at the >> beginning of my inbound routes for my user needing the IVR menu. After >> placing 10 calls using the same Verizon Droid Turbo mobile phone, on 10 >> calls, 50% of the calls resulting in the IVR not hearing the DTMF and the >> IVR recording played on. I tried dialing several times the 9 digit?and no >> improvement. >> >> >> >> In running a: tail freeswitch.log | grep ?i dtmf >> >> I see nothing with the text dtmf in the log when the DTMF is not detected. >> >> >> >> Then I tried 10 more and all failed to recognize DTMF dialed while the >> IVR menu was played. >> >> >> >> Then I added back start_dtmf on the inbound route for this customer. >> >> >> >> Then I could consistently get the DTMF to be recognized. >> >> >> >> I started two SSH sessions tailing the freeswitch.log to look for >> ?digits? in one and case-insensitive ?dtmf? in the other. >> >> >> >> I did 20 test calls from the same mobile phone, no speakerphone, dialing >> 9 each time. >> >> In 20 calls only 1 call got double digits received by the >> switch_ivr_menu.c. >> >> When I did see double digits?I got an entry like this: >> >> 2016-09-08 05:49:15.846749 [DEBUG] switch_rtp.c:6874 RTP RECV DTMF 9:1280 >> >> >> >> I placed 30 more test calls >> >> 8 had double digit 9, 2 had triple digit 9 and the other 10 were good >> with only single digit received. >> >> Again when duplicate digits occurred I got entries in the log from >> switch_rtp.c >> >> >> >> Last week when I noticed duplicate digits were received I added IVR menu >> options for each menu entry so that if 2=sales I added 2, 22 and 222 to all >> go to sales to keep calls flowing until I can figure this out. >> >> >> >> Does anyone know exactly what does ?RTP RECV DTMF? indicates? >> >> >> >> Would packet capture in wireshark show something? >> >> >> >> Jeff >> >> >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Guillermo >> Ruiz Camauer >> *Sent:* Wednesday, September 07, 2016 10:43 >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] intermittent DTMF duplicate digit >> detection >> >> >> >> Jeff, >> >> >> >> Just a couple of pointers. Inband DTMF detection is handled by spandsp >> and only really works if you are using PCMU or PCMA codecs (it does NOT >> work if you use codecs that compress like G.729, etc.) Spandsp analyses >> the tone frequencies received and tries to determine which DTMF was sent. >> >> RFC2833 works by sending a special packet in the RTP stream, no analysis >> needed. You should only specify ONE DTMF method for a channel if you don't >> want to have duplication problems. >> >> You should set and > name="liberal-dtmf" value="false"/> in the sip profile so that it only >> accepts RFC2833. >> >> >> >> Regards, >> >> >> >> Guillermo >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/827481f4/attachment.html From hawkins at hawkinsegroup.com Thu Sep 8 23:54:42 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Thu, 8 Sep 2016 14:54:42 -0500 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: So, I got this working by creating a jail.local file. fail2ban was totally ignoring everything in the jail.conf file. But Jurijs is right, all the ports are open so some of the hackers are coming through on ports 5071 and weird numbers that don't even need to be available period. Can someone share with me how to block all ports except the important ones? Thanks! On Thu, Sep 8, 2016 at 1:23 PM, Don Hawkins wrote: > I cleared out the logs and reloaded fail2ban. Going back to look at the > logs again now and I don't even see an attempt to load the FreeSwitch > filter. > > fail2ban.log: > > 2016-09-08 18:21:16,855 fail2ban.server [3576]: INFO Changed logging > target to /var/log/fail2ban.log for Fail2ban v0.8.13 > 2016-09-08 18:21:16,856 fail2ban.jail [3576]: INFO Creating new jail > 'ssh' > 2016-09-08 18:21:16,856 fail2ban.jail [3576]: INFO Jail 'ssh' uses > pyinotify > 2016-09-08 18:21:16,862 fail2ban.jail [3576]: INFO Initiated > 'pyinotify' backend > 2016-09-08 18:21:16,864 fail2ban.filter [3576]: INFO Added logfile = > /var/log/auth.log > 2016-09-08 18:21:16,866 fail2ban.filter [3576]: INFO Set maxRetry = 6 > 2016-09-08 18:21:16,867 fail2ban.filter [3576]: INFO Set findtime = 600 > 2016-09-08 18:21:16,868 fail2ban.actions[3576]: INFO Set banTime = 1800 > 2016-09-08 18:21:16,889 fail2ban.jail [3576]: INFO Creating new jail > 'ssh-ddos' > 2016-09-08 18:21:16,890 fail2ban.jail [3576]: INFO Jail 'ssh-ddos' > uses pyinotify > 2016-09-08 18:21:16,896 fail2ban.jail [3576]: INFO Initiated > 'pyinotify' backend > 2016-09-08 18:21:16,898 fail2ban.filter [3576]: INFO Added logfile = > /var/log/auth.log > 2016-09-08 18:21:16,900 fail2ban.filter [3576]: INFO Set maxRetry = 6 > 2016-09-08 18:21:16,901 fail2ban.filter [3576]: INFO Set findtime = 600 > 2016-09-08 18:21:16,902 fail2ban.actions[3576]: INFO Set banTime = 1800 > 2016-09-08 18:21:16,910 fail2ban.jail [3576]: INFO Jail 'ssh' started > 2016-09-08 18:21:16,914 fail2ban.jail [3576]: INFO Jail 'ssh-ddos' > started > > > On Thu, Sep 8, 2016 at 1:53 AM, Mirko Brankovic > wrote: > >> On ubuntu it is called : >> Chain fail2ban-freeswitch (1 references) >> >> iptables -L should give you the chain if F2B started correctly, otherwise >> see the fail2ban log for errors. >> >> >> >> On Thu, Sep 8, 2016 at 7:42 AM, Jurijs Ivolga >> wrote: >> >>> Hi, >>> >>> I configured fail2ban several times a while ago, but not with >>> freeswitch... >>> >>> If you see that rules are missing, just add them and you can use SSH >>> rules as template. I believe it should make a trick. >>> >>> And I see from you rules, that you are allowing all traffic and this is >>> really bad idea... >>> >>> You should drop everything and allow only needed traffic. >>> >>> With kind regards, >>> >>> Jurijs >>> >>> On Thu, Sep 8, 2016 at 12:15 AM, Don Hawkins >>> wrote: >>> >>>> Thanks for the reply! >>>> >>>> *Fail2Ban is running:* >>>> root at sip:/etc/fail2ban# fail2ban-client start >>>> ERROR Server already running >>>> >>>> >>>> *I added everything in /etc/fail2ban/jail.conf* >>>> >>>> [ssh] >>>> enabled = true >>>> port = 22 >>>> filter = sshd >>>> logpath = /var/log/auth.log >>>> maxretry = 6 >>>> >>>> [freeswitch] >>>> enabled = true >>>> port = 5060,5061,5080,5081 >>>> filter = freeswitch >>>> logpath = /var/log/freeswitch/freeswitch.log >>>> maxretry = 10 >>>> >>>> >>>> *I also created /etc/fail2ban/filter.d/freeswitch.conf* as shown on >>>> https://github.com/fail2ban/fail2ban/blob/master/config/f >>>> ilter.d/freeswitch.conf >>>> >>>> >>>> *root at sip:/etc/fail2ban/filter.d# iptables -S* >>>> -P INPUT ACCEPT >>>> -P FORWARD ACCEPT >>>> -P OUTPUT ACCEPT >>>> -N fail2ban-ssh >>>> -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh >>>> >>>> >>>> As you can see when running iptables -S it shoes the "fail2ban-ssh" >>>> rule but nothing about FreeSwitch. >>>> >>>> >>>> Any help is appreciated. >>>> >>>> >>>> >>>> On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie >>> > wrote: >>>> >>>>> On 7 September 2016 at 08:33, Don Hawkins >>>>> wrote: >>>>> > It keeps saying it's not there, but I did add it, is there something >>>>> I'm >>>>> > missing? >>>>> >>>>> How did you add it? Is fail2ban running? Have you restarted your >>>>> computer after setting up fail2ban? If you do iptables -S, do you see >>>>> the rules? >>>>> >>>>> >>>>> -- >>>>> ------- >>>>> inum: 883510009027723 >>>>> sip: jungleboogie at sip2sip.info >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Don Hawkins >>>> CEO >>>> Hawkins Enterprise Group LLC >>>> http://hawkinsegroup.com >>>> Zello PTT : push2don >>>> P: 469-214-5044 >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/aff77dd0/attachment-0001.html From craem at craem.net Thu Sep 8 22:51:09 2016 From: craem at craem.net (=?utf-8?Q?Angel_Elena?=) Date: Thu, 8 Sep 2016 20:51:09 +0200 Subject: [Freeswitch-users] Getting fail2ban working properly Message-ID: Yes... sipvicious and Ozeeki (for sample) are programs used by bots; I have many daily attacks (more Gb) with those strings. You can view the user-Agents: ngrep -d any -P ' ' -W byline -T port 5060 | grep User-Agent and review all bots / bad connections -------------------------------- ?ngel Elena Medina _o) craem at craem.net / \\ http://blog.craem.net _(___V @craem_ -------------------------------- -----Mensaje original----- De: Mirko Brankovic Enviado: Jue 08-09-2016 16:40 Asunto: Re: [Freeswitch-users] Getting fail2ban working properly Para: FreeSWITCH Users Help ; > Yes I agree, it is better to drop the unwanted packets, but are you sure that > those strings in the example will appear in the packets, I mean will someone > advertise the software used to send DoS attack ? > > --mirko > > On Thu, Sep 8, 2016 at 9:50 AM, Angel Elena > wrote: > fail2ban (only) is a bad idea to protect a freeswitch / sip server. > > If you have the server with 5060 NATed or published directly to internet, is > better or add a layer 7 security. > > The SIP-boot networks are managed by SipVicious / SipVAx / Ozeeki softs...... > fail2ban + iptables layer 7 security is best option.... who ? > > > # Generated by iptables-save > *filter > :INPUT ACCEPT [541:131352] > :FORWARD ACCEPT [0:0] > :OUTPUT ACCEPT [528:125051] > :SIPDOS - [0:0] > -A INPUT -p udp -m udp --dport 5060 -m string --string "VoIP v11.2.4" --algo bm > --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "sundayddr" --algo bm > --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "sipsak" --algo bm --to > 65535 -m comment --comment "deny sipsak" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "sipvicious" --algo bm > --to 65535 -m comment --comment "deny sipvicious" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "friendly-scanner" > --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "iWar" --algo bm --to > 65535 -m comment --comment "deny iWar" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "sip-scan" --algo bm > --to 65535 -m comment --comment "deny sip-scan" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sundayddr" --algo bm > --to 65535 -m comment --comment "deny sundayddr" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipsak" --algo bm --to > 65535 -m comment --comment "deny sipsak" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipvicious" --algo bm > --to 65535 -m comment --comment "deny sipvicious" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "friendly-scanner" > --algo bm --to 65535 -m comment --comment "deny friendly-scanner" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "iWar" --algo bm --to > 65535 -m comment --comment "deny iWar" -j SIPDOS > -A INPUT -p tcp -m tcp --dport 5060 -m string --string "sipcli" --algo bm --to > 65535 -m comment --comment "deny sipcli" -j SIPDOS > -A INPUT -p udp -m udp --dport 5060 -m string --string "VaxSIPUserAgent/3.1" > --algo bm --to 65535 -m comment --comment "deny VaxSip" -j SIPDOS > -A SIPDOS -j LOG --log-prefix "firewall-sipdos: " --log-level 6 > -A SIPDOS -j DROP > > COMMIT > # Completed > > -------------------------------- > ?ngel Elena Medina? ? ? ?_o) > craem at craem.net ? ? ? ? ? / \\ > http://blog.craem.net ? _(___V > @craem_ > -------------------------------- > > -----Mensaje original----- > De:? ? ?Mirko Brankovic > > Enviado:? ? ? ? Jue 08-09-2016 08:56 > Asunto: Re: [Freeswitch-users] Getting fail2ban working properly > Para:? ?FreeSWITCH Users Help >; > > On ubuntu it is called : > > Chain fail2ban-freeswitch (1 references) > > > > iptables -L should give you the chain if F2B started correctly, otherwise see > > the fail2ban log for errors. > > > > > > > > On Thu, Sep 8, 2016 at 7:42 AM, Jurijs Ivolga > > > > wrote: > > Hi, > > > > I configured fail2ban several times a while ago, but not with freeswitch... > > > > If you see that rules are missing, just add them and you can use SSH rules as > > template. I believe it should make a trick. > > > > And I see from you rules, that you are allowing all traffic and this is really > > bad idea... > > > > You should drop everything and allow only needed traffic. > > > > With kind regards, > > > > Jurijs > > > > On Thu, Sep 8, 2016 at 12:15 AM, Don Hawkins > > > > > wrote: > > Thanks for the reply! > > > > Fail2Ban is running: > > root at sip:/etc/fail2ban# fail2ban-client start > > ERROR ?Server already running > > > > > > I added everything in /etc/fail2ban/jail.conf > > > > [ssh] > > enabled ?= true > > port ? ? = 22 > > filter ? = sshd > > logpath ?= /var/log/auth.log > > maxretry = 6 > > > > [freeswitch] > > enabled ?= true > > port ? ? = 5060,5061,5080,5081 > > filter ? = freeswitch > > logpath ?= /var/log/freeswitch/freeswitch.log > > maxretry = 10 > > > > > > I also created?/etc/fail2ban/filter.d/freeswitch.conf as shown on? > > > https://github.com/fail2ban/fail2ban/blob/master/config/filter.d/freeswitch.conf > > > > > > root at sip:/etc/fail2ban/filter.d# iptables -S > > -P INPUT ACCEPT > > -P FORWARD ACCEPT > > -P OUTPUT ACCEPT > > -N fail2ban-ssh > > -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh > > > > > > As you can see when running iptables -S it shoes the "fail2ban-ssh" rule but > > nothing about FreeSwitch. > > > > > > Any help is appreciated. > > > > > > > > On Wed, Sep 7, 2016 at 11:01 AM, jungle Boogie > > > > wrote: > > On 7 September 2016 at 08:33, Don Hawkins > > > > > wrote: > > > It keeps saying it's not there, but I did add it, is there something I'm > > > missing? > > > > How did you add it? Is fail2ban running? Have you restarted your > > computer after setting up fail2ban? If you do iptables -S, do you see > > the rules? > > > > > > -- > > ------- > > inum: 883510009027723 > > sip: jungleboogie at sip2sip.info > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > http://www.freeswitch.org > > > > > > > > > > -- > > Sincerely, > > Don Hawkins > > CEO > > Hawkins Enterprise Group LLC > > http://hawkinsegroup.com > > > Zello PTT > : push2don > > P: 469-214-5044 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at lists.freeswitch.org > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > http://www.freeswitch.org > > > > > > > > > > -- > > Regards, > > Mirko > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at 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 at 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 at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > From jaradmorgan at gmail.com Thu Sep 8 23:19:24 2016 From: jaradmorgan at gmail.com (Jarad Morgan) Date: Thu, 08 Sep 2016 19:19:24 +0000 Subject: [Freeswitch-users] set energy level in dialplan? In-Reply-To: References: Message-ID: Hi David thanks for the reply.. I was referring to energy level or "noise gate" setting documented here. energy-level Noise gate. Energy level required for audio to be sent to the other users. The energy level is a minimum threshold of 'voice energy' that must be present before audio is bridged into the conference. Useful if a participant is in a noisy environment, so their background noise is heard only when they speak. 0 disables the noise gate and will bridge all packets even if they are only background noise. https://freeswitch.org/confluence/display/FREESWITCH/mod_conference Thanks, Jarad On Thu, Sep 8, 2016 at 10:50 AM David Villasmil < david.villasmil.work at gmail.com> wrote: > Hello, > > > What do you mean by "energy level"? > If you mean audio, take a look at > https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_audio_level > > Regards > > David > > On Thu, Sep 8, 2016 at 4:07 PM Jarad Morgan wrote: > >> Forgive me if I am wording this poorly or missed this part in the docs. >> Is it possible to set the energy level in a dialplan when placing someone >> into a conference? >> >> Use case is that we have some users dialing into a conference via WebRTC >> where we would like to set the energy level to something different then >> what the conference profile is set too. >> >> Or if there is a better way to handle this please feel free to point me >> in the right direction. >> >> Thanks! >> Jarad >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/31fd25d5/attachment-0001.html From ingham.k at gmail.com Fri Sep 9 00:36:12 2016 From: ingham.k at gmail.com (Igor Karymov) Date: Thu, 8 Sep 2016 23:36:12 +0300 Subject: [Freeswitch-users] no sound from conference participant and strange cdr Message-ID: Hi all! Could somebody please explain such values in xml_cdr: 0 0 0 0 44837 44759 0 0 0 0 30.77 400.00 1.37 0.37 20.00 3 99.00 4.49 I believe that this means that FS actually receiving packets from the client but drop them all by some reason. Incorrect configuration of the jitter buffer? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/31fbeda5/attachment-0001.html From edwardludd at gmail.com Fri Sep 9 00:49:42 2016 From: edwardludd at gmail.com (Ned Ludd) Date: Thu, 8 Sep 2016 16:49:42 -0400 Subject: [Freeswitch-users] Getting DTMF to work with SIPP Message-ID: Trying to test FS voicemail with sipp. I can't get DTMF to work no matter which way I play it. Any tips? If I use "start_dtmf" in my dialplan, and send DTMF with "play_dtmf" in my sipp scenario they should go in-band, right? And likewise if I take out "start_dtmf" and use "play_pcap_audio" with the 2833 pcap files in my scenario it should go out of band, right? Neither work. Attaching my scenario file. Maybe I'm just not doing it right? ----- Ned Ludd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/be77dbc2/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: pickup.xml Type: text/xml Size: 3887 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/be77dbc2/attachment.xml From jungleboogie0 at gmail.com Fri Sep 9 01:21:20 2016 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Thu, 8 Sep 2016 14:21:20 -0700 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: On 8 September 2016 at 12:54, Don Hawkins wrote: > Can someone share with me how to block all ports except the important ones? I had the same question about a month ago: http://lists.freeswitch.org/pipermail/freeswitch-users/2016-August/121694.html Colin gives good advice here: http://lists.freeswitch.org/pipermail/freeswitch-users/2016-August/121730.html I've also had success with contacting the originating network and request their customer to stop the traffic to me. Here's the abuse form for online.net: https://console.online.net/en/account/abuses/search By the way, if the fail2ban page on confluence needs updating, please update it or list what's wrong with it. I do see it indicates to create the jail.local and that's what you were missing for yours to work properly. -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info From david.villasmil.work at gmail.com Fri Sep 9 02:18:18 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 08 Sep 2016 22:18:18 +0000 Subject: [Freeswitch-users] set energy level in dialplan? In-Reply-To: References: Message-ID: Uff, no idea there... Sorry On Thu, Sep 8, 2016 at 10:41 PM Jarad Morgan wrote: > Hi David thanks for the reply.. I was referring to energy level or "noise > gate" setting documented here. > > energy-level Noise gate. Energy level required for audio to be sent to > the other users. The energy level is a minimum threshold of 'voice energy' > that must be present before audio is bridged into the conference. Useful if > a participant is in a noisy environment, so their background noise is heard > only when they speak. 0 disables the noise gate and will bridge all packets > even if they are only background noise. > > https://freeswitch.org/confluence/display/FREESWITCH/mod_conference > > Thanks, > Jarad > > > > On Thu, Sep 8, 2016 at 10:50 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Hello, >> >> >> What do you mean by "energy level"? >> If you mean audio, take a look at >> https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_set_audio_level >> >> Regards >> >> David >> >> On Thu, Sep 8, 2016 at 4:07 PM Jarad Morgan >> wrote: >> >>> Forgive me if I am wording this poorly or missed this part in the docs. >>> Is it possible to set the energy level in a dialplan when placing someone >>> into a conference? >>> >>> Use case is that we have some users dialing into a conference via WebRTC >>> where we would like to set the energy level to something different then >>> what the conference profile is set too. >>> >>> Or if there is a better way to handle this please feel free to point me >>> in the right direction. >>> >>> Thanks! >>> Jarad >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/a270ebd7/attachment.html From anthony.minessale at gmail.com Fri Sep 9 02:30:08 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 8 Sep 2016 17:30:08 -0500 Subject: [Freeswitch-users] set energy level in dialplan? In-Reply-To: References: Message-ID: There was not but now there is: https://freeswitch.org/jira/browse/FS-9495 Available in master, unstable packages or 1.6.11 once it's released. On Tue, Sep 6, 2016 at 7:33 PM, Jarad Morgan wrote: > Forgive me if I am wording this poorly or missed this part in the docs. Is > it possible to set the energy level in a dialplan when placing someone into > a conference? > > Use case is that we have some users dialing into a conference via WebRTC > where we would like to set the energy level to something different then > what the conference profile is set too. > > Or if there is a better way to handle this please feel free to point me in > the right direction. > > Thanks! > Jarad > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160908/c145c05a/attachment-0001.html From grcamauer at gmail.com Fri Sep 9 04:23:56 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Thu, 8 Sep 2016 21:23:56 -0300 Subject: [Freeswitch-users] Getting DTMF to work with SIPP In-Reply-To: References: Message-ID: RFC2833 is actually sent in band, but as a special packet in the RTP stream. SIP-INFO is the only real out of band signaling for DTMF, as it goes as a SIP packet. Guillermo Sent from my iPhone > On Sep 8, 2016, at 17:49, Ned Ludd wrote: > > Trying to test FS voicemail with sipp. > > I can't get DTMF to work no matter which way I play it. Any tips? > > If I use "start_dtmf" in my dialplan, and send DTMF with "play_dtmf" in my sipp scenario they should go in-band, right? > > And likewise if I take out "start_dtmf" and use "play_pcap_audio" with the 2833 pcap files in my scenario it should go out of band, right? > > Neither work. > > Attaching my scenario file. Maybe I'm just not doing it right? > > ----- > Ned Ludd > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From krice at freeswitch.org Fri Sep 9 05:00:20 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 8 Sep 2016 20:00:20 -0500 Subject: [Freeswitch-users] Getting DTMF to work with SIPP In-Reply-To: References: Message-ID: <7AE2D905-ACB7-41D7-A7B6-45472B110884@freeswitch.org> Be careful calling 2833 in band as it is not in band dtmf signaling. In band specifically refers to the dtmf tones in the actual audio stream. 2833 is specifically carried on effectively a sub channel in the rtp stream. That being said sipp can play rfc2833 at specific times. It can also replay rtp atreams or reflect them. Better method of testing just voicemail may be actually scripting up a call generator with freeswitch and some lua. Want to get really fancy add some speech rec i there and know of the prompts are playing correctly Sent from my iPhone > On Sep 8, 2016, at 7:23 PM, Guillermo Ruiz Camauer wrote: > > RFC2833 is actually sent in band, but as a special packet in the RTP stream. SIP-INFO is the only real out of band signaling for DTMF, as it goes as a SIP packet. > > Guillermo > > Sent from my iPhone > >> On Sep 8, 2016, at 17:49, Ned Ludd wrote: >> >> Trying to test FS voicemail with sipp. >> >> I can't get DTMF to work no matter which way I play it. Any tips? >> >> If I use "start_dtmf" in my dialplan, and send DTMF with "play_dtmf" in my sipp scenario they should go in-band, right? >> >> And likewise if I take out "start_dtmf" and use "play_pcap_audio" with the 2833 pcap files in my scenario it should go out of band, right? >> >> Neither work. >> >> Attaching my scenario file. Maybe I'm just not doing it right? >> >> ----- >> Ned Ludd >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From s.safarov at gmail.com Fri Sep 9 08:53:56 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 09 Sep 2016 04:53:56 +0000 Subject: [Freeswitch-users] no sound from conference participant and strange cdr In-Reply-To: References: Message-ID: ??, 8 ????. 2016 ?. ? 23:41, Igor Karymov : > Hi all! Could somebody please explain such values in xml_cdr: > 0 > > 99.00 > 4.49 > Very interest values Looks like last twi values counters is works improperly. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/62011bd2/attachment.html From blackc2004 at gmail.com Fri Sep 9 18:27:36 2016 From: blackc2004 at gmail.com (Cj B) Date: Fri, 9 Sep 2016 07:27:36 -0700 Subject: [Freeswitch-users] Verto and DTMF In-Reply-To: References: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> Message-ID: <1A2F07D9-E5AE-4187-B4E4-C16823511A2D@gmail.com> Hi Italo, Was wondering if you made any progress on this? Thanks! Cj B > On Sep 6, 2016, at 6:08 PM, ?talo Rossi wrote: > > Ok, found a jira already opened to this: https://freeswitch.org/jira/browse/FS-9346 > > tomorrow is holiday here but I can work on this (I've already started last week). > > On Tue, Sep 6, 2016 at 5:42 PM, Cj B > wrote: > I ran the debian8-install.sh and then copied dist to /var/www/verto So I assume that?s Verto Communicator. > > Thanks, > Cj B > >> On Sep 6, 2016, at 1:39 PM, ?talo Rossi > wrote: >> >> You mean Verto Communicator or Original Verto Demo ? >> >> On Tue, Sep 6, 2016 at 3:53 PM, Cj B > wrote: >> Hi All, >> >> I have verto working and can make calls, but I can?t seem to get DTMF working. I am using fusionpbx and need to enter a conference room pin number however once I enter the conference extension number and get asked to enter the pin it just always says ?invalid pin?. >> >> Looking at the logs, I don?t see any DTMF getting passed back to freeswitch. Is there a config option I can do to enable the keypad? >> >> Thanks >> Cj B >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> -- >> ?talo Rossi >> italo at freeswitch.org _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > ?talo Rossi > italo at freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/762df60b/attachment-0001.html From jaradmorgan at gmail.com Fri Sep 9 18:56:20 2016 From: jaradmorgan at gmail.com (Jarad Morgan) Date: Fri, 09 Sep 2016 14:56:20 +0000 Subject: [Freeswitch-users] set energy level in dialplan? In-Reply-To: References: Message-ID: Awesome.. thanks Anthony! On Thu, Sep 8, 2016 at 6:31 PM Anthony Minessale < anthony.minessale at gmail.com> wrote: > There was not but now there is: > > https://freeswitch.org/jira/browse/FS-9495 > > Available in master, unstable packages or 1.6.11 once it's released. > > > On Tue, Sep 6, 2016 at 7:33 PM, Jarad Morgan > wrote: > >> Forgive me if I am wording this poorly or missed this part in the docs. >> Is it possible to set the energy level in a dialplan when placing someone >> into a conference? >> >> Use case is that we have some users dialing into a conference via WebRTC >> where we would like to set the energy level to something different then >> what the conference profile is set too. >> >> Or if there is a better way to handle this please feel free to point me >> in the right direction. >> >> Thanks! >> Jarad >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/573d53bc/attachment.html From edwardludd at gmail.com Fri Sep 9 19:07:05 2016 From: edwardludd at gmail.com (Ned Ludd) Date: Fri, 9 Sep 2016 11:07:05 -0400 Subject: [Freeswitch-users] Getting DTMF to work with SIPP In-Reply-To: <7AE2D905-ACB7-41D7-A7B6-45472B110884@freeswitch.org> References: <7AE2D905-ACB7-41D7-A7B6-45472B110884@freeswitch.org> Message-ID: Ken, do you have any examples of how I might do this? Thanks On Thu, Sep 8, 2016 at 9:00 PM, Ken Rice wrote: > Be careful calling 2833 in band as it is not in band dtmf signaling. In > band specifically refers to the dtmf tones in the actual audio stream. 2833 > is specifically carried on effectively a sub channel in the rtp stream. > That being said sipp can play rfc2833 at specific times. It can also replay > rtp atreams or reflect them. > > Better method of testing just voicemail may be actually scripting up a > call generator with freeswitch and some lua. Want to get really fancy add > some speech rec i there and know of the prompts are playing correctly > > Sent from my iPhone > > > On Sep 8, 2016, at 7:23 PM, Guillermo Ruiz Camauer > wrote: > > > > RFC2833 is actually sent in band, but as a special packet in the RTP > stream. SIP-INFO is the only real out of band signaling for DTMF, as it > goes as a SIP packet. > > > > Guillermo > > > > Sent from my iPhone > > > >> On Sep 8, 2016, at 17:49, Ned Ludd wrote: > >> > >> Trying to test FS voicemail with sipp. > >> > >> I can't get DTMF to work no matter which way I play it. Any tips? > >> > >> If I use "start_dtmf" in my dialplan, and send DTMF with "play_dtmf" in > my sipp scenario they should go in-band, right? > >> > >> And likewise if I take out "start_dtmf" and use "play_pcap_audio" with > the 2833 pcap files in my scenario it should go out of band, right? > >> > >> Neither work. > >> > >> Attaching my scenario file. Maybe I'm just not doing it right? > >> > >> ----- > >> Ned Ludd > >> > >> ____________________________________________________________ > _____________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ----- Ned Ludd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/64018638/attachment.html From krice at freeswitch.org Fri Sep 9 20:04:01 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 9 Sep 2016 11:04:01 -0500 Subject: [Freeswitch-users] Getting DTMF to work with SIPP In-Reply-To: References: <7AE2D905-ACB7-41D7-A7B6-45472B110884@freeswitch.org> Message-ID: <060901d20ab3$c88b1eb0$59a15c10$@freeswitch.org> Which method? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ned Ludd Sent: Friday, September 9, 2016 10:07 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Getting DTMF to work with SIPP Ken, do you have any examples of how I might do this? Thanks On Thu, Sep 8, 2016 at 9:00 PM, Ken Rice > wrote: Be careful calling 2833 in band as it is not in band dtmf signaling. In band specifically refers to the dtmf tones in the actual audio stream. 2833 is specifically carried on effectively a sub channel in the rtp stream. That being said sipp can play rfc2833 at specific times. It can also replay rtp atreams or reflect them. Better method of testing just voicemail may be actually scripting up a call generator with freeswitch and some lua. Want to get really fancy add some speech rec i there and know of the prompts are playing correctly Sent from my iPhone > On Sep 8, 2016, at 7:23 PM, Guillermo Ruiz Camauer > wrote: > > RFC2833 is actually sent in band, but as a special packet in the RTP stream. SIP-INFO is the only real out of band signaling for DTMF, as it goes as a SIP packet. > > Guillermo > > Sent from my iPhone > >> On Sep 8, 2016, at 17:49, Ned Ludd > wrote: >> >> Trying to test FS voicemail with sipp. >> >> I can't get DTMF to work no matter which way I play it. Any tips? >> >> If I use "start_dtmf" in my dialplan, and send DTMF with "play_dtmf" in my sipp scenario they should go in-band, right? >> >> And likewise if I take out "start_dtmf" and use "play_pcap_audio" with the 2833 pcap files in my scenario it should go out of band, right? >> >> Neither work. >> >> Attaching my scenario file. Maybe I'm just not doing it right? >> >> ----- >> Ned Ludd >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- ----- Ned Ludd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/f3545b1b/attachment-0001.html From mario_fs at mgtech.com Fri Sep 9 20:23:54 2016 From: mario_fs at mgtech.com (Mario G) Date: Fri, 9 Sep 2016 09:23:54 -0700 Subject: [Freeswitch-users] pull request #944: originate-retry-timeout to master In-Reply-To: References: <5FAB4258-E459-455A-A40B-DDD7A2F9E0BF@mgtech.com> Message-ID: All green again, tested on Sierra GM/Xcode GM. Thanks! https://freeswitch.org/confluence/display/FREESWITCH/macOS+Installation+and+Testing#macOSInstallationandTesting-TestingHistory > On Sep 8, 2016, at 1:06 AM, Michael Jerris wrote: > > builds fine for me?. now? > > >> On Sep 7, 2016, at 9:46 PM, Mario G > wrote: >> >> I think this busted make, I can no longer build master. See https://freeswitch.org/jira/browse/FS-9489 >> Mario G >> >>> On Sep 6, 2016, at 4:52 PM, jungle Boogie > wrote: >>> >>> Hi All, >>> >>> Did this new implementation break anyone else's build with make current? >>> >>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/962908aa5a100185c9631d76b9bc69cd07aa657b >>> >>> https://freeswitch.org/jira/browse/FS-9484 >>> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/13d38652/attachment.html From edwardludd at gmail.com Fri Sep 9 22:16:38 2016 From: edwardludd at gmail.com (Ned Ludd) Date: Fri, 9 Sep 2016 14:16:38 -0400 Subject: [Freeswitch-users] Getting DTMF to work with SIPP In-Reply-To: <060901d20ab3$c88b1eb0$59a15c10$@freeswitch.org> References: <7AE2D905-ACB7-41D7-A7B6-45472B110884@freeswitch.org> <060901d20ab3$c88b1eb0$59a15c10$@freeswitch.org> Message-ID: Using freeswitch and lua to test voicemail retrieve.... On Fri, Sep 9, 2016 at 12:04 PM, Ken Rice wrote: > Which method? > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ned Ludd > *Sent:* Friday, September 9, 2016 10:07 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Getting DTMF to work with SIPP > > > > Ken, do you have any examples of how I might do this? > > Thanks > > > > On Thu, Sep 8, 2016 at 9:00 PM, Ken Rice wrote: > > Be careful calling 2833 in band as it is not in band dtmf signaling. In > band specifically refers to the dtmf tones in the actual audio stream. 2833 > is specifically carried on effectively a sub channel in the rtp stream. > That being said sipp can play rfc2833 at specific times. It can also replay > rtp atreams or reflect them. > > Better method of testing just voicemail may be actually scripting up a > call generator with freeswitch and some lua. Want to get really fancy add > some speech rec i there and know of the prompts are playing correctly > > Sent from my iPhone > > > > On Sep 8, 2016, at 7:23 PM, Guillermo Ruiz Camauer > wrote: > > > > RFC2833 is actually sent in band, but as a special packet in the RTP > stream. SIP-INFO is the only real out of band signaling for DTMF, as it > goes as a SIP packet. > > > > Guillermo > > > > Sent from my iPhone > > > >> On Sep 8, 2016, at 17:49, Ned Ludd wrote: > >> > >> Trying to test FS voicemail with sipp. > >> > >> I can't get DTMF to work no matter which way I play it. Any tips? > >> > >> If I use "start_dtmf" in my dialplan, and send DTMF with "play_dtmf" in > my sipp scenario they should go in-band, right? > >> > >> And likewise if I take out "start_dtmf" and use "play_pcap_audio" with > the 2833 pcap files in my scenario it should go out of band, right? > >> > >> Neither work. > >> > >> Attaching my scenario file. Maybe I'm just not doing it right? > >> > >> ----- > >> Ned Ludd > >> > >> ____________________________________________________________ > _____________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > ----- > Ned Ludd > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ----- Ned Ludd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/a3929160/attachment.html From italo at freeswitch.org Fri Sep 9 23:49:16 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Fri, 9 Sep 2016 16:49:16 -0300 Subject: [Freeswitch-users] Verto and DTMF In-Reply-To: <1A2F07D9-E5AE-4187-B4E4-C16823511A2D@gmail.com> References: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> <1A2F07D9-E5AE-4187-B4E4-C16823511A2D@gmail.com> Message-ID: It's fixed in latest master. Try it and let me know. On Fri, Sep 9, 2016 at 11:27 AM, Cj B wrote: > Hi Italo, > > Was wondering if you made any progress on this? > > Thanks! > Cj B > > On Sep 6, 2016, at 6:08 PM, ?talo Rossi wrote: > > Ok, found a jira already opened to this: https://freeswitch.org/ > jira/browse/FS-9346 > > tomorrow is holiday here but I can work on this (I've already started last > week). > > On Tue, Sep 6, 2016 at 5:42 PM, Cj B wrote: > >> I ran the debian8-install.sh and then copied dist to /var/www/verto So I >> assume that?s Verto Communicator. >> >> Thanks, >> Cj B >> >> On Sep 6, 2016, at 1:39 PM, ?talo Rossi wrote: >> >> You mean Verto Communicator or Original Verto Demo ? >> >> On Tue, Sep 6, 2016 at 3:53 PM, Cj B wrote: >> >>> Hi All, >>> >>> I have verto working and can make calls, but I can?t seem to get DTMF >>> working. I am using fusionpbx and need to enter a conference room pin >>> number however once I enter the conference extension number and get asked >>> to enter the pin it just always says ?invalid pin?. >>> >>> Looking at the logs, I don?t see any DTMF getting passed back to >>> freeswitch. Is there a config option I can do to enable the keypad? >>> >>> Thanks >>> Cj B >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> ?talo Rossi >> italo at freeswitch.org >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > ?talo Rossi > italo at freeswitch.org > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ?talo Rossi italo at freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/bab2766f/attachment-0001.html From blackc2004 at gmail.com Sat Sep 10 00:31:26 2016 From: blackc2004 at gmail.com (Cj B) Date: Fri, 9 Sep 2016 13:31:26 -0700 Subject: [Freeswitch-users] Verto and DTMF In-Reply-To: References: <8403C50A-4CA9-4432-B646-B8742B11319C@gmail.com> <1A2F07D9-E5AE-4187-B4E4-C16823511A2D@gmail.com> Message-ID: Sweet, Works nicely? Only thing is that if you use keyboard to type in the pin it doesn?t work, but if you use the keypad itself to type in the pin it joins conference no problem. Thanks! Cj B > On Sep 9, 2016, at 12:49 PM, ?talo Rossi wrote: > > It's fixed in latest master. Try it and let me know. > > On Fri, Sep 9, 2016 at 11:27 AM, Cj B > wrote: > Hi Italo, > > Was wondering if you made any progress on this? > > Thanks! > Cj B > >> On Sep 6, 2016, at 6:08 PM, ?talo Rossi > wrote: >> >> Ok, found a jira already opened to this: https://freeswitch.org/jira/browse/FS-9346 >> >> tomorrow is holiday here but I can work on this (I've already started last week). >> >> On Tue, Sep 6, 2016 at 5:42 PM, Cj B > wrote: >> I ran the debian8-install.sh and then copied dist to /var/www/verto So I assume that?s Verto Communicator. >> >> Thanks, >> Cj B >> >>> On Sep 6, 2016, at 1:39 PM, ?talo Rossi > wrote: >>> >>> You mean Verto Communicator or Original Verto Demo ? >>> >>> On Tue, Sep 6, 2016 at 3:53 PM, Cj B > wrote: >>> Hi All, >>> >>> I have verto working and can make calls, but I can?t seem to get DTMF working. I am using fusionpbx and need to enter a conference room pin number however once I enter the conference extension number and get asked to enter the pin it just always says ?invalid pin?. >>> >>> Looking at the logs, I don?t see any DTMF getting passed back to freeswitch. Is there a config option I can do to enable the keypad? >>> >>> Thanks >>> Cj B >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> -- >>> ?talo Rossi >>> italo at freeswitch.org _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> -- >> ?talo Rossi >> italo at freeswitch.org _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > ?talo Rossi > italo at freeswitch.org _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/10ee6fa7/attachment-0001.html From olegstolyar at gmail.com Sat Sep 10 00:53:56 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Fri, 9 Sep 2016 13:53:56 -0700 Subject: [Freeswitch-users] Conference recording in stereo In-Reply-To: References: Message-ID: One more question. I was looking at how to set participants' positions and I could only find the audio-position property of an image in a conference layout conf. I have audio only conferences, so there are no images or layouts. Is there an example of how to position participant's audio in an audio-only conference? On Mon, Aug 1, 2016 at 9:26 AM, Oleg Stolyar wrote: > Got it, thanks! I was looking for the word "Stereo" but should have been > looking for the word "channels" > > On Mon, Aug 1, 2016 at 8:54 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> look at the default configs in tree for conference.conf.xml there should >> be a stereo example there. >> >> >> On Mon, Aug 1, 2016 at 10:41 AM, Oleg Stolyar >> wrote: >> >>> How do I set up a conference in stereo? I tried to use the member >>> positional flag but it did not result in a stereo recording. >>> >>> On Fri, Jul 29, 2016 at 10:34 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> If the conference is setup in stereo, it will record that way. >>>> Its based on the openal positioning >>>> >>>> >>>> On Friday, July 29, 2016, Oleg Stolyar wrote: >>>> >>>>> Hi guys, >>>>> >>>>> is there a way to record conferences to wav files in stereo? >>>>> >>>>> Documentation for RECORD STEREO variable mentions Leg A and Leg B, so >>>>> I am not sure it will work for a conference. >>>>> >>>> >>>> >>>> -- >>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>> >>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>> http://twitter.com/FreeSWITCH >>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/489a96fa/attachment.html From mike at jerris.com Sat Sep 10 01:07:44 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 9 Sep 2016 17:07:44 -0400 Subject: [Freeswitch-users] Conference recording in stereo In-Reply-To: References: Message-ID: check out https://freeswitch.org/confluence/display/FREESWITCH/mod_conference member flag for positional and non-positional, conference flag auto-3d-position, in the audio-position description on layouts it describes the format of the field for where position leads to. There is also a "position? api command with syntax ? ::? that does not seem to be properly documented on the page. > On Sep 9, 2016, at 4:53 PM, Oleg Stolyar wrote: > > One more question. I was looking at how to set participants' positions and I could only find the audio-position property of an image in a conference layout conf. > > I have audio only conferences, so there are no images or layouts. Is there an example of how to position participant's audio in an audio-only conference? > > On Mon, Aug 1, 2016 at 9:26 AM, Oleg Stolyar > wrote: > Got it, thanks! I was looking for the word "Stereo" but should have been looking for the word "channels" > > On Mon, Aug 1, 2016 at 8:54 AM, Anthony Minessale > wrote: > look at the default configs in tree for conference.conf.xml there should be a stereo example there. > > > On Mon, Aug 1, 2016 at 10:41 AM, Oleg Stolyar > wrote: > How do I set up a conference in stereo? I tried to use the member positional flag but it did not result in a stereo recording. > > On Fri, Jul 29, 2016 at 10:34 PM, Anthony Minessale > wrote: > If the conference is setup in stereo, it will record that way. > Its based on the openal positioning > > > On Friday, July 29, 2016, Oleg Stolyar > wrote: > Hi guys, > > is there a way to record conferences to wav files in stereo? > > Documentation for RECORD STEREO variable mentions Leg A and Leg B, so I am not sure it will work for a conference. > > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? http://freeswitch.org/g+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/46c17c5c/attachment-0001.html From olegstolyar at gmail.com Sat Sep 10 01:37:09 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Fri, 9 Sep 2016 14:37:09 -0700 Subject: [Freeswitch-users] Conference recording in stereo In-Reply-To: References: Message-ID: Thanks Michael! I have this in my conference.conf.xml: That does not seem enough - both of my conference members are recorded in both channels of the stereo recording. Do I have to use and configure a conference layout even though it's an audio-only conference? Basically all I want to to specify for each member whether they are recorded in the left or right channel. Member flag would be perfect for this. On Fri, Sep 9, 2016 at 2:07 PM, Michael Jerris wrote: > check out https://freeswitch.org/confluence/display/FREESWITCH/ > mod_conference > > member flag for positional and non-positional, conference flag > auto-3d-position, in the audio-position description on layouts it > describes the format of the field for where position leads to. > > There is also a "position? api command with syntax ? > ::? that does not seem to be properly documented on the page. > > > > On Sep 9, 2016, at 4:53 PM, Oleg Stolyar wrote: > > One more question. I was looking at how to set participants' positions > and I could only find the audio-position property of an image in a > conference layout conf. > > I have audio only conferences, so there are no images or layouts. Is > there an example of how to position participant's audio in an audio-only > conference? > > On Mon, Aug 1, 2016 at 9:26 AM, Oleg Stolyar > wrote: > >> Got it, thanks! I was looking for the word "Stereo" but should have been >> looking for the word "channels" >> >> On Mon, Aug 1, 2016 at 8:54 AM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> look at the default configs in tree for conference.conf.xml there should >>> be a stereo example there. >>> >>> >>> On Mon, Aug 1, 2016 at 10:41 AM, Oleg Stolyar >>> wrote: >>> >>>> How do I set up a conference in stereo? I tried to use the member >>>> positional flag but it did not result in a stereo recording. >>>> >>>> On Fri, Jul 29, 2016 at 10:34 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> If the conference is setup in stereo, it will record that way. >>>>> Its based on the openal positioning >>>>> >>>>> >>>>> On Friday, July 29, 2016, Oleg Stolyar wrote: >>>>> >>>>>> Hi guys, >>>>>> >>>>>> is there a way to record conferences to wav files in stereo? >>>>>> >>>>>> Documentation for RECORD STEREO variable mentions Leg A and Leg B, >>>>>> so I am not sure it will work for a conference. >>>>>> >>>>> >>>>> >>>>> -- >>>>> Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? >>>>> >>>>> ? http://freeswitch.org/ ? http://cluecon.com/ ? >>>>> http://twitter.com/FreeSWITCH >>>>> ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ >>>>> * >>>>> >>>>> ClueCon Weekly Development Call >>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>> >>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/98a78d22/attachment.html From joel at gogii.net Sat Sep 10 02:57:26 2016 From: joel at gogii.net (Joel Serrano) Date: Fri, 9 Sep 2016 15:57:26 -0700 Subject: [Freeswitch-users] FreeSWITCH + Verto + Mobile WebRTC Message-ID: Hi, Has anyone successfully accessed FS WebRTC from a mobile device (android / iOS) using Verto? We would like to try to access a conference from mobile devices without using SIP at all. Any suggestions? Thanks! Joel. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/d3834a40/attachment.html From krice at freeswitch.org Sat Sep 10 03:18:21 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 9 Sep 2016 18:18:21 -0500 Subject: [Freeswitch-users] FreeSWITCH + Verto + Mobile WebRTC In-Reply-To: References: Message-ID: Android on later builds using chrome yes, ios no Apple does not have webrtc support in webkit/safari at this time. Mix this with firefox and chrome on ios being just UI wrappers around the safari rendering engine theres no webrtc enabled browsers there at this point. While it can be done on ios it requires a custom app. Sent from my iPhone > On Sep 9, 2016, at 5:57 PM, Joel Serrano wrote: > > Hi, > > Has anyone successfully accessed FS WebRTC from a mobile device (android / iOS) using Verto? > > We would like to try to access a conference from mobile devices without using SIP at all. > > Any suggestions? > > Thanks! > Joel. > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mike at jerris.com Sat Sep 10 03:22:27 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 9 Sep 2016 19:22:27 -0400 Subject: [Freeswitch-users] FreeSWITCH + Verto + Mobile WebRTC In-Reply-To: References: Message-ID: <71FDAEFF-2250-402D-8DAA-7C5940C3DDB4@jerris.com> Rumor has it there is work being done on this at apple, but we have yet to see results to prove it for sure will be in any specific future release. > On Sep 9, 2016, at 7:18 PM, Ken Rice wrote: > > Android on later builds using chrome yes, ios no > > Apple does not have webrtc support in webkit/safari at this time. Mix this with firefox and chrome on ios being just UI wrappers around the safari rendering engine theres no webrtc enabled browsers there at this point. > > While it can be done on ios it requires a custom app. > > Sent from my iPhone > >> On Sep 9, 2016, at 5:57 PM, Joel Serrano wrote: >> >> Hi, >> >> Has anyone successfully accessed FS WebRTC from a mobile device (android / iOS) using Verto? >> >> We would like to try to access a conference from mobile devices without using SIP at all. >> >> Any suggestions? >> >> Thanks! >> Joel. >> >> From joel at gogii.net Sat Sep 10 04:22:27 2016 From: joel at gogii.net (Joel Serrano) Date: Fri, 9 Sep 2016 17:22:27 -0700 Subject: [Freeswitch-users] FreeSWITCH + Verto + Mobile WebRTC In-Reply-To: <71FDAEFF-2250-402D-8DAA-7C5940C3DDB4@jerris.com> References: <71FDAEFF-2250-402D-8DAA-7C5940C3DDB4@jerris.com> Message-ID: Hi, Thanks for the info! I found this in google: http://stackoverflow.com/questions/35826464/webrtc-ios-freeswitch-cant-hear-audio In that post they mention: https://developers.google.com/talk/libjingle/developer_guide I also found: https://github.com/ISBX/apprtc-ios https://github.com/otalk/TLKSimpleWebRTC Would it possible to use one of those libraries (or any existing WebRTC for iOS library) and then use verto signalling on a custom developed app? If yes, where can I find documentation on the how is the signalling for verto? >From the stackoverflow link I can see things like: Sending login request: {"jsonrpc":"2.0","method":"login","id":1,"params":{"login":"1000 at MY-IP-ADDRESS ","loginParams":{},"userVariables":{},"passwd":"1234","sessid":"53FB0781-B586-4CDA-98C6-558680663B46"}} Any suggestion on where I can find any doc to start understanding how the json-rpc signaling works? Please correct me if I'm wrong, I'm not sure if what I'm saying makes sense as I'm completely new to the verto world. Thanks again! Best, Joel. On Fri, Sep 9, 2016 at 4:22 PM, Michael Jerris wrote: > Rumor has it there is work being done on this at apple, but we have yet to > see results to prove it for sure will be in any specific future release. > > > > On Sep 9, 2016, at 7:18 PM, Ken Rice wrote: > > > > Android on later builds using chrome yes, ios no > > > > Apple does not have webrtc support in webkit/safari at this time. Mix > this with firefox and chrome on ios being just UI wrappers around the > safari rendering engine theres no webrtc enabled browsers there at this > point. > > > > While it can be done on ios it requires a custom app. > > > > Sent from my iPhone > > > >> On Sep 9, 2016, at 5:57 PM, Joel Serrano wrote: > >> > >> Hi, > >> > >> Has anyone successfully accessed FS WebRTC from a mobile device > (android / iOS) using Verto? > >> > >> We would like to try to access a conference from mobile devices without > using SIP at all. > >> > >> Any suggestions? > >> > >> Thanks! > >> Joel. > >> > >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160909/2097c6f0/attachment.html From deepikay at iiitd.ac.in Sat Sep 10 09:56:25 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Sat, 10 Sep 2016 11:26:25 +0530 Subject: [Freeswitch-users] Conference Call drops In-Reply-To: References: Message-ID: I haved pasted a section of SIP trace logs here : http://pastebin.com/5CUpY63c Freeswitch - CALL REJECTED logs are coming for the call drops of these phone numbers - 918558897586, 918558897592. Regards, Deepika On Wed, Sep 7, 2016 at 5:25 PM, Benjamin Cropley wrote: > I would look at a SIP trace first and try to better understand how the > calls are dropping > > eg.. > > 1. Does the caller suddenly stop sending audio, but no SIP packet to > indicate the end of the session. Therefore FreeSWITCH would time out (on > receipt of no audio) and terminate. > 2. Does the caller or FreeSWITCH send a termination (in the form of a BYE) > to the other party? If this is the case, look at the logs for something > that provoked it. > > Good luck, > Ben > > On Mon, Sep 5, 2016 at 11:48 AM, Deepika Yadav > wrote: > >> Hi , >> >> I am using conference call service of Freeswitch over ESL with 21- 22 >> members over GSM for around 1 hour. One problem that I am facing is >> frequent call drops of the connected callers. >> >> My program has a logic of redialing a caller in case of disconnection, if >> the caller is not reachable due to some reason the redial happens three >> times. I am maintaining sufficient balance to keep 22 channels in parallel >> and also for the duration of calls. >> >> One thing that I am observing which I am not sure to be the cause is when >> I increased the redial trial to five times, the frequency of call drops >> increased. >> >> Is the dialing attempt count should be taken care for the balance >> maintenance or there is some other cause ? >> >> The Freeswitch logs are of type - CALL REJECTED, USER BUSY >> >> Regards, >> Deepika >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > All the best, > Ben Cropley > 07539 366 905 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/63caffd2/attachment.html From daveh at beachdognet.com Sat Sep 10 10:12:56 2016 From: daveh at beachdognet.com (Dave Horton) Date: Sat, 10 Sep 2016 02:12:56 -0400 Subject: [Freeswitch-users] Conference Call drops In-Reply-To: References: Message-ID: For number 918558897592 I only see you (your freeswitch dialplan app) hanging up the call: 2016-09-09 10:54:19.892289 [NOTICE] switch_core_state_machine.c:315 sofia/external/+918558897592 has executed the last dialplan instruction, hanging up. So I guess I would look at the dialplan. There is also a lot of retransmissions between your freeswitch and your asterisk gateway, which is maybe not related to your problem but it doesn?t appear to me like you have a quality network situation. The log is a bit difficult to read, because it doesn?t seem to contain a full example of an INVITE - OK and then call drop. Your asterisk is also requiring session timers (with a 15 min expiry) so another thing to validate is that those session refreshes are actually being sent. Can you get a simpler log showing an incoming call from setup until it drops? On Sep 10, 2016, at 1:56 AM, Deepika Yadav wrote: I haved pasted a section of SIP trace logs here : http://pastebin.com/5CUpY63c Freeswitch - CALL REJECTED logs are coming for the call drops of these phone numbers - 918558897586, 918558897592. Regards, Deepika On Wed, Sep 7, 2016 at 5:25 PM, Benjamin Cropley > wrote: I would look at a SIP trace first and try to better understand how the calls are dropping eg.. 1. Does the caller suddenly stop sending audio, but no SIP packet to indicate the end of the session. Therefore FreeSWITCH would time out (on receipt of no audio) and terminate. 2. Does the caller or FreeSWITCH send a termination (in the form of a BYE) to the other party? If this is the case, look at the logs for something that provoked it. Good luck, Ben On Mon, Sep 5, 2016 at 11:48 AM, Deepika Yadav > wrote: Hi , I am using conference call service of Freeswitch over ESL with 21- 22 members over GSM for around 1 hour. One problem that I am facing is frequent call drops of the connected callers. My program has a logic of redialing a caller in case of disconnection, if the caller is not reachable due to some reason the redial happens three times. I am maintaining sufficient balance to keep 22 channels in parallel and also for the duration of calls. One thing that I am observing which I am not sure to be the cause is when I increased the redial trial to five times, the frequency of call drops increased. Is the dialing attempt count should be taken care for the balance maintenance or there is some other cause ? The Freeswitch logs are of type - CALL REJECTED, USER BUSY Regards, Deepika _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- All the best, Ben Cropley 07539 366 905 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/7521b33d/attachment-0001.html From deepikay at iiitd.ac.in Sat Sep 10 11:29:19 2016 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Sat, 10 Sep 2016 12:59:19 +0530 Subject: [Freeswitch-users] Conference Call drops In-Reply-To: References: Message-ID: My conference end logic is - when the moderator ends the call, all the conference member gets kicked out, that's why we see this log for every number : 2016-09-09 10:54:19.892289 [NOTICE] switch_core_state_machine.c:315 sofia/external/+918558897592 has executed the last dialplan instruction, hanging up. Moderator Number - 9716517818 Conference Start by the moderator at : 2016-09-09 10:38:42.752327 [NOTICE] switch_channel.c:1055 New Channel sofia/external/+919716517818 [9402c95e-7679-11e6-99e4-a53a7934abe1] Conferece End by the moderator: 2016-09-09 10:54:19.912289 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/external/+919716517818 [CS_EXECUTE] [NORMAL_CLEARING] In-between the drop of a conference member happens at 206-09-09 10:46:39.232313 [NOTICE] sofia.c:952 Hangup sofia/external/+918558897588 [CS_EXECUTE] [NORMAL_CLEARING] After this my Program retries to connect to it several time and ends at: 2016-09-09 10:47:35.072286 [NOTICE] sofia.c:7539 Hangup sofia/external/918558897588 [CS_EXECUTE] [NO_USER_RESPONSE] You may only look at the logs of the hangup of : http://pastebin.com/gFgELQnv I am using only Freeswitch which interacts with my GSM gateway, I have no clue from where the Asterisk context is coming. I am blind to the logic behind gateway. On Sat, Sep 10, 2016 at 11:42 AM, Dave Horton wrote: > For number 918558897592 I only see you (your freeswitch dialplan app) > hanging up the call: > > 2016-09-09 10:54:19.892289 [NOTICE] switch_core_state_machine.c:315 sofia/external/+918558897592 has executed the last dialplan instruction, hanging up. > > > So I guess I would look at the dialplan. > > > There is also a lot of retransmissions between your freeswitch and your asterisk gateway, which is maybe not related to your problem but it doesn?t appear to me like you have a quality network situation. > > > The log is a bit difficult to read, because it doesn?t seem to contain a full example of an INVITE - OK and then call drop. > > > Your asterisk is also requiring session timers (with a 15 min expiry) so another thing to validate is that those session refreshes are actually being sent. > > > Can you get a simpler log showing an incoming call from setup until it drops? > > > > On Sep 10, 2016, at 1:56 AM, Deepika Yadav wrote: > > I haved pasted a section of SIP trace logs here : > > http://pastebin.com/5CUpY63c > > Freeswitch - CALL REJECTED logs are coming for the call drops of these > phone numbers - 918558897586, 918558897592. > > > Regards, > Deepika > > On Wed, Sep 7, 2016 at 5:25 PM, Benjamin Cropley < > benjamin.cropley at gmail.com> wrote: > >> I would look at a SIP trace first and try to better understand how the >> calls are dropping >> >> eg.. >> >> 1. Does the caller suddenly stop sending audio, but no SIP packet to >> indicate the end of the session. Therefore FreeSWITCH would time out (on >> receipt of no audio) and terminate. >> 2. Does the caller or FreeSWITCH send a termination (in the form of a >> BYE) to the other party? If this is the case, look at the logs for >> something that provoked it. >> >> Good luck, >> Ben >> >> On Mon, Sep 5, 2016 at 11:48 AM, Deepika Yadav >> wrote: >> >>> Hi , >>> >>> I am using conference call service of Freeswitch over ESL with 21- 22 >>> members over GSM for around 1 hour. One problem that I am facing is >>> frequent call drops of the connected callers. >>> >>> My program has a logic of redialing a caller in case of disconnection, >>> if the caller is not reachable due to some reason the redial happens three >>> times. I am maintaining sufficient balance to keep 22 channels in parallel >>> and also for the duration of calls. >>> >>> One thing that I am observing which I am not sure to be the cause is >>> when I increased the redial trial to five times, the frequency of call >>> drops increased. >>> >>> Is the dialing attempt count should be taken care for the balance >>> maintenance or there is some other cause ? >>> >>> The Freeswitch logs are of type - CALL REJECTED, USER BUSY >>> >>> Regards, >>> Deepika >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> All the best, >> Ben Cropley >> 07539 366 905 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/b46bc52b/attachment.html From udy786 at gmail.com Sat Sep 10 13:51:26 2016 From: udy786 at gmail.com (Uday kumar) Date: Sat, 10 Sep 2016 15:21:26 +0530 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls Message-ID: Hi All, I need your help to setup Freeswitch server for 1000 concurrent call on CentOS. Freeswitch version 1.4.26 for below modules:- *1.* Conference *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. *3.* Extension to extension Calls, Extention to Mobile/Landline call using SIP. *4.* IVR *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, IVR etc) *6.* To tracking RTP, use tool Voipmonitor. *7. *For security iptables. *8.* Database is MySQL. To make outgoing and incoming calls will configure multiple Carrier provider and DID. *Please suggest server configuration for above setup and also how much Internet speed is required. * *Currently I have one dedicated server in cloud with below configuration. * *Intel(R) Xeon ** @ 3.30GHz* *12GB RAM* *8MB Casche* *500GB HDD with 7k RPM* *Please suggest if this is capable to handle above requirements. * -- Thanks & Regard Uday Site:- www.shareyourknowledge.in Mobile:- +91-9377579349 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/68f37e9c/attachment.html From hawkins at hawkinsegroup.com Sat Sep 10 18:53:47 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sat, 10 Sep 2016 09:53:47 -0500 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: Message-ID: Testing results with different configurations: https://wiki.freeswitch.org/wiki/Real-world_results Your best bet is to test yourself, no one knows your network (probably not even you) until you put it under stress. As far as we are concerned, we have FreeSwitch in the cloud with the ability to utilize unlimited resources for volume burst. And of course the cloud has the benefit of being able to scale up with a few clicks if things get crazy. The cloud also has the downside that you have to share resources with others, especially during peak times. For us storage space is not a huge concern, we have a 40GB SSD drive, the only thing stored on the server are config files and recordings and recordings come right off as they are saved where we move them to Rackspace cloud/file storage. Hope that helps. On Sat, Sep 10, 2016 at 4:51 AM, Uday kumar wrote: > Hi All, > > I need your help to setup Freeswitch server for 1000 concurrent call on > CentOS. Freeswitch version 1.4.26 for below modules:- > > *1.* Conference > *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. > *3.* Extension to extension Calls, Extention to Mobile/Landline call > using SIP. > *4.* IVR > *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, IVR > etc) > *6.* To tracking RTP, use tool Voipmonitor. > *7. *For security iptables. > *8.* Database is MySQL. > > To make outgoing and incoming calls will configure multiple Carrier > provider and DID. > > > *Please suggest server configuration for above setup and also how much > Internet speed is required. * > > *Currently I have one dedicated server in cloud with below configuration. * > > *Intel(R) Xeon ** @ 3.30GHz* > *12GB RAM* > *8MB Casche* > *500GB HDD with 7k RPM* > > *Please suggest if this is capable to handle above requirements. * > > > -- > Thanks & Regard > Uday > Site:- www.shareyourknowledge.in > Mobile:- +91-9377579349 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/2ca1cb0f/attachment-0001.html From Shawn.Wheeler at interlockconcepts.com Sat Sep 10 19:44:24 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Sat, 10 Sep 2016 15:44:24 +0000 Subject: [Freeswitch-users] Mad Boss Group Call Message-ID: I have what I think should be an easy question, I am just too ignorant to know where to look. I am using the Madboss to initiate group calls. When the group call is initiated from my handset, I hear a tone. I also hear a tone from my receiving SIP devices. I have been able to change and or mute the tone on the receiving SIP devices. I would like to be able to change the tone on my handset, where the call is initiated. I have looked in the conf\autoload_confs\confernece.conf.xml file. I see enter and exit tones for both wide and ultawide band. However on my system I only hear the entry tone. If you have a thought were I can look, please let me know. Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/fb0cab6d/attachment.html From mike at jerris.com Sat Sep 10 21:24:38 2016 From: mike at jerris.com (Michael Jerris) Date: Sat, 10 Sep 2016 13:24:38 -0400 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: Message-ID: Why would you use an old unsupported version? On Saturday, September 10, 2016, Uday kumar wrote: > Hi All, > > I need your help to setup Freeswitch server for 1000 concurrent call on > CentOS. Freeswitch version 1.4.26 for below modules:- > > *1.* Conference > *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. > *3.* Extension to extension Calls, Extention to Mobile/Landline call > using SIP. > *4.* IVR > *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, IVR > etc) > *6.* To tracking RTP, use tool Voipmonitor. > *7. *For security iptables. > *8.* Database is MySQL. > > To make outgoing and incoming calls will configure multiple Carrier > provider and DID. > > > *Please suggest server configuration for above setup and also how much > Internet speed is required. * > > *Currently I have one dedicated server in cloud with below configuration. * > > *Intel(R) Xeon ** @ 3.30GHz* > *12GB RAM* > *8MB Casche* > *500GB HDD with 7k RPM* > > *Please suggest if this is capable to handle above requirements. * > > > -- > Thanks & Regard > Uday > Site:- www.shareyourknowledge.in > Mobile:- +91-9377579349 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/ee25cc1f/attachment.html From colin.morelli at gmail.com Sat Sep 10 22:31:10 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Sat, 10 Sep 2016 18:31:10 +0000 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: Message-ID: +1 to Michael's question. Also, to highlight the importance of testing in your own environment, here are a series of questions that your original email doesn't answer that are highly relevant: 1. TCP or UDP? There's additional overhead associated with the reliability of TCP. That said, UDP can also cause problems in high traffic environments due to a lack of flow control. 2. Calls per second? Call setup can be expensive in a lot of ways. If you're thrashing through calls, and using TCP, you may run out of ephemeral ports to open new connections. Freeswitch may spend more time setting up resources to handle new calls than it does processing the actual call. 3. Is SIP signaling traffic encrypted with TLS? Is RTP encrypted? Both of these, of course, require additional CPU proportional to the strength of the encryption chosen. 4. What codecs are you intending to use? Is transcoding required? Transcoding = more CPU. Better audio quality codecs (generally) = more bandwidth. 5. Are your calls spending a lot of time in the dialplan? Or actively talking? Conferencing? Parked/waiting? Each of these requires different amounts of CPU. 6. What's your conference configuration? Lower baseline energy level means mixing more conference participants together, which means more CPU. 7. Are calls all being recorded to the same disk? Are they going to compete for IO? You may not just have CPU to worry about. Your ability to handle 1k concurrent calls is dependent on *all* parts of the system holding up to that load, not just the CPU. Of course there are other (indirect) factors as well. What else is running on the machine (It's easy to say nothing - but it's rarely true. Common applications might include log rotation, backup software, monitoring tools, etc)? What else is running on the network? The list goes on and on, but each one of these items has the ability to significantly affect the amount of resources your environment will need. I doubt anyone will be able to give you an answer besides: test it for yourself and see what your setup can do. Then, as you test, you'll probably land on tuning/performance questions that others could help with. Final note: at 1k calls per second it sounds like the system gets a good amount of use, and is likely important to your business/operation. I'd suggest that if you haven't started thinking about HA/fault tolerance now, you should - even if it's just an active/passive setup. The same ideas that get you to HA can also land you closer to a horizontally scalable solution in many cases. Both of which seem like they'd be beneficial for you. Best, Colin On Sat, Sep 10, 2016 at 1:27 PM Michael Jerris wrote: > Why would you use an old unsupported version? > > On Saturday, September 10, 2016, Uday kumar wrote: > >> Hi All, >> >> I need your help to setup Freeswitch server for 1000 concurrent call on >> CentOS. Freeswitch version 1.4.26 for below modules:- >> >> *1.* Conference >> *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. >> *3.* Extension to extension Calls, Extention to Mobile/Landline call >> using SIP. >> *4.* IVR >> *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, >> IVR etc) >> *6.* To tracking RTP, use tool Voipmonitor. >> *7. *For security iptables. >> *8.* Database is MySQL. >> >> To make outgoing and incoming calls will configure multiple Carrier >> provider and DID. >> >> >> *Please suggest server configuration for above setup and also how much >> Internet speed is required. * >> >> *Currently I have one dedicated server in cloud with below >> configuration. * >> >> *Intel(R) Xeon ** @ 3.30GHz* >> *12GB RAM* >> *8MB Casche* >> *500GB HDD with 7k RPM* >> >> *Please suggest if this is capable to handle above requirements. * >> >> >> -- >> Thanks & Regard >> Uday >> Site:- www.shareyourknowledge.in >> Mobile:- +91-9377579349 >> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/3e96d5ab/attachment-0001.html From rtreleaven at bunnykick.ca Sat Sep 10 22:53:34 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Sat, 10 Sep 2016 14:53:34 -0400 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: Message-ID: Just in case TL;DR Handling 1000 concurrent calls is one thing. Once they are set up you just have the media to deal with or not. for a 2 leg calls that is 200,000 small packets per second. Handling a large number of calls per second is another. A lot of things happen at the start of a call and at the end. On Sat, Sep 10, 2016 at 2:31 PM, Colin Morelli wrote: > +1 to Michael's question. > > Also, to highlight the importance of testing in your own environment, here > are a series of questions that your original email doesn't answer that are > highly relevant: > > 1. TCP or UDP? There's additional overhead associated with the reliability > of TCP. That said, UDP can also cause problems in high traffic environments > due to a lack of flow control. > 2. Calls per second? Call setup can be expensive in a lot of ways. If > you're thrashing through calls, and using TCP, you may run out of ephemeral > ports to open new connections. Freeswitch may spend more time setting up > resources to handle new calls than it does processing the actual call. > 3. Is SIP signaling traffic encrypted with TLS? Is RTP encrypted? Both of > these, of course, require additional CPU proportional to the strength of > the encryption chosen. > 4. What codecs are you intending to use? Is transcoding required? > Transcoding = more CPU. Better audio quality codecs (generally) = more > bandwidth. > 5. Are your calls spending a lot of time in the dialplan? Or actively > talking? Conferencing? Parked/waiting? Each of these requires different > amounts of CPU. > 6. What's your conference configuration? Lower baseline energy level means > mixing more conference participants together, which means more CPU. > 7. Are calls all being recorded to the same disk? Are they going to > compete for IO? You may not just have CPU to worry about. Your ability to > handle 1k concurrent calls is dependent on *all* parts of the system > holding up to that load, not just the CPU. > > Of course there are other (indirect) factors as well. What else is running > on the machine (It's easy to say nothing - but it's rarely true. Common > applications might include log rotation, backup software, monitoring tools, > etc)? What else is running on the network? > > The list goes on and on, but each one of these items has the ability to > significantly affect the amount of resources your environment will need. I > doubt anyone will be able to give you an answer besides: test it for > yourself and see what your setup can do. Then, as you test, you'll probably > land on tuning/performance questions that others could help with. > > Final note: at 1k calls per second it sounds like the system gets a good > amount of use, and is likely important to your business/operation. I'd > suggest that if you haven't started thinking about HA/fault tolerance now, > you should - even if it's just an active/passive setup. The same ideas that > get you to HA can also land you closer to a horizontally scalable solution > in many cases. Both of which seem like they'd be beneficial for you. > > Best, > Colin > > On Sat, Sep 10, 2016 at 1:27 PM Michael Jerris wrote: > >> Why would you use an old unsupported version? >> >> On Saturday, September 10, 2016, Uday kumar wrote: >> >>> Hi All, >>> >>> I need your help to setup Freeswitch server for 1000 concurrent call on >>> CentOS. Freeswitch version 1.4.26 for below modules:- >>> >>> *1.* Conference >>> *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. >>> *3.* Extension to extension Calls, Extention to Mobile/Landline call >>> using SIP. >>> *4.* IVR >>> *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, >>> IVR etc) >>> *6.* To tracking RTP, use tool Voipmonitor. >>> *7. *For security iptables. >>> *8.* Database is MySQL. >>> >>> To make outgoing and incoming calls will configure multiple Carrier >>> provider and DID. >>> >>> >>> *Please suggest server configuration for above setup and also how much >>> Internet speed is required. * >>> >>> *Currently I have one dedicated server in cloud with below >>> configuration. * >>> >>> *Intel(R) Xeon ** @ 3.30GHz* >>> *12GB RAM* >>> *8MB Casche* >>> *500GB HDD with 7k RPM* >>> >>> *Please suggest if this is capable to handle above requirements. * >>> >>> >>> -- >>> Thanks & Regard >>> Uday >>> Site:- www.shareyourknowledge.in >>> Mobile:- +91-9377579349 >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/09d9341b/attachment.html From krice at freeswitch.org Sat Sep 10 23:01:33 2016 From: krice at freeswitch.org (Ken Rice) Date: Sat, 10 Sep 2016 14:01:33 -0500 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: Message-ID: <98E3DB52-A3B8-4E2E-BC2C-0C53E5FD22F7@freeswitch.org> No to mention why oh why would you put 1000 concurrent calls on 1 box? Thats 1000 customers put of service at one time leading to your support queue getting spammed which means higher support costs on top of lost revenue... Its worth it for the extra boxes to handle that load Sent from my iPhone > On Sep 10, 2016, at 1:53 PM, Russell Treleaven wrote: > > Just in case TL;DR > > Handling 1000 concurrent calls is one thing. > Once they are set up you just have the media to deal with or not. > for a 2 leg calls that is 200,000 small packets per second. > > Handling a large number of calls per second is another. > A lot of things happen at the start of a call and at the end. > > > On Sat, Sep 10, 2016 at 2:31 PM, Colin Morelli wrote: >> +1 to Michael's question. >> >> Also, to highlight the importance of testing in your own environment, here are a series of questions that your original email doesn't answer that are highly relevant: >> >> 1. TCP or UDP? There's additional overhead associated with the reliability of TCP. That said, UDP can also cause problems in high traffic environments due to a lack of flow control. >> 2. Calls per second? Call setup can be expensive in a lot of ways. If you're thrashing through calls, and using TCP, you may run out of ephemeral ports to open new connections. Freeswitch may spend more time setting up resources to handle new calls than it does processing the actual call. >> 3. Is SIP signaling traffic encrypted with TLS? Is RTP encrypted? Both of these, of course, require additional CPU proportional to the strength of the encryption chosen. >> 4. What codecs are you intending to use? Is transcoding required? Transcoding = more CPU. Better audio quality codecs (generally) = more bandwidth. >> 5. Are your calls spending a lot of time in the dialplan? Or actively talking? Conferencing? Parked/waiting? Each of these requires different amounts of CPU. >> 6. What's your conference configuration? Lower baseline energy level means mixing more conference participants together, which means more CPU. >> 7. Are calls all being recorded to the same disk? Are they going to compete for IO? You may not just have CPU to worry about. Your ability to handle 1k concurrent calls is dependent on all parts of the system holding up to that load, not just the CPU. >> >> Of course there are other (indirect) factors as well. What else is running on the machine (It's easy to say nothing - but it's rarely true. Common applications might include log rotation, backup software, monitoring tools, etc)? What else is running on the network? >> >> The list goes on and on, but each one of these items has the ability to significantly affect the amount of resources your environment will need. I doubt anyone will be able to give you an answer besides: test it for yourself and see what your setup can do. Then, as you test, you'll probably land on tuning/performance questions that others could help with. >> >> Final note: at 1k calls per second it sounds like the system gets a good amount of use, and is likely important to your business/operation. I'd suggest that if you haven't started thinking about HA/fault tolerance now, you should - even if it's just an active/passive setup. The same ideas that get you to HA can also land you closer to a horizontally scalable solution in many cases. Both of which seem like they'd be beneficial for you. >> >> Best, >> Colin >> >>> On Sat, Sep 10, 2016 at 1:27 PM Michael Jerris wrote: >>> Why would you use an old unsupported version? >>> >>>> On Saturday, September 10, 2016, Uday kumar wrote: >>>> Hi All, >>>> >>>> I need your help to setup Freeswitch server for 1000 concurrent call on CentOS. Freeswitch version 1.4.26 for below modules:- >>>> >>>> 1. Conference >>>> 2. CallCenter:- In CallCenter Module will use ring group, queue etc. >>>> 3. Extension to extension Calls, Extention to Mobile/Landline call using SIP. >>>> 4. IVR >>>> 5. Recording:- Record all Calls (Conference, CallCenter, Extension, IVR etc) >>>> 6. To tracking RTP, use tool Voipmonitor. >>>> 7. For security iptables. >>>> 8. Database is MySQL. >>>> >>>> To make outgoing and incoming calls will configure multiple Carrier provider and DID. >>>> >>>> >>>> Please suggest server configuration for above setup and also how much Internet speed is required. >>>> >>>> Currently I have one dedicated server in cloud with below configuration. >>>> >>>> Intel(R) Xeon @ 3.30GHz >>>> 12GB RAM >>>> 8MB Casche >>>> 500GB HDD with 7k RPM >>>> >>>> Please suggest if this is capable to handle above requirements. >>>> >>>> >>>> -- >>>> Thanks & Regard >>>> Uday >>>> Site:- www.shareyourknowledge.in >>>> Mobile:- +91-9377579349 >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/3c8149ed/attachment-0001.html From udy786 at gmail.com Sat Sep 10 23:31:37 2016 From: udy786 at gmail.com (Uday kumar) Date: Sun, 11 Sep 2016 01:01:37 +0530 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: Message-ID: Hi, I have developed few future and interface and some modification in old version of freeswitch so my modification is not working in 1.6. This is reason to use old. Its not possible for me to again develop all those changes in new version. I tried in new version but didn't worked so I have only option to use 1.4. Please advise server. Thanks Uday. On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: Why would you use an old unsupported version? On Saturday, September 10, 2016, Uday kumar wrote: > Hi All, > > I need your help to setup Freeswitch server for 1000 concurrent call on > CentOS. Freeswitch version 1.4.26 for below modules:- > > *1.* Conference > *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. > *3.* Extension to extension Calls, Extention to Mobile/Landline call > using SIP. > *4.* IVR > *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, IVR > etc) > *6.* To tracking RTP, use tool Voipmonitor. > *7. *For security iptables. > *8.* Database is MySQL. > > To make outgoing and incoming calls will configure multiple Carrier > provider and DID. > > > *Please suggest server configuration for above setup and also how much > Internet speed is required. * > > *Currently I have one dedicated server in cloud with below configuration. * > > *Intel(R) Xeon ** @ 3.30GHz* > *12GB RAM* > *8MB Casche* > *500GB HDD with 7k RPM* > > *Please suggest if this is capable to handle above requirements. * > > > -- > Thanks & Regard > Uday > Site:- www.shareyourknowledge.in > Mobile:- +91-9377579349 > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/040ca59e/attachment.html From udy786 at gmail.com Sat Sep 10 23:44:04 2016 From: udy786 at gmail.com (Uday kumar) Date: Sun, 11 Sep 2016 01:14:04 +0530 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: Message-ID: Hi, Normally will 50 calls CPS. Call is normal call using SIP nothing else encryption. For codecs please advise. I am thinking to use G729. Yes all call will go through dialplan. Yes we use park, waiting, transfer etc. Recording will be saved on same disk. We are planning to purchase dedicated 100mbps bandwidth from data center nothing else in network. Thanks Uday. On Sep 11, 2016 12:02 AM, "Colin Morelli" wrote: > +1 to Michael's question. > > Also, to highlight the importance of testing in your own environment, here > are a series of questions that your original email doesn't answer that are > highly relevant: > > 1. TCP or UDP? There's additional overhead associated with the reliability > of TCP. That said, UDP can also cause problems in high traffic environments > due to a lack of flow control. > 2. Calls per second? Call setup can be expensive in a lot of ways. If > you're thrashing through calls, and using TCP, you may run out of ephemeral > ports to open new connections. Freeswitch may spend more time setting up > resources to handle new calls than it does processing the actual call. > 3. Is SIP signaling traffic encrypted with TLS? Is RTP encrypted? Both of > these, of course, require additional CPU proportional to the strength of > the encryption chosen. > 4. What codecs are you intending to use? Is transcoding required? > Transcoding = more CPU. Better audio quality codecs (generally) = more > bandwidth. > 5. Are your calls spending a lot of time in the dialplan? Or actively > talking? Conferencing? Parked/waiting? Each of these requires different > amounts of CPU. > 6. What's your conference configuration? Lower baseline energy level means > mixing more conference participants together, which means more CPU. > 7. Are calls all being recorded to the same disk? Are they going to > compete for IO? You may not just have CPU to worry about. Your ability to > handle 1k concurrent calls is dependent on *all* parts of the system > holding up to that load, not just the CPU. > > Of course there are other (indirect) factors as well. What else is running > on the machine (It's easy to say nothing - but it's rarely true. Common > applications might include log rotation, backup software, monitoring tools, > etc)? What else is running on the network? > > The list goes on and on, but each one of these items has the ability to > significantly affect the amount of resources your environment will need. I > doubt anyone will be able to give you an answer besides: test it for > yourself and see what your setup can do. Then, as you test, you'll probably > land on tuning/performance questions that others could help with. > > Final note: at 1k calls per second it sounds like the system gets a good > amount of use, and is likely important to your business/operation. I'd > suggest that if you haven't started thinking about HA/fault tolerance now, > you should - even if it's just an active/passive setup. The same ideas that > get you to HA can also land you closer to a horizontally scalable solution > in many cases. Both of which seem like they'd be beneficial for you. > > Best, > Colin > > On Sat, Sep 10, 2016 at 1:27 PM Michael Jerris wrote: > >> Why would you use an old unsupported version? >> >> On Saturday, September 10, 2016, Uday kumar wrote: >> >>> Hi All, >>> >>> I need your help to setup Freeswitch server for 1000 concurrent call on >>> CentOS. Freeswitch version 1.4.26 for below modules:- >>> >>> *1.* Conference >>> *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. >>> *3.* Extension to extension Calls, Extention to Mobile/Landline call >>> using SIP. >>> *4.* IVR >>> *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, >>> IVR etc) >>> *6.* To tracking RTP, use tool Voipmonitor. >>> *7. *For security iptables. >>> *8.* Database is MySQL. >>> >>> To make outgoing and incoming calls will configure multiple Carrier >>> provider and DID. >>> >>> >>> *Please suggest server configuration for above setup and also how much >>> Internet speed is required. * >>> >>> *Currently I have one dedicated server in cloud with below >>> configuration. * >>> >>> *Intel(R) Xeon ** @ 3.30GHz* >>> *12GB RAM* >>> *8MB Casche* >>> *500GB HDD with 7k RPM* >>> >>> *Please suggest if this is capable to handle above requirements. * >>> >>> >>> -- >>> Thanks & Regard >>> Uday >>> Site:- www.shareyourknowledge.in >>> Mobile:- +91-9377579349 >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/43e5c034/attachment.html From Shawn.Wheeler at interlockconcepts.com Sat Sep 10 23:50:36 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Sat, 10 Sep 2016 19:50:36 +0000 Subject: [Freeswitch-users] Mad Boss Group Call Message-ID: I have what I think should be an easy question, I am just too ignorant to know where to look. I am using the Madboss to initiate group calls. When the group call is initiated from my handset, I hear a tone. I also hear a tone from my receiving SIP devices. I have been able to change and or mute the tone on the receiving SIP devices. I would like to be able to change the tone on my handset, where the call is initiated. I have looked in the conf\autoload_confs\confernece.conf.xml file. I see enter and exit tones for both wide and ultawide band. However on my system I only hear the entry tone. If you have a thought were I can look, please let me know. Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/5673f550/attachment-0001.html From krice at freeswitch.org Sun Sep 11 00:01:39 2016 From: krice at freeswitch.org (Ken Rice) Date: Sat, 10 Sep 2016 15:01:39 -0500 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: Message-ID: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> If you have patch freeswitch you should pdat those patches so that the original authors can review them. This is your obligation under the license Sent from my iPhone > On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: > > Hi, > > I have developed few future and interface and some modification in old version of freeswitch so my modification is not working in 1.6. This is reason to use old. Its not possible for me to again develop all those changes in new version. I tried in new version but didn't worked so I have only option to use 1.4. > > Please advise server. > > Thanks > Uday. > > > On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: > Why would you use an old unsupported version? > > >> On Saturday, September 10, 2016, Uday kumar wrote: >> Hi All, >> >> I need your help to setup Freeswitch server for 1000 concurrent call on CentOS. Freeswitch version 1.4.26 for below modules:- >> >> 1. Conference >> 2. CallCenter:- In CallCenter Module will use ring group, queue etc. >> 3. Extension to extension Calls, Extention to Mobile/Landline call using SIP. >> 4. IVR >> 5. Recording:- Record all Calls (Conference, CallCenter, Extension, IVR etc) >> 6. To tracking RTP, use tool Voipmonitor. >> 7. For security iptables. >> 8. Database is MySQL. >> >> To make outgoing and incoming calls will configure multiple Carrier provider and DID. >> >> >> Please suggest server configuration for above setup and also how much Internet speed is required. >> >> Currently I have one dedicated server in cloud with below configuration. >> >> Intel(R) Xeon @ 3.30GHz >> 12GB RAM >> 8MB Casche >> 500GB HDD with 7k RPM >> >> Please suggest if this is capable to handle above requirements. >> >> >> -- >> Thanks & Regard >> Uday >> Site:- www.shareyourknowledge.in >> Mobile:- +91-9377579349 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/3d31643a/attachment.html From udy786 at gmail.com Sun Sep 11 00:29:49 2016 From: udy786 at gmail.com (Uday kumar) Date: Sun, 11 Sep 2016 01:59:49 +0530 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> Message-ID: I have not done any patch or core modification. Developed interface to access those functional from interface. I need information to setup server in such senior that I included above. On Sep 11, 2016 1:32 AM, "Ken Rice" wrote: > If you have patch freeswitch you should pdat those patches so that the > original authors can review them. This is your obligation under the license > > Sent from my iPhone > > On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: > > Hi, > > I have developed few future and interface and some modification in old > version of freeswitch so my modification is not working in 1.6. This is > reason to use old. Its not possible for me to again develop all those > changes in new version. I tried in new version but didn't worked so I have > only option to use 1.4. > > Please advise server. > > Thanks > Uday. > > On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: > > Why would you use an old unsupported version? > > > On Saturday, September 10, 2016, Uday kumar wrote: > >> Hi All, >> >> I need your help to setup Freeswitch server for 1000 concurrent call on >> CentOS. Freeswitch version 1.4.26 for below modules:- >> >> *1.* Conference >> *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. >> *3.* Extension to extension Calls, Extention to Mobile/Landline call >> using SIP. >> *4.* IVR >> *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, >> IVR etc) >> *6.* To tracking RTP, use tool Voipmonitor. >> *7. *For security iptables. >> *8.* Database is MySQL. >> >> To make outgoing and incoming calls will configure multiple Carrier >> provider and DID. >> >> >> *Please suggest server configuration for above setup and also how much >> Internet speed is required. * >> >> *Currently I have one dedicated server in cloud with below >> configuration. * >> >> *Intel(R) Xeon ** @ 3.30GHz* >> *12GB RAM* >> *8MB Casche* >> *500GB HDD with 7k RPM* >> >> *Please suggest if this is capable to handle above requirements. * >> >> >> -- >> Thanks & Regard >> Uday >> Site:- www.shareyourknowledge.in >> Mobile:- +91-9377579349 >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/8b2dedff/attachment.html From hawkins at hawkinsegroup.com Sun Sep 11 01:49:18 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sat, 10 Sep 2016 16:49:18 -0500 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Just want to update everyone that the registration attempts have almost stopped 100% since blocking the sniffers and setting a 4 hour block time after three failed registrations. Good day! On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie wrote: > On 8 September 2016 at 12:54, Don Hawkins > wrote: > > Can someone share with me how to block all ports except the important > ones? > > I had the same question about a month ago: > http://lists.freeswitch.org/pipermail/freeswitch-users/ > 2016-August/121694.html > > Colin gives good advice here: > http://lists.freeswitch.org/pipermail/freeswitch-users/ > 2016-August/121730.html > > I've also had success with contacting the originating network and > request their customer to stop the traffic to me. > > Here's the abuse form for online.net: > https://console.online.net/en/account/abuses/search > > By the way, if the fail2ban page on confluence needs updating, please > update it or list what's wrong with it. I do see it indicates to > create the jail.local and that's what you were missing for yours to > work properly. > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/6b77b4c1/attachment-0001.html From hawkins at hawkinsegroup.com Sun Sep 11 02:09:56 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sat, 10 Sep 2016 17:09:56 -0500 Subject: [Freeswitch-users] Multiple FreeSWITCH Servers Message-ID: In the future I can see our traffic load increasing to the point where I'll want to have more than one FS server. For example, if server 1 is already handling x amount of calls send traffic to server 2. I currently have FS hosted in the cloud so duplicating the entire "box" won't be a problem, so that means authentication won't be a problem. Planning for the future and I'm just curious what are some of the best ways to make this happen? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/0447b011/attachment.html From gascagonzalo at gmail.com Sun Sep 11 03:59:46 2016 From: gascagonzalo at gmail.com (Gonzalo Gasca Meza) Date: Sat, 10 Sep 2016 16:59:46 -0700 Subject: [Freeswitch-users] Multiple FreeSWITCH Servers In-Reply-To: References: Message-ID: Hi Don, I have 2 types of Loadbalancer, SIP and TCP (ESL) for Freeswitch. For SIP loadbalancer I use Kamailio (opensource SIP proxy) in front of my Freeswitch cluster which is in charge of performing load balancing using different algorithms (Round robin, Circular, Load base routing, etc.). For TCP loadbalancer for Freeswitch ESL interface I use HA proxy. SIP (TCP,UDP, TLS): Kamailio -> FS1|FS2 TCP HAProxy -> FS1|FS2 http://wiki.freeswitch.org/wiki/SBC_Setup On Sat, Sep 10, 2016 at 3:09 PM, Don Hawkins wrote: > In the future I can see our traffic load increasing to the point where > I'll want to have more than one FS server. For example, if server 1 is > already handling x amount of calls send traffic to server 2. > > I currently have FS hosted in the cloud so duplicating the entire "box" > won't be a problem, so that means authentication won't be a problem. > > Planning for the future and I'm just curious what are some of the best > ways to make this happen? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/3846b510/attachment.html From Shawn.Wheeler at interlockconcepts.com Sun Sep 11 04:13:50 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Sun, 11 Sep 2016 00:13:50 +0000 Subject: [Freeswitch-users] Madboss enter tone Message-ID: I have what I think should be an easy question, I am just too ignorant to know where to look. I am using the Madboss to initiate group calls. When the group call is initiated from my handset, I hear a tone. I also hear a tone from my receiving SIP devices. I have been able to change and or mute the tone on the receiving SIP devices. I would like to be able to change the tone on my handset, where the call is initiated. I have looked in the conf\autoload_confs\confernece.conf.xml file. I see enter and exit tones for both wide and ultawide band. However on my system I only hear the entry tone. If you have a thought were I can look, please let me know. Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/05376815/attachment.html From Shawn.Wheeler at interlockconcepts.com Sun Sep 11 04:47:25 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Sun, 11 Sep 2016 00:47:25 +0000 Subject: [Freeswitch-users] test Message-ID: I am sorry for this test, I have sent two other notes to the listserv that have not been processed today. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/3860fc63/attachment-0001.html From mike at jerris.com Sun Sep 11 04:51:07 2016 From: mike at jerris.com (Michael Jerris) Date: Sat, 10 Sep 2016 20:51:07 -0400 Subject: [Freeswitch-users] Madboss enter tone In-Reply-To: References: Message-ID: please do not send the same message to the list three times in the same day. I'll be moderating your future posts. Understand that this mailing list is answered by volunteers and it is the weekend and it's unreasonable to expect an answer immediately. On Saturday, September 10, 2016, Shawn Wheeler < Shawn.Wheeler at interlockconcepts.com> wrote: > I have what I think should be an easy question, I am just too ignorant to > know where to look. > > > > I am using the Madboss to initiate group calls. > > > > When the group call is initiated from my handset, I hear a tone. > > > > I also hear a tone from my receiving SIP devices. > > > > I have been able to change and or mute the tone on the receiving SIP > devices. > > > > I would like to be able to change the tone on my handset, where the call > is initiated. > > > > I have looked in the conf\autoload_confs\confernece.conf.xml file. > > I see enter and exit tones for both wide and ultawide band. However on > my system I only hear the entry tone. > > > > If you have a thought were I can look, please let me know. > > > > Shawn > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/d6d19bca/attachment.html From gassaad at emassembly.com Sun Sep 11 04:58:44 2016 From: gassaad at emassembly.com (George Assaad) Date: Sat, 10 Sep 2016 20:58:44 -0400 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: <3CD2F093-6F11-4A94-A07F-7D6A33C239B8@emassembly.com> Hi Don, Could you please share your final settings since it works. Thanks, George > On Sep 10, 2016, at 5:49 PM, Don Hawkins wrote: > > Just want to update everyone that the registration attempts have almost stopped 100% since blocking the sniffers and setting a 4 hour block time after three failed registrations. > > Good day! > > On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie > wrote: > On 8 September 2016 at 12:54, Don Hawkins > wrote: > > Can someone share with me how to block all ports except the important ones? > > I had the same question about a month ago: > http://lists.freeswitch.org/pipermail/freeswitch-users/2016-August/121694.html > > Colin gives good advice here: > http://lists.freeswitch.org/pipermail/freeswitch-users/2016-August/121730.html > > I've also had success with contacting the originating network and > request their customer to stop the traffic to me. > > Here's the abuse form for online.net : > https://console.online.net/en/account/abuses/search > > By the way, if the fail2ban page on confluence needs updating, please > update it or list what's wrong with it. I do see it indicates to > create the jail.local and that's what you were missing for yours to > work properly. > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > <>_________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/e8412e2b/attachment.html From hawkins at hawkinsegroup.com Sun Sep 11 05:18:00 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sat, 10 Sep 2016 20:18:00 -0500 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: <3CD2F093-6F11-4A94-A07F-7D6A33C239B8@emassembly.com> References: <3CD2F093-6F11-4A94-A07F-7D6A33C239B8@emassembly.com> Message-ID: No problem, I need to take notes anyway. Here they are... *A.* /etc/fail2ban/filter.d/freeswitch.conf needs the following text: https://github.com/fail2ban/fail2ban/blob/master/config/filter.d/freeswitch.conf NOTE: Internal and Public sofia profiles need: *B.* /etc/fail2ban/jail.conf and in /etc/fail2ban/jail.local (not sure which one is working, I had to create jail.local) [freeswitch] enabled = true port = 5060,5061,5080,5081,5076 5074 5071 filter = freeswitch logpath = /var/log/freeswitch/freeswitch.log maxretry = 3 *C.* Drop these rules into iptables to block the scanners on ports 5060 and 5080 iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "VaxSIPUserAgent" --algo bm iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "friendly-scanner" --algo bm iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "sipcli" --algo bm iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string "VaxSIPUserAgent" --algo bm iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string "friendly-scanner" --algo bm iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string "sipcli" --algo bm *D.* Change SSH port from 22 to a custom number vi /etc/ssh/sshd_config *E.* Update SSH jail in /etc/fail2ban/jail.conf to custom port number. [ssh] enabled = true port = 9898,22 filter = sshd logpath = /var/log/auth.log maxretry = 6 *F.* I also have additional security using CDR records (curl). If a call comes in that does not have an 'account number' set (a custom variable we set for all incoming and outgoing calls from our customers) then we execute a shell command to block that IP without delay because they obviously aren't one of our customers. We are using mod_httapi and all calls start that way for us, so it's easy to set the variable as all calls start with . iptables -A INPUT -s 65.55.44.100 -j DROP Where 65.55.44.100 is the ip to block. Don On Sat, Sep 10, 2016 at 7:58 PM, George Assaad wrote: > Hi Don, > Could you please share your final settings since it works. > > Thanks, > > George > > On Sep 10, 2016, at 5:49 PM, Don Hawkins > wrote: > > Just want to update everyone that the registration attempts have almost > stopped 100% since blocking the sniffers and setting a 4 hour block time > after three failed registrations. > > Good day! > > On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie > wrote: > >> On 8 September 2016 at 12:54, Don Hawkins >> wrote: >> > Can someone share with me how to block all ports except the important >> ones? >> >> I had the same question about a month ago: >> http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >> August/121694.html >> >> Colin gives good advice here: >> http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >> August/121730.html >> >> I've also had success with contacting the originating network and >> request their customer to stop the traffic to me. >> >> Here's the abuse form for online.net: >> https://console.online.net/en/account/abuses/search >> >> By the way, if the fail2ban page on confluence needs updating, please >> update it or list what's wrong with it. I do see it indicates to >> create the jail.local and that's what you were missing for yours to >> work properly. >> >> >> -- >> ------- >> inum: 883510009027723 >> sip: jungleboogie at sip2sip.info >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160910/c1a5a03b/attachment-0001.html From ssinyagin at gmail.com Mon Sep 12 04:36:22 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 12 Sep 2016 02:36:22 +0200 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> Message-ID: Actually Ken, the MIT license allows you to do almost anything you want with modified code. There's no obligation to publish the changes. Even the Gnu GPL doesn't obligate to publish the changes, it only allows anyone to publish them for you )) On 10 Sep 2016 22:02, "Ken Rice" wrote: > If you have patch freeswitch you should pdat those patches so that the > original authors can review them. This is your obligation under the license > > Sent from my iPhone > > On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: > > Hi, > > I have developed few future and interface and some modification in old > version of freeswitch so my modification is not working in 1.6. This is > reason to use old. Its not possible for me to again develop all those > changes in new version. I tried in new version but didn't worked so I have > only option to use 1.4. > > Please advise server. > > Thanks > Uday. > > On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: > > Why would you use an old unsupported version? > > > On Saturday, September 10, 2016, Uday kumar wrote: > >> Hi All, >> >> I need your help to setup Freeswitch server for 1000 concurrent call on >> CentOS. Freeswitch version 1.4.26 for below modules:- >> >> *1.* Conference >> *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. >> *3.* Extension to extension Calls, Extention to Mobile/Landline call >> using SIP. >> *4.* IVR >> *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, >> IVR etc) >> *6.* To tracking RTP, use tool Voipmonitor. >> *7. *For security iptables. >> *8.* Database is MySQL. >> >> To make outgoing and incoming calls will configure multiple Carrier >> provider and DID. >> >> >> *Please suggest server configuration for above setup and also how much >> Internet speed is required. * >> >> *Currently I have one dedicated server in cloud with below >> configuration. * >> >> *Intel(R) Xeon ** @ 3.30GHz* >> *12GB RAM* >> *8MB Casche* >> *500GB HDD with 7k RPM* >> >> *Please suggest if this is capable to handle above requirements. * >> >> >> -- >> Thanks & Regard >> Uday >> Site:- www.shareyourknowledge.in >> Mobile:- +91-9377579349 >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/dc1e07ba/attachment.html From gascagonzalo at gmail.com Mon Sep 12 04:59:47 2016 From: gascagonzalo at gmail.com (Gonzalo Gasca Meza) Date: Sun, 11 Sep 2016 17:59:47 -0700 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> Message-ID: Going back to the original discussion why not to install multiple FS servers and add a Load balancer to distribute the call load. (Kamailio Opensource SIP proxy) Regardless of your testing relying on a single server is not a good idea for 1K CPS production infrastructure. Definitely you should be the one testing 1K simultaneous calls per second and all the features you described, many tools to do this (SIPP, Asterisk, ESL interface) On Sun, Sep 11, 2016 at 5:36 PM, Stanislav Sinyagin wrote: > Actually Ken, the MIT license allows you to do almost anything you want > with modified code. There's no obligation to publish the changes. > > Even the Gnu GPL doesn't obligate to publish the changes, it only allows > anyone to publish them for you )) > > On 10 Sep 2016 22:02, "Ken Rice" wrote: > >> If you have patch freeswitch you should pdat those patches so that the >> original authors can review them. This is your obligation under the license >> >> Sent from my iPhone >> >> On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: >> >> Hi, >> >> I have developed few future and interface and some modification in old >> version of freeswitch so my modification is not working in 1.6. This is >> reason to use old. Its not possible for me to again develop all those >> changes in new version. I tried in new version but didn't worked so I have >> only option to use 1.4. >> >> Please advise server. >> >> Thanks >> Uday. >> >> On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: >> >> Why would you use an old unsupported version? >> >> >> On Saturday, September 10, 2016, Uday kumar wrote: >> >>> Hi All, >>> >>> I need your help to setup Freeswitch server for 1000 concurrent call on >>> CentOS. Freeswitch version 1.4.26 for below modules:- >>> >>> *1.* Conference >>> *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. >>> *3.* Extension to extension Calls, Extention to Mobile/Landline call >>> using SIP. >>> *4.* IVR >>> *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, >>> IVR etc) >>> *6.* To tracking RTP, use tool Voipmonitor. >>> *7. *For security iptables. >>> *8.* Database is MySQL. >>> >>> To make outgoing and incoming calls will configure multiple Carrier >>> provider and DID. >>> >>> >>> *Please suggest server configuration for above setup and also how much >>> Internet speed is required. * >>> >>> *Currently I have one dedicated server in cloud with below >>> configuration. * >>> >>> *Intel(R) Xeon ** @ 3.30GHz* >>> *12GB RAM* >>> *8MB Casche* >>> *500GB HDD with 7k RPM* >>> >>> *Please suggest if this is capable to handle above requirements. * >>> >>> >>> -- >>> Thanks & Regard >>> Uday >>> Site:- www.shareyourknowledge.in >>> Mobile:- +91-9377579349 >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/97f000e4/attachment-0001.html From krice at freeswitch.org Mon Sep 12 05:57:57 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 11 Sep 2016 20:57:57 -0500 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> Message-ID: <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> What does the mit or the gpl have to do with freeswitch? Sent from my iPhone > On Sep 11, 2016, at 7:36 PM, Stanislav Sinyagin wrote: > > Actually Ken, the MIT license allows you to do almost anything you want with modified code. There's no obligation to publish the changes. > > Even the Gnu GPL doesn't obligate to publish the changes, it only allows anyone to publish them for you )) > > >> On 10 Sep 2016 22:02, "Ken Rice" wrote: >> If you have patch freeswitch you should pdat those patches so that the original authors can review them. This is your obligation under the license >> >> Sent from my iPhone >> >>> On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: >>> >>> Hi, >>> >>> I have developed few future and interface and some modification in old version of freeswitch so my modification is not working in 1.6. This is reason to use old. Its not possible for me to again develop all those changes in new version. I tried in new version but didn't worked so I have only option to use 1.4. >>> >>> Please advise server. >>> >>> Thanks >>> Uday. >>> >>> >>> On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: >>> Why would you use an old unsupported version? >>> >>> >>>> On Saturday, September 10, 2016, Uday kumar wrote: >>>> Hi All, >>>> >>>> I need your help to setup Freeswitch server for 1000 concurrent call on CentOS. Freeswitch version 1.4.26 for below modules:- >>>> >>>> 1. Conference >>>> 2. CallCenter:- In CallCenter Module will use ring group, queue etc. >>>> 3. Extension to extension Calls, Extention to Mobile/Landline call using SIP. >>>> 4. IVR >>>> 5. Recording:- Record all Calls (Conference, CallCenter, Extension, IVR etc) >>>> 6. To tracking RTP, use tool Voipmonitor. >>>> 7. For security iptables. >>>> 8. Database is MySQL. >>>> >>>> To make outgoing and incoming calls will configure multiple Carrier provider and DID. >>>> >>>> >>>> Please suggest server configuration for above setup and also how much Internet speed is required. >>>> >>>> Currently I have one dedicated server in cloud with below configuration. >>>> >>>> Intel(R) Xeon @ 3.30GHz >>>> 12GB RAM >>>> 8MB Casche >>>> 500GB HDD with 7k RPM >>>> >>>> Please suggest if this is capable to handle above requirements. >>>> >>>> >>>> -- >>>> Thanks & Regard >>>> Uday >>>> Site:- www.shareyourknowledge.in >>>> Mobile:- +91-9377579349 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/9e6e267f/attachment.html From max at nysolutions.com Mon Sep 12 06:45:30 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Mon, 12 Sep 2016 02:45:30 +0000 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> Message-ID: <0bd66f8fe3be4fb388a7a771247188ed@nysolutions.com> Impossible for someone to guess what hardware you need without knowing more about your application. Your best bet would be contacting consulting at freeswitch.org, they would be glad to help. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Uday kumar Sent: Saturday, September 10, 2016 4:30 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Hardware requirement for 1000 Calls I have not done any patch or core modification. Developed interface to access those functional from interface. I need information to setup server in such senior that I included above. On Sep 11, 2016 1:32 AM, "Ken Rice" > wrote: If you have patch freeswitch you should pdat those patches so that the original authors can review them. This is your obligation under the license Sent from my iPhone On Sep 10, 2016, at 2:31 PM, Uday kumar > wrote: Hi, I have developed few future and interface and some modification in old version of freeswitch so my modification is not working in 1.6. This is reason to use old. Its not possible for me to again develop all those changes in new version. I tried in new version but didn't worked so I have only option to use 1.4. Please advise server. Thanks Uday. On Sep 10, 2016 10:55 PM, "Michael Jerris" > wrote: Why would you use an old unsupported version? On Saturday, September 10, 2016, Uday kumar > wrote: Hi All, I need your help to setup Freeswitch server for 1000 concurrent call on CentOS. Freeswitch version 1.4.26 for below modules:- 1. Conference 2. CallCenter:- In CallCenter Module will use ring group, queue etc. 3. Extension to extension Calls, Extention to Mobile/Landline call using SIP. 4. IVR 5. Recording:- Record all Calls (Conference, CallCenter, Extension, IVR etc) 6. To tracking RTP, use tool Voipmonitor. 7. For security iptables. 8. Database is MySQL. To make outgoing and incoming calls will configure multiple Carrier provider and DID. Please suggest server configuration for above setup and also how much Internet speed is required. Currently I have one dedicated server in cloud with below configuration. Intel(R) Xeon @ 3.30GHz 12GB RAM 8MB Casche 500GB HDD with 7k RPM Please suggest if this is capable to handle above requirements. -- Thanks & Regard Uday Site:- www.shareyourknowledge.in Mobile:- +91-9377579349 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/4412c731/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/4412c731/attachment-0001.jpg From hawkins at hawkinsegroup.com Mon Sep 12 06:45:00 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sun, 11 Sep 2016 21:45:00 -0500 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> Message-ID: I would like to see future versions of FreeSWITCH support load balancing out the box somehow, without ever needing Kamailio. On Sun, Sep 11, 2016 at 8:57 PM, Ken Rice wrote: > What does the mit or the gpl have to do with freeswitch? > > Sent from my iPhone > > On Sep 11, 2016, at 7:36 PM, Stanislav Sinyagin > wrote: > > Actually Ken, the MIT license allows you to do almost anything you want > with modified code. There's no obligation to publish the changes. > > Even the Gnu GPL doesn't obligate to publish the changes, it only allows > anyone to publish them for you )) > > On 10 Sep 2016 22:02, "Ken Rice" wrote: > >> If you have patch freeswitch you should pdat those patches so that the >> original authors can review them. This is your obligation under the license >> >> Sent from my iPhone >> >> On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: >> >> Hi, >> >> I have developed few future and interface and some modification in old >> version of freeswitch so my modification is not working in 1.6. This is >> reason to use old. Its not possible for me to again develop all those >> changes in new version. I tried in new version but didn't worked so I have >> only option to use 1.4. >> >> Please advise server. >> >> Thanks >> Uday. >> >> On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: >> >> Why would you use an old unsupported version? >> >> >> On Saturday, September 10, 2016, Uday kumar wrote: >> >>> Hi All, >>> >>> I need your help to setup Freeswitch server for 1000 concurrent call on >>> CentOS. Freeswitch version 1.4.26 for below modules:- >>> >>> *1.* Conference >>> *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. >>> *3.* Extension to extension Calls, Extention to Mobile/Landline call >>> using SIP. >>> *4.* IVR >>> *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, >>> IVR etc) >>> *6.* To tracking RTP, use tool Voipmonitor. >>> *7. *For security iptables. >>> *8.* Database is MySQL. >>> >>> To make outgoing and incoming calls will configure multiple Carrier >>> provider and DID. >>> >>> >>> *Please suggest server configuration for above setup and also how much >>> Internet speed is required. * >>> >>> *Currently I have one dedicated server in cloud with below >>> configuration. * >>> >>> *Intel(R) Xeon ** @ 3.30GHz* >>> *12GB RAM* >>> *8MB Casche* >>> *500GB HDD with 7k RPM* >>> >>> *Please suggest if this is capable to handle above requirements. * >>> >>> >>> -- >>> Thanks & Regard >>> Uday >>> Site:- www.shareyourknowledge.in >>> Mobile:- +91-9377579349 >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/ccee690a/attachment.html From max at nysolutions.com Mon Sep 12 07:00:58 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Mon, 12 Sep 2016 03:00:58 +0000 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> Message-ID: You can without Kamailio, you can use Postgresql Multimaster replication for the FS DB. https://wiki.postgresql.org/wiki/BDR_Quick_Start Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Don Hawkins Sent: Sunday, September 11, 2016 10:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Hardware requirement for 1000 Calls I would like to see future versions of FreeSWITCH support load balancing out the box somehow, without ever needing Kamailio. On Sun, Sep 11, 2016 at 8:57 PM, Ken Rice > wrote: What does the mit or the gpl have to do with freeswitch? Sent from my iPhone On Sep 11, 2016, at 7:36 PM, Stanislav Sinyagin > wrote: Actually Ken, the MIT license allows you to do almost anything you want with modified code. There's no obligation to publish the changes. Even the Gnu GPL doesn't obligate to publish the changes, it only allows anyone to publish them for you )) On 10 Sep 2016 22:02, "Ken Rice" > wrote: If you have patch freeswitch you should pdat those patches so that the original authors can review them. This is your obligation under the license Sent from my iPhone On Sep 10, 2016, at 2:31 PM, Uday kumar > wrote: Hi, I have developed few future and interface and some modification in old version of freeswitch so my modification is not working in 1.6. This is reason to use old. Its not possible for me to again develop all those changes in new version. I tried in new version but didn't worked so I have only option to use 1.4. Please advise server. Thanks Uday. On Sep 10, 2016 10:55 PM, "Michael Jerris" > wrote: Why would you use an old unsupported version? On Saturday, September 10, 2016, Uday kumar > wrote: Hi All, I need your help to setup Freeswitch server for 1000 concurrent call on CentOS. Freeswitch version 1.4.26 for below modules:- 1. Conference 2. CallCenter:- In CallCenter Module will use ring group, queue etc. 3. Extension to extension Calls, Extention to Mobile/Landline call using SIP. 4. IVR 5. Recording:- Record all Calls (Conference, CallCenter, Extension, IVR etc) 6. To tracking RTP, use tool Voipmonitor. 7. For security iptables. 8. Database is MySQL. To make outgoing and incoming calls will configure multiple Carrier provider and DID. Please suggest server configuration for above setup and also how much Internet speed is required. Currently I have one dedicated server in cloud with below configuration. Intel(R) Xeon @ 3.30GHz 12GB RAM 8MB Casche 500GB HDD with 7k RPM Please suggest if this is capable to handle above requirements. -- Thanks & Regard Uday Site:- www.shareyourknowledge.in Mobile:- +91-9377579349 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT: push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/fc743842/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/fc743842/attachment-0001.jpg From hawkins at hawkinsegroup.com Mon Sep 12 07:33:17 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sun, 11 Sep 2016 22:33:17 -0500 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> Message-ID: That would replicate the database for sure (allow two servers to use it). However, all of our call flow is handled off site with a database already so technically two FS servers could already go live, problem is each has it's own IP (different address for registering SIP clients). I'm thinking more along the lines of load balancing. If FS server 1 has 500 calls already then send the next call to FS server 2. Many web host (Linode in my case) offer load balancing, but I'm not sure if they support UDP, seems like only TCP. On Sun, Sep 11, 2016 at 10:00 PM, Moishe Grunstein wrote: > You can without Kamailio, you can use Postgresql Multimaster replication > for the FS DB. https://wiki.postgresql.org/wiki/BDR_Quick_Start > > > > > > Thanks, > > > > Moishe Grunstein > > Tornado Computer Systems, Inc. > > 212.400.7650 888.IPPBX.US > *Service Request Email: support at nysolutions.com * > > [image: cid:image001.jpg at 01C72F94.9EE45D60] > > Computer Networking * Managed Services * IP Video Surveillance * Network > Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network > Security * Site Surveys * CMS > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Don Hawkins > *Sent:* Sunday, September 11, 2016 10:45 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Hardware requirement for 1000 Calls > > > > I would like to see future versions of FreeSWITCH support load balancing > out the box somehow, without ever needing Kamailio. > > > > On Sun, Sep 11, 2016 at 8:57 PM, Ken Rice wrote: > > What does the mit or the gpl have to do with freeswitch? > > Sent from my iPhone > > > On Sep 11, 2016, at 7:36 PM, Stanislav Sinyagin > wrote: > > Actually Ken, the MIT license allows you to do almost anything you want > with modified code. There's no obligation to publish the changes. > > Even the Gnu GPL doesn't obligate to publish the changes, it only allows > anyone to publish them for you )) > > > > On 10 Sep 2016 22:02, "Ken Rice" wrote: > > If you have patch freeswitch you should pdat those patches so that the > original authors can review them. This is your obligation under the license > > Sent from my iPhone > > > On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: > > Hi, > > I have developed few future and interface and some modification in old > version of freeswitch so my modification is not working in 1.6. This is > reason to use old. Its not possible for me to again develop all those > changes in new version. I tried in new version but didn't worked so I have > only option to use 1.4. > > Please advise server. > > Thanks > Uday. > > > > On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: > > Why would you use an old unsupported version? > > > > On Saturday, September 10, 2016, Uday kumar wrote: > > Hi All, > > > > I need your help to setup Freeswitch server for 1000 concurrent call on > CentOS. Freeswitch version 1.4.26 for below modules:- > > > > *1.* Conference > > *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. > > *3.* Extension to extension Calls, Extention to Mobile/Landline call > using SIP. > > *4.* IVR > > *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, IVR > etc) > > *6.* To tracking RTP, use tool Voipmonitor. > > *7. *For security iptables. > > *8.* Database is MySQL. > > > > To make outgoing and incoming calls will configure multiple Carrier > provider and DID. > > > > > > *Please suggest server configuration for above setup and also how much > Internet speed is required. * > > > > *Currently I have one dedicated server in cloud with below configuration. * > > > > *Intel(R) Xeon @ 3.30GHz* > > *12GB RAM* > > *8MB Casche* > > *500GB HDD with 7k RPM* > > > > *Please suggest if this is capable to handle above requirements. * > > > > > > -- > > Thanks & Regard > > Uday > > Site:- www.shareyourknowledge.in > > Mobile:- +91-9377579349 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > > P: 469-214-5044 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/e138ac99/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/e138ac99/attachment-0001.jpg From max at nysolutions.com Mon Sep 12 08:18:33 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Mon, 12 Sep 2016 04:18:33 +0000 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> Message-ID: <97911de54c934919996d63c9e760551b@nysolutions.com> You can do that on the DNS level with many DNS providers. Or using srv records. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Don Hawkins Sent: Sunday, September 11, 2016 11:33 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Hardware requirement for 1000 Calls That would replicate the database for sure (allow two servers to use it). However, all of our call flow is handled off site with a database already so technically two FS servers could already go live, problem is each has it's own IP (different address for registering SIP clients). I'm thinking more along the lines of load balancing. If FS server 1 has 500 calls already then send the next call to FS server 2. Many web host (Linode in my case) offer load balancing, but I'm not sure if they support UDP, seems like only TCP. On Sun, Sep 11, 2016 at 10:00 PM, Moishe Grunstein > wrote: You can without Kamailio, you can use Postgresql Multimaster replication for the FS DB. https://wiki.postgresql.org/wiki/BDR_Quick_Start Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Don Hawkins Sent: Sunday, September 11, 2016 10:45 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Hardware requirement for 1000 Calls I would like to see future versions of FreeSWITCH support load balancing out the box somehow, without ever needing Kamailio. On Sun, Sep 11, 2016 at 8:57 PM, Ken Rice > wrote: What does the mit or the gpl have to do with freeswitch? Sent from my iPhone On Sep 11, 2016, at 7:36 PM, Stanislav Sinyagin > wrote: Actually Ken, the MIT license allows you to do almost anything you want with modified code. There's no obligation to publish the changes. Even the Gnu GPL doesn't obligate to publish the changes, it only allows anyone to publish them for you )) On 10 Sep 2016 22:02, "Ken Rice" > wrote: If you have patch freeswitch you should pdat those patches so that the original authors can review them. This is your obligation under the license Sent from my iPhone On Sep 10, 2016, at 2:31 PM, Uday kumar > wrote: Hi, I have developed few future and interface and some modification in old version of freeswitch so my modification is not working in 1.6. This is reason to use old. Its not possible for me to again develop all those changes in new version. I tried in new version but didn't worked so I have only option to use 1.4. Please advise server. Thanks Uday. On Sep 10, 2016 10:55 PM, "Michael Jerris" > wrote: Why would you use an old unsupported version? On Saturday, September 10, 2016, Uday kumar > wrote: Hi All, I need your help to setup Freeswitch server for 1000 concurrent call on CentOS. Freeswitch version 1.4.26 for below modules:- 1. Conference 2. CallCenter:- In CallCenter Module will use ring group, queue etc. 3. Extension to extension Calls, Extention to Mobile/Landline call using SIP. 4. IVR 5. Recording:- Record all Calls (Conference, CallCenter, Extension, IVR etc) 6. To tracking RTP, use tool Voipmonitor. 7. For security iptables. 8. Database is MySQL. To make outgoing and incoming calls will configure multiple Carrier provider and DID. Please suggest server configuration for above setup and also how much Internet speed is required. Currently I have one dedicated server in cloud with below configuration. Intel(R) Xeon @ 3.30GHz 12GB RAM 8MB Casche 500GB HDD with 7k RPM Please suggest if this is capable to handle above requirements. -- Thanks & Regard Uday Site:- www.shareyourknowledge.in Mobile:- +91-9377579349 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT: push2don P: 469-214-5044 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT: push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/80d7c259/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/80d7c259/attachment-0001.jpg From s.safarov at gmail.com Mon Sep 12 08:34:54 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 12 Sep 2016 04:34:54 +0000 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> Message-ID: ??, 12 ????. 2016 ?. ? 3:37, Stanislav Sinyagin : > Actually Ken, the MIT license allows you to do almost anything you want > with modified code. There's no obligation to publish the changes. > > Even the Gnu GPL doesn't obligate to publish the changes, it only allows > anyone to publish them for you )) > Hello Stanislav Please look at term "Made available". This term requires "Any Modification which You create or to which You contribute must be made available in Source Code ... to anyone to whom you made an Executable version available". http://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/1.0/annotated/ https://www.mozilla.org/en-US/MPL/1.1/annotated/ https://www.mozilla.org/en-US/MPL/2.0/FAQ/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/076a4c6c/attachment.html From d at d-man.org Mon Sep 12 08:39:28 2016 From: d at d-man.org (Darren) Date: Mon, 12 Sep 2016 04:39:28 +0000 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> Message-ID: Isn?t FreeSWITCH MPL not MIT? From: on behalf of Sergey Safarov Reply-To: FreeSWITCH Users Help Date: Sunday, September 11, 2016 at 9:34 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Hardware requirement for 1000 Calls ??, 12 ????. 2016 ?. ? 3:37, Stanislav Sinyagin >: Actually Ken, the MIT license allows you to do almost anything you want with modified code. There's no obligation to publish the changes. Even the Gnu GPL doesn't obligate to publish the changes, it only allows anyone to publish them for you )) Hello Stanislav Please look at term "Made available". This term requires "Any Modification which You create or to which You contribute must be made available in Source Code ... to anyone to whom you made an Executable version available". http://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/1.0/annotated/ https://www.mozilla.org/en-US/MPL/1.1/annotated/ https://www.mozilla.org/en-US/MPL/2.0/FAQ/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/fed42b7b/attachment.html From krice at freeswitch.org Mon Sep 12 08:40:32 2016 From: krice at freeswitch.org (Ken Rice) Date: Sun, 11 Sep 2016 23:40:32 -0500 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> Message-ID: <0c2901d20caf$ce35ad00$6aa10700$@freeswitch.org> correct From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Darren Sent: Sunday, September 11, 2016 11:39 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Hardware requirement for 1000 Calls Isn?t FreeSWITCH MPL not MIT? From: > on behalf of Sergey Safarov > Reply-To: FreeSWITCH Users Help > Date: Sunday, September 11, 2016 at 9:34 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Hardware requirement for 1000 Calls ??, 12 ????. 2016 ?. ? 3:37, Stanislav Sinyagin >: Actually Ken, the MIT license allows you to do almost anything you want with modified code. There's no obligation to publish the changes. Even the Gnu GPL doesn't obligate to publish the changes, it only allows anyone to publish them for you )) Hello Stanislav Please look at term "Made available". This term requires "Any Modification which You create or to which You contribute must be made available in Source Code ... to anyone to whom you made an Executable version available". http://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/1.0/annotated/ https://www.mozilla.org/en-US/MPL/1.1/annotated/ https://www.mozilla.org/en-US/MPL/2.0/FAQ/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/411b928d/attachment.html From udy786 at gmail.com Mon Sep 12 09:05:56 2016 From: udy786 at gmail.com (Uday kumar) Date: Mon, 12 Sep 2016 10:35:56 +0530 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <0c2901d20caf$ce35ad00$6aa10700$@freeswitch.org> Message-ID: Thank you everyone for valuable information and suggestions. I will contact consulting at freeswitch.org for more information. Thanks Uday. On Sep 12, 2016 10:11 AM, "Ken Rice" wrote: correct *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Darren *Sent:* Sunday, September 11, 2016 11:39 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] Hardware requirement for 1000 Calls Isn?t FreeSWITCH MPL not MIT? *From: * on behalf of Sergey Safarov *Reply-To: *FreeSWITCH Users Help *Date: *Sunday, September 11, 2016 at 9:34 PM *To: *FreeSWITCH Users Help *Subject: *Re: [Freeswitch-users] Hardware requirement for 1000 Calls ??, 12 ????. 2016 ?. ? 3:37, Stanislav Sinyagin : Actually Ken, the MIT license allows you to do almost anything you want with modified code. There's no obligation to publish the changes. Even the Gnu GPL doesn't obligate to publish the changes, it only allows anyone to publish them for you )) Hello Stanislav Please look at term "Made available". This term requires "Any Modification which You create or to which You contribute must be made available in Source Code ... to anyone to whom you made an Executable version available". http://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/1.0/annotated/ https://www.mozilla.org/en-US/MPL/1.1/annotated/ https://www.mozilla.org/en-US/MPL/2.0/FAQ/ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/95385b38/attachment-0001.html From ashwinrath at gmail.com Mon Sep 12 09:22:25 2016 From: ashwinrath at gmail.com (Ashwin Rath) Date: Mon, 12 Sep 2016 10:52:25 +0530 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <0c2901d20caf$ce35ad00$6aa10700$@freeswitch.org> Message-ID: Looks like you are trying to replace or setup some sort of ACD+PBX+IVR for an organization. You may want to consider FusionPBX which is an out of the box solution for such requirements. Colin has correctly pointed out that you have not included a lot of details. You need to remember that your real bottleneck will be the DB which will hold the core of FS or the session state machines. Therefore if you are willing to get into development, i would suggest you modify FS to handle signalling only and use a custom NPU for media. I have developed such an appliance which was able to do 150 CPS with an avg call duration of 3 minutes on G711 (Passthrough). G729 is less heavy compared to G711 but has licensing overheads. Depends actually on your trunk provider. If they donot accept 729 or use something else then transcoding has a huge cost. To summarize : try using Fusion with a pgsql backend setup as a cluster of DBs. On 12 September 2016 at 10:35, Uday kumar wrote: > Thank you everyone for valuable information and suggestions. > > I will contact consulting at freeswitch.org for more information. > > Thanks > Uday. > > On Sep 12, 2016 10:11 AM, "Ken Rice" wrote: > > correct > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Darren > *Sent:* Sunday, September 11, 2016 11:39 PM > > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Hardware requirement for 1000 Calls > > > > Isn?t FreeSWITCH MPL not MIT? > > > > *From: * on behalf of > Sergey Safarov > *Reply-To: *FreeSWITCH Users Help > *Date: *Sunday, September 11, 2016 at 9:34 PM > *To: *FreeSWITCH Users Help > *Subject: *Re: [Freeswitch-users] Hardware requirement for 1000 Calls > > > > ??, 12 ????. 2016 ?. ? 3:37, Stanislav Sinyagin : > > Actually Ken, the MIT license allows you to do almost anything you want > with modified code. There's no obligation to publish the changes. > > Even the Gnu GPL doesn't obligate to publish the changes, it only allows > anyone to publish them for you )) > > Hello Stanislav > > Please look at term "Made available". This term requires "Any Modification > which You create or to which You contribute must be made available in > Source Code ... to anyone to whom you made an Executable version available". > > > > http://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/1.0/annotated/ > > https://www.mozilla.org/en-US/MPL/1.1/annotated/ > > https://www.mozilla.org/en-US/MPL/2.0/FAQ/ > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Ashwin Kumar Rath -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/5a04f88e/attachment.html From udy786 at gmail.com Mon Sep 12 10:04:47 2016 From: udy786 at gmail.com (Uday kumar) Date: Mon, 12 Sep 2016 11:34:47 +0530 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <0c2901d20caf$ce35ad00$6aa10700$@freeswitch.org> Message-ID: Hi Ashwin, Can you please share your server details for 150 CPS? It will really help me. Thanks Uday. On Mon, Sep 12, 2016 at 10:52 AM, Ashwin Rath wrote: > Looks like you are trying to replace or setup some sort of ACD+PBX+IVR for > an organization. You may want to consider FusionPBX which is an out of the > box solution for such requirements. > > Colin has correctly pointed out that you have not included a lot of > details. You need to remember that your real bottleneck will be the DB > which will hold the core of FS or the session state machines. Therefore if > you are willing to get into development, i would suggest you modify FS to > handle signalling only and use a custom NPU for media. > > I have developed such an appliance which was able to do 150 CPS with an > avg call duration of 3 minutes on G711 (Passthrough). > > G729 is less heavy compared to G711 but has licensing overheads. Depends > actually on your trunk provider. If they donot accept 729 or use something > else then transcoding has a huge cost. > > To summarize : try using Fusion with a pgsql backend setup as a cluster of > DBs. > > On 12 September 2016 at 10:35, Uday kumar wrote: > >> Thank you everyone for valuable information and suggestions. >> >> I will contact consulting at freeswitch.org for more information. >> >> Thanks >> Uday. >> >> On Sep 12, 2016 10:11 AM, "Ken Rice" wrote: >> >> correct >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Darren >> *Sent:* Sunday, September 11, 2016 11:39 PM >> >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] Hardware requirement for 1000 Calls >> >> >> >> Isn?t FreeSWITCH MPL not MIT? >> >> >> >> *From: * on behalf of >> Sergey Safarov >> *Reply-To: *FreeSWITCH Users Help >> *Date: *Sunday, September 11, 2016 at 9:34 PM >> *To: *FreeSWITCH Users Help >> *Subject: *Re: [Freeswitch-users] Hardware requirement for 1000 Calls >> >> >> >> ??, 12 ????. 2016 ?. ? 3:37, Stanislav Sinyagin : >> >> Actually Ken, the MIT license allows you to do almost anything you want >> with modified code. There's no obligation to publish the changes. >> >> Even the Gnu GPL doesn't obligate to publish the changes, it only allows >> anyone to publish them for you )) >> >> Hello Stanislav >> >> Please look at term "Made available". This term requires "Any >> Modification which You create or to which You contribute must be made >> available in Source Code ... to anyone to whom you made an Executable >> version available". >> >> >> >> http://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/1.0/annotated/ >> >> https://www.mozilla.org/en-US/MPL/1.1/annotated/ >> >> https://www.mozilla.org/en-US/MPL/2.0/FAQ/ >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Ashwin Kumar Rath > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Thanks & Regard Uday Site:- www.shareyourknowledge.in Mobile:- +91-9377579349 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/f13c6316/attachment-0001.html From ssinyagin at gmail.com Mon Sep 12 12:14:57 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 12 Sep 2016 10:14:57 +0200 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> Message-ID: Last time I checked, freeswitch was distributed under MIT license. Has it changed? On 12 Sep 2016 03:59, "Ken Rice" wrote: > What does the mit or the gpl have to do with freeswitch? > > Sent from my iPhone > > On Sep 11, 2016, at 7:36 PM, Stanislav Sinyagin > wrote: > > Actually Ken, the MIT license allows you to do almost anything you want > with modified code. There's no obligation to publish the changes. > > Even the Gnu GPL doesn't obligate to publish the changes, it only allows > anyone to publish them for you )) > > On 10 Sep 2016 22:02, "Ken Rice" wrote: > >> If you have patch freeswitch you should pdat those patches so that the >> original authors can review them. This is your obligation under the license >> >> Sent from my iPhone >> >> On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: >> >> Hi, >> >> I have developed few future and interface and some modification in old >> version of freeswitch so my modification is not working in 1.6. This is >> reason to use old. Its not possible for me to again develop all those >> changes in new version. I tried in new version but didn't worked so I have >> only option to use 1.4. >> >> Please advise server. >> >> Thanks >> Uday. >> >> On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: >> >> Why would you use an old unsupported version? >> >> >> On Saturday, September 10, 2016, Uday kumar wrote: >> >>> Hi All, >>> >>> I need your help to setup Freeswitch server for 1000 concurrent call on >>> CentOS. Freeswitch version 1.4.26 for below modules:- >>> >>> *1.* Conference >>> *2.* CallCenter:- In CallCenter Module will use ring group, queue etc. >>> *3.* Extension to extension Calls, Extention to Mobile/Landline call >>> using SIP. >>> *4.* IVR >>> *5.* Recording:- Record all Calls (Conference, CallCenter, Extension, >>> IVR etc) >>> *6.* To tracking RTP, use tool Voipmonitor. >>> *7. *For security iptables. >>> *8.* Database is MySQL. >>> >>> To make outgoing and incoming calls will configure multiple Carrier >>> provider and DID. >>> >>> >>> *Please suggest server configuration for above setup and also how much >>> Internet speed is required. * >>> >>> *Currently I have one dedicated server in cloud with below >>> configuration. * >>> >>> *Intel(R) Xeon ** @ 3.30GHz* >>> *12GB RAM* >>> *8MB Casche* >>> *500GB HDD with 7k RPM* >>> >>> *Please suggest if this is capable to handle above requirements. * >>> >>> >>> -- >>> Thanks & Regard >>> Uday >>> Site:- www.shareyourknowledge.in >>> Mobile:- +91-9377579349 >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/46e3cfaf/attachment.html From Alexander.Haugg at c4b.de Mon Sep 12 12:46:58 2016 From: Alexander.Haugg at c4b.de (Alexander Haugg) Date: Mon, 12 Sep 2016 08:46:58 +0000 Subject: [Freeswitch-users] Variables in a user directory config will not a channel variable Message-ID: Hi, I?m set the valiable ?effective_caller_id_numer? in the user config file. The user is working fine, but the variables are not set to the channel variables. The user 170 is calling another user. In the dialplan, I?m trying this The documentation for the user directory says https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-Variables ?Any variables defined in the domain or user will be defined as channel variables when there is a call to user or when there is an inbound calls from that user.? Needs the freeswitch the mod_directory for this? I think not. What do I wrong? Thanks a lot! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/27c5debb/attachment-0001.html From ssinyagin at gmail.com Mon Sep 12 12:48:13 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Mon, 12 Sep 2016 10:48:13 +0200 Subject: [Freeswitch-users] Hardware requirement for 1000 Calls In-Reply-To: References: <0D3C719F-146C-4F66-875B-6DE269DD9026@freeswitch.org> <1EB459EB-1022-4B6A-8262-2005AC0D402D@freeswitch.org> Message-ID: my bad, I see now On Mon, Sep 12, 2016 at 10:14 AM, Stanislav Sinyagin wrote: > Last time I checked, freeswitch was distributed under MIT license. Has it > changed? > > > On 12 Sep 2016 03:59, "Ken Rice" wrote: >> >> What does the mit or the gpl have to do with freeswitch? >> >> Sent from my iPhone >> >> On Sep 11, 2016, at 7:36 PM, Stanislav Sinyagin >> wrote: >> >> Actually Ken, the MIT license allows you to do almost anything you want >> with modified code. There's no obligation to publish the changes. >> >> Even the Gnu GPL doesn't obligate to publish the changes, it only allows >> anyone to publish them for you )) >> >> >> On 10 Sep 2016 22:02, "Ken Rice" wrote: >>> >>> If you have patch freeswitch you should pdat those patches so that the >>> original authors can review them. This is your obligation under the license >>> >>> Sent from my iPhone >>> >>> On Sep 10, 2016, at 2:31 PM, Uday kumar wrote: >>> >>> Hi, >>> >>> I have developed few future and interface and some modification in old >>> version of freeswitch so my modification is not working in 1.6. This is >>> reason to use old. Its not possible for me to again develop all those >>> changes in new version. I tried in new version but didn't worked so I have >>> only option to use 1.4. >>> >>> Please advise server. >>> >>> Thanks >>> Uday. >>> >>> >>> On Sep 10, 2016 10:55 PM, "Michael Jerris" wrote: >>> >>> Why would you use an old unsupported version? >>> >>> >>> On Saturday, September 10, 2016, Uday kumar wrote: >>>> >>>> Hi All, >>>> >>>> I need your help to setup Freeswitch server for 1000 concurrent call on >>>> CentOS. Freeswitch version 1.4.26 for below modules:- >>>> >>>> 1. Conference >>>> 2. CallCenter:- In CallCenter Module will use ring group, queue etc. >>>> 3. Extension to extension Calls, Extention to Mobile/Landline call using >>>> SIP. >>>> 4. IVR >>>> 5. Recording:- Record all Calls (Conference, CallCenter, Extension, IVR >>>> etc) >>>> 6. To tracking RTP, use tool Voipmonitor. >>>> 7. For security iptables. >>>> 8. Database is MySQL. >>>> >>>> To make outgoing and incoming calls will configure multiple Carrier >>>> provider and DID. >>>> >>>> >>>> Please suggest server configuration for above setup and also how much >>>> Internet speed is required. >>>> >>>> Currently I have one dedicated server in cloud with below configuration. >>>> >>>> Intel(R) Xeon @ 3.30GHz >>>> 12GB RAM >>>> 8MB Casche >>>> 500GB HDD with 7k RPM >>>> >>>> Please suggest if this is capable to handle above requirements. >>>> >>>> >>>> -- >>>> Thanks & Regard >>>> Uday >>>> Site:- www.shareyourknowledge.in >>>> Mobile:- +91-9377579349 >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org From ovoshlook at gmail.com Mon Sep 12 16:57:47 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Mon, 12 Sep 2016 15:57:47 +0300 Subject: [Freeswitch-users] Enable Video for external calls Message-ID: Hi. Googled documenttion about it where i can turn it on? For now icoming INVITE goes with Video but then FS omakes outgoing call without Video Paert at the SDP. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/a602706d/attachment.html From ovoshlook at gmail.com Mon Sep 12 17:18:35 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Mon, 12 Sep 2016 16:18:35 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: Message-ID: REgarding video calls i mean SIP to SIP video calls Using sofia_mod Not WebRTC 2016-09-12 15:57 GMT+03:00 Yuriy Gorlichenko : > Hi. Googled documenttion about it > where i can turn it on? > For now icoming INVITE goes with Video but then FS omakes outgoing call > without Video Paert at the SDP. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/e3c0b6f6/attachment.html From hawkins at hawkinsegroup.com Mon Sep 12 17:19:22 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Mon, 12 Sep 2016 08:19:22 -0500 Subject: [Freeswitch-users] Variables in a user directory config will not a channel variable In-Reply-To: References: Message-ID: You need to use "set" On Mon, Sep 12, 2016 at 3:46 AM, Alexander Haugg wrote: > Hi, > > > > I?m set the valiable ?effective_caller_id_numer? in the user config file. > The user is working fine, but the variables are not set to the channel > variables. > > > > > > > > > > > > > > > > > > > > > > > > The user 170 is calling another user. In the dialplan, I?m trying this > > > > > > The documentation for the user directory says > > https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory# > XMLUserDirectory-Variables > > > > ?Any variables defined in the domain or user will be defined as channel > variables when there is a call to user or when there is an inbound calls > from that user.? > > > > Needs the freeswitch the mod_directory for this? I think not. > > What do I wrong? > > > > Thanks a lot! > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/ab7cd16e/attachment.html From mirkobrankovic at gmail.com Mon Sep 12 17:24:13 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Mon, 12 Sep 2016 15:24:13 +0200 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: Message-ID: make sure you have video codecs enabled in vars.conf for outbound codec list On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko wrote: > Hi. Googled documenttion about it > where i can turn it on? > For now icoming INVITE goes with Video but then FS omakes outgoing call > without Video Paert at the SDP. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/571d7138/attachment-0001.html From mirkobrankovic at gmail.com Mon Sep 12 17:27:32 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Mon, 12 Sep 2016 15:27:32 +0200 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: <3CD2F093-6F11-4A94-A07F-7D6A33C239B8@emassembly.com> Message-ID: Make sure you have blocktype = DROP in your iptables-blocktype.conf. It is always better to drop then to reject the packets, gives attacker timeout and makes one less packet for you to send :D On Sun, Sep 11, 2016 at 3:18 AM, Don Hawkins wrote: > No problem, I need to take notes anyway. Here they are... > > > *A.* /etc/fail2ban/filter.d/freeswitch.conf needs the following text: > > https://github.com/fail2ban/fail2ban/blob/master/config/ > filter.d/freeswitch.conf > > NOTE: Internal and Public sofia profiles need: name="log-auth-failures" value="true"/> > > > *B.* /etc/fail2ban/jail.conf and in /etc/fail2ban/jail.local (not sure > which one is working, I had to create jail.local) > > [freeswitch] > enabled = true > port = 5060,5061,5080,5081,5076 5074 5071 > filter = freeswitch > logpath = /var/log/freeswitch/freeswitch.log > maxretry = 3 > > > *C.* Drop these rules into iptables to block the scanners on ports 5060 > and 5080 > > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string > "VaxSIPUserAgent" --algo bm > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string > "friendly-scanner" --algo bm > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "sipcli" > --algo bm > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string > "VaxSIPUserAgent" --algo bm > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string > "friendly-scanner" --algo bm > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string "sipcli" > --algo bm > > > *D.* Change SSH port from 22 to a custom number > > vi /etc/ssh/sshd_config > > > *E.* Update SSH jail in /etc/fail2ban/jail.conf to custom port number. > > [ssh] > > enabled = true > port = 9898,22 > filter = sshd > logpath = /var/log/auth.log > maxretry = 6 > > > *F.* I also have additional security using CDR records (curl). If a call > comes in that does not have an 'account number' set (a custom variable we > set for all incoming and outgoing calls from our customers) then we execute > a shell command to block that IP without delay because they obviously > aren't one of our customers. We are using mod_httapi and all calls start > that way for us, so it's easy to set the variable as all calls start with > . > > > iptables -A INPUT -s 65.55.44.100 -j DROP > > > Where 65.55.44.100 is the ip to block. > > > > Don > > > > > On Sat, Sep 10, 2016 at 7:58 PM, George Assaad > wrote: > >> Hi Don, >> Could you please share your final settings since it works. >> >> Thanks, >> >> George >> >> On Sep 10, 2016, at 5:49 PM, Don Hawkins >> wrote: >> >> Just want to update everyone that the registration attempts have almost >> stopped 100% since blocking the sniffers and setting a 4 hour block time >> after three failed registrations. >> >> Good day! >> >> On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie >> wrote: >> >>> On 8 September 2016 at 12:54, Don Hawkins >>> wrote: >>> > Can someone share with me how to block all ports except the important >>> ones? >>> >>> I had the same question about a month ago: >>> http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>> August/121694.html >>> >>> Colin gives good advice here: >>> http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>> August/121730.html >>> >>> I've also had success with contacting the originating network and >>> request their customer to stop the traffic to me. >>> >>> Here's the abuse form for online.net: >>> https://console.online.net/en/account/abuses/search >>> >>> By the way, if the fail2ban page on confluence needs updating, please >>> update it or list what's wrong with it. I do see it indicates to >>> create the jail.local and that's what you were missing for yours to >>> work properly. >>> >>> >>> -- >>> ------- >>> inum: 883510009027723 >>> sip: jungleboogie at sip2sip.info >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> Don Hawkins >> CEO >> Hawkins Enterprise Group LLC >> http://hawkinsegroup.com >> Zello PTT : push2don >> P: 469-214-5044 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/52f3ad93/attachment.html From ovoshlook at gmail.com Mon Sep 12 17:37:46 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Mon, 12 Sep 2016 16:37:46 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: Message-ID: Yep. that in it. freeswitch/vars.xml freeswitch/sip_profiles/external.xml I making call as session:execute("bridge","sofia/external/"..session:getVariable("destination_number").."@my.sip.pro.xy") 2016-09-12 16:24 GMT+03:00 Mirko Brankovic : > make sure you have video codecs enabled in vars.conf for outbound codec > list > > On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko > wrote: > >> Hi. Googled documenttion about it >> where i can turn it on? >> For now icoming INVITE goes with Video but then FS omakes outgoing call >> without Video Paert at the SDP. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/c3291beb/attachment-0001.html From mirkobrankovic at gmail.com Mon Sep 12 18:30:11 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Mon, 12 Sep 2016 16:30:11 +0200 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: Message-ID: try with this: https://wiki.freeswitch.org/wiki/Sofia.conf.xml#enable-soa On Mon, Sep 12, 2016 at 3:37 PM, Yuriy Gorlichenko wrote: > Yep. that in it. > > freeswitch/vars.xml > > > > freeswitch/sip_profiles/external.xml > > > > > > I making call as > > session:execute("bridge","sofia/external/"..session: > getVariable("destination_number").."@my.sip.pro.xy") > > 2016-09-12 16:24 GMT+03:00 Mirko Brankovic : > >> make sure you have video codecs enabled in vars.conf for outbound codec >> list >> >> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko >> wrote: >> >>> Hi. Googled documenttion about it >>> where i can turn it on? >>> For now icoming INVITE goes with Video but then FS omakes outgoing call >>> without Video Paert at the SDP. >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/ec5379ad/attachment.html From mirkobrankovic at gmail.com Mon Sep 12 18:30:38 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Mon, 12 Sep 2016 16:30:38 +0200 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: Message-ID: set it to false On Mon, Sep 12, 2016 at 4:30 PM, Mirko Brankovic wrote: > try with this: > https://wiki.freeswitch.org/wiki/Sofia.conf.xml#enable-soa > > > On Mon, Sep 12, 2016 at 3:37 PM, Yuriy Gorlichenko > wrote: > >> Yep. that in it. >> >> freeswitch/vars.xml >> >> >> >> freeswitch/sip_profiles/external.xml >> >> >> >> >> >> I making call as >> >> session:execute("bridge","sofia/external/"..session:getVaria >> ble("destination_number").."@my.sip.pro.xy") >> >> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic : >> >>> make sure you have video codecs enabled in vars.conf for outbound codec >>> list >>> >>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko >>> wrote: >>> >>>> Hi. Googled documenttion about it >>>> where i can turn it on? >>>> For now icoming INVITE goes with Video but then FS omakes outgoing call >>>> without Video Paert at the SDP. >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Regards, >>> Mirko >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/2b48d1d1/attachment.html From daveh at beachdognet.com Mon Sep 12 18:35:40 2016 From: daveh at beachdognet.com (Dave Horton) Date: Mon, 12 Sep 2016 10:35:40 -0400 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: Message-ID: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> There are a bunch of params that can impact SDP negotiation. I think it would be most helpful if you could pastebin the sip profile settings and then an actual trace of a call On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko wrote: Yep. that in it. freeswitch/vars.xml freeswitch/sip_profiles/external.xml I making call as session:execute("bridge","sofia/external/"..session:getVariable("destination_number").."@my.sip.pro.xy") 2016-09-12 16:24 GMT+03:00 Mirko Brankovic >: make sure you have video codecs enabled in vars.conf for outbound codec list On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko > wrote: Hi. Googled documenttion about it where i can turn it on? For now icoming INVITE goes with Video but then FS omakes outgoing call without Video Paert at the SDP. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Regards, Mirko _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/0d6a600d/attachment-0001.html From ovoshlook at gmail.com Mon Sep 12 18:42:41 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Mon, 12 Sep 2016 17:42:41 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> Message-ID: http://pastebin.com/e4AXe3xC But i suppose this helped. Also codecs mached Am i will be right if i say that 1.6 supports VP8? I just asking because not found any mod_vpx or something like thais at the mod dir. 2016-09-12 17:35 GMT+03:00 Dave Horton : > There are a bunch of params that can impact SDP negotiation. I think it > would be most helpful if you could pastebin the sip profile settings and > then an actual trace of a call > > On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko > wrote: > > Yep. that in it. > > freeswitch/vars.xml > > > > freeswitch/sip_profiles/external.xml > > > > > > I making call as > > session:execute("bridge","sofia/external/"..session: > getVariable("destination_number").."@my.sip.pro.xy") > > 2016-09-12 16:24 GMT+03:00 Mirko Brankovic : > >> make sure you have video codecs enabled in vars.conf for outbound codec >> list >> >> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko >> wrote: >> >>> Hi. Googled documenttion about it >>> where i can turn it on? >>> For now icoming INVITE goes with Video but then FS omakes outgoing call >>> without Video Paert at the SDP. >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/708b65b6/attachment.html From hawkins at hawkinsegroup.com Mon Sep 12 20:09:06 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Mon, 12 Sep 2016 11:09:06 -0500 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: <3CD2F093-6F11-4A94-A07F-7D6A33C239B8@emassembly.com> Message-ID: I'm actually starting to notice a problem with fail2ban, maybe someone can help me. I have a SIP account registered on my wireless phone, when I switch between WiFi and cellular DATA the IP changes and the SIP app authenticates again with FS to re-register. On FreeSwitch it looks like this: >From the cell network: 2016-09-12 16:01:32.716663 [WARNING] sofia_reg.c:1787 SIP auth challenge (REGISTER) on sofia profile 'internal' for [donscellphone at sipaddress.com] from ip 66.87.96.898 2016-09-12 16:01:33.116669 [WARNING] sofia_reg.c:1787 SIP auth challenge (REGISTER) on sofia profile 'internal' for [donscellphone at sipaddress.com] from ip 66.87.96.898 Then once I get back on Wifi: 2016-09-12 16:01:56.716679 [WARNING] sofia_reg.c:1787 SIP auth challenge (REGISTER) on sofia profile 'internal' for [donscellphone at sipaddress.com] from ip 173.58.58.333 2016-09-12 16:01:56.976677 [WARNING] sofia_reg.c:1787 SIP auth challenge (REGISTER) on sofia profile 'internal' for [donscellphone at sipaddress.com] from ip 173.58.58.333 This is fine and all except the regex in the file /etc/fail2ban/filter.d/freeswitch.conf it specifically blocks these SIP auth challenges so my IP address ends up being blocked after X attempts. Obviously I could add my IP to the allow list BUT what about other users (our customers) ?? Thanks for the input! On Mon, Sep 12, 2016 at 8:27 AM, Mirko Brankovic wrote: > Make sure you have blocktype = DROP in your iptables-blocktype.conf. > > It is always better to drop then to reject the packets, gives attacker > timeout and makes one less packet for you to send :D > > On Sun, Sep 11, 2016 at 3:18 AM, Don Hawkins > wrote: > >> No problem, I need to take notes anyway. Here they are... >> >> >> *A.* /etc/fail2ban/filter.d/freeswitch.conf needs the following text: >> >> https://github.com/fail2ban/fail2ban/blob/master/config/filt >> er.d/freeswitch.conf >> >> NOTE: Internal and Public sofia profiles need: > name="log-auth-failures" value="true"/> >> >> >> *B.* /etc/fail2ban/jail.conf and in /etc/fail2ban/jail.local (not sure >> which one is working, I had to create jail.local) >> >> [freeswitch] >> enabled = true >> port = 5060,5061,5080,5081,5076 5074 5071 >> filter = freeswitch >> logpath = /var/log/freeswitch/freeswitch.log >> maxretry = 3 >> >> >> *C.* Drop these rules into iptables to block the scanners on ports 5060 >> and 5080 >> >> iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >> "VaxSIPUserAgent" --algo bm >> iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >> "friendly-scanner" --algo bm >> iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "sipcli" >> --algo bm >> iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >> "VaxSIPUserAgent" --algo bm >> iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >> "friendly-scanner" --algo bm >> iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string "sipcli" >> --algo bm >> >> >> *D.* Change SSH port from 22 to a custom number >> >> vi /etc/ssh/sshd_config >> >> >> *E.* Update SSH jail in /etc/fail2ban/jail.conf to custom port number. >> >> [ssh] >> >> enabled = true >> port = 9898,22 >> filter = sshd >> logpath = /var/log/auth.log >> maxretry = 6 >> >> >> *F.* I also have additional security using CDR records (curl). If a >> call comes in that does not have an 'account number' set (a custom variable >> we set for all incoming and outgoing calls from our customers) then we >> execute a shell command to block that IP without delay because they >> obviously aren't one of our customers. We are using mod_httapi and all >> calls start that way for us, so it's easy to set the variable as all calls >> start with . >> >> >> iptables -A INPUT -s 65.55.44.100 -j DROP >> >> >> Where 65.55.44.100 is the ip to block. >> >> >> >> Don >> >> >> >> >> On Sat, Sep 10, 2016 at 7:58 PM, George Assaad >> wrote: >> >>> Hi Don, >>> Could you please share your final settings since it works. >>> >>> Thanks, >>> >>> George >>> >>> On Sep 10, 2016, at 5:49 PM, Don Hawkins >>> wrote: >>> >>> Just want to update everyone that the registration attempts have almost >>> stopped 100% since blocking the sniffers and setting a 4 hour block time >>> after three failed registrations. >>> >>> Good day! >>> >>> On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie >>> wrote: >>> >>>> On 8 September 2016 at 12:54, Don Hawkins >>>> wrote: >>>> > Can someone share with me how to block all ports except the important >>>> ones? >>>> >>>> I had the same question about a month ago: >>>> http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>>> August/121694.html >>>> >>>> Colin gives good advice here: >>>> http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>>> August/121730.html >>>> >>>> I've also had success with contacting the originating network and >>>> request their customer to stop the traffic to me. >>>> >>>> Here's the abuse form for online.net: >>>> https://console.online.net/en/account/abuses/search >>>> >>>> By the way, if the fail2ban page on confluence needs updating, please >>>> update it or list what's wrong with it. I do see it indicates to >>>> create the jail.local and that's what you were missing for yours to >>>> work properly. >>>> >>>> >>>> -- >>>> ------- >>>> inum: 883510009027723 >>>> sip: jungleboogie at sip2sip.info >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> Don Hawkins >>> CEO >>> Hawkins Enterprise Group LLC >>> http://hawkinsegroup.com >>> Zello PTT : push2don >>> P: 469-214-5044 >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> Don Hawkins >> CEO >> Hawkins Enterprise Group LLC >> http://hawkinsegroup.com >> Zello PTT : push2don >> P: 469-214-5044 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/f225d5f0/attachment-0001.html From jungleboogie0 at gmail.com Mon Sep 12 20:33:01 2016 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Mon, 12 Sep 2016 09:33:01 -0700 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: <3CD2F093-6F11-4A94-A07F-7D6A33C239B8@emassembly.com> Message-ID: On 12 September 2016 at 09:09, Don Hawkins wrote: > I'm actually starting to notice a problem with fail2ban, maybe someone can > help me. Not really a problem as fail2ban is working as expected--just not in a very friendly way. ;) I've seen this happen and usually I delete the line from fail2ban, but I don't know how folks manage it for customers. A few weeks back, I came across this issue on fail2ban's github page: https://github.com/fail2ban/fail2ban/issues/1500 That pretty much explains your problem. -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info From gregor at infomedia.si Mon Sep 12 21:30:32 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 12 Sep 2016 17:30:32 +0000 Subject: [Freeswitch-users] Variables in a user directory config will not a channel variable In-Reply-To: References: Message-ID: This is to set in dialplan, but what in user profile? I have same problem. I had to explicit set variable in dialplan, but I would like to set it in user profile. On Mon, Sep 12, 2016, 15:20 Don Hawkins wrote: > You need to use "set" > > > > > On Mon, Sep 12, 2016 at 3:46 AM, Alexander Haugg > wrote: > >> Hi, >> >> >> >> I?m set the valiable ?effective_caller_id_numer? in the user config file. >> The user is working fine, but the variables are not set to the channel >> variables. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> The user 170 is calling another user. In the dialplan, I?m trying this >> >> >> >> >> >> The documentation for the user directory says >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-Variables >> >> >> >> ?Any variables defined in the domain or user will be defined as channel >> variables when there is a call to user or when there is an inbound calls >> from that user.? >> >> >> >> Needs the freeswitch the mod_directory for this? I think not. >> >> What do I wrong? >> >> >> >> Thanks a lot! >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/e349222d/attachment.html From olegstolyar at gmail.com Mon Sep 12 21:54:04 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 12 Sep 2016 10:54:04 -0700 Subject: [Freeswitch-users] Interacting with another session Message-ID: Hi guys, Is there a way to interact with another session from Lua if you know that session's uuid? I found JS documentation that says you can do new Session(uuid) but when I try that from Lua, I get errors. When tried this: otherSession = new freeswitch.Session(uuid) otherSession was null. Hopefully I am missing something obvious. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/20d8b2fc/attachment.html From abaci64 at gmail.com Mon Sep 12 22:12:29 2016 From: abaci64 at gmail.com (Abaci B) Date: Mon, 12 Sep 2016 14:12:29 -0400 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-freeswitch.Session On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar wrote: > Hi guys, > > Is there a way to interact with another session from Lua if you know that > session's uuid? I found JS documentation that says you can do new > Session(uuid) but when I try that from Lua, I get errors. > > When tried this: > otherSession = new freeswitch.Session(uuid) > > otherSession was null. > > Hopefully I am missing something obvious. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/c717ce8d/attachment-0001.html From olegstolyar at gmail.com Mon Sep 12 22:21:56 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 12 Sep 2016 11:21:56 -0700 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: Yes, I saw that but that's for creating/originating a new session. I need to connect to an existing one. On Mon, Sep 12, 2016 at 11:12 AM, Abaci B wrote: > https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference# > LuaAPIReference-freeswitch.Session > > On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar > wrote: > >> Hi guys, >> >> Is there a way to interact with another session from Lua if you know that >> session's uuid? I found JS documentation that says you can do new >> Session(uuid) but when I try that from Lua, I get errors. >> >> When tried this: >> otherSession = new freeswitch.Session(uuid) >> >> otherSession was null. >> >> Hopefully I am missing something obvious. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/eaee25f8/attachment.html From david.villasmil.work at gmail.com Mon Sep 12 22:23:15 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 12 Sep 2016 18:23:15 +0000 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: What do you mean by "interacting" exactly? On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar wrote: > Yes, I saw that but that's for creating/originating a new session. I need > to connect to an existing one. > > On Mon, Sep 12, 2016 at 11:12 AM, Abaci B wrote: > >> >> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-freeswitch.Session >> >> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar >> wrote: >> >>> Hi guys, >>> >>> Is there a way to interact with another session from Lua if you know >>> that session's uuid? I found JS documentation that says you can do new >>> Session(uuid) but when I try that from Lua, I get errors. >>> >>> When tried this: >>> otherSession = new freeswitch.Session(uuid) >>> >>> otherSession was null. >>> >>> Hopefully I am missing something obvious. >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/0c26e7d2/attachment.html From daveh at beachdognet.com Mon Sep 12 22:27:36 2016 From: daveh at beachdognet.com (Dave Horton) Date: Mon, 12 Sep 2016 14:27:36 -0400 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> Message-ID: Thanks, and a SIP trace showing the call, and the failed negotiation for video? To be clear, is this a simple bridging scenario (you have an inbound call offering video and you want to bridge it to an outbound B leg which also offers video)? On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko wrote: http://pastebin.com/e4AXe3xC But i suppose this helped. Also codecs mached Am i will be right if i say that 1.6 supports VP8? I just asking because not found any mod_vpx or something like thais at the mod dir. 2016-09-12 17:35 GMT+03:00 Dave Horton >: There are a bunch of params that can impact SDP negotiation. I think it would be most helpful if you could pastebin the sip profile settings and then an actual trace of a call On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko > wrote: Yep. that in it. freeswitch/vars.xml freeswitch/sip_profiles/external.xml I making call as session:execute("bridge","sofia/external/"..session:getVariable("destination_number").."@my.sip.pro.xy") 2016-09-12 16:24 GMT+03:00 Mirko Brankovic >: make sure you have video codecs enabled in vars.conf for outbound codec list On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko > wrote: Hi. Googled documenttion about it where i can turn it on? For now icoming INVITE goes with Video but then FS omakes outgoing call without Video Paert at the SDP. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Regards, Mirko _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/9795b5e8/attachment-0001.html From olegstolyar at gmail.com Mon Sep 12 22:37:08 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 12 Sep 2016 11:37:08 -0700 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: I want to call methods and setting variables on that session. However, calling freeswitch.Session(uuid) without "new" does seem to work. The reason it did not for me before was an error somewhere else in my code. Thanks guys! On Mon, Sep 12, 2016 at 11:23 AM, David Villasmil < david.villasmil.work at gmail.com> wrote: > What do you mean by "interacting" exactly? > > On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar > wrote: > >> Yes, I saw that but that's for creating/originating a new session. I >> need to connect to an existing one. >> >> On Mon, Sep 12, 2016 at 11:12 AM, Abaci B wrote: >> >>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference# >>> LuaAPIReference-freeswitch.Session >>> >>> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar >>> wrote: >>> >>>> Hi guys, >>>> >>>> Is there a way to interact with another session from Lua if you know >>>> that session's uuid? I found JS documentation that says you can do new >>>> Session(uuid) but when I try that from Lua, I get errors. >>>> >>>> When tried this: >>>> otherSession = new freeswitch.Session(uuid) >>>> >>>> otherSession was null. >>>> >>>> Hopefully I am missing something obvious. >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/178df026/attachment.html From gregor at infomedia.si Mon Sep 12 22:40:57 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Mon, 12 Sep 2016 20:40:57 +0200 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: Can you send command from script like from ESL? Then you can send: uuid_setvar [value] 2016-09-12 20:37 GMT+02:00 Oleg Stolyar : > I want to call methods and setting variables on that session. > > However, calling freeswitch.Session(uuid) without "new" does seem to > work. The reason it did not for me before was an error somewhere else in > my code. > > Thanks guys! > > > On Mon, Sep 12, 2016 at 11:23 AM, David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> What do you mean by "interacting" exactly? >> >> On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar >> wrote: >> >>> Yes, I saw that but that's for creating/originating a new session. I >>> need to connect to an existing one. >>> >>> On Mon, Sep 12, 2016 at 11:12 AM, Abaci B wrote: >>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+ >>>> API+Reference#LuaAPIReference-freeswitch.Session >>>> >>>> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar >>>> wrote: >>>> >>>>> Hi guys, >>>>> >>>>> Is there a way to interact with another session from Lua if you know >>>>> that session's uuid? I found JS documentation that says you can do new >>>>> Session(uuid) but when I try that from Lua, I get errors. >>>>> >>>>> When tried this: >>>>> otherSession = new freeswitch.Session(uuid) >>>>> >>>>> otherSession was null. >>>>> >>>>> Hopefully I am missing something obvious. >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/1b0a9f74/attachment-0001.html From abaci64 at gmail.com Mon Sep 12 23:12:08 2016 From: abaci64 at gmail.com (Abaci B) Date: Mon, 12 Sep 2016 15:12:08 -0400 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: you can use uuid_setvar from lua as well a some other uuid_* apis if you describe what exactly you want maybe I can be more specific On Mon, Sep 12, 2016 at 2:40 PM, Gregor Nanger wrote: > Can you send command from script like from ESL? Then you can send: uuid_setvar > [value] > > 2016-09-12 20:37 GMT+02:00 Oleg Stolyar : > >> I want to call methods and setting variables on that session. >> >> However, calling freeswitch.Session(uuid) without "new" does seem to >> work. The reason it did not for me before was an error somewhere else in >> my code. >> >> Thanks guys! >> >> >> On Mon, Sep 12, 2016 at 11:23 AM, David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >>> What do you mean by "interacting" exactly? >>> >>> On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar >>> wrote: >>> >>>> Yes, I saw that but that's for creating/originating a new session. I >>>> need to connect to an existing one. >>>> >>>> On Mon, Sep 12, 2016 at 11:12 AM, Abaci B wrote: >>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API >>>>> +Reference#LuaAPIReference-freeswitch.Session >>>>> >>>>> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar >>>>> wrote: >>>>> >>>>>> Hi guys, >>>>>> >>>>>> Is there a way to interact with another session from Lua if you know >>>>>> that session's uuid? I found JS documentation that says you can do new >>>>>> Session(uuid) but when I try that from Lua, I get errors. >>>>>> >>>>>> When tried this: >>>>>> otherSession = new freeswitch.Session(uuid) >>>>>> >>>>>> otherSession was null. >>>>>> >>>>>> Hopefully I am missing something obvious. >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/1619298d/attachment.html From olegstolyar at gmail.com Mon Sep 12 23:28:27 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 12 Sep 2016 12:28:27 -0700 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: Yep, thanks Abaci! I looked at uuid_ API first. What I really want is to start recording the other session. The code below seems to work, so unless there is a reason I shouldn't do it this way, I am all set. otherUuid = otherSession = new freeswitch.Session(otherUuid) otherSession:execute("record_session", "/foo.wav") On Mon, Sep 12, 2016 at 12:12 PM, Abaci B wrote: > you can use uuid_setvar from lua as well a some other uuid_* apis if you > describe what exactly you want maybe I can be more specific > > On Mon, Sep 12, 2016 at 2:40 PM, Gregor Nanger > wrote: > >> Can you send command from script like from ESL? Then you can send: uuid_setvar >> [value] >> >> 2016-09-12 20:37 GMT+02:00 Oleg Stolyar : >> >>> I want to call methods and setting variables on that session. >>> >>> However, calling freeswitch.Session(uuid) without "new" does seem to >>> work. The reason it did not for me before was an error somewhere else in >>> my code. >>> >>> Thanks guys! >>> >>> >>> On Mon, Sep 12, 2016 at 11:23 AM, David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> What do you mean by "interacting" exactly? >>>> >>>> On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar >>>> wrote: >>>> >>>>> Yes, I saw that but that's for creating/originating a new session. I >>>>> need to connect to an existing one. >>>>> >>>>> On Mon, Sep 12, 2016 at 11:12 AM, Abaci B wrote: >>>>> >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API >>>>>> +Reference#LuaAPIReference-freeswitch.Session >>>>>> >>>>>> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar >>>>>> wrote: >>>>>> >>>>>>> Hi guys, >>>>>>> >>>>>>> Is there a way to interact with another session from Lua if you know >>>>>>> that session's uuid? I found JS documentation that says you can do new >>>>>>> Session(uuid) but when I try that from Lua, I get errors. >>>>>>> >>>>>>> When tried this: >>>>>>> otherSession = new freeswitch.Session(uuid) >>>>>>> >>>>>>> otherSession was null. >>>>>>> >>>>>>> Hopefully I am missing something obvious. >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/3e7df3c1/attachment-0001.html From abaci64 at gmail.com Mon Sep 12 23:42:04 2016 From: abaci64 at gmail.com (Abaci B) Date: Mon, 12 Sep 2016 15:42:04 -0400 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: Didn't know you can create a session object by passing the uuid as an argument but if it works good for you. any reason you didn't just use uuid_record? On Mon, Sep 12, 2016 at 3:28 PM, Oleg Stolyar wrote: > Yep, thanks Abaci! > I looked at uuid_ API first. What I really want is to start recording the > other session. The code below seems to work, so unless there is a reason I > shouldn't do it this way, I am all set. > > otherUuid = > otherSession = new freeswitch.Session(otherUuid) > otherSession:execute("record_session", "/foo.wav") > > > On Mon, Sep 12, 2016 at 12:12 PM, Abaci B wrote: > >> you can use uuid_setvar from lua as well a some other uuid_* apis if you >> describe what exactly you want maybe I can be more specific >> >> On Mon, Sep 12, 2016 at 2:40 PM, Gregor Nanger >> wrote: >> >>> Can you send command from script like from ESL? Then you can send: uuid_setvar >>> [value] >>> >>> 2016-09-12 20:37 GMT+02:00 Oleg Stolyar : >>> >>>> I want to call methods and setting variables on that session. >>>> >>>> However, calling freeswitch.Session(uuid) without "new" does seem to >>>> work. The reason it did not for me before was an error somewhere else in >>>> my code. >>>> >>>> Thanks guys! >>>> >>>> >>>> On Mon, Sep 12, 2016 at 11:23 AM, David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >>>>> What do you mean by "interacting" exactly? >>>>> >>>>> On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar >>>>> wrote: >>>>> >>>>>> Yes, I saw that but that's for creating/originating a new session. I >>>>>> need to connect to an existing one. >>>>>> >>>>>> On Mon, Sep 12, 2016 at 11:12 AM, Abaci B wrote: >>>>>> >>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API >>>>>>> +Reference#LuaAPIReference-freeswitch.Session >>>>>>> >>>>>>> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar >>>>>> > wrote: >>>>>>> >>>>>>>> Hi guys, >>>>>>>> >>>>>>>> Is there a way to interact with another session from Lua if you >>>>>>>> know that session's uuid? I found JS documentation that says you can do >>>>>>>> new Session(uuid) but when I try that from Lua, I get errors. >>>>>>>> >>>>>>>> When tried this: >>>>>>>> otherSession = new freeswitch.Session(uuid) >>>>>>>> >>>>>>>> otherSession was null. >>>>>>>> >>>>>>>> Hopefully I am missing something obvious. >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Gregor Nanger >>> >>> *CTO* >>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>> ? www.infomedia.si >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/d6b5c1dd/attachment.html From amkusmirek at gmail.com Mon Sep 12 23:47:46 2016 From: amkusmirek at gmail.com (=?UTF-8?Q?Adam_Ku=C5=9Bmirek?=) Date: Mon, 12 Sep 2016 21:47:46 +0200 Subject: [Freeswitch-users] PRESENCE_IN question Message-ID: I need more complicated presence management in my system, so I would like to change blf status in VoIP terminal on my own. I tried with sendevent via event socket: sendevent PRESENCE_IN Answer-State: ringing proto: sip from: 5000 at ubi2.pl rpid: unknown event_type: presence alt_event_type: dialog presence-call-info-state: progressing presence-call-direction: outbound The problem is that body part of SIP Notify message does not contain status and IPPhone doesnot change BLF LED: When making call with properly set presence_id, Freeswitch sends SIP Notify message with correct status info: ringing It seems that IPPhone needs this state info to change BLF LED button (yealink T21PE2) Is there any way to send NOTIFY message with state info without really making a call ? Regards Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/44c05aea/attachment-0001.html From olegstolyar at gmail.com Tue Sep 13 00:00:39 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 12 Sep 2016 13:00:39 -0700 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: It's an option but I could not find a way to control stereo vs. mono using uuid_record. On Mon, Sep 12, 2016 at 12:42 PM, Abaci B wrote: > Didn't know you can create a session object by passing the uuid as an > argument but if it works good for you. > any reason you didn't just use uuid_record? > > On Mon, Sep 12, 2016 at 3:28 PM, Oleg Stolyar > wrote: > >> Yep, thanks Abaci! >> I looked at uuid_ API first. What I really want is to start recording >> the other session. The code below seems to work, so unless there is a >> reason I shouldn't do it this way, I am all set. >> >> otherUuid = >> otherSession = new freeswitch.Session(otherUuid) >> otherSession:execute("record_session", "/foo.wav") >> >> >> On Mon, Sep 12, 2016 at 12:12 PM, Abaci B wrote: >> >>> you can use uuid_setvar from lua as well a some other uuid_* apis if you >>> describe what exactly you want maybe I can be more specific >>> >>> On Mon, Sep 12, 2016 at 2:40 PM, Gregor Nanger >>> wrote: >>> >>>> Can you send command from script like from ESL? Then you can send: uuid_setvar >>>> [value] >>>> >>>> 2016-09-12 20:37 GMT+02:00 Oleg Stolyar : >>>> >>>>> I want to call methods and setting variables on that session. >>>>> >>>>> However, calling freeswitch.Session(uuid) without "new" does seem to >>>>> work. The reason it did not for me before was an error somewhere else in >>>>> my code. >>>>> >>>>> Thanks guys! >>>>> >>>>> >>>>> On Mon, Sep 12, 2016 at 11:23 AM, David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >>>>>> What do you mean by "interacting" exactly? >>>>>> >>>>>> On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar >>>>>> wrote: >>>>>> >>>>>>> Yes, I saw that but that's for creating/originating a new session. >>>>>>> I need to connect to an existing one. >>>>>>> >>>>>>> On Mon, Sep 12, 2016 at 11:12 AM, Abaci B wrote: >>>>>>> >>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API >>>>>>>> +Reference#LuaAPIReference-freeswitch.Session >>>>>>>> >>>>>>>> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar < >>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi guys, >>>>>>>>> >>>>>>>>> Is there a way to interact with another session from Lua if you >>>>>>>>> know that session's uuid? I found JS documentation that says you can do >>>>>>>>> new Session(uuid) but when I try that from Lua, I get errors. >>>>>>>>> >>>>>>>>> When tried this: >>>>>>>>> otherSession = new freeswitch.Session(uuid) >>>>>>>>> >>>>>>>>> otherSession was null. >>>>>>>>> >>>>>>>>> Hopefully I am missing something obvious. >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Gregor Nanger >>>> >>>> *CTO* >>>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>>> ? www.infomedia.si >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/8b5feae1/attachment-0001.html From abaci64 at gmail.com Tue Sep 13 02:23:03 2016 From: abaci64 at gmail.com (Abaci B) Date: Mon, 12 Sep 2016 18:23:03 -0400 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: I believe you can do it the same way as when you use the session uuid_setvar RECORD_STEREO true uuid_record start On Mon, Sep 12, 2016 at 4:00 PM, Oleg Stolyar wrote: > It's an option but I could not find a way to control stereo vs. mono using > uuid_record. > > On Mon, Sep 12, 2016 at 12:42 PM, Abaci B wrote: > >> Didn't know you can create a session object by passing the uuid as an >> argument but if it works good for you. >> any reason you didn't just use uuid_record? >> >> On Mon, Sep 12, 2016 at 3:28 PM, Oleg Stolyar >> wrote: >> >>> Yep, thanks Abaci! >>> I looked at uuid_ API first. What I really want is to start recording >>> the other session. The code below seems to work, so unless there is a >>> reason I shouldn't do it this way, I am all set. >>> >>> otherUuid = >>> otherSession = new freeswitch.Session(otherUuid) >>> otherSession:execute("record_session", "/foo.wav") >>> >>> >>> On Mon, Sep 12, 2016 at 12:12 PM, Abaci B wrote: >>> >>>> you can use uuid_setvar from lua as well a some other uuid_* apis if >>>> you describe what exactly you want maybe I can be more specific >>>> >>>> On Mon, Sep 12, 2016 at 2:40 PM, Gregor Nanger >>>> wrote: >>>> >>>>> Can you send command from script like from ESL? Then you can send: uuid_setvar >>>>> [value] >>>>> >>>>> 2016-09-12 20:37 GMT+02:00 Oleg Stolyar : >>>>> >>>>>> I want to call methods and setting variables on that session. >>>>>> >>>>>> However, calling freeswitch.Session(uuid) without "new" does seem to >>>>>> work. The reason it did not for me before was an error somewhere else in >>>>>> my code. >>>>>> >>>>>> Thanks guys! >>>>>> >>>>>> >>>>>> On Mon, Sep 12, 2016 at 11:23 AM, David Villasmil < >>>>>> david.villasmil.work at gmail.com> wrote: >>>>>> >>>>>>> What do you mean by "interacting" exactly? >>>>>>> >>>>>>> On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar >>>>>>> wrote: >>>>>>> >>>>>>>> Yes, I saw that but that's for creating/originating a new session. >>>>>>>> I need to connect to an existing one. >>>>>>>> >>>>>>>> On Mon, Sep 12, 2016 at 11:12 AM, Abaci B >>>>>>>> wrote: >>>>>>>> >>>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API >>>>>>>>> +Reference#LuaAPIReference-freeswitch.Session >>>>>>>>> >>>>>>>>> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar < >>>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi guys, >>>>>>>>>> >>>>>>>>>> Is there a way to interact with another session from Lua if you >>>>>>>>>> know that session's uuid? I found JS documentation that says you can do >>>>>>>>>> new Session(uuid) but when I try that from Lua, I get errors. >>>>>>>>>> >>>>>>>>>> When tried this: >>>>>>>>>> otherSession = new freeswitch.Session(uuid) >>>>>>>>>> >>>>>>>>>> otherSession was null. >>>>>>>>>> >>>>>>>>>> Hopefully I am missing something obvious. >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Gregor Nanger >>>>> >>>>> *CTO* >>>>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>>>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>>>> ? www.infomedia.si >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/b062fbe1/attachment-0001.html From olegstolyar at gmail.com Tue Sep 13 03:09:48 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 12 Sep 2016 16:09:48 -0700 Subject: [Freeswitch-users] Interacting with another session In-Reply-To: References: Message-ID: Yep, it works and is easier. Thanks Abaci! On Mon, Sep 12, 2016 at 3:23 PM, Abaci B wrote: > I believe you can do it the same way as when you use the session > > uuid_setvar RECORD_STEREO true > uuid_record start > > On Mon, Sep 12, 2016 at 4:00 PM, Oleg Stolyar > wrote: > >> It's an option but I could not find a way to control stereo vs. mono >> using uuid_record. >> >> On Mon, Sep 12, 2016 at 12:42 PM, Abaci B wrote: >> >>> Didn't know you can create a session object by passing the uuid as an >>> argument but if it works good for you. >>> any reason you didn't just use uuid_record? >>> >>> On Mon, Sep 12, 2016 at 3:28 PM, Oleg Stolyar >>> wrote: >>> >>>> Yep, thanks Abaci! >>>> I looked at uuid_ API first. What I really want is to start recording >>>> the other session. The code below seems to work, so unless there is a >>>> reason I shouldn't do it this way, I am all set. >>>> >>>> otherUuid = >>>> otherSession = new freeswitch.Session(otherUuid) >>>> otherSession:execute("record_session", "/foo.wav") >>>> >>>> >>>> On Mon, Sep 12, 2016 at 12:12 PM, Abaci B wrote: >>>> >>>>> you can use uuid_setvar from lua as well a some other uuid_* apis if >>>>> you describe what exactly you want maybe I can be more specific >>>>> >>>>> On Mon, Sep 12, 2016 at 2:40 PM, Gregor Nanger >>>>> wrote: >>>>> >>>>>> Can you send command from script like from ESL? Then you can send: uuid_setvar >>>>>> [value] >>>>>> >>>>>> 2016-09-12 20:37 GMT+02:00 Oleg Stolyar : >>>>>> >>>>>>> I want to call methods and setting variables on that session. >>>>>>> >>>>>>> However, calling freeswitch.Session(uuid) without "new" does seem to >>>>>>> work. The reason it did not for me before was an error somewhere else in >>>>>>> my code. >>>>>>> >>>>>>> Thanks guys! >>>>>>> >>>>>>> >>>>>>> On Mon, Sep 12, 2016 at 11:23 AM, David Villasmil < >>>>>>> david.villasmil.work at gmail.com> wrote: >>>>>>> >>>>>>>> What do you mean by "interacting" exactly? >>>>>>>> >>>>>>>> On Mon, Sep 12, 2016 at 8:22 PM Oleg Stolyar >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Yes, I saw that but that's for creating/originating a new >>>>>>>>> session. I need to connect to an existing one. >>>>>>>>> >>>>>>>>> On Mon, Sep 12, 2016 at 11:12 AM, Abaci B >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> https://freeswitch.org/confluence/display/FREESWITCH/Lua+API >>>>>>>>>> +Reference#LuaAPIReference-freeswitch.Session >>>>>>>>>> >>>>>>>>>> On Mon, Sep 12, 2016 at 1:54 PM, Oleg Stolyar < >>>>>>>>>> olegstolyar at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi guys, >>>>>>>>>>> >>>>>>>>>>> Is there a way to interact with another session from Lua if you >>>>>>>>>>> know that session's uuid? I found JS documentation that says you can do >>>>>>>>>>> new Session(uuid) but when I try that from Lua, I get errors. >>>>>>>>>>> >>>>>>>>>>> When tried this: >>>>>>>>>>> otherSession = new freeswitch.Session(uuid) >>>>>>>>>>> >>>>>>>>>>> otherSession was null. >>>>>>>>>>> >>>>>>>>>>> Hopefully I am missing something obvious. >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Gregor Nanger >>>>>> >>>>>> *CTO* >>>>>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>>>>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>>>>> ? www.infomedia.si >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/e44c3590/attachment-0001.html From david.witham at netsip.com.au Tue Sep 13 03:59:19 2016 From: david.witham at netsip.com.au (David Witham) Date: Tue, 13 Sep 2016 09:59:19 +1000 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: <3CD2F093-6F11-4A94-A07F-7D6A33C239B8@emassembly.com> Message-ID: We don't include the challenge in the regex, just the failure, so we only ban on multiple failures. The challenge is normal registration behaviour. For genuine customers the challenges won't fail and they won't get banned. On 13 September 2016 at 02:33, jungle Boogie wrote: > On 12 September 2016 at 09:09, Don Hawkins > wrote: > > I'm actually starting to notice a problem with fail2ban, maybe someone > can > > help me. > > Not really a problem as fail2ban is working as expected--just not in a > very friendly way. ;) > > I've seen this happen and usually I delete the line from fail2ban, but > I don't know how folks manage it for customers. > > A few weeks back, I came across this issue on fail2ban's github page: > https://github.com/fail2ban/fail2ban/issues/1500 > > That pretty much explains your problem. > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- David Witham Senior Voice/Systems Engineer Netsip pty ltd ? An Over the Wire Company Level 1, 24 Little Edward St, Spring Hill QLD 4000 t +61 1300 638 747 e david.witham at netsip.com.au www.netsip.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/4bee6bbc/attachment.html From ovoshlook at gmail.com Tue Sep 13 09:23:48 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 08:23:48 +0300 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 Message-ID: Hi. I trying to install freeswitch on ubuntu 15.10. I know that it is not TLS release and etc. Just need to install it there Im realdy to install it manually I found freeswitch on a github and cloned it, just need packages-dependenses for successfull installation it on this OS. Can anybody provide link for this or give me a list of packages? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/945858b8/attachment.html From mirkobrankovic at gmail.com Tue Sep 13 09:42:27 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 13 Sep 2016 07:42:27 +0200 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> Message-ID: I'm expecting to see b side without video capabilities. So do the sofia global sip trace on and see the invite leaving fs box. Check if sdp has both audio and video m flags, and what was in 200ok sdp back from b side. On Sep 12, 2016 20:28, "Dave Horton" wrote: > Thanks, and a SIP trace showing the call, and the failed negotiation for > video? > > To be clear, is this a simple bridging scenario (you have an inbound call > offering video and you want to bridge it to an outbound B leg which also > offers video)? > > > On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko > wrote: > > http://pastebin.com/e4AXe3xC > > But i suppose this helped. > Also codecs mached > > Am i will be right if i say that 1.6 supports VP8? > I just asking because not found any mod_vpx or something like thais at the > mod dir. > > 2016-09-12 17:35 GMT+03:00 Dave Horton : > >> There are a bunch of params that can impact SDP negotiation. I think it >> would be most helpful if you could pastebin the sip profile settings and >> then an actual trace of a call >> >> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko >> wrote: >> >> Yep. that in it. >> >> freeswitch/vars.xml >> >> >> >> freeswitch/sip_profiles/external.xml >> >> >> >> >> >> I making call as >> >> session:execute("bridge","sofia/external/"..session:getVaria >> ble("destination_number").."@my.sip.pro.xy") >> >> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic : >> >>> make sure you have video codecs enabled in vars.conf for outbound codec >>> list >>> >>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko >>> wrote: >>> >>>> Hi. Googled documenttion about it >>>> where i can turn it on? >>>> For now icoming INVITE goes with Video but then FS omakes outgoing call >>>> without Video Paert at the SDP. >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Regards, >>> Mirko >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/a557db44/attachment-0001.html From david.villasmil.work at gmail.com Tue Sep 13 09:49:11 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Sep 2016 05:49:11 +0000 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: <3CD2F093-6F11-4A94-A07F-7D6A33C239B8@emassembly.com> Message-ID: Hello, In the case above, challenge is included in the regexp (challenge|failure) 011-02-07 12:23:28.490029 [WARNING] sofia_reg.c:1247 SIP auth challenge (REGISTER) on sofia profile 'internal' for [1002 at 10.10.16.161] from ip 10.10.16.161 If, as is suggested in the issue report, what is being sought is to prevent flooding, i guess there's a maxretry param somewhere? Thanks! David (davidcsi) On Tue, Sep 13, 2016 at 2:00 AM David Witham wrote: > We don't include the challenge in the regex, just the failure, so we only > ban on multiple failures. The challenge is normal registration behaviour. > For genuine customers the challenges won't fail and they won't get banned. > > On 13 September 2016 at 02:33, jungle Boogie > wrote: > >> On 12 September 2016 at 09:09, Don Hawkins >> wrote: >> > I'm actually starting to notice a problem with fail2ban, maybe someone >> can >> > help me. >> >> Not really a problem as fail2ban is working as expected--just not in a >> very friendly way. ;) >> >> I've seen this happen and usually I delete the line from fail2ban, but >> I don't know how folks manage it for customers. >> >> A few weeks back, I came across this issue on fail2ban's github page: >> https://github.com/fail2ban/fail2ban/issues/1500 >> >> That pretty much explains your problem. >> >> >> -- >> ------- >> inum: 883510009027723 >> sip: jungleboogie at sip2sip.info >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > David Witham > Senior Voice/Systems Engineer > > Netsip pty ltd ? An Over the Wire Company > Level 1, 24 Little Edward St, Spring Hill QLD 4000 > > t +61 1300 638 747 > e david.witham at netsip.com.au www.netsip.com.au > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/60fd0f24/attachment.html From ovoshlook at gmail.com Tue Sep 13 10:13:52 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 09:13:52 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> Message-ID: I will make sip trace little bit later (in 2-3 hours from now). And yes. For now it is a simple proxy call from one A to B without any changes. And the SDP all ok. B leg has a=video and its staff At the next step i need to generate B leg by myself from freeswitch after some handling leg A. So i suppose that settings for now not enought for this scenario. am i right? 2016-09-13 8:42 GMT+03:00 Mirko Brankovic : > I'm expecting to see b side without video capabilities. > So do the sofia global sip trace on and see the invite leaving fs box. > Check if sdp has both audio and video m flags, and what was in 200ok sdp > back from b side. > > On Sep 12, 2016 20:28, "Dave Horton" wrote: > >> Thanks, and a SIP trace showing the call, and the failed negotiation for >> video? >> >> To be clear, is this a simple bridging scenario (you have an inbound call >> offering video and you want to bridge it to an outbound B leg which also >> offers video)? >> >> >> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko >> wrote: >> >> http://pastebin.com/e4AXe3xC >> >> But i suppose this helped. >> Also codecs mached >> >> Am i will be right if i say that 1.6 supports VP8? >> I just asking because not found any mod_vpx or something like thais at >> the mod dir. >> >> 2016-09-12 17:35 GMT+03:00 Dave Horton : >> >>> There are a bunch of params that can impact SDP negotiation. I think it >>> would be most helpful if you could pastebin the sip profile settings and >>> then an actual trace of a call >>> >>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko >>> wrote: >>> >>> Yep. that in it. >>> >>> freeswitch/vars.xml >>> >>> >>> >>> freeswitch/sip_profiles/external.xml >>> >>> >>> >>> >>> >>> I making call as >>> >>> session:execute("bridge","sofia/external/"..session:getVaria >>> ble("destination_number").."@my.sip.pro.xy") >>> >>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic : >>> >>>> make sure you have video codecs enabled in vars.conf for outbound codec >>>> list >>>> >>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko >>> > wrote: >>>> >>>>> Hi. Googled documenttion about it >>>>> where i can turn it on? >>>>> For now icoming INVITE goes with Video but then FS omakes outgoing >>>>> call without Video Paert at the SDP. >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Mirko >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/fb036139/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 10:40:02 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 09:40:02 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> Message-ID: Sip trace: For your understanding - im using kamailio as registrar there. FS as media and Services server so call goes: WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch |__________________Leg A__________________________________| FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B |__________________Leg B__________________________________| http://pastebin.com/swBDJnYG 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : > I will make sip trace little bit later (in 2-3 hours from now). > And yes. > For now it is a simple proxy call from one A to B without any changes. > And the SDP all ok. B leg has > a=video > and its staff > > At the next step i need to generate B leg by myself from freeswitch after > some handling leg A. So i suppose that settings for now not enought for > this scenario. am i right? > > > 2016-09-13 8:42 GMT+03:00 Mirko Brankovic : > >> I'm expecting to see b side without video capabilities. >> So do the sofia global sip trace on and see the invite leaving fs box. >> Check if sdp has both audio and video m flags, and what was in 200ok sdp >> back from b side. >> >> On Sep 12, 2016 20:28, "Dave Horton" wrote: >> >>> Thanks, and a SIP trace showing the call, and the failed negotiation for >>> video? >>> >>> To be clear, is this a simple bridging scenario (you have an inbound >>> call offering video and you want to bridge it to an outbound B leg which >>> also offers video)? >>> >>> >>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko >>> wrote: >>> >>> http://pastebin.com/e4AXe3xC >>> >>> But i suppose this helped. >>> Also codecs mached >>> >>> Am i will be right if i say that 1.6 supports VP8? >>> I just asking because not found any mod_vpx or something like thais at >>> the mod dir. >>> >>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>> >>>> There are a bunch of params that can impact SDP negotiation. I think >>>> it would be most helpful if you could pastebin the sip profile settings and >>>> then an actual trace of a call >>>> >>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko >>>> wrote: >>>> >>>> Yep. that in it. >>>> >>>> freeswitch/vars.xml >>>> >>>> >>>> >>>> freeswitch/sip_profiles/external.xml >>>> >>>> >>>> >>>> >>>> >>>> I making call as >>>> >>>> session:execute("bridge","sofia/external/"..session:getVaria >>>> ble("destination_number").."@my.sip.pro.xy") >>>> >>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic : >>>> >>>>> make sure you have video codecs enabled in vars.conf for outbound >>>>> codec list >>>>> >>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>> ovoshlook at gmail.com> wrote: >>>>> >>>>>> Hi. Googled documenttion about it >>>>>> where i can turn it on? >>>>>> For now icoming INVITE goes with Video but then FS omakes outgoing >>>>>> call without Video Paert at the SDP. >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> Mirko >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/881a62b7/attachment.html From hawkins at hawkinsegroup.com Tue Sep 13 11:26:11 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Tue, 13 Sep 2016 02:26:11 -0500 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: Why not use this? https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko wrote: > Hi. I trying to install freeswitch on ubuntu 15.10. > I know that it is not TLS release and etc. Just need to install it there > Im realdy to install it manually > > I found freeswitch on a github and cloned it, just need > packages-dependenses for successfull installation it on this OS. > > Can anybody provide link for this or give me a list of packages? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/e05c4484/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 11:53:25 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 10:53:25 +0300 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: because these packages not at wily repos. And as i understood these packages just precompinled packages that have from any source. I just want to install it via apt-get or aptitude as packages from repo. echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ > trusty main" > /etc/apt/sources.list.d/freeswitch.list > > # apt-get update && apt-get install -y git screen > > Hit http://us.archive.ubuntu.com wily InRelease > Hit http://security.ubuntu.com wily-security InRelease > Ign http://us.archive.ubuntu.com wily InRelease > E: GPG error: http://us.archive.ubuntu.com wily InRelease: The following > signatures were invalid: NODATA 2 2016-09-13 10:26 GMT+03:00 Don Hawkins : > Why not use this? > > https://freeswitch.org/confluence/display/FREESWITCH/ > Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages > > On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko > wrote: > >> Hi. I trying to install freeswitch on ubuntu 15.10. >> I know that it is not TLS release and etc. Just need to install it there >> Im realdy to install it manually >> >> I found freeswitch on a github and cloned it, just need >> packages-dependenses for successfull installation it on this OS. >> >> Can anybody provide link for this or give me a list of packages? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/e092edc0/attachment.html From david.villasmil.work at gmail.com Tue Sep 13 11:57:42 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Sep 2016 07:57:42 +0000 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: Try with these nano libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev libedit-dev yasm Nano is optional, i like it. After that, there will still be a couple for which I couldn't find a package. But those are like enum or other things I don't use. Just try compiling and when it complains just try installing the libraries. Like I said, it's very possible you'll need to just comment-out a couple of modules, can't remember right now which i had to comment. Good luck On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko wrote: > because these packages not at wily repos. And as i understood these > packages just precompinled packages that have from any source. > I just want to install it via apt-get or aptitude as packages from repo. > > echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ >> trusty main" > /etc/apt/sources.list.d/freeswitch.list >> > > >> # apt-get update && apt-get install -y git screen >> > > >> Hit http://us.archive.ubuntu.com wily InRelease >> Hit http://security.ubuntu.com wily-security InRelease >> Ign http://us.archive.ubuntu.com wily InRelease >> E: GPG error: http://us.archive.ubuntu.com wily InRelease: The following >> signatures were invalid: NODATA 2 > > > > > 2016-09-13 10:26 GMT+03:00 Don Hawkins : > >> Why not use this? >> >> >> https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages >> >> On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko >> wrote: >> >>> Hi. I trying to install freeswitch on ubuntu 15.10. >>> I know that it is not TLS release and etc. Just need to install it there >>> Im realdy to install it manually >>> >>> I found freeswitch on a github and cloned it, just need >>> packages-dependenses for successfull installation it on this OS. >>> >>> Can anybody provide link for this or give me a list of packages? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> Don Hawkins >> CEO >> Hawkins Enterprise Group LLC >> http://hawkinsegroup.com >> Zello PTT : push2don >> P: 469-214-5044 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/08259f82/attachment.html From Alexander.Haugg at c4b.de Tue Sep 13 13:38:19 2016 From: Alexander.Haugg at c4b.de (Alexander Haugg) Date: Tue, 13 Sep 2016 09:38:19 +0000 Subject: [Freeswitch-users] Variables in a user directory config will not a channel variable In-Reply-To: References: Message-ID: <2d1f283a796548ccb4161f38f9c43d4a@c4b.de> No, you don?t understand the problem. The variable ?effective_caller_id_number? is set in the user directory config (see the xml), but if I try to write the value of the variable out to the CLI (in the dial plan via ??), I can see, the variable is empty. Here again the description part from the freeswitch wiki: https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-Variables ?Any variables defined in the domain or user will be defined as channel variables when there is a call to user or when there is an inbound calls from that user.? Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Don Hawkins Gesendet: Montag, 12. September 2016 15:19 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] Variables in a user directory config will not a channel variable You need to use "set" On Mon, Sep 12, 2016 at 3:46 AM, Alexander Haugg > wrote: Hi, I?m set the valiable ?effective_caller_id_numer? in the user config file. The user is working fine, but the variables are not set to the channel variables. The user 170 is calling another user. In the dialplan, I?m trying this The documentation for the user directory says https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-Variables ?Any variables defined in the domain or user will be defined as channel variables when there is a call to user or when there is an inbound calls from that user.? Needs the freeswitch the mod_directory for this? I think not. What do I wrong? Thanks a lot! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT: push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/d2c46d03/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 13:44:50 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 12:44:50 +0300 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: thx on ./congfigure running i have these errors at the log > > Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL > Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL > Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL > Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL > Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL > Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL > Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL > Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL > Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL > Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL > Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL > Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL > Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL > Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL > automake: error: cannot open < tests/unit/unit.mk: No such file or > directory I suppose it is because of this staff was not found at the repos. As i see it is all staff needed for video calls (important for me). Maybe somebody can say or may be someone will can upload this package? apt-get install -y --force-yes freeswitch-video-deps-most 2016-09-13 10:57 GMT+03:00 David Villasmil : > Try with these > > nano > libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev > libedit-dev yasm > > Nano is optional, i like it. > > After that, there will still be a couple for which I couldn't find a > package. But those are like enum or other things I don't use. Just try > compiling and when it complains just try installing the libraries. > > Like I said, it's very possible you'll need to just comment-out a couple > of modules, can't remember right now which i had to comment. > > Good luck > > On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko > wrote: > >> because these packages not at wily repos. And as i understood these >> packages just precompinled packages that have from any source. >> I just want to install it via apt-get or aptitude as packages from repo. >> >> echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ >>> trusty main" > /etc/apt/sources.list.d/freeswitch.list >>> >> >> >>> # apt-get update && apt-get install -y git screen >>> >> >> >>> Hit http://us.archive.ubuntu.com wily InRelease >>> Hit http://security.ubuntu.com wily-security InRelease >>> Ign http://us.archive.ubuntu.com wily InRelease >>> E: GPG error: http://us.archive.ubuntu.com wily InRelease: The >>> following signatures were invalid: NODATA 2 >> >> >> >> >> 2016-09-13 10:26 GMT+03:00 Don Hawkins : >> >>> Why not use this? >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/ >>> Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespa >>> ckages >>> >>> On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko >> > wrote: >>> >>>> Hi. I trying to install freeswitch on ubuntu 15.10. >>>> I know that it is not TLS release and etc. Just need to install it there >>>> Im realdy to install it manually >>>> >>>> I found freeswitch on a github and cloned it, just need >>>> packages-dependenses for successfull installation it on this OS. >>>> >>>> Can anybody provide link for this or give me a list of packages? >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >>>> options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> Don Hawkins >>> CEO >>> Hawkins Enterprise Group LLC >>> http://hawkinsegroup.com >>> Zello PTT : push2don >>> P: 469-214-5044 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/ba578522/attachment.html From ovoshlook at gmail.com Tue Sep 13 13:55:04 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 12:55:04 +0300 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: sorry error occurs on ./bootstrap.sh -j 2016-09-13 12:44 GMT+03:00 Yuriy Gorlichenko : > thx > on ./congfigure running i have these errors at the log > >> >> Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL >> Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >> Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >> Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >> Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >> Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >> Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL >> Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL >> Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL >> Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL >> Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >> Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >> Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL >> Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL >> Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL >> Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL >> Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> automake: error: cannot open < tests/unit/unit.mk: No such file or >> directory > > > I suppose it is because of this staff was not found at the repos. As i > see it is all staff needed for video calls (important for me). > Maybe somebody can say or may be someone will can upload this package? > apt-get install -y --force-yes freeswitch-video-deps-most > > 2016-09-13 10:57 GMT+03:00 David Villasmil >: > >> Try with these >> >> nano >> libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev >> libedit-dev yasm >> >> Nano is optional, i like it. >> >> After that, there will still be a couple for which I couldn't find a >> package. But those are like enum or other things I don't use. Just try >> compiling and when it complains just try installing the libraries. >> >> Like I said, it's very possible you'll need to just comment-out a couple >> of modules, can't remember right now which i had to comment. >> >> Good luck >> >> On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko >> wrote: >> >>> because these packages not at wily repos. And as i understood these >>> packages just precompinled packages that have from any source. >>> I just want to install it via apt-get or aptitude as packages from repo. >>> >>> echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ >>>> trusty main" > /etc/apt/sources.list.d/freeswitch.list >>>> >>> >>> >>>> # apt-get update && apt-get install -y git screen >>>> >>> >>> >>>> Hit http://us.archive.ubuntu.com wily InRelease >>>> Hit http://security.ubuntu.com wily-security InRelease >>>> Ign http://us.archive.ubuntu.com wily InRelease >>>> E: GPG error: http://us.archive.ubuntu.com wily InRelease: The >>>> following signatures were invalid: NODATA 2 >>> >>> >>> >>> >>> 2016-09-13 10:26 GMT+03:00 Don Hawkins : >>> >>>> Why not use this? >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+ >>>> 14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages >>>> >>>> On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko < >>>> ovoshlook at gmail.com> wrote: >>>> >>>>> Hi. I trying to install freeswitch on ubuntu 15.10. >>>>> I know that it is not TLS release and etc. Just need to install it >>>>> there >>>>> Im realdy to install it manually >>>>> >>>>> I found freeswitch on a github and cloned it, just need >>>>> packages-dependenses for successfull installation it on this OS. >>>>> >>>>> Can anybody provide link for this or give me a list of packages? >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >>>>> freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Don Hawkins >>>> CEO >>>> Hawkins Enterprise Group LLC >>>> http://hawkinsegroup.com >>>> Zello PTT : push2don >>>> P: 469-214-5044 >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/e76ac7fd/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 14:00:08 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 13:00:08 +0300 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: Sorry for many emails. also saw: aclocal: error: acinclude.m4:14: file 'libs/sofia-sip/m4/sac-pkg-config.m4' does not exist configure.ac:16: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. I suppose that it is because mod_sofia have no some dependenciens 2016-09-13 12:55 GMT+03:00 Yuriy Gorlichenko : > sorry error occurs on ./bootstrap.sh -j > > 2016-09-13 12:44 GMT+03:00 Yuriy Gorlichenko : > >> thx >> on ./congfigure running i have these errors at the log >> >>> >>> Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL >>> Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >>> Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >>> Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >>> Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >>> Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL >>> Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL >>> Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL >>> Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL >>> Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL >>> Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL >>> Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL >>> Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL >>> Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> automake: error: cannot open < tests/unit/unit.mk: No such file or >>> directory >> >> >> I suppose it is because of this staff was not found at the repos. As i >> see it is all staff needed for video calls (important for me). >> Maybe somebody can say or may be someone will can upload this package? >> apt-get install -y --force-yes freeswitch-video-deps-most >> >> 2016-09-13 10:57 GMT+03:00 David Villasmil > m>: >> >>> Try with these >>> >>> nano >>> libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev >>> libedit-dev yasm >>> >>> Nano is optional, i like it. >>> >>> After that, there will still be a couple for which I couldn't find a >>> package. But those are like enum or other things I don't use. Just try >>> compiling and when it complains just try installing the libraries. >>> >>> Like I said, it's very possible you'll need to just comment-out a couple >>> of modules, can't remember right now which i had to comment. >>> >>> Good luck >>> >>> On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko >>> wrote: >>> >>>> because these packages not at wily repos. And as i understood these >>>> packages just precompinled packages that have from any source. >>>> I just want to install it via apt-get or aptitude as packages from repo. >>>> >>>> echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ >>>>> trusty main" > /etc/apt/sources.list.d/freeswitch.list >>>>> >>>> >>>> >>>>> # apt-get update && apt-get install -y git screen >>>>> >>>> >>>> >>>>> Hit http://us.archive.ubuntu.com wily InRelease >>>>> Hit http://security.ubuntu.com wily-security InRelease >>>>> Ign http://us.archive.ubuntu.com wily InRelease >>>>> E: GPG error: http://us.archive.ubuntu.com wily InRelease: The >>>>> following signatures were invalid: NODATA 2 >>>> >>>> >>>> >>>> >>>> 2016-09-13 10:26 GMT+03:00 Don Hawkins : >>>> >>>>> Why not use this? >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+ >>>>> 14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages >>>>> >>>>> On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko < >>>>> ovoshlook at gmail.com> wrote: >>>>> >>>>>> Hi. I trying to install freeswitch on ubuntu 15.10. >>>>>> I know that it is not TLS release and etc. Just need to install it >>>>>> there >>>>>> Im realdy to install it manually >>>>>> >>>>>> I found freeswitch on a github and cloned it, just need >>>>>> packages-dependenses for successfull installation it on this OS. >>>>>> >>>>>> Can anybody provide link for this or give me a list of packages? >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> Don Hawkins >>>>> CEO >>>>> Hawkins Enterprise Group LLC >>>>> http://hawkinsegroup.com >>>>> Zello PTT : push2don >>>>> P: 469-214-5044 >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/1b4cb88f/attachment.html From david.villasmil.work at gmail.com Tue Sep 13 14:03:41 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Sep 2016 10:03:41 +0000 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: Do you want video? That is exactly the hard part in ubuntu, as far as i remember. On Tue, Sep 13, 2016 at 11:45 AM Yuriy Gorlichenko wrote: > thx > on ./congfigure running i have these errors at the log > >> >> Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL >> Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >> Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >> Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >> Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >> Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >> Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL >> Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL >> Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL >> Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL >> Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >> Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >> Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL >> Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL >> Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL >> Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL >> Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL >> automake: error: cannot open < tests/unit/unit.mk: No such file or >> directory > > > I suppose it is because of this staff was not found at the repos. As i > see it is all staff needed for video calls (important for me). > Maybe somebody can say or may be someone will can upload this package? > apt-get install -y --force-yes freeswitch-video-deps-most > > 2016-09-13 10:57 GMT+03:00 David Villasmil >: > >> Try with these >> >> nano >> libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev >> libedit-dev yasm >> >> Nano is optional, i like it. >> >> After that, there will still be a couple for which I couldn't find a >> package. But those are like enum or other things I don't use. Just try >> compiling and when it complains just try installing the libraries. >> >> Like I said, it's very possible you'll need to just comment-out a couple >> of modules, can't remember right now which i had to comment. >> >> Good luck >> >> On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko >> wrote: >> >>> because these packages not at wily repos. And as i understood these >>> packages just precompinled packages that have from any source. >>> I just want to install it via apt-get or aptitude as packages from repo. >>> >>> echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ >>>> trusty main" > /etc/apt/sources.list.d/freeswitch.list >>>> >>> >>> >>>> # apt-get update && apt-get install -y git screen >>>> >>> >>> >>>> Hit http://us.archive.ubuntu.com wily InRelease >>>> Hit http://security.ubuntu.com wily-security InRelease >>>> Ign http://us.archive.ubuntu.com wily InRelease >>>> E: GPG error: http://us.archive.ubuntu.com wily InRelease: The >>>> following signatures were invalid: NODATA 2 >>> >>> >>> >>> >>> 2016-09-13 10:26 GMT+03:00 Don Hawkins : >>> >>>> Why not use this? >>>> >>>> >>>> https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages >>>> >>>> On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko < >>>> ovoshlook at gmail.com> wrote: >>>> >>>>> Hi. I trying to install freeswitch on ubuntu 15.10. >>>>> I know that it is not TLS release and etc. Just need to install it >>>>> there >>>>> Im realdy to install it manually >>>>> >>>>> I found freeswitch on a github and cloned it, just need >>>>> packages-dependenses for successfull installation it on this OS. >>>>> >>>>> Can anybody provide link for this or give me a list of packages? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Don Hawkins >>>> CEO >>>> Hawkins Enterprise Group LLC >>>> http://hawkinsegroup.com >>>> Zello PTT : push2don >>>> P: 469-214-5044 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/1d92621e/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 14:07:13 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 13:07:13 +0300 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: yes. Needed staff. Thats why asking bout all this... 2016-09-13 13:03 GMT+03:00 David Villasmil : > Do you want video? That is exactly the hard part in ubuntu, as far as i > remember. > > On Tue, Sep 13, 2016 at 11:45 AM Yuriy Gorlichenko > wrote: > >> thx >> on ./congfigure running i have these errors at the log >> >>> >>> Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL >>> Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >>> Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >>> Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >>> Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >>> Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL >>> Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL >>> Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL >>> Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL >>> Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL >>> Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL >>> Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL >>> Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL >>> Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> automake: error: cannot open < tests/unit/unit.mk: No such file or >>> directory >> >> >> I suppose it is because of this staff was not found at the repos. As i >> see it is all staff needed for video calls (important for me). >> Maybe somebody can say or may be someone will can upload this package? >> apt-get install -y --force-yes freeswitch-video-deps-most >> >> 2016-09-13 10:57 GMT+03:00 David Villasmil > com>: >> >>> Try with these >>> >>> nano >>> libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev >>> libedit-dev yasm >>> >>> Nano is optional, i like it. >>> >>> After that, there will still be a couple for which I couldn't find a >>> package. But those are like enum or other things I don't use. Just try >>> compiling and when it complains just try installing the libraries. >>> >>> Like I said, it's very possible you'll need to just comment-out a couple >>> of modules, can't remember right now which i had to comment. >>> >>> Good luck >>> >>> On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko >>> wrote: >>> >>>> because these packages not at wily repos. And as i understood these >>>> packages just precompinled packages that have from any source. >>>> I just want to install it via apt-get or aptitude as packages from repo. >>>> >>>> echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ >>>>> trusty main" > /etc/apt/sources.list.d/freeswitch.list >>>>> >>>> >>>> >>>>> # apt-get update && apt-get install -y git screen >>>>> >>>> >>>> >>>>> Hit http://us.archive.ubuntu.com wily InRelease >>>>> Hit http://security.ubuntu.com wily-security InRelease >>>>> Ign http://us.archive.ubuntu.com wily InRelease >>>>> E: GPG error: http://us.archive.ubuntu.com wily InRelease: The >>>>> following signatures were invalid: NODATA 2 >>>> >>>> >>>> >>>> >>>> 2016-09-13 10:26 GMT+03:00 Don Hawkins : >>>> >>>>> Why not use this? >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/ >>>>> Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespa >>>>> ckages >>>>> >>>>> On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko < >>>>> ovoshlook at gmail.com> wrote: >>>>> >>>>>> Hi. I trying to install freeswitch on ubuntu 15.10. >>>>>> I know that it is not TLS release and etc. Just need to install it >>>>>> there >>>>>> Im realdy to install it manually >>>>>> >>>>>> I found freeswitch on a github and cloned it, just need >>>>>> packages-dependenses for successfull installation it on this OS. >>>>>> >>>>>> Can anybody provide link for this or give me a list of packages? >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >>>>>> options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> Don Hawkins >>>>> CEO >>>>> Hawkins Enterprise Group LLC >>>>> http://hawkinsegroup.com >>>>> Zello PTT : push2don >>>>> P: 469-214-5044 >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/4f50693d/attachment-0001.html From krice at freeswitch.org Tue Sep 13 16:56:39 2016 From: krice at freeswitch.org (Ken Rice) Date: Tue, 13 Sep 2016 07:56:39 -0500 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: <0E357E58-D156-444A-A242-CE6180D1EF7A@freeswitch.org> Is he really trying to install using sources from github? Thats probably a problem since github really hates the fs git repo... He should be getting the sources from freeswitch.org/stash Also the errors and warnings during bootstrap may not be a problem... The real question is does it general a configure script? Sent from my iPhone > On Sep 13, 2016, at 5:03 AM, David Villasmil wrote: > > Do you want video? That is exactly the hard part in ubuntu, as far as i remember. >> On Tue, Sep 13, 2016 at 11:45 AM Yuriy Gorlichenko wrote: >> thx >> on ./congfigure running i have these errors at the log >>> >>> Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL >>> Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >>> Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >>> Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >>> Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >>> Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL >>> Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL >>> Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL >>> Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL >>> Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL >>> Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL >>> Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL >>> Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL >>> Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> automake: error: cannot open < tests/unit/unit.mk: No such file or directory >> >> I suppose it is because of this staff was not found at the repos. As i see it is all staff needed for video calls (important for me). >> Maybe somebody can say or may be someone will can upload this package? >> apt-get install -y --force-yes freeswitch-video-deps-most >> >> 2016-09-13 10:57 GMT+03:00 David Villasmil : >>> Try with these >>> >>> nano >>> libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev libedit-dev yasm >>> >>> Nano is optional, i like it. >>> >>> After that, there will still be a couple for which I couldn't find a package. But those are like enum or other things I don't use. Just try compiling and when it complains just try installing the libraries. >>> >>> Like I said, it's very possible you'll need to just comment-out a couple of modules, can't remember right now which i had to comment. >>> >>> Good luck >>> >>>> On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko wrote: >>>> because these packages not at wily repos. And as i understood these packages just precompinled packages that have from any source. >>>> I just want to install it via apt-get or aptitude as packages from repo. >>>> >>>>> echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ trusty main" > /etc/apt/sources.list.d/freeswitch.list >>>> >>>>> # apt-get update && apt-get install -y git screen >>>> >>>>> Hit http://us.archive.ubuntu.com wily InRelease >>>>> Hit http://security.ubuntu.com wily-security InRelease >>>>> Ign http://us.archive.ubuntu.com wily InRelease >>>>> E: GPG error: http://us.archive.ubuntu.com wily InRelease: The following signatures were invalid: NODATA 2 >>>> >>>> >>>> >>>> 2016-09-13 10:26 GMT+03:00 Don Hawkins : >>>>> Why not use this? >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages >>>>> >>>>>> On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko wrote: >>>>>> Hi. I trying to install freeswitch on ubuntu 15.10. >>>>>> I know that it is not TLS release and etc. Just need to install it there >>>>>> Im realdy to install it manually >>>>>> >>>>>> I found freeswitch on a github and cloned it, just need packages-dependenses for successfull installation it on this OS. >>>>>> >>>>>> Can anybody provide link for this or give me a list of packages? >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> Don Hawkins >>>>> CEO >>>>> Hawkins Enterprise Group LLC >>>>> http://hawkinsegroup.com >>>>> Zello PTT: push2don >>>>> P: 469-214-5044 >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/0045d42c/attachment-0001.html From daveh at beachdognet.com Tue Sep 13 17:10:55 2016 From: daveh at beachdognet.com (Dave Horton) Date: Tue, 13 Sep 2016 09:10:55 -0400 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> Message-ID: <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> I?m confused because that pastebin shows the freeswitch properly setting up the call with OPUS for audio and VP8 for video. Yet your initial problem description said there was no video on the B leg. On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko wrote: Sip trace: For your understanding - im using kamailio as registrar there. FS as media and Services server so call goes: WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch |__________________Leg A__________________________________| FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B |__________________Leg B__________________________________| http://pastebin.com/swBDJnYG 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko >: I will make sip trace little bit later (in 2-3 hours from now). And yes. For now it is a simple proxy call from one A to B without any changes. And the SDP all ok. B leg has a=video and its staff At the next step i need to generate B leg by myself from freeswitch after some handling leg A. So i suppose that settings for now not enought for this scenario. am i right? 2016-09-13 8:42 GMT+03:00 Mirko Brankovic >: I'm expecting to see b side without video capabilities. So do the sofia global sip trace on and see the invite leaving fs box. Check if sdp has both audio and video m flags, and what was in 200ok sdp back from b side. On Sep 12, 2016 20:28, "Dave Horton" > wrote: Thanks, and a SIP trace showing the call, and the failed negotiation for video? To be clear, is this a simple bridging scenario (you have an inbound call offering video and you want to bridge it to an outbound B leg which also offers video)? On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko > wrote: http://pastebin.com/e4AXe3xC But i suppose this helped. Also codecs mached Am i will be right if i say that 1.6 supports VP8? I just asking because not found any mod_vpx or something like thais at the mod dir. 2016-09-12 17:35 GMT+03:00 Dave Horton >: There are a bunch of params that can impact SDP negotiation. I think it would be most helpful if you could pastebin the sip profile settings and then an actual trace of a call On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko > wrote: Yep. that in it. freeswitch/vars.xml freeswitch/sip_profiles/external.xml I making call as session:execute("bridge","sofia/external/"..session:getVariable("destination_number").."@my.sip.pro.xy") 2016-09-12 16:24 GMT+03:00 Mirko Brankovic >: make sure you have video codecs enabled in vars.conf for outbound codec list On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko > wrote: Hi. Googled documenttion about it where i can turn it on? For now icoming INVITE goes with Video but then FS omakes outgoing call without Video Paert at the SDP. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Regards, Mirko _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/6900071d/attachment-0001.html From david.villasmil.work at gmail.com Tue Sep 13 17:13:13 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Sep 2016 15:13:13 +0200 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: <0E357E58-D156-444A-A242-CE6180D1EF7A@freeswitch.org> References: <0E357E58-D156-444A-A242-CE6180D1EF7A@freeswitch.org> Message-ID: Uff I didn't see that small thing... Yes, you should use FS's stash. On Tue, Sep 13, 2016 at 2:56 PM, Ken Rice wrote: > Is he really trying to install using sources from github? Thats probably a > problem since github really hates the fs git repo... He should be getting > the sources from freeswitch.org/stash > > Also the errors and warnings during bootstrap may not be a problem... The > real question is does it general a configure script? > > Sent from my iPhone > > On Sep 13, 2016, at 5:03 AM, David Villasmil com> wrote: > > Do you want video? That is exactly the hard part in ubuntu, as far as i > remember. > On Tue, Sep 13, 2016 at 11:45 AM Yuriy Gorlichenko > wrote: > >> thx >> on ./congfigure running i have these errors at the log >> >>> >>> Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL >>> Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >>> Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >>> Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL >>> Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL >>> Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL >>> Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL >>> Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL >>> Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL >>> Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL >>> Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL >>> Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL >>> Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL >>> Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL >>> Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL >>> automake: error: cannot open < tests/unit/unit.mk: No such file or >>> directory >> >> >> I suppose it is because of this staff was not found at the repos. As i >> see it is all staff needed for video calls (important for me). >> Maybe somebody can say or may be someone will can upload this package? >> apt-get install -y --force-yes freeswitch-video-deps-most >> >> 2016-09-13 10:57 GMT+03:00 David Villasmil > com>: >> >>> Try with these >>> >>> nano >>> libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev >>> libedit-dev yasm >>> >>> Nano is optional, i like it. >>> >>> After that, there will still be a couple for which I couldn't find a >>> package. But those are like enum or other things I don't use. Just try >>> compiling and when it complains just try installing the libraries. >>> >>> Like I said, it's very possible you'll need to just comment-out a couple >>> of modules, can't remember right now which i had to comment. >>> >>> Good luck >>> >>> On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko >>> wrote: >>> >>>> because these packages not at wily repos. And as i understood these >>>> packages just precompinled packages that have from any source. >>>> I just want to install it via apt-get or aptitude as packages from repo. >>>> >>>> echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ >>>>> trusty main" > /etc/apt/sources.list.d/freeswitch.list >>>>> >>>> >>>> >>>>> # apt-get update && apt-get install -y git screen >>>>> >>>> >>>> >>>>> Hit http://us.archive.ubuntu.com wily InRelease >>>>> Hit http://security.ubuntu.com wily-security InRelease >>>>> Ign http://us.archive.ubuntu.com wily InRelease >>>>> E: GPG error: http://us.archive.ubuntu.com wily InRelease: The >>>>> following signatures were invalid: NODATA 2 >>>> >>>> >>>> >>>> >>>> 2016-09-13 10:26 GMT+03:00 Don Hawkins : >>>> >>>>> Why not use this? >>>>> >>>>> https://freeswitch.org/confluence/display/FREESWITCH/ >>>>> Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespa >>>>> ckages >>>>> >>>>> On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko < >>>>> ovoshlook at gmail.com> wrote: >>>>> >>>>>> Hi. I trying to install freeswitch on ubuntu 15.10. >>>>>> I know that it is not TLS release and etc. Just need to install it >>>>>> there >>>>>> Im realdy to install it manually >>>>>> >>>>>> I found freeswitch on a github and cloned it, just need >>>>>> packages-dependenses for successfull installation it on this OS. >>>>>> >>>>>> Can anybody provide link for this or give me a list of packages? >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >>>>>> options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> Don Hawkins >>>>> CEO >>>>> Hawkins Enterprise Group LLC >>>>> http://hawkinsegroup.com >>>>> Zello PTT : push2don >>>>> P: 469-214-5044 >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/c68d91e4/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 17:24:02 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 16:24:02 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> Message-ID: As i said before for now that is ok after i pased For now i have only one question: Is it will be working after i will handle Leg A, or I will need to configure somewhere else at the profile? 2016-09-13 16:10 GMT+03:00 Dave Horton : > I?m confused because that pastebin shows the freeswitch properly setting > up the call with OPUS for audio and VP8 for video. Yet your initial > problem description said there was no video on the B leg. > > > On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko > wrote: > > Sip trace: > > For your understanding - im using kamailio as registrar there. FS as media > and Services server > so call goes: > > WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch > |__________________Leg A__________________________________| > > > FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B > |__________________Leg B__________________________________| > > > http://pastebin.com/swBDJnYG > > > 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : > >> I will make sip trace little bit later (in 2-3 hours from now). >> And yes. >> For now it is a simple proxy call from one A to B without any changes. >> And the SDP all ok. B leg has >> a=video >> and its staff >> >> At the next step i need to generate B leg by myself from freeswitch after >> some handling leg A. So i suppose that settings for now not enought for >> this scenario. am i right? >> >> >> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic : >> >>> I'm expecting to see b side without video capabilities. >>> So do the sofia global sip trace on and see the invite leaving fs box. >>> Check if sdp has both audio and video m flags, and what was in 200ok sdp >>> back from b side. >>> >>> On Sep 12, 2016 20:28, "Dave Horton" wrote: >>> >>>> Thanks, and a SIP trace showing the call, and the failed negotiation >>>> for video? >>>> >>>> To be clear, is this a simple bridging scenario (you have an inbound >>>> call offering video and you want to bridge it to an outbound B leg which >>>> also offers video)? >>>> >>>> >>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko >>>> wrote: >>>> >>>> http://pastebin.com/e4AXe3xC >>>> >>>> But i suppose this helped. >>>> Also codecs mached >>>> >>>> Am i will be right if i say that 1.6 supports VP8? >>>> I just asking because not found any mod_vpx or something like thais at >>>> the mod dir. >>>> >>>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>>> >>>>> There are a bunch of params that can impact SDP negotiation. I think >>>>> it would be most helpful if you could pastebin the sip profile settings and >>>>> then an actual trace of a call >>>>> >>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko >>>>> wrote: >>>>> >>>>> Yep. that in it. >>>>> >>>>> freeswitch/vars.xml >>>>> >>>>> >>>>> >>>>> freeswitch/sip_profiles/external.xml >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> I making call as >>>>> >>>>> session:execute("bridge","sofia/external/"..session:getVaria >>>>> ble("destination_number").."@my.sip.pro.xy") >>>>> >>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic : >>>>> >>>>>> make sure you have video codecs enabled in vars.conf for outbound >>>>>> codec list >>>>>> >>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>>> ovoshlook at gmail.com> wrote: >>>>>> >>>>>>> Hi. Googled documenttion about it >>>>>>> where i can turn it on? >>>>>>> For now icoming INVITE goes with Video but then FS omakes outgoing >>>>>>> call without Video Paert at the SDP. >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Mirko >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/8f187a63/attachment-0001.html From mirkobrankovic at gmail.com Tue Sep 13 17:31:03 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 13 Sep 2016 15:31:03 +0200 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> Message-ID: In pastebin negotiation looks good. So video is working now? On Sep 13, 2016 15:24, "Yuriy Gorlichenko" wrote: > As i said before for now that is ok after i pased > > > For now i have only one question: > Is it will be working after i will handle Leg A, or I will need to > configure somewhere else at the profile? > > 2016-09-13 16:10 GMT+03:00 Dave Horton : > >> I?m confused because that pastebin shows the freeswitch properly setting >> up the call with OPUS for audio and VP8 for video. Yet your initial >> problem description said there was no video on the B leg. >> >> >> On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko >> wrote: >> >> Sip trace: >> >> For your understanding - im using kamailio as registrar there. FS as >> media and Services server >> so call goes: >> >> WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch >> |__________________Leg A__________________________________| >> >> >> FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B >> |__________________Leg B__________________________________| >> >> >> http://pastebin.com/swBDJnYG >> >> >> 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : >> >>> I will make sip trace little bit later (in 2-3 hours from now). >>> And yes. >>> For now it is a simple proxy call from one A to B without any changes. >>> And the SDP all ok. B leg has >>> a=video >>> and its staff >>> >>> At the next step i need to generate B leg by myself from freeswitch >>> after some handling leg A. So i suppose that settings for now not enought >>> for this scenario. am i right? >>> >>> >>> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic : >>> >>>> I'm expecting to see b side without video capabilities. >>>> So do the sofia global sip trace on and see the invite leaving fs box. >>>> Check if sdp has both audio and video m flags, and what was in 200ok sdp >>>> back from b side. >>>> >>>> On Sep 12, 2016 20:28, "Dave Horton" wrote: >>>> >>>>> Thanks, and a SIP trace showing the call, and the failed negotiation >>>>> for video? >>>>> >>>>> To be clear, is this a simple bridging scenario (you have an inbound >>>>> call offering video and you want to bridge it to an outbound B leg which >>>>> also offers video)? >>>>> >>>>> >>>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko >>>>> wrote: >>>>> >>>>> http://pastebin.com/e4AXe3xC >>>>> >>>>> But i suppose this helped. >>>>> Also codecs mached >>>>> >>>>> Am i will be right if i say that 1.6 supports VP8? >>>>> I just asking because not found any mod_vpx or something like thais at >>>>> the mod dir. >>>>> >>>>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>>>> >>>>>> There are a bunch of params that can impact SDP negotiation. I think >>>>>> it would be most helpful if you could pastebin the sip profile settings and >>>>>> then an actual trace of a call >>>>>> >>>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko >>>>>> wrote: >>>>>> >>>>>> Yep. that in it. >>>>>> >>>>>> freeswitch/vars.xml >>>>>> >>>>>> >>>>>> >>>>>> freeswitch/sip_profiles/external.xml >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> I making call as >>>>>> >>>>>> session:execute("bridge","sofia/external/"..session:getVaria >>>>>> ble("destination_number").."@my.sip.pro.xy") >>>>>> >>>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic >>>>>> : >>>>>> >>>>>>> make sure you have video codecs enabled in vars.conf for outbound >>>>>>> codec list >>>>>>> >>>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>>>> ovoshlook at gmail.com> wrote: >>>>>>> >>>>>>>> Hi. Googled documenttion about it >>>>>>>> where i can turn it on? >>>>>>>> For now icoming INVITE goes with Video but then FS omakes outgoing >>>>>>>> call without Video Paert at the SDP. >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Regards, >>>>>>> Mirko >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/567853d1/attachment-0001.html From krice at freeswitch.org Tue Sep 13 17:32:39 2016 From: krice at freeswitch.org (Ken Rice) Date: Tue, 13 Sep 2016 08:32:39 -0500 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: Message-ID: <00d701d20dc3$4cc999b0$e65ccd10$@freeswitch.org> If you need something newer than 14.04 note we have packages for 16.04 From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Yuriy Gorlichenko Sent: Tuesday, September 13, 2016 5:07 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Install freeswitch on ubuntu 15.10 yes. Needed staff. Thats why asking bout all this... 2016-09-13 13:03 GMT+03:00 David Villasmil >: Do you want video? That is exactly the hard part in ubuntu, as far as i remember. On Tue, Sep 13, 2016 at 11:45 AM Yuriy Gorlichenko > wrote: thx on ./congfigure running i have these errors at the log Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL automake: error: cannot open < tests/unit/unit.mk : No such file or directory I suppose it is because of this staff was not found at the repos. As i see it is all staff needed for video calls (important for me). Maybe somebody can say or may be someone will can upload this package? apt-get install -y --force-yes freeswitch-video-deps-most 2016-09-13 10:57 GMT+03:00 David Villasmil >: Try with these nano libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev libedit-dev yasm Nano is optional, i like it. After that, there will still be a couple for which I couldn't find a package. But those are like enum or other things I don't use. Just try compiling and when it complains just try installing the libraries. Like I said, it's very possible you'll need to just comment-out a couple of modules, can't remember right now which i had to comment. Good luck On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko > wrote: because these packages not at wily repos. And as i understood these packages just precompinled packages that have from any source. I just want to install it via apt-get or aptitude as packages from repo. echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ trusty main" > /etc/apt/sources.list.d/freeswitch.list # apt-get update && apt-get install -y git screen Hit http://us.archive.ubuntu.com wily InRelease Hit http://security.ubuntu.com wily-security InRelease Ign http://us.archive.ubuntu.com wily InRelease E: GPG error: http://us.archive.ubuntu.com wily InRelease: The following signatures were invalid: NODATA 2 2016-09-13 10:26 GMT+03:00 Don Hawkins >: Why not use this? https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko > wrote: Hi. I trying to install freeswitch on ubuntu 15.10. I know that it is not TLS release and etc. Just need to install it there Im realdy to install it manually I found freeswitch on a github and cloned it, just need packages-dependenses for successfull installation it on this OS. Can anybody provide link for this or give me a list of packages? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/1b68db6e/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 17:53:08 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 16:53:08 +0300 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: <00d701d20dc3$4cc999b0$e65ccd10$@freeswitch.org> References: <00d701d20dc3$4cc999b0$e65ccd10$@freeswitch.org> Message-ID: Only at this project i can not use 16.04 because of some reasons (dont want to go deeper at the details) Offcourse i understand that it will be simpler and faster use debian 8 for example. 2016-09-13 16:32 GMT+03:00 Ken Rice : > If you need something newer than 14.04 note we have packages for 16.04 > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Yuriy > Gorlichenko > *Sent:* Tuesday, September 13, 2016 5:07 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Install freeswitch on ubuntu 15.10 > > > > yes. Needed staff. > Thats why asking bout all this... > > > > 2016-09-13 13:03 GMT+03:00 David Villasmil >: > > Do you want video? That is exactly the hard part in ubuntu, as far as i > remember. > > > > On Tue, Sep 13, 2016 at 11:45 AM Yuriy Gorlichenko > wrote: > > thx > on ./congfigure running i have these errors at the log > > > Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL > Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL > Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL > Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL > Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL > Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL > Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL > Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL > Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL > Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL > Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL > Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL > Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL > Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL > automake: error: cannot open < tests/unit/unit.mk: No such file or > directory > > > I suppose it is because of this staff was not found at the repos. As i > see it is all staff needed for video calls (important for me). > Maybe somebody can say or may be someone will can upload this package? > apt-get install -y --force-yes freeswitch-video-deps-most > > > > 2016-09-13 10:57 GMT+03:00 David Villasmil >: > > Try with these > > nano > libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev > libedit-dev yasm > > Nano is optional, i like it. > > After that, there will still be a couple for which I couldn't find a > package. But those are like enum or other things I don't use. Just try > compiling and when it complains just try installing the libraries. > > Like I said, it's very possible you'll need to just comment-out a couple > of modules, can't remember right now which i had to comment. > > Good luck > > > > On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko > wrote: > > because these packages not at wily repos. And as i understood these > packages just precompinled packages that have from any source. > I just want to install it via apt-get or aptitude as packages from repo. > > echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ > trusty main" > /etc/apt/sources.list.d/freeswitch.list > > > > # apt-get update && apt-get install -y git screen > > > > Hit http://us.archive.ubuntu.com wily InRelease > Hit http://security.ubuntu.com wily-security InRelease > Ign http://us.archive.ubuntu.com wily InRelease > E: GPG error: http://us.archive.ubuntu.com wily InRelease: The following > signatures were invalid: NODATA 2 > > > > > > 2016-09-13 10:26 GMT+03:00 Don Hawkins : > > Why not use this? > > > > https://freeswitch.org/confluence/display/FREESWITCH/ > Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages > > > > On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko > wrote: > > Hi. I trying to install freeswitch on ubuntu 15.10. > I know that it is not TLS release and etc. Just need to install it there > Im realdy to install it manually > > I found freeswitch on a github and cloned it, just need > packages-dependenses for successfull installation it on this OS. > > Can anybody provide link for this or give me a list of packages? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > > P: 469-214-5044 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/66968cac/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 17:54:28 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 16:54:28 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> Message-ID: Yes. Call gointg through correctly 2016-09-13 16:31 GMT+03:00 Mirko Brankovic : > In pastebin negotiation looks good. > > So video is working now? > > On Sep 13, 2016 15:24, "Yuriy Gorlichenko" wrote: > >> As i said before for now that is ok after i pased >> >> >> For now i have only one question: >> Is it will be working after i will handle Leg A, or I will need to >> configure somewhere else at the profile? >> >> 2016-09-13 16:10 GMT+03:00 Dave Horton : >> >>> I?m confused because that pastebin shows the freeswitch properly setting >>> up the call with OPUS for audio and VP8 for video. Yet your initial >>> problem description said there was no video on the B leg. >>> >>> >>> On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko >>> wrote: >>> >>> Sip trace: >>> >>> For your understanding - im using kamailio as registrar there. FS as >>> media and Services server >>> so call goes: >>> >>> WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch >>> |__________________Leg A__________________________________| >>> >>> >>> FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B >>> |__________________Leg B__________________________________| >>> >>> >>> http://pastebin.com/swBDJnYG >>> >>> >>> 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : >>> >>>> I will make sip trace little bit later (in 2-3 hours from now). >>>> And yes. >>>> For now it is a simple proxy call from one A to B without any changes. >>>> And the SDP all ok. B leg has >>>> a=video >>>> and its staff >>>> >>>> At the next step i need to generate B leg by myself from freeswitch >>>> after some handling leg A. So i suppose that settings for now not enought >>>> for this scenario. am i right? >>>> >>>> >>>> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic : >>>> >>>>> I'm expecting to see b side without video capabilities. >>>>> So do the sofia global sip trace on and see the invite leaving fs box. >>>>> Check if sdp has both audio and video m flags, and what was in 200ok sdp >>>>> back from b side. >>>>> >>>>> On Sep 12, 2016 20:28, "Dave Horton" wrote: >>>>> >>>>>> Thanks, and a SIP trace showing the call, and the failed negotiation >>>>>> for video? >>>>>> >>>>>> To be clear, is this a simple bridging scenario (you have an inbound >>>>>> call offering video and you want to bridge it to an outbound B leg which >>>>>> also offers video)? >>>>>> >>>>>> >>>>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko >>>>>> wrote: >>>>>> >>>>>> http://pastebin.com/e4AXe3xC >>>>>> >>>>>> But i suppose this helped. >>>>>> Also codecs mached >>>>>> >>>>>> Am i will be right if i say that 1.6 supports VP8? >>>>>> I just asking because not found any mod_vpx or something like thais >>>>>> at the mod dir. >>>>>> >>>>>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>>>>> >>>>>>> There are a bunch of params that can impact SDP negotiation. I >>>>>>> think it would be most helpful if you could pastebin the sip profile >>>>>>> settings and then an actual trace of a call >>>>>>> >>>>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko >>>>>>> wrote: >>>>>>> >>>>>>> Yep. that in it. >>>>>>> >>>>>>> freeswitch/vars.xml >>>>>>> >>>>>>> >>>>>>> >>>>>>> freeswitch/sip_profiles/external.xml >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> I making call as >>>>>>> >>>>>>> session:execute("bridge","sofia/external/"..session:getVaria >>>>>>> ble("destination_number").."@my.sip.pro.xy") >>>>>>> >>>>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic >>>>>> >: >>>>>>> >>>>>>>> make sure you have video codecs enabled in vars.conf for outbound >>>>>>>> codec list >>>>>>>> >>>>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi. Googled documenttion about it >>>>>>>>> where i can turn it on? >>>>>>>>> For now icoming INVITE goes with Video but then FS omakes outgoing >>>>>>>>> call without Video Paert at the SDP. >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> Mirko >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/eb4e2189/attachment-0001.html From mirkobrankovic at gmail.com Tue Sep 13 18:05:29 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 13 Sep 2016 16:05:29 +0200 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> Message-ID: hmm so enable-soa = false helped ? Sorry I missed maybe some mail in process :) On Tue, Sep 13, 2016 at 3:54 PM, Yuriy Gorlichenko wrote: > Yes. Call gointg through correctly > > 2016-09-13 16:31 GMT+03:00 Mirko Brankovic : > >> In pastebin negotiation looks good. >> >> So video is working now? >> >> On Sep 13, 2016 15:24, "Yuriy Gorlichenko" wrote: >> >>> As i said before for now that is ok after i pased >>> >>> >>> For now i have only one question: >>> Is it will be working after i will handle Leg A, or I will need to >>> configure somewhere else at the profile? >>> >>> 2016-09-13 16:10 GMT+03:00 Dave Horton : >>> >>>> I?m confused because that pastebin shows the freeswitch properly >>>> setting up the call with OPUS for audio and VP8 for video. Yet your >>>> initial problem description said there was no video on the B leg. >>>> >>>> >>>> On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko >>>> wrote: >>>> >>>> Sip trace: >>>> >>>> For your understanding - im using kamailio as registrar there. FS as >>>> media and Services server >>>> so call goes: >>>> >>>> WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch >>>> |__________________Leg A__________________________________| >>>> >>>> >>>> FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B >>>> |__________________Leg B__________________________________| >>>> >>>> >>>> http://pastebin.com/swBDJnYG >>>> >>>> >>>> 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : >>>> >>>>> I will make sip trace little bit later (in 2-3 hours from now). >>>>> And yes. >>>>> For now it is a simple proxy call from one A to B without any changes. >>>>> And the SDP all ok. B leg has >>>>> a=video >>>>> and its staff >>>>> >>>>> At the next step i need to generate B leg by myself from freeswitch >>>>> after some handling leg A. So i suppose that settings for now not enought >>>>> for this scenario. am i right? >>>>> >>>>> >>>>> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic : >>>>> >>>>>> I'm expecting to see b side without video capabilities. >>>>>> So do the sofia global sip trace on and see the invite leaving fs >>>>>> box. Check if sdp has both audio and video m flags, and what was in 200ok >>>>>> sdp back from b side. >>>>>> >>>>>> On Sep 12, 2016 20:28, "Dave Horton" wrote: >>>>>> >>>>>>> Thanks, and a SIP trace showing the call, and the failed negotiation >>>>>>> for video? >>>>>>> >>>>>>> To be clear, is this a simple bridging scenario (you have an inbound >>>>>>> call offering video and you want to bridge it to an outbound B leg which >>>>>>> also offers video)? >>>>>>> >>>>>>> >>>>>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko >>>>>>> wrote: >>>>>>> >>>>>>> http://pastebin.com/e4AXe3xC >>>>>>> >>>>>>> But i suppose this helped. >>>>>>> Also codecs mached >>>>>>> >>>>>>> Am i will be right if i say that 1.6 supports VP8? >>>>>>> I just asking because not found any mod_vpx or something like thais >>>>>>> at the mod dir. >>>>>>> >>>>>>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>>>>>> >>>>>>>> There are a bunch of params that can impact SDP negotiation. I >>>>>>>> think it would be most helpful if you could pastebin the sip profile >>>>>>>> settings and then an actual trace of a call >>>>>>>> >>>>>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko >>>>>>>> wrote: >>>>>>>> >>>>>>>> Yep. that in it. >>>>>>>> >>>>>>>> freeswitch/vars.xml >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> freeswitch/sip_profiles/external.xml >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I making call as >>>>>>>> >>>>>>>> session:execute("bridge","sofia/external/"..session:getVaria >>>>>>>> ble("destination_number").."@my.sip.pro.xy") >>>>>>>> >>>>>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic < >>>>>>>> mirkobrankovic at gmail.com>: >>>>>>>> >>>>>>>>> make sure you have video codecs enabled in vars.conf for outbound >>>>>>>>> codec list >>>>>>>>> >>>>>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi. Googled documenttion about it >>>>>>>>>> where i can turn it on? >>>>>>>>>> For now icoming INVITE goes with Video but then FS omakes >>>>>>>>>> outgoing call without Video Paert at the SDP. >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Regards, >>>>>>>>> Mirko >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/27c4f015/attachment-0001.html From jw at vision-gmbh.de Mon Sep 12 17:18:34 2016 From: jw at vision-gmbh.de (=?iso-8859-1?Q?J=FCrgen_Wendler?=) Date: Mon, 12 Sep 2016 13:18:34 +0000 Subject: [Freeswitch-users] Enable H264 Video Message-ID: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> Hello everyone, i've found some amazaing articles about FS and so i thought i can give it a try. So I followed instructions in confluenca and got a simple running fs server with mod_verto which is capable of some basic webrtc. Really nice. Now I want to join this room (which is the basic 3500 room with the default video-mcu-profile) with some external h323 device. So I compiled ptlib and opalvoip and finally mod_opal and created a h323 listener. When I call the ip + room number with an external device (polycom, sony) via h323 I get voice only connections, log says the following: 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-2000 at 90000 (pt=121) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-1998 at 90000 (pt=115) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP8 at 90000 (pt=99) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP9 at 90000 (pt=99) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263 at 90000 (pt=34) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec LPC at 8000 (pt=7) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec PROXY-VID at 90000 (pt=31) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H261 at 90000 (pt=31) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H264 at 90000 (pt=97) to an OPAL media format. So I thought I should have a look about the compiled codecs. I activated mod_opal and mod_h26x in modules.conf but no succes. Log always says: 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal Answer:12170,0000000000001} H323 SetLocalCapabilities: GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf I've tried to change profile or the conference / dialplan, event set "absolute_codec_string" in dialplan/default.xml but I think I am missing something. Could anyone point me in the right direction where I can "enable" h263++ or h264 video capabilitys for an external h323 device / call via mod_opal? System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. Best regards, Juergen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160912/ed7536d3/attachment-0001.html From Shawn.Wheeler at interlockconcepts.com Sun Sep 11 05:03:21 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Sun, 11 Sep 2016 01:03:21 +0000 Subject: [Freeswitch-users] Madboss enter tone In-Reply-To: References: Message-ID: I do apologize, I do understand it is moderated by volunteers. Normally, I see the email sent to the list. In this case I never saw the email come through and assumed I did something wrong. I am sorry for sending multiple emails today. Shawn From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Saturday, September 10, 2016 5:51 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Madboss enter tone please do not send the same message to the list three times in the same day. I'll be moderating your future posts. Understand that this mailing list is answered by volunteers and it is the weekend and it's unreasonable to expect an answer immediately. On Saturday, September 10, 2016, Shawn Wheeler > wrote: I have what I think should be an easy question, I am just too ignorant to know where to look. I am using the Madboss to initiate group calls. When the group call is initiated from my handset, I hear a tone. I also hear a tone from my receiving SIP devices. I have been able to change and or mute the tone on the receiving SIP devices. I would like to be able to change the tone on my handset, where the call is initiated. I have looked in the conf\autoload_confs\confernece.conf.xml file. I see enter and exit tones for both wide and ultawide band. However on my system I only hear the entry tone. If you have a thought were I can look, please let me know. Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160911/f0874196/attachment-0001.html From craem at craem.net Sun Sep 11 11:23:27 2016 From: craem at craem.net (=?utf-8?Q?Angel_Elena?=) Date: Sun, 11 Sep 2016 09:23:27 +0200 Subject: [Freeswitch-users] Getting fail2ban working properly Message-ID: Great!!! Thanks for sharing. -------------------------------- ?ngel Elena Medina _o) craem at craem.net / \\ http://blog.craem.net _(___V @craem_ -------------------------------- -----Mensaje original----- De: Don Hawkins Enviado: Dom 11-09-2016 03:22 Asunto: Re: [Freeswitch-users] Getting fail2ban working properly Para: FreeSWITCH Users Help ; > No problem, I need to take notes anyway. Here they are... > > > A. ?/etc/fail2ban/filter.d/freeswitch.conf needs the following text: > > https://github.com/fail2ban/fail2ban/blob/master/config/filter.d/freeswitch.conf > > NOTE: Internal and Public sofia profiles need: ? value="true"/> > > > B. ?/etc/fail2ban/jail.conf and in?/etc/fail2ban/jail.local (not sure which one > is working, I had to create jail.local) > > [freeswitch] > enabled ?= true > port ? ? = 5060,5061,5080,5081,5076 5074 5071 > filter ? = freeswitch > logpath ?= /var/log/freeswitch/freeswitch.log > maxretry = 3 > > > C. Drop these rules into iptables to block the scanners on ports 5060 and 5080 > > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string > "VaxSIPUserAgent" --algo bm > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string > "friendly-scanner" --algo bm > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "sipcli" > --algo bm > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string > "VaxSIPUserAgent" --algo bm > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string > "friendly-scanner" --algo bm > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string "sipcli" > --algo bm > > > D. Change SSH port from 22 to a custom number > > vi /etc/ssh/sshd_config > > > E. Update SSH jail in?/etc/fail2ban/jail.conf to custom port number. > > [ssh] > > enabled ?= true > port ? ? = 9898,22 > filter ? = sshd > logpath ?= /var/log/auth.log > maxretry = 6 > > > F. I also have additional security using CDR records (curl).? If a call comes > in that does not have an 'account number' set (a custom variable we set for all > incoming and outgoing calls from our customers) then we execute a shell command > to block that IP without delay because they obviously aren't one of our > customers. We are using mod_httapi and all calls start that way for us, so it's > easy to set the variable as all calls start with . > > > iptables -A INPUT -s 65.55.44.100 -j DROP > > > Where?65.55.44.100 is the ip to block. > > > > Don > > > > > On Sat, Sep 10, 2016 at 7:58 PM, George Assaad > wrote: > Hi Don, > Could you please share your final settings since it works. > > Thanks, > > George > > On Sep 10, 2016, at 5:49 PM, Don Hawkins > wrote: > > Just want to update everyone that the registration attempts have almost stopped > 100% since blocking the sniffers and setting a 4 hour block time after three > failed registrations. > > Good day! > > On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie > wrote: > On 8 September 2016 at 12:54, Don Hawkins > wrote: > > Can someone share with me how to block all ports except the important ones? > > I had the same question about a month ago: > http://lists.freeswitch.org/pipermail/freeswitch-users/2016-August/121694.html > > > > Colin gives good advice here: > http://lists.freeswitch.org/pipermail/freeswitch-users/2016-August/121730.html > > > > I've also had success with contacting the originating network and > request their customer to stop the traffic to me. > > Here's the abuse form for online.net : > https://console.online.net/en/account/abuses/search > > By the way, if the fail2ban page on confluence needs updating, please > update it or list what's wrong with it. I do see it indicates to > create the jail.local and that's what you were missing for yours to > work properly. > > > -- > ------- > inum: 883510009027723 > sip: jungleboogie at sip2sip.info > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > From d.mordovin at dwide.com Tue Sep 13 17:56:09 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Tue, 13 Sep 2016 17:56:09 +0400 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: <57D803F8.1080005@dwide.com> References: <57D803F8.1080005@dwide.com> Message-ID: <57D80579.6020206@dwide.com> Hello, I can't figure out how to configure hold music to play from begin extension till customer answer. The problems is: - Hold music play while bridge calling to customer only and silence while sleep 5 sec before second try - Hold music begin play .wav from start each time when bridge switch to next route. Any ideas how to configure hold music whole call session and, start playing after ANSWER (1 step) and stop play when customer answer(3 step) or bridge fail (4 step)? My config: Thank All! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/751d3021/attachment.html From david.villasmil.work at gmail.com Tue Sep 13 18:16:11 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Sep 2016 16:16:11 +0200 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: <57D80579.6020206@dwide.com> References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> Message-ID: Hello, Not sure i understood you goal, but I receive the INVITE, and start sending moh until the call is answered, like this: You could do something similar. Regards, Dacud On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin wrote: > Hello, > > I can't figure out how to configure hold music to play from begin > extension till customer answer. > The problems is: > - Hold music play while bridge calling to customer only and silence while > sleep 5 sec before second try > - Hold music begin play .wav from start each time when bridge switch to > next route. > > Any ideas how to configure hold music whole call session and, start > playing after ANSWER (1 step) and stop play when customer answer(3 step) or > bridge fail (4 step)? > > My config: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thank All! > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/4ee9f38a/attachment-0001.html From hawkins at hawkinsegroup.com Tue Sep 13 18:19:48 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Tue, 13 Sep 2016 09:19:48 -0500 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> Message-ID: He wants the second attempt to bride to be transparent and hold music to pay during the sleep time. Had to read it a few times, unfortunately can't help. Sincerely, Don Hawkins Sent from my NationPCS? Nexus 6. On Sep 13, 2016 9:18 AM, "David Villasmil" wrote: > Hello, > > Not sure i understood you goal, but I receive the INVITE, and start > sending moh until the call is answered, like this: > > > > > > > > > > > You could do something similar. > > Regards, > > Dacud > > > > On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin > wrote: > >> Hello, >> >> I can't figure out how to configure hold music to play from begin >> extension till customer answer. >> The problems is: >> - Hold music play while bridge calling to customer only and silence >> while sleep 5 sec before second try >> - Hold music begin play .wav from start each time when bridge switch to >> next route. >> >> Any ideas how to configure hold music whole call session and, start >> playing after ANSWER (1 step) and stop play when customer answer(3 step) or >> bridge fail (4 step)? >> >> My config: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > /> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Thank All! >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/71cbf7aa/attachment.html From david.villasmil.work at gmail.com Tue Sep 13 18:25:17 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Sep 2016 16:25:17 +0200 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> Message-ID: Hello, I got that. I think it might work :) Let him try it :) Something like: David On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins wrote: > He wants the second attempt to bride to be transparent and hold music to > pay during the sleep time. Had to read it a few times, unfortunately can't > help. > > Sincerely, > Don Hawkins > > Sent from my NationPCS? Nexus 6. > > On Sep 13, 2016 9:18 AM, "David Villasmil" > wrote: > >> Hello, >> >> Not sure i understood you goal, but I receive the INVITE, and start >> sending moh until the call is answered, like this: >> >> >> >> >> >> >> >> >> >> >> You could do something similar. >> >> Regards, >> >> Dacud >> >> >> >> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin >> wrote: >> >>> Hello, >>> >>> I can't figure out how to configure hold music to play from begin >>> extension till customer answer. >>> The problems is: >>> - Hold music play while bridge calling to customer only and silence >>> while sleep 5 sec before second try >>> - Hold music begin play .wav from start each time when bridge switch to >>> next route. >>> >>> Any ideas how to configure hold music whole call session and, start >>> playing after ANSWER (1 step) and stop play when customer answer(3 step) or >>> bridge fail (4 step)? >>> >>> My config: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> /> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Thank All! >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/accc55b0/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 18:28:19 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 17:28:19 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> Message-ID: yep. this hepled For now all staff going thorugh I just afraid about how it will wolr with another mods like queue and conference. But as i understand if i execute leg B through session:execute("bridge","sofia/external/"..session: getVariable("destination_number").."@my.sip.pro.xy") It just builds new leg and it will be work same for queue and conference and etc,am i right? 2016-09-13 17:05 GMT+03:00 Mirko Brankovic : > hmm so enable-soa = false helped ? > > Sorry I missed maybe some mail in process :) > > On Tue, Sep 13, 2016 at 3:54 PM, Yuriy Gorlichenko > wrote: > >> Yes. Call gointg through correctly >> >> 2016-09-13 16:31 GMT+03:00 Mirko Brankovic : >> >>> In pastebin negotiation looks good. >>> >>> So video is working now? >>> >>> On Sep 13, 2016 15:24, "Yuriy Gorlichenko" wrote: >>> >>>> As i said before for now that is ok after i pased >>>> >>>> >>>> For now i have only one question: >>>> Is it will be working after i will handle Leg A, or I will need to >>>> configure somewhere else at the profile? >>>> >>>> 2016-09-13 16:10 GMT+03:00 Dave Horton : >>>> >>>>> I?m confused because that pastebin shows the freeswitch properly >>>>> setting up the call with OPUS for audio and VP8 for video. Yet your >>>>> initial problem description said there was no video on the B leg. >>>>> >>>>> >>>>> On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko >>>>> wrote: >>>>> >>>>> Sip trace: >>>>> >>>>> For your understanding - im using kamailio as registrar there. FS as >>>>> media and Services server >>>>> so call goes: >>>>> >>>>> WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch >>>>> |__________________Leg A__________________________________| >>>>> >>>>> >>>>> FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B >>>>> |__________________Leg B__________________________________| >>>>> >>>>> >>>>> http://pastebin.com/swBDJnYG >>>>> >>>>> >>>>> 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : >>>>> >>>>>> I will make sip trace little bit later (in 2-3 hours from now). >>>>>> And yes. >>>>>> For now it is a simple proxy call from one A to B without any >>>>>> changes. >>>>>> And the SDP all ok. B leg has >>>>>> a=video >>>>>> and its staff >>>>>> >>>>>> At the next step i need to generate B leg by myself from freeswitch >>>>>> after some handling leg A. So i suppose that settings for now not enought >>>>>> for this scenario. am i right? >>>>>> >>>>>> >>>>>> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic : >>>>>> >>>>>>> I'm expecting to see b side without video capabilities. >>>>>>> So do the sofia global sip trace on and see the invite leaving fs >>>>>>> box. Check if sdp has both audio and video m flags, and what was in 200ok >>>>>>> sdp back from b side. >>>>>>> >>>>>>> On Sep 12, 2016 20:28, "Dave Horton" wrote: >>>>>>> >>>>>>>> Thanks, and a SIP trace showing the call, and the failed >>>>>>>> negotiation for video? >>>>>>>> >>>>>>>> To be clear, is this a simple bridging scenario (you have an >>>>>>>> inbound call offering video and you want to bridge it to an outbound B leg >>>>>>>> which also offers video)? >>>>>>>> >>>>>>>> >>>>>>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko < >>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>> >>>>>>>> http://pastebin.com/e4AXe3xC >>>>>>>> >>>>>>>> But i suppose this helped. >>>>>>>> Also codecs mached >>>>>>>> >>>>>>>> Am i will be right if i say that 1.6 supports VP8? >>>>>>>> I just asking because not found any mod_vpx or something like thais >>>>>>>> at the mod dir. >>>>>>>> >>>>>>>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>>>>>>> >>>>>>>>> There are a bunch of params that can impact SDP negotiation. I >>>>>>>>> think it would be most helpful if you could pastebin the sip profile >>>>>>>>> settings and then an actual trace of a call >>>>>>>>> >>>>>>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko < >>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>> >>>>>>>>> Yep. that in it. >>>>>>>>> >>>>>>>>> freeswitch/vars.xml >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> freeswitch/sip_profiles/external.xml >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> I making call as >>>>>>>>> >>>>>>>>> session:execute("bridge","sofia/external/"..session:getVaria >>>>>>>>> ble("destination_number").."@my.sip.pro.xy") >>>>>>>>> >>>>>>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic < >>>>>>>>> mirkobrankovic at gmail.com>: >>>>>>>>> >>>>>>>>>> make sure you have video codecs enabled in vars.conf for outbound >>>>>>>>>> codec list >>>>>>>>>> >>>>>>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi. Googled documenttion about it >>>>>>>>>>> where i can turn it on? >>>>>>>>>>> For now icoming INVITE goes with Video but then FS omakes >>>>>>>>>>> outgoing call without Video Paert at the SDP. >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Regards, >>>>>>>>>> Mirko >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/dec43d4f/attachment-0001.html From s.safarov at gmail.com Tue Sep 13 18:29:17 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 13 Sep 2016 14:29:17 +0000 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: I has configured FreeSwitch process memory usage graph. According this graph durring 24 days size of used memory ingrezed about two times. [image: FS-memory-chart.png] Pastebin of FreeSwitch process memory map is placed at https://pastebin.freeswitch.org/view/9e66572a Are you have any suggestion how to find memory leak. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/6bbe8d45/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: chart2.png Type: image/png Size: 53394 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/6bbe8d45/attachment-0003.png -------------- next part -------------- A non-text attachment was scrubbed... Name: chart1.png Type: image/png Size: 63525 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/6bbe8d45/attachment-0004.png -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/6bbe8d45/attachment-0005.png From daveh at beachdognet.com Tue Sep 13 18:29:55 2016 From: daveh at beachdognet.com (Dave Horton) Date: Tue, 13 Sep 2016 10:29:55 -0400 Subject: [Freeswitch-users] 5 second delay when taking a phone off hold Message-ID: <4A097BC8-3115-413A-877F-D92A95C70C35@beachdognet.com> I have noticed that when I put a phone on hold, and then later take it off hold that there is a 5 second delay when Freeswitch handles the re-INVITE off-hold (no such delay going on hold). My app is a fairly simple bridging application, where call is placed from A to B through Freeswitch; the B leg goes on hold and then later attempts to go off hold. I have tracked the 5 second delay to this line of code in switch_core_media.c: if (b_channel) { if (switch_channel_test_flag(session->channel, CF_HOLD)) { switch_ivr_unhold(b_session); switch_channel_clear_flag(session->channel, CF_SUSPEND); switch_channel_clear_flag(session->channel, CF_HOLD); } else { switch_channel_stop_broadcast(b_channel); switch_channel_wait_for_flag(b_channel, CF_BROADCAST, SWITCH_FALSE, 5000, NULL); <== 5 second delay happens here } } Couple of other data points: 1. When I go on hold, the INVITE on hold that Freeswitch receives on one leg is not propagated out the associated leg, for whatever reason 2. I am using late negotiation of the SDP between the A and B legs. 3. I am running version 1.68 Is this a bug and should I open a Jira? I can obviously provide traces but wanted to first know if this is a bug or some configuration issue Dave From mirkobrankovic at gmail.com Tue Sep 13 18:34:34 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 13 Sep 2016 16:34:34 +0200 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> Message-ID: YEah, i don't think you will have problems with this On Tue, Sep 13, 2016 at 4:28 PM, Yuriy Gorlichenko wrote: > yep. this hepled > For now all staff going thorugh > I just afraid about how it will wolr with another mods like queue and > conference. But as i understand > if i execute leg B through > session:execute("bridge","sofia/external/"..session:getVaria > ble("destination_number").."@my.sip.pro.xy") > It just builds new leg and it will be work same for queue and conference > and etc,am i right? > > 2016-09-13 17:05 GMT+03:00 Mirko Brankovic : > >> hmm so enable-soa = false helped ? >> >> Sorry I missed maybe some mail in process :) >> >> On Tue, Sep 13, 2016 at 3:54 PM, Yuriy Gorlichenko >> wrote: >> >>> Yes. Call gointg through correctly >>> >>> 2016-09-13 16:31 GMT+03:00 Mirko Brankovic : >>> >>>> In pastebin negotiation looks good. >>>> >>>> So video is working now? >>>> >>>> On Sep 13, 2016 15:24, "Yuriy Gorlichenko" wrote: >>>> >>>>> As i said before for now that is ok after i pased >>>>> >>>>> >>>>> For now i have only one question: >>>>> Is it will be working after i will handle Leg A, or I will need to >>>>> configure somewhere else at the profile? >>>>> >>>>> 2016-09-13 16:10 GMT+03:00 Dave Horton : >>>>> >>>>>> I?m confused because that pastebin shows the freeswitch properly >>>>>> setting up the call with OPUS for audio and VP8 for video. Yet your >>>>>> initial problem description said there was no video on the B leg. >>>>>> >>>>>> >>>>>> On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko >>>>>> wrote: >>>>>> >>>>>> Sip trace: >>>>>> >>>>>> For your understanding - im using kamailio as registrar there. FS as >>>>>> media and Services server >>>>>> so call goes: >>>>>> >>>>>> WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch >>>>>> |__________________Leg A__________________________________| >>>>>> >>>>>> >>>>>> FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B >>>>>> |__________________Leg B__________________________________| >>>>>> >>>>>> >>>>>> http://pastebin.com/swBDJnYG >>>>>> >>>>>> >>>>>> 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : >>>>>> >>>>>>> I will make sip trace little bit later (in 2-3 hours from now). >>>>>>> And yes. >>>>>>> For now it is a simple proxy call from one A to B without any >>>>>>> changes. >>>>>>> And the SDP all ok. B leg has >>>>>>> a=video >>>>>>> and its staff >>>>>>> >>>>>>> At the next step i need to generate B leg by myself from freeswitch >>>>>>> after some handling leg A. So i suppose that settings for now not enought >>>>>>> for this scenario. am i right? >>>>>>> >>>>>>> >>>>>>> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic >>>>>>> : >>>>>>> >>>>>>>> I'm expecting to see b side without video capabilities. >>>>>>>> So do the sofia global sip trace on and see the invite leaving fs >>>>>>>> box. Check if sdp has both audio and video m flags, and what was in 200ok >>>>>>>> sdp back from b side. >>>>>>>> >>>>>>>> On Sep 12, 2016 20:28, "Dave Horton" wrote: >>>>>>>> >>>>>>>>> Thanks, and a SIP trace showing the call, and the failed >>>>>>>>> negotiation for video? >>>>>>>>> >>>>>>>>> To be clear, is this a simple bridging scenario (you have an >>>>>>>>> inbound call offering video and you want to bridge it to an outbound B leg >>>>>>>>> which also offers video)? >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko < >>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>> >>>>>>>>> http://pastebin.com/e4AXe3xC >>>>>>>>> >>>>>>>>> But i suppose this helped. >>>>>>>>> Also codecs mached >>>>>>>>> >>>>>>>>> Am i will be right if i say that 1.6 supports VP8? >>>>>>>>> I just asking because not found any mod_vpx or something like >>>>>>>>> thais at the mod dir. >>>>>>>>> >>>>>>>>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>>>>>>>> >>>>>>>>>> There are a bunch of params that can impact SDP negotiation. I >>>>>>>>>> think it would be most helpful if you could pastebin the sip profile >>>>>>>>>> settings and then an actual trace of a call >>>>>>>>>> >>>>>>>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko < >>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>> Yep. that in it. >>>>>>>>>> >>>>>>>>>> freeswitch/vars.xml >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> freeswitch/sip_profiles/external.xml >>>>>>>>>> >>>>>>>>>> >>>>>>>>> /> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> I making call as >>>>>>>>>> >>>>>>>>>> session:execute("bridge","sofia/external/"..session:getVaria >>>>>>>>>> ble("destination_number").."@my.sip.pro.xy") >>>>>>>>>> >>>>>>>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic < >>>>>>>>>> mirkobrankovic at gmail.com>: >>>>>>>>>> >>>>>>>>>>> make sure you have video codecs enabled in vars.conf for >>>>>>>>>>> outbound codec list >>>>>>>>>>> >>>>>>>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi. Googled documenttion about it >>>>>>>>>>>> where i can turn it on? >>>>>>>>>>>> For now icoming INVITE goes with Video but then FS omakes >>>>>>>>>>>> outgoing call without Video Paert at the SDP. >>>>>>>>>>>> >>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>> _____________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>> switch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Regards, >>>>>>>>>>> Mirko >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/59b4af2a/attachment-0001.html From ovoshlook at gmail.com Tue Sep 13 18:54:47 2016 From: ovoshlook at gmail.com (Yuriy Gorlichenko) Date: Tue, 13 Sep 2016 17:54:47 +0300 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> Message-ID: Gr8. Thks for answers guys. Very responsible community. 2016-09-13 17:34 GMT+03:00 Mirko Brankovic : > YEah, i don't think you will have problems with this > > On Tue, Sep 13, 2016 at 4:28 PM, Yuriy Gorlichenko > wrote: > >> yep. this hepled >> For now all staff going thorugh >> I just afraid about how it will wolr with another mods like queue and >> conference. But as i understand >> if i execute leg B through >> session:execute("bridge","sofia/external/"..session:getVaria >> ble("destination_number").."@my.sip.pro.xy") >> It just builds new leg and it will be work same for queue and conference >> and etc,am i right? >> >> 2016-09-13 17:05 GMT+03:00 Mirko Brankovic : >> >>> hmm so enable-soa = false helped ? >>> >>> Sorry I missed maybe some mail in process :) >>> >>> On Tue, Sep 13, 2016 at 3:54 PM, Yuriy Gorlichenko >>> wrote: >>> >>>> Yes. Call gointg through correctly >>>> >>>> 2016-09-13 16:31 GMT+03:00 Mirko Brankovic : >>>> >>>>> In pastebin negotiation looks good. >>>>> >>>>> So video is working now? >>>>> >>>>> On Sep 13, 2016 15:24, "Yuriy Gorlichenko" >>>>> wrote: >>>>> >>>>>> As i said before for now that is ok after i pased >>>>>> >>>>>> >>>>>> For now i have only one question: >>>>>> Is it will be working after i will handle Leg A, or I will need to >>>>>> configure somewhere else at the profile? >>>>>> >>>>>> 2016-09-13 16:10 GMT+03:00 Dave Horton : >>>>>> >>>>>>> I?m confused because that pastebin shows the freeswitch properly >>>>>>> setting up the call with OPUS for audio and VP8 for video. Yet your >>>>>>> initial problem description said there was no video on the B leg. >>>>>>> >>>>>>> >>>>>>> On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko >>>>>>> wrote: >>>>>>> >>>>>>> Sip trace: >>>>>>> >>>>>>> For your understanding - im using kamailio as registrar there. FS as >>>>>>> media and Services server >>>>>>> so call goes: >>>>>>> >>>>>>> WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch >>>>>>> |__________________Leg A__________________________________| >>>>>>> >>>>>>> >>>>>>> FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B >>>>>>> |__________________Leg B__________________________________| >>>>>>> >>>>>>> >>>>>>> http://pastebin.com/swBDJnYG >>>>>>> >>>>>>> >>>>>>> 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : >>>>>>> >>>>>>>> I will make sip trace little bit later (in 2-3 hours from now). >>>>>>>> And yes. >>>>>>>> For now it is a simple proxy call from one A to B without any >>>>>>>> changes. >>>>>>>> And the SDP all ok. B leg has >>>>>>>> a=video >>>>>>>> and its staff >>>>>>>> >>>>>>>> At the next step i need to generate B leg by myself from freeswitch >>>>>>>> after some handling leg A. So i suppose that settings for now not enought >>>>>>>> for this scenario. am i right? >>>>>>>> >>>>>>>> >>>>>>>> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic >>>>>>> >: >>>>>>>> >>>>>>>>> I'm expecting to see b side without video capabilities. >>>>>>>>> So do the sofia global sip trace on and see the invite leaving fs >>>>>>>>> box. Check if sdp has both audio and video m flags, and what was in 200ok >>>>>>>>> sdp back from b side. >>>>>>>>> >>>>>>>>> On Sep 12, 2016 20:28, "Dave Horton" >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Thanks, and a SIP trace showing the call, and the failed >>>>>>>>>> negotiation for video? >>>>>>>>>> >>>>>>>>>> To be clear, is this a simple bridging scenario (you have an >>>>>>>>>> inbound call offering video and you want to bridge it to an outbound B leg >>>>>>>>>> which also offers video)? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko < >>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>> http://pastebin.com/e4AXe3xC >>>>>>>>>> >>>>>>>>>> But i suppose this helped. >>>>>>>>>> Also codecs mached >>>>>>>>>> >>>>>>>>>> Am i will be right if i say that 1.6 supports VP8? >>>>>>>>>> I just asking because not found any mod_vpx or something like >>>>>>>>>> thais at the mod dir. >>>>>>>>>> >>>>>>>>>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>>>>>>>>> >>>>>>>>>>> There are a bunch of params that can impact SDP negotiation. I >>>>>>>>>>> think it would be most helpful if you could pastebin the sip profile >>>>>>>>>>> settings and then an actual trace of a call >>>>>>>>>>> >>>>>>>>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko < >>>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>> Yep. that in it. >>>>>>>>>>> >>>>>>>>>>> freeswitch/vars.xml >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> freeswitch/sip_profiles/external.xml >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> /> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> I making call as >>>>>>>>>>> >>>>>>>>>>> session:execute("bridge","sofia/external/"..session:getVaria >>>>>>>>>>> ble("destination_number").."@my.sip.pro.xy") >>>>>>>>>>> >>>>>>>>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic < >>>>>>>>>>> mirkobrankovic at gmail.com>: >>>>>>>>>>> >>>>>>>>>>>> make sure you have video codecs enabled in vars.conf for >>>>>>>>>>>> outbound codec list >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi. Googled documenttion about it >>>>>>>>>>>>> where i can turn it on? >>>>>>>>>>>>> For now icoming INVITE goes with Video but then FS omakes >>>>>>>>>>>>> outgoing call without Video Paert at the SDP. >>>>>>>>>>>>> >>>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>>> _____________ >>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>>> switch-users >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Regards, >>>>>>>>>>>> Mirko >>>>>>>>>>>> >>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>> _____________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>> switch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>> switch-users >>>>>>>>> http://www.freeswitch.org >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Regards, >>> Mirko >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/100e0fb8/attachment-0001.html From mirkobrankovic at gmail.com Tue Sep 13 19:11:14 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 13 Sep 2016 17:11:14 +0200 Subject: [Freeswitch-users] Enable Video for external calls In-Reply-To: References: <34A079F7-755C-4DE3-B119-4027A91573A3@beachdognet.com> <68AF5DD6-EC07-4835-98FC-4A1F336701A0@beachdognet.com> Message-ID: cheers :D On Tue, Sep 13, 2016 at 4:54 PM, Yuriy Gorlichenko wrote: > Gr8. Thks for answers guys. > Very responsible community. > > 2016-09-13 17:34 GMT+03:00 Mirko Brankovic : > >> YEah, i don't think you will have problems with this >> >> On Tue, Sep 13, 2016 at 4:28 PM, Yuriy Gorlichenko >> wrote: >> >>> yep. this hepled >>> For now all staff going thorugh >>> I just afraid about how it will wolr with another mods like queue and >>> conference. But as i understand >>> if i execute leg B through >>> session:execute("bridge","sofia/external/"..session:getVaria >>> ble("destination_number").."@my.sip.pro.xy") >>> It just builds new leg and it will be work same for queue and conference >>> and etc,am i right? >>> >>> 2016-09-13 17:05 GMT+03:00 Mirko Brankovic : >>> >>>> hmm so enable-soa = false helped ? >>>> >>>> Sorry I missed maybe some mail in process :) >>>> >>>> On Tue, Sep 13, 2016 at 3:54 PM, Yuriy Gorlichenko >>> > wrote: >>>> >>>>> Yes. Call gointg through correctly >>>>> >>>>> 2016-09-13 16:31 GMT+03:00 Mirko Brankovic : >>>>> >>>>>> In pastebin negotiation looks good. >>>>>> >>>>>> So video is working now? >>>>>> >>>>>> On Sep 13, 2016 15:24, "Yuriy Gorlichenko" >>>>>> wrote: >>>>>> >>>>>>> As i said before for now that is ok after i pased >>>>>>> >>>>>>> >>>>>>> For now i have only one question: >>>>>>> Is it will be working after i will handle Leg A, or I will need to >>>>>>> configure somewhere else at the profile? >>>>>>> >>>>>>> 2016-09-13 16:10 GMT+03:00 Dave Horton : >>>>>>> >>>>>>>> I?m confused because that pastebin shows the freeswitch properly >>>>>>>> setting up the call with OPUS for audio and VP8 for video. Yet your >>>>>>>> initial problem description said there was no video on the B leg. >>>>>>>> >>>>>>>> >>>>>>>> On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko >>>>>>>> wrote: >>>>>>>> >>>>>>>> Sip trace: >>>>>>>> >>>>>>>> For your understanding - im using kamailio as registrar there. FS >>>>>>>> as media and Services server >>>>>>>> so call goes: >>>>>>>> >>>>>>>> WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch >>>>>>>> |__________________Leg A__________________________________| >>>>>>>> >>>>>>>> >>>>>>>> FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B >>>>>>>> |__________________Leg B__________________________________| >>>>>>>> >>>>>>>> >>>>>>>> http://pastebin.com/swBDJnYG >>>>>>>> >>>>>>>> >>>>>>>> 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko : >>>>>>>> >>>>>>>>> I will make sip trace little bit later (in 2-3 hours from now). >>>>>>>>> And yes. >>>>>>>>> For now it is a simple proxy call from one A to B without any >>>>>>>>> changes. >>>>>>>>> And the SDP all ok. B leg has >>>>>>>>> a=video >>>>>>>>> and its staff >>>>>>>>> >>>>>>>>> At the next step i need to generate B leg by myself from >>>>>>>>> freeswitch after some handling leg A. So i suppose that settings for now >>>>>>>>> not enought for this scenario. am i right? >>>>>>>>> >>>>>>>>> >>>>>>>>> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic < >>>>>>>>> mirkobrankovic at gmail.com>: >>>>>>>>> >>>>>>>>>> I'm expecting to see b side without video capabilities. >>>>>>>>>> So do the sofia global sip trace on and see the invite leaving fs >>>>>>>>>> box. Check if sdp has both audio and video m flags, and what was in 200ok >>>>>>>>>> sdp back from b side. >>>>>>>>>> >>>>>>>>>> On Sep 12, 2016 20:28, "Dave Horton" >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Thanks, and a SIP trace showing the call, and the failed >>>>>>>>>>> negotiation for video? >>>>>>>>>>> >>>>>>>>>>> To be clear, is this a simple bridging scenario (you have an >>>>>>>>>>> inbound call offering video and you want to bridge it to an outbound B leg >>>>>>>>>>> which also offers video)? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko < >>>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>> http://pastebin.com/e4AXe3xC >>>>>>>>>>> >>>>>>>>>>> But i suppose this helped. >>>>>>>>>>> Also codecs mached >>>>>>>>>>> >>>>>>>>>>> Am i will be right if i say that 1.6 supports VP8? >>>>>>>>>>> I just asking because not found any mod_vpx or something like >>>>>>>>>>> thais at the mod dir. >>>>>>>>>>> >>>>>>>>>>> 2016-09-12 17:35 GMT+03:00 Dave Horton : >>>>>>>>>>> >>>>>>>>>>>> There are a bunch of params that can impact SDP negotiation. I >>>>>>>>>>>> think it would be most helpful if you could pastebin the sip profile >>>>>>>>>>>> settings and then an actual trace of a call >>>>>>>>>>>> >>>>>>>>>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko < >>>>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>> Yep. that in it. >>>>>>>>>>>> >>>>>>>>>>>> freeswitch/vars.xml >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> freeswitch/sip_profiles/external.xml >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> /> >>>>>>>>>>>> >>>>>>>>>>> value="$${outbound_codec_prefs}"/> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> I making call as >>>>>>>>>>>> >>>>>>>>>>>> session:execute("bridge","sofia/external/"..session:getVaria >>>>>>>>>>>> ble("destination_number").."@my.sip.pro.xy") >>>>>>>>>>>> >>>>>>>>>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic < >>>>>>>>>>>> mirkobrankovic at gmail.com>: >>>>>>>>>>>> >>>>>>>>>>>>> make sure you have video codecs enabled in vars.conf for >>>>>>>>>>>>> outbound codec list >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko < >>>>>>>>>>>>> ovoshlook at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi. Googled documenttion about it >>>>>>>>>>>>>> where i can turn it on? >>>>>>>>>>>>>> For now icoming INVITE goes with Video but then FS omakes >>>>>>>>>>>>>> outgoing call without Video Paert at the SDP. >>>>>>>>>>>>>> >>>>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>>>> _____________ >>>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>>>> switch-users >>>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> Mirko >>>>>>>>>>>>> >>>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>>> _____________ >>>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>>> switch-users >>>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>> _____________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>> switch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>>> _____________ >>>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>>> switch-users >>>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> ____________________________________________________________ >>>>>>>>>>> _____________ >>>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>>> switch-users >>>>>>>>>>> http://www.freeswitch.org >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ____________________________________________________________ >>>>>>>>>> _____________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>>>> switch-users >>>>>>>>>> http://www.freeswitch.org >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Mirko >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/705c1448/attachment-0001.html From abaci64 at gmail.com Tue Sep 13 19:12:01 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 13 Sep 2016 11:12:01 -0400 Subject: [Freeswitch-users] Variables in a user directory config will not a channel variable In-Reply-To: <2d1f283a796548ccb4161f38f9c43d4a@c4b.de> References: <2d1f283a796548ccb4161f38f9c43d4a@c4b.de> Message-ID: is it specific to this variable or is it any variable you set in the directory? are you sure it uses the auth of freeswitch or is there a proxy betwwen the user and freeswitch that handles the auth? you can try the info application or uuid_dump to see if there is anything obvious On Tue, Sep 13, 2016 at 5:38 AM, Alexander Haugg wrote: > No, you don?t understand the problem. > > The variable ?effective_caller_id_number? is set in the user directory > config (see the xml), but if I try to write the value of the variable out > to the CLI (in the dial plan via ??), I can see, > the variable is empty. > > > > Here again the description part from the freeswitch wiki: > > https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory# > XMLUserDirectory-Variables > > ?Any variables defined in the domain or user will be defined as channel > variables when there is a call to user or when there is an inbound calls > from that user.? > > > > > > *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Don > Hawkins > *Gesendet:* Montag, 12. September 2016 15:19 > *An:* FreeSWITCH Users Help > *Betreff:* Re: [Freeswitch-users] Variables in a user directory config > will not a channel variable > > > > You need to use "set" > > > > > > > > On Mon, Sep 12, 2016 at 3:46 AM, Alexander Haugg > wrote: > > Hi, > > > > I?m set the valiable ?effective_caller_id_numer? in the user config file. > The user is working fine, but the variables are not set to the channel > variables. > > > > > > > > > > > > > > > > > > > > > > > > The user 170 is calling another user. In the dialplan, I?m trying this > > > > > > The documentation for the user directory says > > https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory# > XMLUserDirectory-Variables > > > > ?Any variables defined in the domain or user will be defined as channel > variables when there is a call to user or when there is an inbound calls > from that user.? > > > > Needs the freeswitch the mod_directory for this? I think not. > > What do I wrong? > > > > Thanks a lot! > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > > P: 469-214-5044 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/be2663e4/attachment.html From brian at freeswitch.org Tue Sep 13 19:22:05 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 13 Sep 2016 10:22:05 -0500 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> Message-ID: mod_opal doesn't support video in FreeSWITCH last I knew. On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler wrote: > Hello everyone, > > > > i?ve found some amazaing articles about FS and so i thought i can give it > a try. > > So I followed instructions in confluenca and got a simple running fs > server with mod_verto which is capable of some basic webrtc. Really nice. > > > > Now I want to join this room (which is the basic 3500 room with the > default video-mcu-profile) with some external h323 device. So I compiled > ptlib and opalvoip and finally mod_opal and created a h323 listener. > > When I call the ip + room number with an external device (polycom, sony) > via h323 I get voice only connections, log says the following: > > > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263-2000 at 90000 (pt=121) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263-1998 at 90000 (pt=115) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > VP8 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > VP9 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263 at 90000 (pt=34) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > LPC at 8000 (pt=7) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > PROXY-VID at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H261 at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H264 at 90000 (pt=97) to an OPAL media format. > > > > So I thought I should have a look about the compiled codecs. I activated > mod_opal and mod_h26x in modules.conf but no succes. Log always says: > > > > 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal > Answer:12170,0000000000001} H323 SetLocalCapabilities: > GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw- > 64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf > > > > I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? > in dialplan/default.xml but I think I am missing something. > > Could anyone point me in the right direction where I can ?enable? h263++ > or h264 video capabilitys for an external h323 device / call via mod_opal? > > System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. > > > > Best regards, > > Juergen > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/358635a8/attachment-0001.html From anthony.minessale at gmail.com Tue Sep 13 20:11:18 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 13 Sep 2016 11:11:18 -0500 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: That looks normal to me. FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. If you chart goes past 2 to 2.5 gigs, you may have a problem then. you can run valgrind but you can only run 1 call at a time testing typical callflow. valgrind --tool=memcheck --log-file=vg.log --leak-check=full --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg Also when those months are over, hopefully you update cos you can keep running the same FS for many months anyway ;) On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov wrote: > I has configured FreeSwitch process memory usage graph. > According this graph durring 24 days size of used memory ingrezed about > two times. > [image: FS-memory-chart.png] > Pastebin of FreeSwitch process memory map is placed at > https://pastebin.freeswitch.org/view/9e66572a > Are you have any suggestion how to find memory leak. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/b79c0d4f/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/b79c0d4f/attachment-0001.png From kamil.nigmatullin at gmail.com Tue Sep 13 20:19:33 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Tue, 13 Sep 2016 22:19:33 +0600 Subject: [Freeswitch-users] Strange behviour with DTMF Message-ID: I want to implement a little feature, when client in on a queue of mod_callcenter, and is able to press *1 if he want to leave a message. Generally it works, but DTMF sometimes (3 of 5) times are not seen (as if it is missng) and pressing *1 together is a success on a third or forurth try. When I use other applications like ivr DTMF works prefectly. Is this a bug? -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/db8ee03a/attachment.html From flokrrr at gmail.com Tue Sep 13 20:41:40 2016 From: flokrrr at gmail.com (Florent Krieg) Date: Tue, 13 Sep 2016 18:41:40 +0200 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: Hello, We experience the same behaviour here. UP 0 years, 47 days, 19 hours, 27 minutes, 31 seconds, 208 milliseconds, 341 microseconds 2172632 session(s) since startup cat /proc/11818/status shows: VmPeak: 6829064 kB VmSize: 6778648 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 442120 kB VmRSS: 428764 kB VmData: 6561024 kB VmStk: 136 kB VmExe: 24 kB VmLib: 29644 kB VmPTE: 1828 kB VmSwap: 0 kB Threads: 507 And free says: total used free shared buffers cached Mem: 15G 15G 181M 188M 170M 14G -/+ buffers/cache: 1.2G 14G Swap: 15G 28M 15G Dunno if it helps, but we don't appear to meet any issue with calls (no crash or nothing, on other servers we have it has been running for months or even years with full memory if I'm not mistaken). Regards Florent 2016-09-13 18:11 GMT+02:00 Anthony Minessale : > That looks normal to me. > FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. > If you chart goes past 2 to 2.5 gigs, you may have a problem then. > > you can run valgrind but you can only run 1 call at a time testing typical > callflow. > > valgrind --tool=memcheck --log-file=vg.log --leak-check=full > --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg > > > Also when those months are over, hopefully you update cos you can keep > running the same FS for many months anyway ;) > > > > > On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov > wrote: > >> I has configured FreeSwitch process memory usage graph. >> According this graph durring 24 days size of used memory ingrezed about >> two times. >> [image: FS-memory-chart.png] >> Pastebin of FreeSwitch process memory map is placed at >> https://pastebin.freeswitch.org/view/9e66572a >> Are you have any suggestion how to find memory leak. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/608dcc35/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/608dcc35/attachment-0001.png From anthony.minessale at gmail.com Tue Sep 13 21:03:45 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 13 Sep 2016 12:03:45 -0500 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: Your prize for 47 days uptime is probably a new version! That is the best way to check for memory leaks, update whenever you can. On Tue, Sep 13, 2016 at 11:41 AM, Florent Krieg wrote: > Hello, > > We experience the same behaviour here. > > UP 0 years, 47 days, 19 hours, 27 minutes, 31 seconds, 208 milliseconds, > 341 microseconds > 2172632 session(s) since startup > > cat /proc/11818/status shows: > VmPeak: 6829064 kB > VmSize: 6778648 kB > VmLck: 0 kB > VmPin: 0 kB > VmHWM: 442120 kB > VmRSS: 428764 kB > VmData: 6561024 kB > VmStk: 136 kB > VmExe: 24 kB > VmLib: 29644 kB > VmPTE: 1828 kB > VmSwap: 0 kB > Threads: 507 > > And free says: > total used free shared buffers cached > Mem: 15G 15G 181M 188M 170M 14G > -/+ buffers/cache: 1.2G 14G > Swap: 15G 28M 15G > > > Dunno if it helps, but we don't appear to meet any issue with calls (no > crash or nothing, on other servers we have it has been running for months > or even years with full memory if I'm not mistaken). > > > Regards > Florent > > 2016-09-13 18:11 GMT+02:00 Anthony Minessale > : > >> That looks normal to me. >> FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. >> If you chart goes past 2 to 2.5 gigs, you may have a problem then. >> >> you can run valgrind but you can only run 1 call at a time testing >> typical callflow. >> >> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >> --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg >> >> >> Also when those months are over, hopefully you update cos you can keep >> running the same FS for many months anyway ;) >> >> >> >> >> On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov >> wrote: >> >>> I has configured FreeSwitch process memory usage graph. >>> According this graph durring 24 days size of used memory ingrezed about >>> two times. >>> [image: FS-memory-chart.png] >>> Pastebin of FreeSwitch process memory map is placed at >>> https://pastebin.freeswitch.org/view/9e66572a >>> Are you have any suggestion how to find memory leak. >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/d97e0c2b/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/d97e0c2b/attachment-0001.png From david.villasmil.work at gmail.com Tue Sep 13 22:07:58 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Sep 2016 18:07:58 +0000 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: I don't have the data with me now, but i have servers that wave been running fs for literally months, last time i checked it had processed like 700k+ calls On Tue, Sep 13, 2016 at 7:04 PM Anthony Minessale < anthony.minessale at gmail.com> wrote: > Your prize for 47 days uptime is probably a new version! > That is the best way to check for memory leaks, update whenever you can. > > > > On Tue, Sep 13, 2016 at 11:41 AM, Florent Krieg wrote: > >> Hello, >> >> We experience the same behaviour here. >> >> UP 0 years, 47 days, 19 hours, 27 minutes, 31 seconds, 208 milliseconds, >> 341 microseconds >> 2172632 session(s) since startup >> >> cat /proc/11818/status shows: >> VmPeak: 6829064 kB >> VmSize: 6778648 kB >> VmLck: 0 kB >> VmPin: 0 kB >> VmHWM: 442120 kB >> VmRSS: 428764 kB >> VmData: 6561024 kB >> VmStk: 136 kB >> VmExe: 24 kB >> VmLib: 29644 kB >> VmPTE: 1828 kB >> VmSwap: 0 kB >> Threads: 507 >> >> And free says: >> total used free shared buffers cached >> Mem: 15G 15G 181M 188M 170M 14G >> -/+ buffers/cache: 1.2G 14G >> Swap: 15G 28M 15G >> >> >> Dunno if it helps, but we don't appear to meet any issue with calls (no >> crash or nothing, on other servers we have it has been running for months >> or even years with full memory if I'm not mistaken). >> >> >> Regards >> Florent >> >> 2016-09-13 18:11 GMT+02:00 Anthony Minessale > >: >> >>> That looks normal to me. >>> FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. >>> If you chart goes past 2 to 2.5 gigs, you may have a problem then. >>> >>> you can run valgrind but you can only run 1 call at a time testing >>> typical callflow. >>> >>> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >>> --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg >>> >>> >>> Also when those months are over, hopefully you update cos you can keep >>> running the same FS for many months anyway ;) >>> >>> >>> >>> >>> On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov >>> wrote: >>> >>>> I has configured FreeSwitch process memory usage graph. >>>> According this graph durring 24 days size of used memory ingrezed about >>>> two times. >>>> [image: FS-memory-chart.png] >>>> Pastebin of FreeSwitch process memory map is placed at >>>> https://pastebin.freeswitch.org/view/9e66572a >>>> Are you have any suggestion how to find memory leak. >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/540e03e0/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/540e03e0/attachment-0001.png From colin.morelli at gmail.com Tue Sep 13 22:55:19 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Tue, 13 Sep 2016 18:55:19 +0000 Subject: [Freeswitch-users] Redirect to another FS Instance Message-ID: Hey all, I tried searching through mailing list archives for this and it seems like I was able to find some related questions but they were either unanswered or different enough that it felt worth asking again. I have a distributed FS setup, and I'm trying to allow for transferring calls between two FS instances. For example, a call comes in to FS1, gets answered, goes through a few dial plan applications and then needs to be bridged into an active call (or conference) on FS2. I'm looking to figure out the best way to redirect that call to FS2 such that FS1 is neither in the signaling nor media path after the redirect. In this case, I have Kamailio in front of FS. Is uuid_simplify the answer here? Or is there another best practice for this? Thanks in advance. Best, Colin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/b2c971ca/attachment.html From manpower13.cse at gmail.com Wed Sep 14 00:18:34 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Wed, 14 Sep 2016 01:48:34 +0530 Subject: [Freeswitch-users] FS shared Presence Message-ID: HI, I am using two FS machine back of my Kamailio ,user 1000 register with fs1 and 1001 register with fs2,when i make call from 1000(FS1) to 1001(FS2) i am always getting extension 1001 not available. And i can see this psql error in my freeswitch console 2016-09-13 16:05:32.858987 [ERR] switch_pgsql.c:656 Error executing query: ERROR: column "accountcode" of relation "channels" does not exist LINE 1: ...',presence_id='1000 at x.x.x.x',presence_data='',accountcod... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/de68b05e/attachment.html From max at nysolutions.com Wed Sep 14 00:28:42 2016 From: max at nysolutions.com (Moishe Grunstein) Date: Tue, 13 Sep 2016 20:28:42 +0000 Subject: [Freeswitch-users] FS shared Presence In-Reply-To: References: Message-ID: <3a77bae80482442caa5c0453c4512e7b@nysolutions.com> I don?t think that error is related to your problem, that error is stating your db is missing a column you should add the accountcode column to the channels table and that error will disappear. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support at nysolutions.com [cid:image001.jpg at 01C72F94.9EE45D60] Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Murugan Pandian Sent: Tuesday, September 13, 2016 4:19 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] FS shared Presence HI, I am using two FS machine back of my Kamailio ,user 1000 register with fs1 and 1001 register with fs2,when i make call from 1000(FS1) to 1001(FS2) i am always getting extension 1001 not available. And i can see this psql error in my freeswitch console 2016-09-13 16:05:32.858987 [ERR] switch_pgsql.c:656 Error executing query: ERROR: column "accountcode" of relation "channels" does not exist LINE 1: ...',presence_id='1000 at x.x.x.x',presence_data='',accountcod... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/f51988ee/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: image001.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/f51988ee/attachment.jpg From manpower13.cse at gmail.com Wed Sep 14 00:32:45 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Wed, 14 Sep 2016 02:02:45 +0530 Subject: [Freeswitch-users] FS shared Presence In-Reply-To: <3a77bae80482442caa5c0453c4512e7b@nysolutions.com> References: <3a77bae80482442caa5c0453c4512e7b@nysolutions.com> Message-ID: Thanks for your quick response ,Still i am getting same issue can able to make call between 1000(fs1) and 1001(fs2) On Wed, Sep 14, 2016 at 1:58 AM, Moishe Grunstein wrote: > I don?t think that error is related to your problem, that error is stating > your db is missing a column you should add the accountcode column to the > channels table and that error will disappear. > > > > Thanks, > > > > Moishe Grunstein > > Tornado Computer Systems, Inc. > > 212.400.7650 888.IPPBX.US > *Service Request Email: support at nysolutions.com * > > [image: cid:image001.jpg at 01C72F94.9EE45D60] > > Computer Networking * Managed Services * IP Video Surveillance * Network > Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network > Security * Site Surveys * CMS > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Murugan > Pandian > *Sent:* Tuesday, September 13, 2016 4:19 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] FS shared Presence > > > > HI, > > > > I am using two FS machine back of my Kamailio ,user 1000 register with > fs1 and 1001 register with fs2,when i make call from 1000(FS1) to 1001(FS2) > i am always getting extension 1001 not available. > > > > And i can see this psql error in my freeswitch console > > > > 2016-09-13 16:05:32.858987 [ERR] switch_pgsql.c:656 Error executing query: > > ERROR: column "accountcode" of relation "channels" does not exist > > LINE 1: ...',presence_id='1000 at x.x.x.x',presence_data='',accountcod... > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/c63b7f27/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/c63b7f27/attachment-0001.jpg From manpower13.cse at gmail.com Wed Sep 14 00:33:23 2016 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Wed, 14 Sep 2016 02:03:23 +0530 Subject: [Freeswitch-users] FS shared Presence In-Reply-To: References: <3a77bae80482442caa5c0453c4512e7b@nysolutions.com> Message-ID: Thanks for your quick response ,Still i am getting same issue can't able to make call between 1000(fs1) and 1001(fs2) On Wed, Sep 14, 2016 at 2:02 AM, Murugan Pandian wrote: > Thanks for your quick response ,Still i am getting same issue can able to > make call between 1000(fs1) and 1001(fs2) > > On Wed, Sep 14, 2016 at 1:58 AM, Moishe Grunstein > wrote: > >> I don?t think that error is related to your problem, that error is >> stating your db is missing a column you should add the accountcode >> column to the channels table and that error will disappear. >> >> >> >> Thanks, >> >> >> >> Moishe Grunstein >> >> Tornado Computer Systems, Inc. >> >> 212.400.7650 888.IPPBX.US >> *Service Request Email: support at nysolutions.com >> * >> >> [image: cid:image001.jpg at 01C72F94.9EE45D60] >> >> Computer Networking * Managed Services * IP Video Surveillance * Network >> Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network >> Security * Site Surveys * CMS >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Murugan >> Pandian >> *Sent:* Tuesday, September 13, 2016 4:19 PM >> *To:* FreeSWITCH Users Help >> *Subject:* [Freeswitch-users] FS shared Presence >> >> >> >> HI, >> >> >> >> I am using two FS machine back of my Kamailio ,user 1000 register with >> fs1 and 1001 register with fs2,when i make call from 1000(FS1) to 1001(FS2) >> i am always getting extension 1001 not available. >> >> >> >> And i can see this psql error in my freeswitch console >> >> >> >> 2016-09-13 16:05:32.858987 [ERR] switch_pgsql.c:656 Error executing query: >> >> ERROR: column "accountcode" of relation "channels" does not exist >> >> LINE 1: ...',presence_id='1000 at x.x.x.x',presence_data='',accountcod... >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/47db0666/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/47db0666/attachment.jpg From abaci64 at gmail.com Wed Sep 14 01:16:15 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 13 Sep 2016 17:16:15 -0400 Subject: [Freeswitch-users] Redirect to another FS Instance In-Reply-To: References: Message-ID: just do a sip redirect On Tue, Sep 13, 2016 at 2:55 PM, Colin Morelli wrote: > Hey all, > > I tried searching through mailing list archives for this and it seems like > I was able to find some related questions but they were either unanswered > or different enough that it felt worth asking again. > > I have a distributed FS setup, and I'm trying to allow for transferring > calls between two FS instances. For example, a call comes in to FS1, gets > answered, goes through a few dial plan applications and then needs to be > bridged into an active call (or conference) on FS2. > > I'm looking to figure out the best way to redirect that call to FS2 such > that FS1 is neither in the signaling nor media path after the redirect. In > this case, I have Kamailio in front of FS. > > Is uuid_simplify the answer here? Or is there another best practice for > this? > > Thanks in advance. > > Best, > Colin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/b094b824/attachment.html From abaci64 at gmail.com Wed Sep 14 01:18:49 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 13 Sep 2016 17:18:49 -0400 Subject: [Freeswitch-users] Redirect to another FS Instance In-Reply-To: References: Message-ID: for calls that haven't been answered yet: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+redirect for calls already answered: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+deflect On Tue, Sep 13, 2016 at 5:16 PM, Abaci B wrote: > just do a sip redirect > > On Tue, Sep 13, 2016 at 2:55 PM, Colin Morelli > wrote: > >> Hey all, >> >> I tried searching through mailing list archives for this and it seems >> like I was able to find some related questions but they were either >> unanswered or different enough that it felt worth asking again. >> >> I have a distributed FS setup, and I'm trying to allow for transferring >> calls between two FS instances. For example, a call comes in to FS1, gets >> answered, goes through a few dial plan applications and then needs to be >> bridged into an active call (or conference) on FS2. >> >> I'm looking to figure out the best way to redirect that call to FS2 such >> that FS1 is neither in the signaling nor media path after the redirect. In >> this case, I have Kamailio in front of FS. >> >> Is uuid_simplify the answer here? Or is there another best practice for >> this? >> >> Thanks in advance. >> >> Best, >> Colin >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/24925134/attachment-0001.html From abaci64 at gmail.com Wed Sep 14 02:40:58 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 13 Sep 2016 18:40:58 -0400 Subject: [Freeswitch-users] FS shared Presence In-Reply-To: References: <3a77bae80482442caa5c0453c4512e7b@nysolutions.com> Message-ID: does your dialplan on FS1 have the logic to connect to the extension on FS2 ? you don't provide much details about your setup so it's hard to say what to do, are the phones registering to Kamailio or is Kamailio proxying the REGISTER to the FS servers? if the phones register with FreeSWITCH do the 2 servers use a shared database for the registration? On Tue, Sep 13, 2016 at 4:33 PM, Murugan Pandian wrote: > Thanks for your quick response ,Still i am getting same issue can't able > to make call between 1000(fs1) and 1001(fs2) > > On Wed, Sep 14, 2016 at 2:02 AM, Murugan Pandian > wrote: > >> Thanks for your quick response ,Still i am getting same issue can able to >> make call between 1000(fs1) and 1001(fs2) >> >> On Wed, Sep 14, 2016 at 1:58 AM, Moishe Grunstein >> wrote: >> >>> I don?t think that error is related to your problem, that error is >>> stating your db is missing a column you should add the accountcode >>> column to the channels table and that error will disappear. >>> >>> >>> >>> Thanks, >>> >>> >>> >>> Moishe Grunstein >>> >>> Tornado Computer Systems, Inc. >>> >>> 212.400.7650 888.IPPBX.US >>> *Service Request Email: support at nysolutions.com >>> * >>> >>> [image: cid:image001.jpg at 01C72F94.9EE45D60] >>> >>> >>> Computer Networking * Managed Services * IP Video Surveillance * Network >>> Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network >>> Security * Site Surveys * CMS >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Murugan >>> Pandian >>> *Sent:* Tuesday, September 13, 2016 4:19 PM >>> *To:* FreeSWITCH Users Help >>> *Subject:* [Freeswitch-users] FS shared Presence >>> >>> >>> >>> HI, >>> >>> >>> >>> I am using two FS machine back of my Kamailio ,user 1000 register >>> with fs1 and 1001 register with fs2,when i make call from 1000(FS1) to >>> 1001(FS2) i am always getting extension 1001 not available. >>> >>> >>> >>> And i can see this psql error in my freeswitch console >>> >>> >>> >>> 2016-09-13 16:05:32.858987 [ERR] switch_pgsql.c:656 Error executing >>> query: >>> >>> ERROR: column "accountcode" of relation "channels" does not exist >>> >>> LINE 1: ...',presence_id='1000 at x.x.x.x',presence_data='',accountcod... >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/91091903/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 2424 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/91091903/attachment.jpg From abaci64 at gmail.com Wed Sep 14 02:42:02 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 13 Sep 2016 18:42:02 -0400 Subject: [Freeswitch-users] Strange behviour with DTMF In-Reply-To: References: Message-ID: Check the logs when it doesn't work On Tue, Sep 13, 2016 at 12:19 PM, Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: > I want to implement a little feature, when client in on a queue of > mod_callcenter, and is able to press *1 if he want to leave a message. > > > > > > Generally it works, but DTMF sometimes (3 of 5) times are not seen (as if > it is missng) and pressing *1 together is a success on a third or forurth > try. When I use other applications like ivr DTMF works prefectly. > > Is this a bug? > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/2fab3ed4/attachment.html From abaci64 at gmail.com Wed Sep 14 02:57:26 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 13 Sep 2016 18:57:26 -0400 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> Message-ID: david, that would just be stuck in playback and not even attempt the bridge. Dmitry, you may try https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+bridge#mod_dptools:bridge-CallCamping another way that might work is to combine the 2 bridge attempts into a single bridge and use leg_delay_start to add the 5 second delay to the second attempt. or combine the 2 bridge attempts into a single bridge and use add a loopback endpoint between the the 2 attempts that only does a sleep of 5 seconds On Tue, Sep 13, 2016 at 10:25 AM, David Villasmil < david.villasmil.work at gmail.com> wrote: > Hello, > > I got that. I think it might work :) > Let him try it :) > > Something like: > > > > > > > > > > > > > > David > > On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins > wrote: > >> He wants the second attempt to bride to be transparent and hold music to >> pay during the sleep time. Had to read it a few times, unfortunately can't >> help. >> >> Sincerely, >> Don Hawkins >> >> Sent from my NationPCS? Nexus 6. >> >> On Sep 13, 2016 9:18 AM, "David Villasmil" > m> wrote: >> >>> Hello, >>> >>> Not sure i understood you goal, but I receive the INVITE, and start >>> sending moh until the call is answered, like this: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> You could do something similar. >>> >>> Regards, >>> >>> Dacud >>> >>> >>> >>> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin >>> wrote: >>> >>>> Hello, >>>> >>>> I can't figure out how to configure hold music to play from begin >>>> extension till customer answer. >>>> The problems is: >>>> - Hold music play while bridge calling to customer only and silence >>>> while sleep 5 sec before second try >>>> - Hold music begin play .wav from start each time when bridge switch >>>> to next route. >>>> >>>> Any ideas how to configure hold music whole call session and, start >>>> playing after ANSWER (1 step) and stop play when customer answer(3 step) or >>>> bridge fail (4 step)? >>>> >>>> My config: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> /> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Thank All! >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/4b5d7c58/attachment-0001.html From d.mordovin at dwide.com Wed Sep 14 03:17:47 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Wed, 14 Sep 2016 03:17:47 +0400 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> Message-ID: <57D8891B.8000107@dwide.com> Hi, Thank you David, your config sample help me! DM On 09/13/2016 06:25 PM, David Villasmil wrote: > Hello, > > I got that. I think it might work :) > Let him try it :) > > Something like: > > > > > > data="[leg_timeout=5]user/1001@${domain_name}"/> > > data="[leg_timeout=5]user/1002@${domain_name}"/> > data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> > > > > > David > > On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins > > wrote: > > He wants the second attempt to bride to be transparent and hold > music to pay during the sleep time. Had to read it a few times, > unfortunately can't help. > > Sincerely, > Don Hawkins > > Sent from my NationPCS? Nexus 6. > > > On Sep 13, 2016 9:18 AM, "David Villasmil" > > wrote: > > Hello, > > Not sure i understood you goal, but I receive the INVITE, and > start sending moh until the call is answered, like this: > > > > > > data="user/${dialed_extension}@${domain_name}"/> > > > > > You could do something similar. > > Regards, > > Dacud > > > > On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin > > wrote: > > Hello, > > I can't figure out how to configure hold music to play > from begin extension till customer answer. > The problems is: > - Hold music play while bridge calling to customer only > and silence while sleep 5 sec before second try > - Hold music begin play .wav from start each time when > bridge switch to next route. > > Any ideas how to configure hold music whole call session > and, start playing after ANSWER (1 step) and stop play > when customer answer(3 step) or bridge fail (4 step)? > > My config: > > > expression="^12345$"> > > > > > data="continue_on_fail=true"/> > > data="/opt/freeswitch-share/fs_sounds/ring_welcome.wav"/> > > > data="ignore_early_media=true" /> > data="instant_ringback=true" /> > data="hold_music=/opt/freeswitch-share/moh/0/2_8.wav" /> > data="transfer_ringback=file_string:///opt/freeswitch-share/moh/0/2_8.wav"/> > data="ringback=/opt/freeswitch-share/moh/0/2_8.wav"/> > > > data="hangup_after_bridge=true"/> > > data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> > > > data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> > > > data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> > > > > > Thank All! > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/e9b04432/attachment-0001.html From colin.morelli at gmail.com Wed Sep 14 03:22:47 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Tue, 13 Sep 2016 23:22:47 +0000 Subject: [Freeswitch-users] Transfer in a Conference Message-ID: Hey again, >From looking through the source (and some light experimenting), it looks like blind transfers don't work unless the call is bridged. This means they don't work in a conference. That makes sense (the behavior would be undefined). However, I have a case in which I want this behavior, and am looking to see if anyone has done anything similar. Say two people join a call together, then a third gets added. When the third is added, all participants are moved into a conference. Now, #3 drops off, and it's just 1 and 2 again. It doesn't seem like there's any straight forward way of allowing 1/2 to initiate blind transfers, is that right? Has anyone else encountered this issue? Should I just be dynamically pulling people out of and adding them back into conferences in this case? Ideally, there'd be a way to specify conference transfer behavior such that when in a conference, blind transfers can still work so long as there are exactly two people in that conference. Would this be a welcome addition? Best, Colin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/93a36e29/attachment.html From colin.morelli at gmail.com Wed Sep 14 03:34:10 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Tue, 13 Sep 2016 23:34:10 +0000 Subject: [Freeswitch-users] Transfer in a Conference In-Reply-To: References: Message-ID: Also, probably helps to clarify: Ideally I don't want to drop people in and out of conferences. I am currently (among other things) using the conference as a method to record the entire call (for as long as there are at least two people talking). My ideal behavior would be that, if a conference flag is set, a transfer results in the same behavior that would happen in a bridge. In other words, all sessions are kicked out and do a dialplan hunt. Best, Colin On Tue, Sep 13, 2016 at 7:22 PM Colin Morelli wrote: > Hey again, > > From looking through the source (and some light experimenting), it looks > like blind transfers don't work unless the call is bridged. This means they > don't work in a conference. That makes sense (the behavior would be > undefined). > > However, I have a case in which I want this behavior, and am looking to > see if anyone has done anything similar. Say two people join a call > together, then a third gets added. When the third is added, all > participants are moved into a conference. Now, #3 drops off, and it's just > 1 and 2 again. > > It doesn't seem like there's any straight forward way of allowing 1/2 to > initiate blind transfers, is that right? Has anyone else encountered this > issue? Should I just be dynamically pulling people out of and adding them > back into conferences in this case? > > Ideally, there'd be a way to specify conference transfer behavior such > that when in a conference, blind transfers can still work so long as there > are exactly two people in that conference. Would this be a welcome addition? > > Best, > Colin > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/1ecd971c/attachment.html From abaci64 at gmail.com Wed Sep 14 03:44:23 2016 From: abaci64 at gmail.com (Abaci B) Date: Tue, 13 Sep 2016 19:44:23 -0400 Subject: [Freeswitch-users] Transfer in a Conference In-Reply-To: References: Message-ID: not sure your exact use case but in the scenario you described maybe the three_way application can be used for #3 to join instead of conference? On Tue, Sep 13, 2016 at 7:22 PM, Colin Morelli wrote: > Hey again, > > From looking through the source (and some light experimenting), it looks > like blind transfers don't work unless the call is bridged. This means they > don't work in a conference. That makes sense (the behavior would be > undefined). > > However, I have a case in which I want this behavior, and am looking to > see if anyone has done anything similar. Say two people join a call > together, then a third gets added. When the third is added, all > participants are moved into a conference. Now, #3 drops off, and it's just > 1 and 2 again. > > It doesn't seem like there's any straight forward way of allowing 1/2 to > initiate blind transfers, is that right? Has anyone else encountered this > issue? Should I just be dynamically pulling people out of and adding them > back into conferences in this case? > > Ideally, there'd be a way to specify conference transfer behavior such > that when in a conference, blind transfers can still work so long as there > are exactly two people in that conference. Would this be a welcome addition? > > Best, > Colin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/0eb004a1/attachment.html From colin.morelli at gmail.com Wed Sep 14 03:50:55 2016 From: colin.morelli at gmail.com (Colin Morelli) Date: Tue, 13 Sep 2016 23:50:55 +0000 Subject: [Freeswitch-users] Transfer in a Conference In-Reply-To: References: Message-ID: Thanks for the reply. 3 was just the example. In practice it could be 4, 5, or 10. Though even if it were 3, I'm fairly sure I couldn't get the recording that I want. Without a conference I have to record sessions, but I want the recording to continue for as long as there conference is active, regardless of who's still in it (if 1 initiates the call and leaves, the recording should continue until 2 and 3 leave). To be clear, I only actually care to support transfer when there are 2 people in the conference. Effectively it would be treating a 2 person conference as if it were a bridge. Best, Colin On Tue, Sep 13, 2016 at 7:46 PM Abaci B wrote: > not sure your exact use case but in the scenario you described maybe the > three_way > > application can be used for #3 to join instead of conference? > > On Tue, Sep 13, 2016 at 7:22 PM, Colin Morelli > wrote: > >> Hey again, >> >> From looking through the source (and some light experimenting), it looks >> like blind transfers don't work unless the call is bridged. This means they >> don't work in a conference. That makes sense (the behavior would be >> undefined). >> >> However, I have a case in which I want this behavior, and am looking to >> see if anyone has done anything similar. Say two people join a call >> together, then a third gets added. When the third is added, all >> participants are moved into a conference. Now, #3 drops off, and it's just >> 1 and 2 again. >> >> It doesn't seem like there's any straight forward way of allowing 1/2 to >> initiate blind transfers, is that right? Has anyone else encountered this >> issue? Should I just be dynamically pulling people out of and adding them >> back into conferences in this case? >> >> Ideally, there'd be a way to specify conference transfer behavior such >> that when in a conference, blind transfers can still work so long as there >> are exactly two people in that conference. Would this be a welcome addition? >> >> Best, >> Colin >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/fa793863/attachment-0001.html From william at williamcollsassoc.ca Wed Sep 14 05:58:16 2016 From: william at williamcollsassoc.ca (William Colls) Date: Tue, 13 Sep 2016 21:58:16 -0400 Subject: [Freeswitch-users] Best Practice - * Codes on some IP Phones Message-ID: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> I am working with a Grandstream HT704 ATA device which has number special functions built in eg Do Not Disturb, Suppress Outgoing Caller ID Number, Enable/Disable Call waiting, - more than 20 in all. Unfortunately, one of the codes is *98 which pays back the extension number. In order for *98 to work for e-mail, I must disable all the call features. So my question- Is it generally considered best practice to disable the functionality on all phones, and provide it through the dial plan so that the codes will be consistent for all phones in the system, or let the phones provide the features, even if they may vary from phone to phone? Thanks for your time. William. From cfd-fs at fohn.org Wed Sep 14 06:54:45 2016 From: cfd-fs at fohn.org (Charlie DeTar) Date: Tue, 13 Sep 2016 20:54:45 -0600 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp Message-ID: <1473821685.2586017.725022385.08624C2A@webmail.messagingengine.com> Hi, I'm trying to broadcast a WebRTC video conference (via mod_conference and mod_verto) over an rtmp stream, with the ultimate goal of transcoding the rtmp stream for broadcast as an HTML5 video stream (likely using something like https://github.com/arut/nginx-rtmp-module for HSL and MPEG-DASH broadcasts). I expect I have the same sort of requirements of freeswitch that one would need for broadcasting rtmp to youtube, which the docs mention glancingly without detail [0]. :) The video conferencing is working great -- but I'm struggling to figure out how to access the RTMP stream for it. My rtmp.conf.xml is basically the default (but with `auth-calls` set to `false`). My dialplan is as follows: I'm able to connect to freeswitch using RTMP clients (I've tried rtmpdump, mplayer, and vlc). In fs_cli, I see debug info (example copied below [1]) that seems to indicate successful connections. However, the RTMP client never receives any data from the server and disconnects after around 30 seconds. I'm trying to connect via URLs like: rtmp://:/plenary-conferencename rtmp://:/plenary-conferencename at plenary-conference-profile rtmp://:/default/plenary-conferencename and so on, and all exhibit the same behavior. It doesn't seem to matter what path I put -- freeswitch accepts the connection, sends no data, then disconnects after a while. This leads me to suspect I might just be getting the path name wrong. My questions, if anyone has experience with this: What is the correct path for the rtmp URL to connect to a video conference -- is it just the $destination_number, or something else? Are there any obvious steps I'm missing to set up rtmp feeds, or any suggestions for how to do smarter debugging of this? Does anyone have an example project that successfully broadcasts RTMP from a video conference to e.g. youtube? Is there a better or more convenient approach to broadcasting a video stream from a conference that you prefer to rtmp? The full freeswitch config I'm using is here: https://gitlab.com/cdetar/plenary-server/tree/master/ansible/roles/plenary/templates/freeswitch , if that's helpful. (Those are templates for an ansible config, so they contain variables that get interpolated in using {{var}} syntax). best, Charlie [0] Glancing reference to youtube+rtmp: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#FreeSWITCH1.6Video-What%27snew [1] fs_cli debug info while attempting to connect via RTMP: 2016-09-13 23:37:40.551744 [NOTICE] mod_rtmp.c:903 New RTMP session [1513874f-9084-470c-a2de-7e5f92bb2296] 2016-09-13 23:37:40.551744 [INFO] rtmp_tcp.c:234 Rtmp connection from 98.127.250.255:44131 2016-09-13 23:37:40.551744 [DEBUG] rtmp.c:882 Sent handshake response 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:907 Done with handshake 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=204 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for connect 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 stream_id=0x0] len=4 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 stream_id=0x0] len=5 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=201 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=61 2016-09-13 23:37:40.711748 [NOTICE] rtmp_sig.c:122 Sent connect reply 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x5 ts=0 stream_id=0x0] len=4 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1184 Set window size: from 2097152 to 2097152 bytes 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x4 ts=0 stream_id=0x0] len=10 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 00 00 00 01 2c 2016-09-13 23:37:40.851748 [INFO] rtmp.c:118 stream=0 Client buffer set to 300ms 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for createStream 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=29 2016-09-13 23:37:40.851748 [INFO] rtmp_sig.c:137 Replied to createStream (0) 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=8 type=0x14 ts=0 stream_id=0x1] len=82 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:192 [amfnumber=8] Got INVOKE for play 2016-09-13 23:37:40.991748 [DEBUG] rtmp_sig.c:198 Got play for plenary-test-pattern-alpha at plenary-conference-profile on stream 1 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=10 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=135 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=135 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 stream_id=0x1] len=44 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 stream_id=0x1] len=24 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x4 ts=0 stream_id=0x0] len=10 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 01 02 25 51 00 2016-09-13 23:37:40.991748 [INFO] rtmp.c:118 stream=1 Client buffer set to 36000000ms 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=34 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for deleteStream 2016-09-13 23:37:43.951733 [NOTICE] rtmp.c:918 Disconnected from flash client 2016-09-13 23:37:43.951733 [DEBUG] rtmp_tcp.c:243 Closing socket 2016-09-13 23:37:44.691705 [NOTICE] mod_rtmp.c:1025 RTMP session ended [1513874f-9084-470c-a2de-7e5f92bb2296] From david.villasmil.work at gmail.com Tue Sep 13 22:12:34 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 13 Sep 2016 18:12:34 +0000 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: These are just a couple of them: Note the sessions and uptime On Tue, Sep 13, 2016 at 8:07 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > I don't have the data with me now, but i have servers that wave been > running fs for literally months, last time i checked it had processed like > 700k+ calls > > On Tue, Sep 13, 2016 at 7:04 PM Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Your prize for 47 days uptime is probably a new version! >> That is the best way to check for memory leaks, update whenever you can. >> >> >> >> On Tue, Sep 13, 2016 at 11:41 AM, Florent Krieg >> wrote: >> >>> Hello, >>> >>> We experience the same behaviour here. >>> >>> UP 0 years, 47 days, 19 hours, 27 minutes, 31 seconds, 208 milliseconds, >>> 341 microseconds >>> 2172632 session(s) since startup >>> >>> cat /proc/11818/status shows: >>> VmPeak: 6829064 kB >>> VmSize: 6778648 kB >>> VmLck: 0 kB >>> VmPin: 0 kB >>> VmHWM: 442120 kB >>> VmRSS: 428764 kB >>> VmData: 6561024 kB >>> VmStk: 136 kB >>> VmExe: 24 kB >>> VmLib: 29644 kB >>> VmPTE: 1828 kB >>> VmSwap: 0 kB >>> Threads: 507 >>> >>> And free says: >>> total used free shared buffers cached >>> Mem: 15G 15G 181M 188M 170M 14G >>> -/+ buffers/cache: 1.2G 14G >>> Swap: 15G 28M 15G >>> >>> >>> Dunno if it helps, but we don't appear to meet any issue with calls (no >>> crash or nothing, on other servers we have it has been running for months >>> or even years with full memory if I'm not mistaken). >>> >>> >>> Regards >>> Florent >>> >>> 2016-09-13 18:11 GMT+02:00 Anthony Minessale < >>> anthony.minessale at gmail.com>: >>> >>>> That looks normal to me. >>>> FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. >>>> If you chart goes past 2 to 2.5 gigs, you may have a problem then. >>>> >>>> you can run valgrind but you can only run 1 call at a time testing >>>> typical callflow. >>>> >>>> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >>>> --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg >>>> >>>> >>>> Also when those months are over, hopefully you update cos you can keep >>>> running the same FS for many months anyway ;) >>>> >>>> >>>> >>>> >>>> On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov >>>> wrote: >>>> >>>>> I has configured FreeSwitch process memory usage graph. >>>>> According this graph durring 24 days size of used memory ingrezed >>>>> about two times. >>>>> [image: FS-memory-chart.png] >>>>> Pastebin of FreeSwitch process memory map is placed at >>>>> https://pastebin.freeswitch.org/view/9e66572a >>>>> Are you have any suggestion how to find memory leak. >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/d7a4021c/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: IMG_9202.PNG Type: image/png Size: 101979 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/d7a4021c/attachment-0003.png -------------- next part -------------- A non-text attachment was scrubbed... Name: IMG_9200.PNG Type: image/png Size: 120538 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/d7a4021c/attachment-0004.png -------------- next part -------------- A non-text attachment was scrubbed... Name: FS-memory-chart.png Type: image/png Size: 29510 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/d7a4021c/attachment-0005.png From kamil.nigmatullin at gmail.com Wed Sep 14 08:56:09 2016 From: kamil.nigmatullin at gmail.com (Kamil Nigmatullin) Date: Wed, 14 Sep 2016 10:56:09 +0600 Subject: [Freeswitch-users] Strange behviour with DTMF In-Reply-To: References: Message-ID: Log shows each time when I press the button. 2016-09-14 4:42 GMT+06:00 Abaci B : > Check the logs when it doesn't work > > On Tue, Sep 13, 2016 at 12:19 PM, Kamil Nigmatullin < > kamil.nigmatullin at gmail.com> wrote: > >> I want to implement a little feature, when client in on a queue of >> mod_callcenter, and is able to press *1 if he want to leave a message. >> >> >> >> >> >> Generally it works, but DTMF sometimes (3 of 5) times are not seen (as if >> it is missng) and pressing *1 together is a success on a third or forurth >> try. When I use other applications like ivr DTMF works prefectly. >> >> Is this a bug? >> >> >> -- >> Kamil Nigmatullin >> Tel: 77272323748 >> mob: 7 (707) 2517003 >> Skype: kamil.nigmatullin >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Kamil Nigmatullin Tel: 77272323748 mob: 7 (707) 2517003 Skype: kamil.nigmatullin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/61ebb2ae/attachment.html From jw at vision-gmbh.de Wed Sep 14 10:12:49 2016 From: jw at vision-gmbh.de (=?utf-8?B?SsO8cmdlbiBXZW5kbGVy?=) Date: Wed, 14 Sep 2016 06:12:49 +0000 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> Message-ID: <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> Well, i thought since Version 1.6 freeswitch is capable of Video support. So there is no chance to get video with h323 listener, mod_opal or mod_h323 ? Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Brian West Gesendet: Dienstag, 13. September 2016 17:22 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] Enable H264 Video mod_opal doesn't support video in FreeSWITCH last I knew. On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler > wrote: Hello everyone, i?ve found some amazaing articles about FS and so i thought i can give it a try. So I followed instructions in confluenca and got a simple running fs server with mod_verto which is capable of some basic webrtc. Really nice. Now I want to join this room (which is the basic 3500 room with the default video-mcu-profile) with some external h323 device. So I compiled ptlib and opalvoip and finally mod_opal and created a h323 listener. When I call the ip + room number with an external device (polycom, sony) via h323 I get voice only connections, log says the following: 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-2000 at 90000 (pt=121) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-1998 at 90000 (pt=115) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP8 at 90000 (pt=99) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP9 at 90000 (pt=99) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263 at 90000 (pt=34) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec LPC at 8000 (pt=7) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec PROXY-VID at 90000 (pt=31) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H261 at 90000 (pt=31) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H264 at 90000 (pt=97) to an OPAL media format. So I thought I should have a look about the compiled codecs. I activated mod_opal and mod_h26x in modules.conf but no succes. Log always says: 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal Answer:12170,0000000000001} H323 SetLocalCapabilities: GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? in dialplan/default.xml but I think I am missing something. Could anyone point me in the right direction where I can ?enable? h263++ or h264 video capabilitys for an external h323 device / call via mod_opal? System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. Best regards, Juergen _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Brian West brian at freeswitch.org [Das Bild wurde vom Absender entfernt.] Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/c428e80e/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD172.jpg Type: image/jpeg Size: 823 bytes Desc: ~WRD172.jpg Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/c428e80e/attachment-0001.jpg From gregor at infomedia.si Wed Sep 14 11:31:22 2016 From: gregor at infomedia.si (Gregor Nanger) Date: Wed, 14 Sep 2016 09:31:22 +0200 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: <57D8891B.8000107@dwide.com> References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> <57D8891B.8000107@dwide.com> Message-ID: Just post info for others. As I see David use preanswer and your config answer. Is this solution?? 2016-09-14 1:17 GMT+02:00 Dmitry Mordovin : > Hi, > > Thank you David, your config sample help me! > > DM > > > On 09/13/2016 06:25 PM, David Villasmil wrote: > > Hello, > > I got that. I think it might work :) > Let him try it :) > > Something like: > > > > > > > > > > > > > > David > > On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins > wrote: > >> He wants the second attempt to bride to be transparent and hold music to >> pay during the sleep time. Had to read it a few times, unfortunately can't >> help. >> >> Sincerely, >> Don Hawkins >> >> Sent from my NationPCS? Nexus 6. >> >> On Sep 13, 2016 9:18 AM, "David Villasmil" > m> wrote: >> >>> Hello, >>> >>> Not sure i understood you goal, but I receive the INVITE, and start >>> sending moh until the call is answered, like this: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> You could do something similar. >>> >>> Regards, >>> >>> Dacud >>> >>> >>> >>> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin >>> wrote: >>> >>>> Hello, >>>> >>>> I can't figure out how to configure hold music to play from begin >>>> extension till customer answer. >>>> The problems is: >>>> - Hold music play while bridge calling to customer only and silence >>>> while sleep 5 sec before second try >>>> - Hold music begin play .wav from start each time when bridge switch >>>> to next route. >>>> >>>> Any ideas how to configure hold music whole call session and, start >>>> playing after ANSWER (1 step) and stop play when customer answer(3 step) or >>>> bridge fail (4 step)? >>>> >>>> My config: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> /> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Thank All! >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Gregor Nanger *CTO* t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia ? www.infomedia.si -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/ed0cbc8b/attachment-0001.html From david.villasmil.work at gmail.com Wed Sep 14 11:38:58 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 14 Sep 2016 07:38:58 +0000 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> <57D8891B.8000107@dwide.com> Message-ID: Hello, Pre-answer doesn't answer the call, just sends a 183 so the remote party can hear whatever audio is coming from the caller side. On Wed, Sep 14, 2016 at 9:32 AM Gregor Nanger wrote: > Just post info for others. As I see David use preanswer and your config > answer. Is this solution?? > > 2016-09-14 1:17 GMT+02:00 Dmitry Mordovin : > >> Hi, >> >> Thank you David, your config sample help me! >> >> DM >> >> >> On 09/13/2016 06:25 PM, David Villasmil wrote: >> >> Hello, >> >> I got that. I think it might work :) >> Let him try it :) >> >> Something like: >> >> >> >> >> >> >> >> >> > data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> >> >> >> >> >> David >> >> On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins >> wrote: >> >>> He wants the second attempt to bride to be transparent and hold music to >>> pay during the sleep time. Had to read it a few times, unfortunately can't >>> help. >>> >>> Sincerely, >>> Don Hawkins >>> >>> Sent from my NationPCS? Nexus 6. >>> >>> On Sep 13, 2016 9:18 AM, "David Villasmil" < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> Not sure i understood you goal, but I receive the INVITE, and start >>>> sending moh until the call is answered, like this: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> You could do something similar. >>>> >>>> Regards, >>>> >>>> Dacud >>>> >>>> >>>> >>>> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> I can't figure out how to configure hold music to play from begin >>>>> extension till customer answer. >>>>> The problems is: >>>>> - Hold music play while bridge calling to customer only and silence >>>>> while sleep 5 sec before second try >>>>> - Hold music begin play .wav from start each time when bridge switch >>>>> to next route. >>>>> >>>>> Any ideas how to configure hold music whole call session and, start >>>>> playing after ANSWER (1 step) and stop play when customer answer(3 step) or >>>>> bridge fail (4 step)? >>>>> >>>>> My config: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> data="/opt/freeswitch-share/fs_sounds/ring_welcome.wav"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> data="hold_music=/opt/freeswitch-share/moh/0/2_8.wav" /> >>>>> >>>> data="transfer_ringback=file_string:///opt/freeswitch-share/moh/0/2_8.wav"/> >>>>> >>>> data="ringback=/opt/freeswitch-share/moh/0/2_8.wav"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1 >>>>> |[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> >>>>> >>>>> >>>>> >>>> data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1 >>>>> |[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> >>>>> >>>>> >>>>> >>>> data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> >>>>> >>>>> >>>>> >>>>> >>>>> Thank All! >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/c991565d/attachment-0001.html From Alexander.Haugg at c4b.de Wed Sep 14 14:05:28 2016 From: Alexander.Haugg at c4b.de (Alexander Haugg) Date: Wed, 14 Sep 2016 10:05:28 +0000 Subject: [Freeswitch-users] Variables in a user directory config will not a channel variable In-Reply-To: References: <2d1f283a796548ccb4161f38f9c43d4a@c4b.de> Message-ID: Hi, it is any variable that I set in the directory. No, there is no proxy, the connection between client an freeswitch is directly. The uuid_dump command say the same, the variables from the user directory config will not set to the channel, for inbound and outbound the same. Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Abaci B Gesendet: Dienstag, 13. September 2016 17:12 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] Variables in a user directory config will not a channel variable is it specific to this variable or is it any variable you set in the directory? are you sure it uses the auth of freeswitch or is there a proxy betwwen the user and freeswitch that handles the auth? you can try the info application or uuid_dump to see if there is anything obvious On Tue, Sep 13, 2016 at 5:38 AM, Alexander Haugg > wrote: No, you don?t understand the problem. The variable ?effective_caller_id_number? is set in the user directory config (see the xml), but if I try to write the value of the variable out to the CLI (in the dial plan via ??), I can see, the variable is empty. Here again the description part from the freeswitch wiki: https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-Variables ?Any variables defined in the domain or user will be defined as channel variables when there is a call to user or when there is an inbound calls from that user.? Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Don Hawkins Gesendet: Montag, 12. September 2016 15:19 An: FreeSWITCH Users Help > Betreff: Re: [Freeswitch-users] Variables in a user directory config will not a channel variable You need to use "set" On Mon, Sep 12, 2016 at 3:46 AM, Alexander Haugg > wrote: Hi, I?m set the valiable ?effective_caller_id_numer? in the user config file. The user is working fine, but the variables are not set to the channel variables. The user 170 is calling another user. In the dialplan, I?m trying this The documentation for the user directory says https://freeswitch.org/confluence/display/FREESWITCH/XML+User+Directory#XMLUserDirectory-Variables ?Any variables defined in the domain or user will be defined as channel variables when there is a call to user or when there is an inbound calls from that user.? Needs the freeswitch the mod_directory for this? I think not. What do I wrong? Thanks a lot! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT: push2don P: 469-214-5044 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/955d901e/attachment-0001.html From lexxua at gmail.com Wed Sep 14 14:25:57 2016 From: lexxua at gmail.com (Volodymyr Fedorov) Date: Wed, 14 Sep 2016 12:25:57 +0200 Subject: [Freeswitch-users] Gateway subscribe for BLF Message-ID: Hi, in wiki exist example how to subscribe, if Freeswitch acting as a client: https://wiki.freeswitch.org/wiki/Presence But may somebody share an example how to subscribe as a client for device state via gateway. Basically how to change TO - header for acting Freeswitch as client. Thank you. -- Best regards, Volodymyr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/098ccc55/attachment.html From d.mordovin at dwide.com Wed Sep 14 14:27:00 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Wed, 14 Sep 2016 14:27:00 +0400 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> <57D8891B.8000107@dwide.com> Message-ID: <57D925F4.9000807@dwide.com> I start use MOH instead play file, this solve part of problem. sleep replace with playback & timeout Not good solution, but works, enough. I thinking, possible to make one leg to extension with MOH and in conference, call to customer. When customer answer, disconnect MOH leg from conference. On 09/14/2016 11:31 AM, Gregor Nanger wrote: > Just post info for others. As I see David use preanswer and your > config answer. Is this solution?? > > 2016-09-14 1:17 GMT+02:00 Dmitry Mordovin >: > > Hi, > > Thank you David, your config sample help me! > > DM > > > On 09/13/2016 06:25 PM, David Villasmil wrote: >> Hello, >> >> I got that. I think it might work :) >> Let him try it :) >> >> Something like: >> >> >> >> >> >> > data="[leg_timeout=5]user/1001@${domain_name}"/> >> >> > data="[leg_timeout=5]user/1002@${domain_name}"/> >> > data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> >> >> >> >> >> David >> >> On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins >> > wrote: >> >> He wants the second attempt to bride to be transparent and >> hold music to pay during the sleep time. Had to read it a few >> times, unfortunately can't help. >> >> Sincerely, >> Don Hawkins >> >> Sent from my NationPCS? Nexus 6. >> >> >> On Sep 13, 2016 9:18 AM, "David Villasmil" >> > > wrote: >> >> Hello, >> >> Not sure i understood you goal, but I receive the INVITE, >> and start sending moh until the call is answered, like this: >> >> >> > expression="^(9.*)$"> >> >> >> > data="user/${dialed_extension}@${domain_name}"/> >> >> >> >> >> You could do something similar. >> >> Regards, >> >> Dacud >> >> >> >> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin >> > wrote: >> >> Hello, >> >> I can't figure out how to configure hold music to >> play from begin extension till customer answer. >> The problems is: >> - Hold music play while bridge calling to customer >> only and silence while sleep 5 sec before second try >> - Hold music begin play .wav from start each time >> when bridge switch to next route. >> >> Any ideas how to configure hold music whole call >> session and, start playing after ANSWER (1 step) and >> stop play when customer answer(3 step) or bridge fail >> (4 step)? >> >> My config: >> >> >> > expression="^12345$"> >> >> >> >> >> > data="continue_on_fail=true"/> >> >> > data="/opt/freeswitch-share/fs_sounds/ring_welcome.wav"/> >> >> >> >> > data="ignore_early_media=true" /> >> > data="instant_ringback=true" /> >> > data="hold_music=/opt/freeswitch-share/moh/0/2_8.wav" /> >> > data="transfer_ringback=file_string:///opt/freeswitch-share/moh/0/2_8.wav"/> >> > data="ringback=/opt/freeswitch-share/moh/0/2_8.wav"/> >> >> >> > data="hangup_after_bridge=true"/> >> >> > data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> >> >> >> > data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> >> >> >> > data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> >> >> >> >> >> Thank All! >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > -- > Gregor Nanger > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/f4c10389/attachment-0001.html From david.villasmil.work at gmail.com Wed Sep 14 14:29:47 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 14 Sep 2016 12:29:47 +0200 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: <57D925F4.9000807@dwide.com> References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> <57D8891B.8000107@dwide.com> <57D925F4.9000807@dwide.com> Message-ID: Can you show your dialplan? On Wed, Sep 14, 2016 at 12:27 PM, Dmitry Mordovin wrote: > I start use MOH instead play file, this solve part of problem. > > sleep replace with playback & timeout > > Not good solution, but works, enough. > > I thinking, possible to make one leg to extension with MOH and in > conference, call to customer. > When customer answer, disconnect MOH leg from conference. > > > > On 09/14/2016 11:31 AM, Gregor Nanger wrote: > > Just post info for others. As I see David use preanswer and your config > answer. Is this solution?? > > 2016-09-14 1:17 GMT+02:00 Dmitry Mordovin : > >> Hi, >> >> Thank you David, your config sample help me! >> >> DM >> >> >> On 09/13/2016 06:25 PM, David Villasmil wrote: >> >> Hello, >> >> I got that. I think it might work :) >> Let him try it :) >> >> Something like: >> >> >> >> >> >> >> >> >> >> >> >> >> >> David >> >> On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins >> wrote: >> >>> He wants the second attempt to bride to be transparent and hold music to >>> pay during the sleep time. Had to read it a few times, unfortunately can't >>> help. >>> >>> Sincerely, >>> Don Hawkins >>> >>> Sent from my NationPCS? Nexus 6. >>> >>> On Sep 13, 2016 9:18 AM, "David Villasmil" < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> Not sure i understood you goal, but I receive the INVITE, and start >>>> sending moh until the call is answered, like this: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> You could do something similar. >>>> >>>> Regards, >>>> >>>> Dacud >>>> >>>> >>>> >>>> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> I can't figure out how to configure hold music to play from begin >>>>> extension till customer answer. >>>>> The problems is: >>>>> - Hold music play while bridge calling to customer only and silence >>>>> while sleep 5 sec before second try >>>>> - Hold music begin play .wav from start each time when bridge switch >>>>> to next route. >>>>> >>>>> Any ideas how to configure hold music whole call session and, start >>>>> playing after ANSWER (1 step) and stop play when customer answer(3 step) or >>>>> bridge fail (4 step)? >>>>> >>>>> My config: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> /> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Thank All! >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Gregor Nanger > > *CTO* > t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 > ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia > ? www.infomedia.si > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/59790dd3/attachment-0001.html From d.mordovin at dwide.com Wed Sep 14 14:40:31 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Wed, 14 Sep 2016 14:40:31 +0400 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> <57D8891B.8000107@dwide.com> <57D925F4.9000807@dwide.com> Message-ID: <57D9291F.3010201@dwide.com> Yes, DM On 09/14/2016 02:29 PM, David Villasmil wrote: > Can you show your dialplan? > > On Wed, Sep 14, 2016 at 12:27 PM, Dmitry Mordovin > > wrote: > > I start use MOH instead play file, this solve part of problem. > > sleep replace with playback & timeout > > Not good solution, but works, enough. > > I thinking, possible to make one leg to extension with MOH and in > conference, call to customer. > When customer answer, disconnect MOH leg from conference. > > > > On 09/14/2016 11:31 AM, Gregor Nanger wrote: >> Just post info for others. As I see David use preanswer and your >> config answer. Is this solution?? >> >> 2016-09-14 1:17 GMT+02:00 Dmitry Mordovin > >: >> >> Hi, >> >> Thank you David, your config sample help me! >> >> DM >> >> >> On 09/13/2016 06:25 PM, David Villasmil wrote: >>> Hello, >>> >>> I got that. I think it might work :) >>> Let him try it :) >>> >>> Something like: >>> >>> >>> >>> >>> >>> >> data="[leg_timeout=5]user/1001@${domain_name}"/> >>> >>> >> data="[leg_timeout=5]user/1002@${domain_name}"/> >>> >> data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> >>> >>> >>> >>> >>> David >>> >>> On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins >>> >> > wrote: >>> >>> He wants the second attempt to bride to be transparent >>> and hold music to pay during the sleep time. Had to read >>> it a few times, unfortunately can't help. >>> >>> Sincerely, >>> Don Hawkins >>> >>> Sent from my NationPCS? Nexus 6. >>> >>> >>> On Sep 13, 2016 9:18 AM, "David Villasmil" >>> >> > wrote: >>> >>> Hello, >>> >>> Not sure i understood you goal, but I receive the >>> INVITE, and start sending moh until the call is >>> answered, like this: >>> >>> >>> >> expression="^(9.*)$"> >>> >>> >> data="local_stream://moh"/> >>> >> data="user/${dialed_extension}@${domain_name}"/> >>> >>> >>> >>> >>> You could do something similar. >>> >>> Regards, >>> >>> Dacud >>> >>> >>> >>> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin >>> > >>> wrote: >>> >>> Hello, >>> >>> I can't figure out how to configure hold music >>> to play from begin extension till customer answer. >>> The problems is: >>> - Hold music play while bridge calling to >>> customer only and silence while sleep 5 sec >>> before second try >>> - Hold music begin play .wav from start each >>> time when bridge switch to next route. >>> >>> Any ideas how to configure hold music whole call >>> session and, start playing after ANSWER (1 step) >>> and stop play when customer answer(3 step) or >>> bridge fail (4 step)? >>> >>> My config: >>> >>> >>> >> expression="^12345$"> >>> >>> >>> >>> >>> >> data="continue_on_fail=true"/> >>> >>> >> data="/opt/freeswitch-share/fs_sounds/ring_welcome.wav"/> >>> >>> >>> >>> >> data="ignore_early_media=true" /> >>> >> data="instant_ringback=true" /> >>> >> data="hold_music=/opt/freeswitch-share/moh/0/2_8.wav" >>> /> >>> >> data="transfer_ringback=file_string:///opt/freeswitch-share/moh/0/2_8.wav"/> >>> >> data="ringback=/opt/freeswitch-share/moh/0/2_8.wav"/> >>> >>> >>> >>> >> data="hangup_after_bridge=true"/> >>> >>> >> data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> >>> >>> >>> >> data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> >>> >>> >>> >> data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> >>> >>> >>> >>> >>> Thank All! >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> >> >> >> -- >> Gregor Nanger >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/245d450b/attachment-0001.html From david.villasmil.work at gmail.com Wed Sep 14 14:42:21 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 14 Sep 2016 12:42:21 +0200 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: <57D9291F.3010201@dwide.com> References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> <57D8891B.8000107@dwide.com> <57D925F4.9000807@dwide.com> <57D9291F.3010201@dwide.com> Message-ID: I don't see why answering the call, but if you like it that way, good! Happy to help. On Wed, Sep 14, 2016 at 12:40 PM, Dmitry Mordovin wrote: > Yes, > > > > > > > > > > > > > > > /> > > > > > > > > > > > > > > > > > > DM > > > On 09/14/2016 02:29 PM, David Villasmil wrote: > > Can you show your dialplan? > > On Wed, Sep 14, 2016 at 12:27 PM, Dmitry Mordovin > wrote: > >> I start use MOH instead play file, this solve part of problem. >> >> sleep replace with playback & timeout >> >> Not good solution, but works, enough. >> >> I thinking, possible to make one leg to extension with MOH and in >> conference, call to customer. >> When customer answer, disconnect MOH leg from conference. >> >> >> >> On 09/14/2016 11:31 AM, Gregor Nanger wrote: >> >> Just post info for others. As I see David use preanswer and your config >> answer. Is this solution?? >> >> 2016-09-14 1:17 GMT+02:00 Dmitry Mordovin : >> >>> Hi, >>> >>> Thank you David, your config sample help me! >>> >>> DM >>> >>> >>> On 09/13/2016 06:25 PM, David Villasmil wrote: >>> >>> Hello, >>> >>> I got that. I think it might work :) >>> Let him try it :) >>> >>> Something like: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> David >>> >>> On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins >>> wrote: >>> >>>> He wants the second attempt to bride to be transparent and hold music >>>> to pay during the sleep time. Had to read it a few times, unfortunately >>>> can't help. >>>> >>>> Sincerely, >>>> Don Hawkins >>>> >>>> Sent from my NationPCS? Nexus 6. >>>> >>>> On Sep 13, 2016 9:18 AM, "David Villasmil" < >>>> david.villasmil.work at gmail.com> wrote: >>>> >>>>> Hello, >>>>> >>>>> Not sure i understood you goal, but I receive the INVITE, and start >>>>> sending moh until the call is answered, like this: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> You could do something similar. >>>>> >>>>> Regards, >>>>> >>>>> Dacud >>>>> >>>>> >>>>> >>>>> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin >>>> > wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I can't figure out how to configure hold music to play from begin >>>>>> extension till customer answer. >>>>>> The problems is: >>>>>> - Hold music play while bridge calling to customer only and silence >>>>>> while sleep 5 sec before second try >>>>>> - Hold music begin play .wav from start each time when bridge switch >>>>>> to next route. >>>>>> >>>>>> Any ideas how to configure hold music whole call session and, start >>>>>> playing after ANSWER (1 step) and stop play when customer answer(3 step) or >>>>>> bridge fail (4 step)? >>>>>> >>>>>> My config: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> data="/opt/freeswitch-share/fs_sounds/ring_welcome.wav"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> /> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> data="/opt/freeswitch-share/fs_sounds/ru/connection_not_esta >>>>>> blished.mp3"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Thank All! >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Gregor Nanger >> >> *CTO* >> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >> ? www.infomedia.si >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/120b809a/attachment-0001.html From kbdfck at gmail.com Wed Sep 14 14:50:38 2016 From: kbdfck at gmail.com (Dmitry Sytchev) Date: Wed, 14 Sep 2016 13:50:38 +0300 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> <57D8891B.8000107@dwide.com> <57D925F4.9000807@dwide.com> <57D9291F.3010201@dwide.com> Message-ID: You may also try displace_session at beginning of processing, and then stop displacing on answer by using execute_on_* functions family. However, we faced some strange issues with displace and ringback, so still not a 100% working method. I've created https://freeswitch.org/jira/browse/FS-9233 about displace behavior. 2016-09-14 13:42 GMT+03:00 David Villasmil : > I don't see why answering the call, but if you like it that way, good! > Happy to help. > > On Wed, Sep 14, 2016 at 12:40 PM, Dmitry Mordovin > wrote: > >> Yes, >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > /> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> DM >> >> >> On 09/14/2016 02:29 PM, David Villasmil wrote: >> >> Can you show your dialplan? >> >> On Wed, Sep 14, 2016 at 12:27 PM, Dmitry Mordovin >> wrote: >> >>> I start use MOH instead play file, this solve part of problem. >>> >>> sleep replace with playback & timeout >>> >>> Not good solution, but works, enough. >>> >>> I thinking, possible to make one leg to extension with MOH and in >>> conference, call to customer. >>> When customer answer, disconnect MOH leg from conference. >>> >>> >>> >>> On 09/14/2016 11:31 AM, Gregor Nanger wrote: >>> >>> Just post info for others. As I see David use preanswer and your config >>> answer. Is this solution?? >>> >>> 2016-09-14 1:17 GMT+02:00 Dmitry Mordovin : >>> >>>> Hi, >>>> >>>> Thank you David, your config sample help me! >>>> >>>> DM >>>> >>>> >>>> On 09/13/2016 06:25 PM, David Villasmil wrote: >>>> >>>> Hello, >>>> >>>> I got that. I think it might work :) >>>> Let him try it :) >>>> >>>> Something like: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> David >>>> >>>> On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins >>> > wrote: >>>> >>>>> He wants the second attempt to bride to be transparent and hold music >>>>> to pay during the sleep time. Had to read it a few times, unfortunately >>>>> can't help. >>>>> >>>>> Sincerely, >>>>> Don Hawkins >>>>> >>>>> Sent from my NationPCS? Nexus 6. >>>>> >>>>> On Sep 13, 2016 9:18 AM, "David Villasmil" < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> Not sure i understood you goal, but I receive the INVITE, and start >>>>>> sending moh until the call is answered, like this: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> You could do something similar. >>>>>> >>>>>> Regards, >>>>>> >>>>>> Dacud >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry Mordovin < >>>>>> d.mordovin at dwide.com> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I can't figure out how to configure hold music to play from begin >>>>>>> extension till customer answer. >>>>>>> The problems is: >>>>>>> - Hold music play while bridge calling to customer only and silence >>>>>>> while sleep 5 sec before second try >>>>>>> - Hold music begin play .wav from start each time when bridge >>>>>>> switch to next route. >>>>>>> >>>>>>> Any ideas how to configure hold music whole call session and, start >>>>>>> playing after ANSWER (1 step) and stop play when customer answer(3 step) or >>>>>>> bridge fail (4 step)? >>>>>>> >>>>>>> My config: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> data="/opt/freeswitch-share/fs_sounds/ring_welcome.wav"/> >>>>>>> >>>>>>> >>>>>>> >>>>>> /> >>>>>>> >>>>>>> >>>>>> /> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> data="/opt/freeswitch-share/fs_sounds/ru/connection_not_esta >>>>>>> blished.mp3"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Thank All! >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Gregor Nanger >>> >>> *CTO* >>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>> ? www.infomedia.si >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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, Dmitry Sytchev, IT Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/e929104e/attachment-0001.html From benjamin.cropley at gmail.com Wed Sep 14 15:45:10 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Wed, 14 Sep 2016 12:45:10 +0100 Subject: [Freeswitch-users] Strange behviour with DTMF In-Reply-To: References: Message-ID: Kamil, Are you saying that 'When DTMF is not seen' that the log shows it's being received? Either way I would do this.. 1. Reduce the variables in your scenario by connecting a phone directly to FreeSWITCH 2. Ensure your phone is sending DTMF in accordance with RFC2833 3. Run a packet capture on the FreeSWITCH box 4. Make a call, push all the digits (0 - 9, * and #) 5. Ensure all the values arrived 6. If they did, compare to FreeSWITCH logs, make sure FS saw the values too Good luck, Ben On Wed, Sep 14, 2016 at 5:56 AM, Kamil Nigmatullin < kamil.nigmatullin at gmail.com> wrote: > Log shows each time when I press the button. > > 2016-09-14 4:42 GMT+06:00 Abaci B : > >> Check the logs when it doesn't work >> >> On Tue, Sep 13, 2016 at 12:19 PM, Kamil Nigmatullin < >> kamil.nigmatullin at gmail.com> wrote: >> >>> I want to implement a little feature, when client in on a queue of >>> mod_callcenter, and is able to press *1 if he want to leave a message. >>> >>> >>> >>> >>> >>> Generally it works, but DTMF sometimes (3 of 5) times are not seen (as >>> if it is missng) and pressing *1 together is a success on a third or >>> forurth try. When I use other applications like ivr DTMF works prefectly. >>> >>> Is this a bug? >>> >>> >>> -- >>> Kamil Nigmatullin >>> Tel: 77272323748 >>> mob: 7 (707) 2517003 >>> Skype: kamil.nigmatullin >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Kamil Nigmatullin > Tel: 77272323748 > mob: 7 (707) 2517003 > Skype: kamil.nigmatullin > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/c0e5f36a/attachment.html From sdame at 207me.com Wed Sep 14 15:58:34 2016 From: sdame at 207me.com (Stephen Dame) Date: Wed, 14 Sep 2016 07:58:34 -0400 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp In-Reply-To: <1473821685.2586017.725022385.08624C2A@webmail.messagingengine.com> References: <1473821685.2586017.725022385.08624C2A@webmail.messagingengine.com> Message-ID: <00b501d20e7f$52710620$f7531260$@207me.com> You want to load mod_av Then use conference xxxxxx record rtmp://yourserver.cpm/stream_id you can pass avconv args in this command as well to control encoding options like frames per second and presets. This will send output of MCU to your red5, wowza, or properly configure nginx rtmp module. Can also send it directly to youtube. Regards, Stephen HostBBB - Online Learning Solutions 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Charlie DeTar Sent: Tuesday, September 13, 2016 10:55 PM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp Hi, I'm trying to broadcast a WebRTC video conference (via mod_conference and mod_verto) over an rtmp stream, with the ultimate goal of transcoding the rtmp stream for broadcast as an HTML5 video stream (likely using something like https://github.com/arut/nginx-rtmp-module for HSL and MPEG-DASH broadcasts). I expect I have the same sort of requirements of freeswitch that one would need for broadcasting rtmp to youtube, which the docs mention glancingly without detail [0]. :) The video conferencing is working great -- but I'm struggling to figure out how to access the RTMP stream for it. My rtmp.conf.xml is basically the default (but with `auth-calls` set to `false`). My dialplan is as follows: I'm able to connect to freeswitch using RTMP clients (I've tried rtmpdump, mplayer, and vlc). In fs_cli, I see debug info (example copied below [1]) that seems to indicate successful connections. However, the RTMP client never receives any data from the server and disconnects after around 30 seconds. I'm trying to connect via URLs like: rtmp://:/plenary-conferencename rtmp://:/plenary-conferencename at plenary-conference-profile rtmp://:/default/plenary-conferencename and so on, and all exhibit the same behavior. It doesn't seem to matter what path I put -- freeswitch accepts the connection, sends no data, then disconnects after a while. This leads me to suspect I might just be getting the path name wrong. My questions, if anyone has experience with this: What is the correct path for the rtmp URL to connect to a video conference -- is it just the $destination_number, or something else? Are there any obvious steps I'm missing to set up rtmp feeds, or any suggestions for how to do smarter debugging of this? Does anyone have an example project that successfully broadcasts RTMP from a video conference to e.g. youtube? Is there a better or more convenient approach to broadcasting a video stream from a conference that you prefer to rtmp? The full freeswitch config I'm using is here: https://gitlab.com/cdetar/plenary-server/tree/master/ansible/roles/plenary/t emplates/freeswitch , if that's helpful. (Those are templates for an ansible config, so they contain variables that get interpolated in using {{var}} syntax). best, Charlie [0] Glancing reference to youtube+rtmp: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr eeSWITCH1.6Video-What%27snew [1] fs_cli debug info while attempting to connect via RTMP: 2016-09-13 23:37:40.551744 [NOTICE] mod_rtmp.c:903 New RTMP session [1513874f-9084-470c-a2de-7e5f92bb2296] 2016-09-13 23:37:40.551744 [INFO] rtmp_tcp.c:234 Rtmp connection from 98.127.250.255:44131 2016-09-13 23:37:40.551744 [DEBUG] rtmp.c:882 Sent handshake response 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:907 Done with handshake 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=204 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for connect 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 stream_id=0x0] len=4 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 stream_id=0x0] len=5 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=201 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=61 2016-09-13 23:37:40.711748 [NOTICE] rtmp_sig.c:122 Sent connect reply 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x5 ts=0 stream_id=0x0] len=4 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1184 Set window size: from 2097152 to 2097152 bytes 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x4 ts=0 stream_id=0x0] len=10 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 00 00 00 01 2c 2016-09-13 23:37:40.851748 [INFO] rtmp.c:118 stream=0 Client buffer set to 300ms 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for createStream 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=29 2016-09-13 23:37:40.851748 [INFO] rtmp_sig.c:137 Replied to createStream (0) 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=8 type=0x14 ts=0 stream_id=0x1] len=82 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:192 [amfnumber=8] Got INVOKE for play 2016-09-13 23:37:40.991748 [DEBUG] rtmp_sig.c:198 Got play for plenary-test-pattern-alpha at plenary-conference-profile on stream 1 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=10 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=135 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=135 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 stream_id=0x1] len=44 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 stream_id=0x1] len=24 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x4 ts=0 stream_id=0x0] len=10 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 01 02 25 51 00 2016-09-13 23:37:40.991748 [INFO] rtmp.c:118 stream=1 Client buffer set to 36000000ms 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=34 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for deleteStream 2016-09-13 23:37:43.951733 [NOTICE] rtmp.c:918 Disconnected from flash client 2016-09-13 23:37:43.951733 [DEBUG] rtmp_tcp.c:243 Closing socket 2016-09-13 23:37:44.691705 [NOTICE] mod_rtmp.c:1025 RTMP session ended [1513874f-9084-470c-a2de-7e5f92bb2296] _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From d.mordovin at dwide.com Wed Sep 14 17:13:52 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Wed, 14 Sep 2016 17:13:52 +0400 Subject: [Freeswitch-users] Play hold music while try to call to customer In-Reply-To: References: <57D803F8.1080005@dwide.com> <57D80579.6020206@dwide.com> <57D8891B.8000107@dwide.com> <57D925F4.9000807@dwide.com> <57D9291F.3010201@dwide.com> Message-ID: <57D94D10.5020004@dwide.com> Thanks, displace_session is a great idea! I add my result of tests to Jira. DM On 09/14/2016 02:50 PM, Dmitry Sytchev wrote: > You may also try displace_session at beginning of processing, and then > stop displacing on answer by using execute_on_* functions family. > However, we faced some strange issues with displace and ringback, so > still not a 100% working method. > > I've created https://freeswitch.org/jira/browse/FS-9233 about displace > behavior. > > 2016-09-14 13:42 GMT+03:00 David Villasmil > >: > > I don't see why answering the call, but if you like it that way, > good! > Happy to help. > > On Wed, Sep 14, 2016 at 12:40 PM, Dmitry Mordovin > > wrote: > > Yes, > > > expression="^12345$"> > > > > > > > data="/opt/freeswitch-share/fs_sounds/ring_welcome.wav"/> > > > data="ignore_early_media=true" /> > data="instant_ringback=true" /> > data="hold_music=local_stream://xmoh_0_2_1" /> > data="transfer_ringback=local_stream://xmoh_0_2_1"/> > data="ringback=local_stream://xmoh_0_2_1"/> > > > data="hangup_after_bridge=true"/> > > data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> > > data="{timeout=5000}local_stream://xmoh_0_2_1"/> > data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> > > > data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> > > > > > DM > > > On 09/14/2016 02:29 PM, David Villasmil wrote: >> Can you show your dialplan? >> >> On Wed, Sep 14, 2016 at 12:27 PM, Dmitry Mordovin >> > wrote: >> >> I start use MOH instead play file, this solve part of >> problem. >> >> sleep replace with playback & timeout >> >> Not good solution, but works, enough. >> >> I thinking, possible to make one leg to extension with >> MOH and in conference, call to customer. >> When customer answer, disconnect MOH leg from conference. >> >> >> >> On 09/14/2016 11:31 AM, Gregor Nanger wrote: >>> Just post info for others. As I see David use preanswer >>> and your config answer. Is this solution?? >>> >>> 2016-09-14 1:17 GMT+02:00 Dmitry Mordovin >>> >: >>> >>> Hi, >>> >>> Thank you David, your config sample help me! >>> >>> DM >>> >>> >>> On 09/13/2016 06:25 PM, David Villasmil wrote: >>>> Hello, >>>> >>>> I got that. I think it might work :) >>>> Let him try it :) >>>> >>>> Something like: >>>> >>>> >>>> >>> expression="^(9.*)$"> >>>> >>>> >>> data="local_stream://moh"/> >>>> >>> data="[leg_timeout=5]user/1001@${domain_name}"/> >>>> >>>> >>> data="[leg_timeout=5]user/1002@${domain_name}"/> >>>> >>> data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> >>>> >>>> >>>> >>>> >>>> David >>>> >>>> On Tue, Sep 13, 2016 at 4:19 PM, Don Hawkins >>>> >>> > wrote: >>>> >>>> He wants the second attempt to bride to be >>>> transparent and hold music to pay during the >>>> sleep time. Had to read it a few times, >>>> unfortunately can't help. >>>> >>>> Sincerely, >>>> Don Hawkins >>>> >>>> Sent from my NationPCS? Nexus 6. >>>> >>>> >>>> On Sep 13, 2016 9:18 AM, "David Villasmil" >>>> >>> > wrote: >>>> >>>> Hello, >>>> >>>> Not sure i understood you goal, but I >>>> receive the INVITE, and start sending moh >>>> until the call is answered, like this: >>>> >>>> >>>> >>> expression="^(9.*)$"> >>>> >>>> >>> data="local_stream://moh"/> >>>> >>> data="user/${dialed_extension}@${domain_name}"/> >>>> >>>> >>>> >>>> >>>> You could do something similar. >>>> >>>> Regards, >>>> >>>> Dacud >>>> >>>> >>>> >>>> On Tue, Sep 13, 2016 at 3:56 PM, Dmitry >>>> Mordovin >>> > wrote: >>>> >>>> Hello, >>>> >>>> I can't figure out how to configure >>>> hold music to play from begin extension >>>> till customer answer. >>>> The problems is: >>>> - Hold music play while bridge calling >>>> to customer only and silence while >>>> sleep 5 sec before second try >>>> - Hold music begin play .wav from >>>> start each time when bridge switch to >>>> next route. >>>> >>>> Any ideas how to configure hold music >>>> whole call session and, start playing >>>> after ANSWER (1 step) and stop play >>>> when customer answer(3 step) or bridge >>>> fail (4 step)? >>>> >>>> My config: >>>> >>>> >>>> >>> expression="^12345$"> >>>> >>>> >>>> >>>> >>>> >>> data="continue_on_fail=true"/> >>>> >>>> >>> data="/opt/freeswitch-share/fs_sounds/ring_welcome.wav"/> >>>> >>>> >>>> >>>> >>> data="ignore_early_media=true" /> >>>> >>> data="instant_ringback=true" /> >>>> >>> data="hold_music=/opt/freeswitch-share/moh/0/2_8.wav" >>>> /> >>>> >>> data="transfer_ringback=file_string:///opt/freeswitch-share/moh/0/2_8.wav"/> >>>> >>> data="ringback=/opt/freeswitch-share/moh/0/2_8.wav"/> >>>> >>>> >>>> >>>> >>> data="hangup_after_bridge=true"/> >>>> >>>> >>> data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> >>>> >>>> >>>> >>> data="[leg_timeout=20]sofia/gateway/gw1/79262410000 at wg1|[leg_timeout=20]sofia/gateway/gw1/79262411111 at gw1"/> >>>> >>>> >>>> >>> data="/opt/freeswitch-share/fs_sounds/ru/connection_not_established.mp3"/> >>>> >>>> >>>> >>>> >>>> Thank All! >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting >>>> Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >>> >>> >>> >>> >>> -- >>> Gregor Nanger >>> *CTO* >>> t./f.: 00386 (0) 7 6000 308/309 ? m:. 00386 (0)41 756485 >>> ? Infomedia d.o.o. ? Jerebova 3, Novo mesto, Slovenia >>> ? www.infomedia.si >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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, > > Dmitry Sytchev, > IT Engineer > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/bacf300a/attachment-0001.html From benjamin.cropley at gmail.com Wed Sep 14 18:23:38 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Wed, 14 Sep 2016 15:23:38 +0100 Subject: [Freeswitch-users] Best Practice - * Codes on some IP Phones In-Reply-To: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> References: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> Message-ID: You'll get a different answer depending on who you ask. Ultimately it's up to you. As a start I would say any general 'standardisation' of feature codes will be driven by the T1 telcos of any given country. For example, 'last-call-return' will probably be *69 if you're in the US, but 1471 in the UK (because that's what BT do). In the UK it's commonly accepted that dialling 141 before your number will withhold your CLID. WIth a feature that doesn't exist on a T1 network or is at least uncommon, such as dialling a code to have your number played back to you, I'd say it's unlikely there's a 'best practice'. For your purposes it's also worth considering what requires FreeSWITCH's functionality. For example, Do Not Disturb can be implemented on the phone without having to necessarily any other parties there and then that it has changed state. This is the same with call waiting (depending on if you've restricted concurrent channels on FreeSWITCH or not in order to achieve it). *tl;dr *There's no best practice. It all depends on the specific of how you've implemented it! On Wed, Sep 14, 2016 at 2:58 AM, William Colls wrote: > > I am working with a Grandstream HT704 ATA device which has number > special functions built in eg Do Not Disturb, Suppress Outgoing Caller > ID Number, Enable/Disable Call waiting, - more than 20 in all. > Unfortunately, one of the codes is *98 which pays back the extension > number. In order for *98 to work for e-mail, I must disable all the call > features. > > So my question- Is it generally considered best practice to disable the > functionality on all phones, and provide it through the dial plan so > that the codes will be consistent for all phones in the system, or let > the phones provide the features, even if they may vary from phone to phone? > > Thanks for your time. > > William. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/795a3b4f/attachment.html From brian at freeswitch.org Wed Sep 14 19:20:47 2016 From: brian at freeswitch.org (Brian West) Date: Wed, 14 Sep 2016 10:20:47 -0500 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> Message-ID: If you code it probably, or find someone to code it. :) On Wed, Sep 14, 2016 at 1:12 AM, J?rgen Wendler wrote: > Well, i thought since Version 1.6 freeswitch is capable of Video support. > So there is no chance to get video with h323 listener, mod_opal or mod_h323 > ? > > > > *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Brian West > *Gesendet:* Dienstag, 13. September 2016 17:22 > *An:* FreeSWITCH Users Help > *Betreff:* Re: [Freeswitch-users] Enable H264 Video > > > > mod_opal doesn't support video in FreeSWITCH last I knew. > > > > On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler wrote: > > Hello everyone, > > > > i?ve found some amazaing articles about FS and so i thought i can give it > a try. > > So I followed instructions in confluenca and got a simple running fs > server with mod_verto which is capable of some basic webrtc. Really nice. > > > > Now I want to join this room (which is the basic 3500 room with the > default video-mcu-profile) with some external h323 device. So I compiled > ptlib and opalvoip and finally mod_opal and created a h323 listener. > > When I call the ip + room number with an external device (polycom, sony) > via h323 I get voice only connections, log says the following: > > > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263-2000 at 90000 (pt=121) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263-1998 at 90000 (pt=115) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > VP8 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > VP9 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263 at 90000 (pt=34) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > LPC at 8000 (pt=7) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > PROXY-VID at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H261 at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H264 at 90000 (pt=97) to an OPAL media format. > > > > So I thought I should have a look about the compiled codecs. I activated > mod_opal and mod_h26x in modules.conf but no succes. Log always says: > > > > 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal > Answer:12170,0000000000001} H323 SetLocalCapabilities: > GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw- > 64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf > > > > I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? > in dialplan/default.xml but I think I am missing something. > > Could anyone point me in the right direction where I can ?enable? h263++ > or h264 video capabilitys for an external h323 device / call via mod_opal? > > System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. > > > > Best regards, > > Juergen > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > *Brian West* > brian at freeswitch.org > > [image: Das Bild wurde vom Absender entfernt.] > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/d5c1c2c5/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD172.jpg Type: image/jpeg Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/d5c1c2c5/attachment-0001.jpg From denzs at gonicus.de Wed Sep 14 09:53:19 2016 From: denzs at gonicus.de (=?utf-8?Q?Sebastian_Denz?=) Date: Wed, 14 Sep 2016 07:53:19 +0200 Subject: [Freeswitch-users] originate local extension with mod_vlc into conference -> window not available Message-ID: Hi, i want to combine audio from a sip client and video from an external ip-webcam into one outgoing call... I use mod_vlc to integrate the webcam into my dialplan like this: When i call 101 from a video capable client everything works fine! My current approach is to add the caller and the video extension in a conference and add then add the target extension to the conference. But when i try to add the video extension to a conference with originate loopback/101 &conference(301) the console shows: ... VLC: window not available VLC: Cannot create primary surface VLC: standard input is not a TTY see https://pastebin.freeswitch.org/view/a83b47ba for a full console log. It seems that the conference doesnt accept the output of playback/mod_vlc?! When i run freeswitch in foreground the video is displayed in ascii style directly in the freeswitch console ;) I tried it with 1.6.10 and git master... To me this feels like a bug?! But of course i would appreciate suggestions on other approaches too! Regards, Sebastian From mike at jerris.com Wed Sep 14 21:01:43 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Sep 2016 13:01:43 -0400 Subject: [Freeswitch-users] Install freeswitch on ubuntu 15.10 In-Reply-To: References: <00d701d20dc3$4cc999b0$e65ccd10$@freeswitch.org> Message-ID: <2F78E36C-B7F6-4AE0-84EF-EF15AB996E74@jerris.com> you?ll need some (but not all) of these too: https://freeswitch.org/stash/projects/SD > On Sep 13, 2016, at 9:53 AM, Yuriy Gorlichenko wrote: > > Only at this project i can not use 16.04 because of some reasons (dont want to go deeper at the details) > > Offcourse i understand that it will be simpler and faster use debian 8 for example. > > > > 2016-09-13 16:32 GMT+03:00 Ken Rice >: > If you need something newer than 14.04 note we have packages for 16.04 > > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Yuriy Gorlichenko > Sent: Tuesday, September 13, 2016 5:07 AM > To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] Install freeswitch on ubuntu 15.10 > > > > yes. Needed staff. > Thats why asking bout all this... > > > > 2016-09-13 13:03 GMT+03:00 David Villasmil >: > > Do you want video? That is exactly the hard part in ubuntu, as far as i remember. > > > > On Tue, Sep 13, 2016 at 11:45 AM Yuriy Gorlichenko > wrote: > > thx > on ./congfigure running i have these errors at the log > > > Makefile.am:6: error: SYSTEM_APR does not appear in AM_CONDITIONAL > Makefile.am:18: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL > Makefile.am:122: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:129: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL > Makefile.am:136: error: ENABLE_LIBVPX does not appear in AM_CONDITIONAL > Makefile.am:139: error: SYSTEM_APRUTIL does not appear in AM_CONDITIONAL > Makefile.am:144: error: SYSTEM_APR does not appear in AM_CONDITIONAL > Makefile.am:150: error: ENABLE_SRTP does not appear in AM_CONDITIONAL > Makefile.am:159: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:163: error: HAVE_PNG does not appear in AM_CONDITIONAL > Makefile.am:167: error: HAVE_FREETYPE does not appear in AM_CONDITIONAL > Makefile.am:175: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:182: error: ENABLE_LIBYUV does not appear in AM_CONDITIONAL > Makefile.am:238: error: HAVE_PNG does not appear in AM_CONDITIONAL > Makefile.am:242: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:246: error: ENABLE_ZRTP does not appear in AM_CONDITIONAL > Makefile.am:395: error: ENABLE_CPP does not appear in AM_CONDITIONAL > Makefile.am:421: error: DISABLE_CC does not appear in AM_CONDITIONAL > Makefile.am:433: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:446: error: HAVE_ODBC does not appear in AM_CONDITIONAL > Makefile.am:468: error: HAVE_ODBC does not appear in AM_CONDITIONAL > automake: error: cannot open < tests/unit/unit.mk : No such file or directory > > > I suppose it is because of this staff was not found at the repos. As i see it is all staff needed for video calls (important for me). > Maybe somebody can say or may be someone will can upload this package? > apt-get install -y --force-yes freeswitch-video-deps-most > > > > 2016-09-13 10:57 GMT+03:00 David Villasmil >: > > Try with these > > nano > libtool-bin libsqlite3-dev libpcre3-dev libspeexdsp-dev libspeex-dev libedit-dev yasm > > Nano is optional, i like it. > > After that, there will still be a couple for which I couldn't find a package. But those are like enum or other things I don't use. Just try compiling and when it complains just try installing the libraries. > > Like I said, it's very possible you'll need to just comment-out a couple of modules, can't remember right now which i had to comment. > > Good luck > > > > On Tue, Sep 13, 2016 at 9:54 AM Yuriy Gorlichenko > wrote: > > because these packages not at wily repos. And as i understood these packages just precompinled packages that have from any source. > I just want to install it via apt-get or aptitude as packages from repo. > > echo "deb http://files.freeswitch.org/repo/ubuntu/freeswitch-unstable/ trusty main" > /etc/apt/sources.list.d/freeswitch.list > > > > # apt-get update && apt-get install -y git screen > > > > Hit http://us.archive.ubuntu.com wily InRelease > Hit http://security.ubuntu.com wily-security InRelease > Ign http://us.archive.ubuntu.com wily InRelease > E: GPG error: http://us.archive.ubuntu.com wily InRelease: The following signatures were invalid: NODATA 2 > > > > > > 2016-09-13 10:26 GMT+03:00 Don Hawkins >: > > Why not use this? > > > > https://freeswitch.org/confluence/display/FREESWITCH/Ubuntu+14.04+Trusty#Ubuntu14.04Trusty-InstallingfromUbuntuPackagespackages > > > On Tue, Sep 13, 2016 at 12:23 AM, Yuriy Gorlichenko > wrote: > > Hi. I trying to install freeswitch on ubuntu 15.10. > I know that it is not TLS release and etc. Just need to install it there > Im realdy to install it manually > > I found freeswitch on a github and cloned it, just need packages-dependenses for successfull installation it on this OS. > > Can anybody provide link for this or give me a list of packages? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > > P: 469-214-5044 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/0af55b26/attachment-0001.html From mike at jerris.com Wed Sep 14 21:06:05 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Sep 2016 13:06:05 -0400 Subject: [Freeswitch-users] Madboss enter tone In-Reply-To: References: Message-ID: <729FF665-E886-4868-9871-BDDF4767ABC1@jerris.com> check out conference_silent_entry and conference_auto_outcall_announce vars > On Sep 10, 2016, at 9:03 PM, Shawn Wheeler wrote: > > I do apologize, I do understand it is moderated by volunteers. > > Normally, I see the email sent to the list. In this case I never saw the email come through and assumed I did something wrong. I am sorry for sending multiple emails today. > > Shawn > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris > Sent: Saturday, September 10, 2016 5:51 PM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Madboss enter tone > > please do not send the same message to the list three times in the same day. I'll be moderating your future posts. Understand that this mailing list is answered by volunteers and it is the weekend and it's unreasonable to expect an answer immediately. > > On Saturday, September 10, 2016, Shawn Wheeler > wrote: > I have what I think should be an easy question, I am just too ignorant to know where to look. > > I am using the Madboss to initiate group calls. > > When the group call is initiated from my handset, I hear a tone. > > I also hear a tone from my receiving SIP devices. > > I have been able to change and or mute the tone on the receiving SIP devices. > > I would like to be able to change the tone on my handset, where the call is initiated. > > I have looked in the conf\autoload_confs\confernece.conf.xml file. > I see enter and exit tones for both wide and ultawide band. However on my system I only hear the entry tone. > > If you have a thought were I can look, please let me know. > > Shawn > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/3c26c309/attachment.html From mike at jerris.com Wed Sep 14 21:07:42 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Sep 2016 13:07:42 -0400 Subject: [Freeswitch-users] 5 second delay when taking a phone off hold In-Reply-To: <4A097BC8-3115-413A-877F-D92A95C70C35@beachdognet.com> References: <4A097BC8-3115-413A-877F-D92A95C70C35@beachdognet.com> Message-ID: <17161328-5B0E-4FAC-A5A3-7447D1E232A2@jerris.com> Please test latest code first. > On Sep 13, 2016, at 10:29 AM, Dave Horton wrote: > > I have noticed that when I put a phone on hold, and then later take it off hold that there is a 5 second delay when Freeswitch handles the re-INVITE off-hold (no such delay going on hold). > > My app is a fairly simple bridging application, where call is placed from A to B through Freeswitch; the B leg goes on hold and then later attempts to go off hold. > > I have tracked the 5 second delay to this line of code in switch_core_media.c: > > if (b_channel) { > if (switch_channel_test_flag(session->channel, CF_HOLD)) { > switch_ivr_unhold(b_session); > switch_channel_clear_flag(session->channel, CF_SUSPEND); > switch_channel_clear_flag(session->channel, CF_HOLD); > } else { > switch_channel_stop_broadcast(b_channel); > switch_channel_wait_for_flag(b_channel, CF_BROADCAST, SWITCH_FALSE, 5000, NULL); <== 5 second delay happens here > } > } > > > Couple of other data points: > 1. When I go on hold, the INVITE on hold that Freeswitch receives on one leg is not propagated out the associated leg, for whatever reason > 2. I am using late negotiation of the SDP between the A and B legs. > 3. I am running version 1.68 > > Is this a bug and should I open a Jira? I can obviously provide traces but wanted to first know if this is a bug or some configuration issue > > Dave From mike at jerris.com Wed Sep 14 21:14:29 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Sep 2016 13:14:29 -0400 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: I?ve fixed a few memory leaks in the last 60 days (now in the 1.6.10 release). If you can capture ones with a specific set of call flows in valgrind, that would be the path to try to fix them if there is indeed a leak. Just a graph showing memory use growth isn?t a particularly useful metric to find a specific issue, or often to even know if there is an issue. If you suspect a problem, capturing the exact allocation that is not being freed using valgrind or clang memory tools, and coming up with a reproducible scenario to create the issue, is the only way we can address probes like these. Mike > On Sep 13, 2016, at 2:12 PM, David Villasmil wrote: > > These are just a couple of them: > Note the sessions and uptime > > > On Tue, Sep 13, 2016 at 8:07 PM David Villasmil > wrote: > I don't have the data with me now, but i have servers that wave been running fs for literally months, last time i checked it had processed like 700k+ calls > > On Tue, Sep 13, 2016 at 7:04 PM Anthony Minessale > wrote: > Your prize for 47 days uptime is probably a new version! > That is the best way to check for memory leaks, update whenever you can. > > > > On Tue, Sep 13, 2016 at 11:41 AM, Florent Krieg > wrote: > Hello, > > We experience the same behaviour here. > > UP 0 years, 47 days, 19 hours, 27 minutes, 31 seconds, 208 milliseconds, 341 microseconds > 2172632 session(s) since startup > > cat /proc/11818/status shows: > VmPeak: 6829064 kB > VmSize: 6778648 kB > VmLck: 0 kB > VmPin: 0 kB > VmHWM: 442120 kB > VmRSS: 428764 kB > VmData: 6561024 kB > VmStk: 136 kB > VmExe: 24 kB > VmLib: 29644 kB > VmPTE: 1828 kB > VmSwap: 0 kB > Threads: 507 > > And free says: > total used free shared buffers cached > Mem: 15G 15G 181M 188M 170M 14G > -/+ buffers/cache: 1.2G 14G > Swap: 15G 28M 15G > > > Dunno if it helps, but we don't appear to meet any issue with calls (no crash or nothing, on other servers we have it has been running for months or even years with full memory if I'm not mistaken). > > > Regards > Florent > > 2016-09-13 18:11 GMT+02:00 Anthony Minessale >: > That looks normal to me. > FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. > If you chart goes past 2 to 2.5 gigs, you may have a problem then. > > you can run valgrind but you can only run 1 call at a time testing typical callflow. > valgrind --tool=memcheck --log-file=vg.log --leak-check=full --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg > > > > Also when those months are over, hopefully you update cos you can keep running the same FS for many months anyway ;) > > > > > > On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov > wrote: > I has configured FreeSwitch process memory usage graph. > According this graph durring 24 days size of used memory ingrezed about two times. > > Pastebin of FreeSwitch process memory map is placed at https://pastebin.freeswitch.org/view/9e66572a > Are you have any suggestion how to find memory leak. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/c5ee5789/attachment.html From mike at jerris.com Wed Sep 14 21:18:47 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Sep 2016 13:18:47 -0400 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> Message-ID: <2406A807-7E85-429A-AC9C-E5D0374AB35D@jerris.com> I can confirm that module does not currently have video support. > On Sep 14, 2016, at 11:20 AM, Brian West wrote: > > If you code it probably, or find someone to code it. :) > > On Wed, Sep 14, 2016 at 1:12 AM, J?rgen Wendler > wrote: > Well, i thought since Version 1.6 freeswitch is capable of Video support. So there is no chance to get video with h323 listener, mod_opal or mod_h323 ? > > > > Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] Im Auftrag von Brian West > Gesendet: Dienstag, 13. September 2016 17:22 > An: FreeSWITCH Users Help > > Betreff: Re: [Freeswitch-users] Enable H264 Video > > > > mod_opal doesn't support video in FreeSWITCH last I knew. > > > > On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler > wrote: > > Hello everyone, > > > > i?ve found some amazaing articles about FS and so i thought i can give it a try. > > So I followed instructions in confluenca and got a simple running fs server with mod_verto which is capable of some basic webrtc. Really nice. > > > > Now I want to join this room (which is the basic 3500 room with the default video-mcu-profile) with some external h323 device. So I compiled ptlib and opalvoip and finally mod_opal and created a h323 listener. > > When I call the ip + room number with an external device (polycom, sony) via h323 I get voice only connections, log says the following: > > > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-2000 at 90000 (pt=121) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-1998 at 90000 (pt=115) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP8 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP9 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263 at 90000 (pt=34) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec LPC at 8000 (pt=7) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec PROXY-VID at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H261 at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H264 at 90000 (pt=97) to an OPAL media format. > > > > So I thought I should have a look about the compiled codecs. I activated mod_opal and mod_h26x in modules.conf but no succes. Log always says: > > > > 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal Answer:12170,0000000000001} H323 SetLocalCapabilities: GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf > > > > I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? in dialplan/default.xml but I think I am missing something. > > Could anyone point me in the right direction where I can ?enable? h263++ or h264 video capabilitys for an external h323 device / call via mod_opal? > > System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. > > > > Best regards, > > Juergen > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/63ee6577/attachment-0001.html From daveh at beachdognet.com Wed Sep 14 21:19:47 2016 From: daveh at beachdognet.com (Dave Horton) Date: Wed, 14 Sep 2016 13:19:47 -0400 Subject: [Freeswitch-users] 5 second delay when taking a phone off hold In-Reply-To: <17161328-5B0E-4FAC-A5A3-7447D1E232A2@jerris.com> References: <4A097BC8-3115-413A-877F-D92A95C70C35@beachdognet.com> <17161328-5B0E-4FAC-A5A3-7447D1E232A2@jerris.com> Message-ID: <7D2178AB-B4ED-48B6-A8D1-A74ED4E21DDB@beachdognet.com> It turns out the bug (if it is one) is different than I thought. When handling the on-hold re-INVITE, I was attempting to play moh to the caller via a lua script that I had set a variable for initially. It turns out that script was trying to play a non-existent file. The SIP call itself was not affected, but then when I went off hold I encountered the 5-sec delay apparently because the state of channel for the leg was in a state due to the play failure (or the script failure, as the lua script itself exited ungracefully) such that the attempt to set the CF_BROADCAST flag to false failed. Not sure if you consider this a bug or not. Dave On Sep 14, 2016, at 1:07 PM, Michael Jerris wrote: Please test latest code first. > On Sep 13, 2016, at 10:29 AM, Dave Horton wrote: > > I have noticed that when I put a phone on hold, and then later take it off hold that there is a 5 second delay when Freeswitch handles the re-INVITE off-hold (no such delay going on hold). > > My app is a fairly simple bridging application, where call is placed from A to B through Freeswitch; the B leg goes on hold and then later attempts to go off hold. > > I have tracked the 5 second delay to this line of code in switch_core_media.c: > > if (b_channel) { > if (switch_channel_test_flag(session->channel, CF_HOLD)) { > switch_ivr_unhold(b_session); > switch_channel_clear_flag(session->channel, CF_SUSPEND); > switch_channel_clear_flag(session->channel, CF_HOLD); > } else { > switch_channel_stop_broadcast(b_channel); > switch_channel_wait_for_flag(b_channel, CF_BROADCAST, SWITCH_FALSE, 5000, NULL); <== 5 second delay happens here > } > } > > > Couple of other data points: > 1. When I go on hold, the INVITE on hold that Freeswitch receives on one leg is not propagated out the associated leg, for whatever reason > 2. I am using late negotiation of the SDP between the A and B legs. > 3. I am running version 1.68 > > Is this a bug and should I open a Jira? I can obviously provide traces but wanted to first know if this is a bug or some configuration issue > > Dave _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From mike at jerris.com Wed Sep 14 21:28:34 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Sep 2016 13:28:34 -0400 Subject: [Freeswitch-users] 5 second delay when taking a phone off hold In-Reply-To: <7D2178AB-B4ED-48B6-A8D1-A74ED4E21DDB@beachdognet.com> References: <4A097BC8-3115-413A-877F-D92A95C70C35@beachdognet.com> <17161328-5B0E-4FAC-A5A3-7447D1E232A2@jerris.com> <7D2178AB-B4ED-48B6-A8D1-A74ED4E21DDB@beachdognet.com> Message-ID: <4C3F60C7-46FE-41FA-A587-5E430E95B668@jerris.com> you should never have to manually play hold music like that? need more info to understand how to better advise. > On Sep 14, 2016, at 1:19 PM, Dave Horton wrote: > > It turns out the bug (if it is one) is different than I thought. When handling the on-hold re-INVITE, I was attempting to play moh to the caller via a lua script that I had set a variable for initially. It turns out that script was trying to play a non-existent file. The SIP call itself was not affected, but then when I went off hold I encountered the 5-sec delay apparently because the state of channel for the leg was in a state due to the play failure (or the script failure, as the lua script itself exited ungracefully) such that the attempt to set the CF_BROADCAST flag to false failed. > > Not sure if you consider this a bug or not. > > Dave > On Sep 14, 2016, at 1:07 PM, Michael Jerris wrote: > > Please test latest code first. > >> On Sep 13, 2016, at 10:29 AM, Dave Horton wrote: >> >> I have noticed that when I put a phone on hold, and then later take it off hold that there is a 5 second delay when Freeswitch handles the re-INVITE off-hold (no such delay going on hold). >> >> My app is a fairly simple bridging application, where call is placed from A to B through Freeswitch; the B leg goes on hold and then later attempts to go off hold. >> >> I have tracked the 5 second delay to this line of code in switch_core_media.c: >> >> if (b_channel) { >> if (switch_channel_test_flag(session->channel, CF_HOLD)) { >> switch_ivr_unhold(b_session); >> switch_channel_clear_flag(session->channel, CF_SUSPEND); >> switch_channel_clear_flag(session->channel, CF_HOLD); >> } else { >> switch_channel_stop_broadcast(b_channel); >> switch_channel_wait_for_flag(b_channel, CF_BROADCAST, SWITCH_FALSE, 5000, NULL); <== 5 second delay happens here >> } >> } >> >> >> Couple of other data points: >> 1. When I go on hold, the INVITE on hold that Freeswitch receives on one leg is not propagated out the associated leg, for whatever reason >> 2. I am using late negotiation of the SDP between the A and B legs. >> 3. I am running version 1.68 >> >> Is this a bug and should I open a Jira? I can obviously provide traces but wanted to first know if this is a bug or some configuration issue >> >> Dave > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From cfd-fs at fohn.org Wed Sep 14 21:56:03 2016 From: cfd-fs at fohn.org (Charlie DeTar) Date: Wed, 14 Sep 2016 11:56:03 -0600 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp Message-ID: <1473875763.2789941.725787057.60F8207F@webmail.messagingengine.com> Thanks! I tried this, but didn't get success yet. Maybe I've misunderstood something. Here's what I tried: 1. I added `` to modules.conf.xml, and restarted freeswitch. 2. I connected participants to a conference with destination number "plenary-test". This is what `conference list` in fs_cli shows after this: Conference plenary-test (1 member rate: 44100 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound|livearray_sync|transcode_video|video_muxing|minimize_video_encoding|json_status) 1;verto.rtc/plenary-test;4ae28d9e-cf98-363f-ed40-2b6544fb8685;Anonymous;plenary_user at nothangout.media.mit.edu;hear|speak|video|floor|vid-floor;0;0;0;200 3. In fs_cli, I issued the following command: conference plenary-test record rtmp://nothangout.media.mit.edu/plenary-test The domain here is the same domain as the freeswitch server. There is no red5/wowza/nginx-mod-rtmp/etc running on this server yet. This produced the logs below. [0] 4. I attempted to connect to rtmp://nothangout.media.mit.edu/plenary-test using mplayer, vlc, and rtmpdump. None of them receive any data. Shortly after issuing `conference plenary-test record ...`, whether or not I attempt to connect an rtmp client, freeswitch appears to crash -- the logs show freeswitch starting up, the verto browser session reloads, and the fs_cli socket is lost. I don't see anything in the logs about a crash (it just up-and-reboots). Have I missed a step here? Does freeswitch need a running red5/etc. server that it is connecting to when I issue the `record` command, or is it producing a stream that an rtmp client should be able to consume? Forgive my ignorance here; I'm new to rtmp streaming. I'm running freeswitch 1.6.10~17~726, via freeswitch's debian packages, on debian 8.5. best, Charlie [0] Debug log after issuing `conference plenary-test record ...`, and before freeswitch crashes: 2016-09-14 17:41:57.378173 [DEBUG] avformat.c:1701 sample rate: 44100, channels: 2 Parsing... Parsed protocol: 0 Parsed host : nothangout.media.mit.edu Parsed app : plenary-test RTMP_Connect1, ... connected, handshaking 2016-09-14 17:41:57.408166 [NOTICE] mod_rtmp.c:903 New RTMP session [81e27b34-92ae-4fd8-9d8b-6ba58ed32e80] 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] rtmp_tcp.c:234 Rtmp connection from 18.85.44.183:54786 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:882 Sent handshake response HandShake: Type Answer : 03 HandShake: Server Uptime : 414322 HandShake: FMS Version : 0.0.0.0 HandShake: Handshaking finished.... RTMP_Connect1, handshaked 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:907 Done with handshake 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=116 Invoking connect 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for connect 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 stream_id=0x0] len=4 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 stream_id=0x0] len=5 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 HandleChangeChunkSize, received: chunk size change to 512 HandleServerBW: server BW = 2097152 HandleClientBW: client BW = 2097152 1 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=201 HandleCtrl, received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 0 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=61 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [NOTICE] rtmp_sig.c:122 Sent connect reply RTMP_ClientPacket, received: invoke 201 bytes (object begin) Property: Property: Property: (object begin) Property: Property: (object end) Property: (object begin) Property: Property: Property: Property: Property: (object end) (object end) HandleInvoke, server invoking <_result> HandleInvoke, received result for method call Invoking releaseStream Invoking FCPublish Invoking createStream RTMP_ClientPacket, received: invoke 61 bytes (object begin) Property: Property: Property: NULL Property: (object end) HandleInvoke, server invoking 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=29 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for releaseStream 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [WARNING] rtmp.c:198 Unhandled invoke for "releaseStream" 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for FCPublish 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [WARNING] rtmp.c:198 Unhandled invoke for "FCPublish" 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for createStream 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=29 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] rtmp_sig.c:137 Replied to createStream (0) RTMP_ClientPacket, received: invoke 29 bytes (object begin) Property: Property: Property: NULL Property: (object end) HandleInvoke, server invoking <_result> HandleInvoke, received result for method call Invoking publish 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=4 type=0x14 ts=0 stream_id=0x1] len=30 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=4] Got INVOKE for publish 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=138 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] rtmp_sig.c:290 Got publish on stream 1. HandleCtrl, received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 1 RTMP_ClientPacket, received: invoke 138 bytes (object begin) Property: Property: Property: NULL Property: (object begin) Property: Property: Property: Property: Property: (object end) (object end) HandleInvoke, server invoking HandleInvoke, onStatus: NetStream.Publish.Start 2016-09-14 17:41:57.408166 [DEBUG] avformat.c:1804 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2016-09-14 17:41:57.408166 [WARNING] avformat.c:506 Codec [aac] is experimental feature in libavcodec, never mind 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:531 sample_rate: 44100 nb_samples: 1024 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:535 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, flv, to 'rtmp://nothangout.media.mit.edu/plenary-test': Stream #0.0: Audio: aac, 44100 Hz, stereo, fltp, 131 kb/s 2016-09-14 17:41:57.408166 [INFO] avformat.c:1829 Opening File [rtmp://nothangout.media.mit.edu/plenary-test] 44100hz with VIDEO 2016-09-14 17:41:57.408166 [DEBUG] conference_record.c:279 Setup timer success interval: 20 samples: 882 using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX profile Constrained Baseline, level 4.1 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=30 keyint_min=16 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2016-09-14 17:41:57.478159 [INFO] avformat.c:2366 use video codec implementation Video: libx264, yuv420p, 800x600, q=10-31, 516 kb/s 2016-09-14 17:41:57.478159 [NOTICE] avformat.c:613 video thread start 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:58.458161 [DEBUG] rtmp.c:1081 [chunk_stream=4 type=0x12 ts=0 stream_id=0x1] len=382 On Wed, Sep 14, 2016, at 05:58 AM, Stephen Dame wrote: > You want to load mod_av > > Then use > > conference xxxxxx record rtmp://yourserver.cpm/stream_id > > you can pass avconv args in this command as well to control encoding > options > like frames per second and presets. > > This will send output of MCU to your red5, wowza, or properly configure > nginx rtmp module. > > Can also send it directly to youtube. > > Regards, > Stephen > > HostBBB - Online Learning Solutions > 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Charlie > DeTar > Sent: Tuesday, September 13, 2016 10:55 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp > > Hi, > > I'm trying to broadcast a WebRTC video conference (via mod_conference and > mod_verto) over an rtmp stream, with the ultimate goal of transcoding the > rtmp stream for broadcast as an HTML5 video stream (likely using > something > like https://github.com/arut/nginx-rtmp-module > for HSL and MPEG-DASH broadcasts). I expect I have the same sort of > requirements of freeswitch that one would need for broadcasting rtmp to > youtube, which the docs mention glancingly without detail [0]. :) > > The video conferencing is working great -- but I'm struggling to figure > out > how to access the RTMP stream for it. My rtmp.conf.xml is basically the > default (but with `auth-calls` set to `false`). My dialplan is as > follows: > > > > break="never"> > > > data="${destination_number}@plenary-conference-profile"/> > > > > > I'm able to connect to freeswitch using RTMP clients (I've tried > rtmpdump, > mplayer, and vlc). In fs_cli, I see debug info (example copied below > [1]) > that seems to indicate successful connections. > However, the RTMP client never receives any data from the server and > disconnects after around 30 seconds. > > I'm trying to connect via URLs like: > rtmp://:/plenary-conferencename > rtmp://:/plenary-conferencename at plenary-conference-profile > rtmp://:/default/plenary-conferencename > and so on, and all exhibit the same behavior. It doesn't seem to matter > what path I put -- freeswitch accepts the connection, sends no data, then > disconnects after a while. This leads me to suspect I might just be > getting > the path name wrong. > > My questions, if anyone has experience with this: > > What is the correct path for the rtmp URL to connect to a video > conference > -- is it just the $destination_number, or something else? > Are there any obvious steps I'm missing to set up rtmp feeds, or any > suggestions for how to do smarter debugging of this? > Does anyone have an example project that successfully broadcasts RTMP > from a > video conference to e.g. youtube? > Is there a better or more convenient approach to broadcasting a video > stream > from a conference that you prefer to rtmp? > > > The full freeswitch config I'm using is here: > https://gitlab.com/cdetar/plenary-server/tree/master/ansible/roles/plenary/t > emplates/freeswitch > , if that's helpful. (Those are templates for an ansible config, so they > contain variables that get interpolated in using {{var}} syntax). > > best, > Charlie > > [0] Glancing reference to youtube+rtmp: > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Video#Fr > eeSWITCH1.6Video-What%27snew > > [1] fs_cli debug info while attempting to connect via RTMP: > > 2016-09-13 23:37:40.551744 [NOTICE] mod_rtmp.c:903 New RTMP session > [1513874f-9084-470c-a2de-7e5f92bb2296] > 2016-09-13 23:37:40.551744 [INFO] rtmp_tcp.c:234 Rtmp connection from > 98.127.250.255:44131 > 2016-09-13 23:37:40.551744 [DEBUG] rtmp.c:882 Sent handshake response > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:907 Done with handshake > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 > ts=0 stream_id=0x0] len=204 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > for > connect > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 > stream_id=0x0] len=4 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 > stream_id=0x0] len=4 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 > stream_id=0x0] len=5 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > stream_id=0x0] len=6 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > stream_id=0x0] len=201 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > stream_id=0x0] len=61 > 2016-09-13 23:37:40.711748 [NOTICE] rtmp_sig.c:122 Sent connect reply > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x5 > ts=0 stream_id=0x0] len=4 > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1184 Set window size: from > 2097152 to 2097152 bytes > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x4 > ts=0 stream_id=0x0] len=10 > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 00 00 > 00 01 2c > 2016-09-13 23:37:40.851748 [INFO] rtmp.c:118 stream=0 Client buffer set > to > 300ms > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 > ts=0 stream_id=0x0] len=25 > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > for > createStream > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > stream_id=0x0] len=29 > 2016-09-13 23:37:40.851748 [INFO] rtmp_sig.c:137 Replied to createStream > (0) > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=8 type=0x14 > ts=0 stream_id=0x1] len=82 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:192 [amfnumber=8] Got INVOKE > for > play > 2016-09-13 23:37:40.991748 [DEBUG] rtmp_sig.c:198 Got play for > plenary-test-pattern-alpha at plenary-conference-profile on stream 1 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 > stream_id=0x0] len=4 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > stream_id=0x0] len=6 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > stream_id=0x0] len=10 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 > stream_id=0x1] len=135 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 > stream_id=0x1] len=135 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 > stream_id=0x1] len=44 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 > stream_id=0x1] len=24 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=2 type=0x4 > ts=0 stream_id=0x0] len=10 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 01 02 > 25 51 00 > 2016-09-13 23:37:40.991748 [INFO] rtmp.c:118 stream=1 Client buffer set > to > 36000000ms > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 > ts=0 stream_id=0x0] len=34 > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > for > deleteStream > 2016-09-13 23:37:43.951733 [NOTICE] rtmp.c:918 Disconnected from flash > client > 2016-09-13 23:37:43.951733 [DEBUG] rtmp_tcp.c:243 Closing socket > 2016-09-13 23:37:44.691705 [NOTICE] mod_rtmp.c:1025 RTMP session ended > [1513874f-9084-470c-a2de-7e5f92bb2296] > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From s.safarov at gmail.com Wed Sep 14 21:59:33 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 14 Sep 2016 17:59:33 +0000 Subject: [Freeswitch-users] Memory leak In-Reply-To: References: Message-ID: Thank you Michael I will update FS to current master on one of hosts. And compare memory usage graphs with old versions. Also as Anthony has suggested i will wait for memory usage is grows (or stop) up to 2,5Gb. Thank you Anthony for valgrind usage instructions. ??, 14 ????. 2016 ?. ? 20:15, Michael Jerris : > I?ve fixed a few memory leaks in the last 60 days (now in the 1.6.10 > release). If you can capture ones with a specific set of call flows in > valgrind, that would be the path to try to fix them if there is indeed a > leak. Just a graph showing memory use growth isn?t a particularly useful > metric to find a specific issue, or often to even know if there is an > issue. If you suspect a problem, capturing the exact allocation that is > not being freed using valgrind or clang memory tools, and coming up with a > reproducible scenario to create the issue, is the only way we can address > probes like these. > > Mike > > > On Sep 13, 2016, at 2:12 PM, David Villasmil < > david.villasmil.work at gmail.com> wrote: > > These are just a couple of them: > Note the sessions and uptime > > > > On Tue, Sep 13, 2016 at 8:07 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > > I don't have the data with me now, but i have servers that wave been >> running fs for literally months, last time i checked it had processed like >> 700k+ calls >> >> On Tue, Sep 13, 2016 at 7:04 PM Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> > Your prize for 47 days uptime is probably a new version! >>> That is the best way to check for memory leaks, update whenever you can. >>> >>> >>> On Tue, Sep 13, 2016 at 11:41 AM, Florent Krieg >>> wrote: >>> >> Hello, >>>> >>>> We experience the same behaviour here. >>>> >>>> UP 0 years, 47 days, 19 hours, 27 minutes, 31 seconds, 208 >>>> milliseconds, 341 microseconds >>>> 2172632 session(s) since startup >>>> >>>> cat /proc/11818/status shows: >>>> VmPeak: 6829064 kB >>>> VmSize: 6778648 kB >>>> VmLck: 0 kB >>>> VmPin: 0 kB >>>> VmHWM: 442120 kB >>>> VmRSS: 428764 kB >>>> VmData: 6561024 kB >>>> VmStk: 136 kB >>>> VmExe: 24 kB >>>> VmLib: 29644 kB >>>> VmPTE: 1828 kB >>>> VmSwap: 0 kB >>>> Threads: 507 >>>> >>>> And free says: >>>> total used free shared buffers >>>> cached >>>> Mem: 15G 15G 181M 188M 170M >>>> 14G >>>> -/+ buffers/cache: 1.2G 14G >>>> Swap: 15G 28M 15G >>>> >>>> >>>> Dunno if it helps, but we don't appear to meet any issue with calls (no >>>> crash or nothing, on other servers we have it has been running for months >>>> or even years with full memory if I'm not mistaken). >>>> >>>> >>>> Regards >>>> Florent >>>> >>> 2016-09-13 18:11 GMT+02:00 Anthony Minessale < >>>> anthony.minessale at gmail.com>: >>>> >>> That looks normal to me. >>>>> FreeSWITCH needs a minimum of 2 GB dedicated ram for prolonged use. >>>>> If you chart goes past 2 to 2.5 gigs, you may have a problem then. >>>>> >>>>> you can run valgrind but you can only run 1 call at a time testing >>>>> typical callflow. >>>>> >>>>> valgrind --tool=memcheck --log-file=vg.log --leak-check=full >>>>> --leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg >>>>> >>>>> >>>>> Also when those months are over, hopefully you update cos you can keep >>>>> running the same FS for many months anyway ;) >>>>> >>>>> >>>>> >>>>> On Tue, Sep 13, 2016 at 9:29 AM, Sergey Safarov >>>>> wrote: >>>>> >>>> I has configured FreeSwitch process memory usage graph. >>>>>> According this graph durring 24 days size of used memory ingrezed >>>>>> about two times. >>>>>> >>>>> >>>>>> Pastebin of FreeSwitch process memory map is placed at >>>>>> https://pastebin.freeswitch.org/view/9e66572a >>>>>> Are you have any suggestion how to find memory leak. >>>>>> >>>>> > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/4672d72f/attachment.html From sdame at 207me.com Wed Sep 14 22:52:48 2016 From: sdame at 207me.com (Stephen Dame) Date: Wed, 14 Sep 2016 14:52:48 -0400 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp In-Reply-To: <1473875763.2789941.725787057.60F8207F@webmail.messagingengine.com> References: <1473875763.2789941.725787057.60F8207F@webmail.messagingengine.com> Message-ID: <01fe01d20eb9$30905670$91b10350$@207me.com> rtmp://nothangout.media.mit.edu/plenary-test <--- this needs to be a server publish point on some red5/fms server. or nginx configured correctly to publish the stream to it at that mount point. Regards, Stephen HostBBB - Online Learning Solutions 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Charlie DeTar Sent: Wednesday, September 14, 2016 1:56 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] Broadcasting conference with mod_rtmp Thanks! I tried this, but didn't get success yet. Maybe I've misunderstood something. Here's what I tried: 1. I added `` to modules.conf.xml, and restarted freeswitch. 2. I connected participants to a conference with destination number "plenary-test". This is what `conference list` in fs_cli shows after this: Conference plenary-test (1 member rate: 44100 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound|livearray_sy running|answered|nc|transcode_video|video_muxing|minimize_video_encoding running|answered||json_status) 1;verto.rtc/plenary-test;4ae28d9e-cf98-363f-ed40-2b6544fb8685;Anonymous;plen ary_user at nothangout.media.mit.edu;hear|speak|video|floor|vid-floor;0;0;0;200 3. In fs_cli, I issued the following command: conference plenary-test record rtmp://nothangout.media.mit.edu/plenary-test The domain here is the same domain as the freeswitch server. There is no red5/wowza/nginx-mod-rtmp/etc running on this server yet. This produced the logs below. [0] 4. I attempted to connect to rtmp://nothangout.media.mit.edu/plenary-test using mplayer, vlc, and rtmpdump. None of them receive any data. Shortly after issuing `conference plenary-test record ...`, whether or not I attempt to connect an rtmp client, freeswitch appears to crash -- the logs show freeswitch starting up, the verto browser session reloads, and the fs_cli socket is lost. I don't see anything in the logs about a crash (it just up-and-reboots). Have I missed a step here? Does freeswitch need a running red5/etc. server that it is connecting to when I issue the `record` command, or is it producing a stream that an rtmp client should be able to consume? Forgive my ignorance here; I'm new to rtmp streaming. I'm running freeswitch 1.6.10~17~726, via freeswitch's debian packages, on debian 8.5. best, Charlie [0] Debug log after issuing `conference plenary-test record ...`, and before freeswitch crashes: 2016-09-14 17:41:57.378173 [DEBUG] avformat.c:1701 sample rate: 44100, channels: 2 Parsing... Parsed protocol: 0 Parsed host : nothangout.media.mit.edu Parsed app : plenary-test RTMP_Connect1, ... connected, handshaking 2016-09-14 17:41:57.408166 [NOTICE] mod_rtmp.c:903 New RTMP session [81e27b34-92ae-4fd8-9d8b-6ba58ed32e80] 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] rtmp_tcp.c:234 Rtmp connection from 18.85.44.183:54786 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:882 Sent handshake response HandShake: Type Answer : 03 HandShake: Server Uptime : 414322 HandShake: FMS Version : 0.0.0.0 HandShake: Handshaking finished.... RTMP_Connect1, handshaked 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:907 Done with handshake 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=116 Invoking connect 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for connect 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 stream_id=0x0] len=4 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 stream_id=0x0] len=5 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 HandleChangeChunkSize, received: chunk size change to 512 HandleServerBW: server BW = 2097152 HandleClientBW: client BW = 2097152 1 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=201 HandleCtrl, received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 0 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=61 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [NOTICE] rtmp_sig.c:122 Sent connect reply RTMP_ClientPacket, received: invoke 201 bytes (object begin) Property: Property: Property: (object begin) Property: Property: (object end) Property: (object begin) Property: Property: Property: Property: Property: (object end) (object end) HandleInvoke, server invoking <_result> HandleInvoke, received result for method call Invoking releaseStream Invoking FCPublish Invoking createStream RTMP_ClientPacket, received: invoke 61 bytes (object begin) Property: Property: Property: NULL Property: (object end) HandleInvoke, server invoking 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=29 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for releaseStream 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [WARNING] rtmp.c:198 Unhandled invoke for "releaseStream" 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for FCPublish 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [WARNING] rtmp.c:198 Unhandled invoke for "FCPublish" 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE for createStream 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=29 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] rtmp_sig.c:137 Replied to createStream (0) RTMP_ClientPacket, received: invoke 29 bytes (object begin) Property: Property: Property: NULL Property: (object end) HandleInvoke, server invoking <_result> HandleInvoke, received result for method call Invoking publish 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:1081 [chunk_stream=4 type=0x14 ts=0 stream_id=0x1] len=30 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:192 [amfnumber=4] Got INVOKE for publish 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=138 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] rtmp_sig.c:290 Got publish on stream 1. HandleCtrl, received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 1 RTMP_ClientPacket, received: invoke 138 bytes (object begin) Property: Property: Property: NULL Property: (object begin) Property: Property: Property: Property: Property: (object end) (object end) HandleInvoke, server invoking HandleInvoke, onStatus: NetStream.Publish.Start 2016-09-14 17:41:57.408166 [DEBUG] avformat.c:1804 use video codec: [28] h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) 2016-09-14 17:41:57.408166 [WARNING] avformat.c:506 Codec [aac] is experimental feature in libavcodec, never mind 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:531 sample_rate: 44100 nb_samples: 1024 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:535 sample_fmt 8 != AV_SAMPLE_FMT_S16, start resampler Output #0, flv, to 'rtmp://nothangout.media.mit.edu/plenary-test': Stream #0.0: Audio: aac, 44100 Hz, stereo, fltp, 131 kb/s 2016-09-14 17:41:57.408166 [INFO] avformat.c:1829 Opening File [rtmp://nothangout.media.mit.edu/plenary-test] 44100hz with VIDEO 2016-09-14 17:41:57.408166 [DEBUG] conference_record.c:279 Setup timer success interval: 20 samples: 882 using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX profile Constrained Baseline, level 4.1 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=30 keyint_min=16 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 aq=1:1.00 2016-09-14 17:41:57.478159 [INFO] avformat.c:2366 use video codec implementation Video: libx264, yuv420p, 800x600, q=10-31, 516 kb/s 2016-09-14 17:41:57.478159 [NOTICE] avformat.c:613 video thread start 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:58.458161 [DEBUG] rtmp.c:1081 [chunk_stream=4 type=0x12 ts=0 stream_id=0x1] len=382 On Wed, Sep 14, 2016, at 05:58 AM, Stephen Dame wrote: > You want to load mod_av > > Then use > > conference xxxxxx record rtmp://yourserver.cpm/stream_id > > you can pass avconv args in this command as well to control encoding > options like frames per second and presets. > > This will send output of MCU to your red5, wowza, or properly > configure nginx rtmp module. > > Can also send it directly to youtube. > > Regards, > Stephen > > HostBBB - Online Learning Solutions > 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Charlie DeTar > Sent: Tuesday, September 13, 2016 10:55 PM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp > > Hi, > > I'm trying to broadcast a WebRTC video conference (via mod_conference > and > mod_verto) over an rtmp stream, with the ultimate goal of transcoding > the rtmp stream for broadcast as an HTML5 video stream (likely using > something like https://github.com/arut/nginx-rtmp-module > for HSL and MPEG-DASH broadcasts). I expect I have the same sort of > requirements of freeswitch that one would need for broadcasting rtmp > to youtube, which the docs mention glancingly without detail [0]. :) > > The video conferencing is working great -- but I'm struggling to > figure out how to access the RTMP stream for it. My rtmp.conf.xml is > basically the default (but with `auth-calls` set to `false`). My > dialplan is as > follows: > > > > break="never"> > > > data="${destination_number}@plenary-conference-profile"/> > > > > > I'm able to connect to freeswitch using RTMP clients (I've tried > rtmpdump, mplayer, and vlc). In fs_cli, I see debug info (example > copied below > [1]) > that seems to indicate successful connections. > However, the RTMP client never receives any data from the server and > disconnects after around 30 seconds. > > I'm trying to connect via URLs like: > rtmp://:/plenary-conferencename > rtmp://:/plenary-conferencename at plenary-conference-profi > le rtmp://:/default/plenary-conferencename > and so on, and all exhibit the same behavior. It doesn't seem to > matter what path I put -- freeswitch accepts the connection, sends no > data, then disconnects after a while. This leads me to suspect I > might just be getting the path name wrong. > > My questions, if anyone has experience with this: > > What is the correct path for the rtmp URL to connect to a video > conference > -- is it just the $destination_number, or something else? > Are there any obvious steps I'm missing to set up rtmp feeds, or any > suggestions for how to do smarter debugging of this? > Does anyone have an example project that successfully broadcasts RTMP > from a video conference to e.g. youtube? > Is there a better or more convenient approach to broadcasting a video > stream from a conference that you prefer to rtmp? > > > The full freeswitch config I'm using is here: > https://gitlab.com/cdetar/plenary-server/tree/master/ansible/roles/ple > nary/t > emplates/freeswitch > , if that's helpful. (Those are templates for an ansible config, so > they contain variables that get interpolated in using {{var}} syntax). > > best, > Charlie > > [0] Glancing reference to youtube+rtmp: > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Vi > deo#Fr > eeSWITCH1.6Video-What%27snew > > [1] fs_cli debug info while attempting to connect via RTMP: > > 2016-09-13 23:37:40.551744 [NOTICE] mod_rtmp.c:903 New RTMP session > [1513874f-9084-470c-a2de-7e5f92bb2296] > 2016-09-13 23:37:40.551744 [INFO] rtmp_tcp.c:234 Rtmp connection from > 98.127.250.255:44131 > 2016-09-13 23:37:40.551744 [DEBUG] rtmp.c:882 Sent handshake response > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:907 Done with handshake > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:1081 [chunk_stream=3 > type=0x14 > ts=0 stream_id=0x0] len=204 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > for connect > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 > stream_id=0x0] len=4 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 > stream_id=0x0] len=4 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 > stream_id=0x0] len=5 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > stream_id=0x0] len=6 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > stream_id=0x0] len=201 > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > stream_id=0x0] len=61 > 2016-09-13 23:37:40.711748 [NOTICE] rtmp_sig.c:122 Sent connect reply > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > type=0x5 > ts=0 stream_id=0x0] len=4 > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1184 Set window size: from > 2097152 to 2097152 bytes > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > type=0x4 > ts=0 stream_id=0x0] len=10 > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 00 > 00 > 00 01 2c > 2016-09-13 23:37:40.851748 [INFO] rtmp.c:118 stream=0 Client buffer > set to 300ms > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=3 > type=0x14 > ts=0 stream_id=0x0] len=25 > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > for createStream > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > stream_id=0x0] len=29 > 2016-09-13 23:37:40.851748 [INFO] rtmp_sig.c:137 Replied to > createStream > (0) > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=8 > type=0x14 > ts=0 stream_id=0x1] len=82 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:192 [amfnumber=8] Got INVOKE > for play > 2016-09-13 23:37:40.991748 [DEBUG] rtmp_sig.c:198 Got play for > plenary-test-pattern-alpha at plenary-conference-profile on stream 1 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 > stream_id=0x0] len=4 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > stream_id=0x0] len=6 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > stream_id=0x0] len=10 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 > stream_id=0x1] len=135 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 > stream_id=0x1] len=135 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 > stream_id=0x1] len=44 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 > stream_id=0x1] len=24 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > type=0x4 > ts=0 stream_id=0x0] len=10 > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 01 > 02 > 25 51 00 > 2016-09-13 23:37:40.991748 [INFO] rtmp.c:118 stream=1 Client buffer > set to 36000000ms > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:1081 [chunk_stream=3 > type=0x14 > ts=0 stream_id=0x0] len=34 > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > for deleteStream > 2016-09-13 23:37:43.951733 [NOTICE] rtmp.c:918 Disconnected from flash > client > 2016-09-13 23:37:43.951733 [DEBUG] rtmp_tcp.c:243 Closing socket > 2016-09-13 23:37:44.691705 [NOTICE] mod_rtmp.c:1025 RTMP session ended > [1513874f-9084-470c-a2de-7e5f92bb2296] > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From anthony.minessale at gmail.com Thu Sep 15 00:26:26 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 14 Sep 2016 15:26:26 -0500 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp In-Reply-To: <01fe01d20eb9$30905670$91b10350$@207me.com> References: <1473875763.2789941.725787057.60F8207F@webmail.messagingengine.com> <01fe01d20eb9$30905670$91b10350$@207me.com> Message-ID: It only broadcasts to a server, it does not act as a relay you need either crtmpd or redfive etc. We could maybe make that possible some day with enough code but its not possible at all today. I see mit.edu in your logs. Doing some academic research? Contact us directly, consulting at freeswitch.org and/or press the "live chat" button on https://freeswitch.org we like working with universities. On Wed, Sep 14, 2016 at 1:52 PM, Stephen Dame wrote: > rtmp://nothangout.media.mit.edu/plenary-test <--- this needs to be a > server > publish point on some red5/fms server. or nginx configured correctly to > publish the stream to it at that mount point. > > > > Regards, > Stephen > > HostBBB - Online Learning Solutions > 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Charlie > DeTar > Sent: Wednesday, September 14, 2016 1:56 PM > To: freeswitch-users at lists.freeswitch.org > Subject: Re: [Freeswitch-users] Broadcasting conference with mod_rtmp > > Thanks! I tried this, but didn't get success yet. Maybe I've > misunderstood > something. Here's what I tried: > > 1. I added `` to modules.conf.xml, and restarted > freeswitch. > > 2. I connected participants to a conference with destination number > "plenary-test". This is what `conference list` in fs_cli shows after > this: > > Conference plenary-test (1 member rate: 44100 flags: > running|answered|enforce_min|dynamic|exit_sound|enter_sound|livearray_sy > running|answered|nc|transcode_video|video_muxing|minimize_video_encoding > running|answered||json_status) > 1;verto.rtc/plenary-test;4ae28d9e-cf98-363f-ed40- > 2b6544fb8685;Anonymous;plen > ary_user at nothangout.media.mit.edu;hear|speak|video|floor| > vid-floor;0;0;0;200 > > 3. In fs_cli, I issued the following command: > > conference plenary-test record > rtmp://nothangout.media.mit.edu/plenary-test > > The domain here is the same domain as the freeswitch server. There is no > red5/wowza/nginx-mod-rtmp/etc running on this server yet. This produced > the > logs below. [0] > > 4. I attempted to connect to > rtmp://nothangout.media.mit.edu/plenary-test using mplayer, vlc, and > rtmpdump. None of them receive any data. > > Shortly after issuing `conference plenary-test record ...`, whether or not > I > attempt to connect an rtmp client, freeswitch appears to crash -- the logs > show freeswitch starting up, the verto browser session reloads, and the > fs_cli socket is lost. I don't see anything in the logs about a crash (it > just up-and-reboots). > > > Have I missed a step here? Does freeswitch need a running red5/etc. > server that it is connecting to when I issue the `record` command, or is it > producing a stream that an rtmp client should be able to consume? > Forgive my ignorance here; I'm new to rtmp streaming. > > I'm running freeswitch 1.6.10~17~726, via freeswitch's debian packages, on > debian 8.5. > > best, > Charlie > > > [0] Debug log after issuing `conference plenary-test record ...`, and > before > freeswitch crashes: > > 2016-09-14 17:41:57.378173 [DEBUG] avformat.c:1701 sample rate: 44100, > channels: 2 > Parsing... > Parsed protocol: 0 > Parsed host : nothangout.media.mit.edu > Parsed app : plenary-test > RTMP_Connect1, ... connected, handshaking > 2016-09-14 17:41:57.408166 [NOTICE] mod_rtmp.c:903 New RTMP session > [81e27b34-92ae-4fd8-9d8b-6ba58ed32e80] > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] > rtmp_tcp.c:234 Rtmp connection from 18.85.44.183:54786 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:882 Sent handshake response > HandShake: Type Answer : 03 > HandShake: Server Uptime : 414322 > HandShake: FMS Version : 0.0.0.0 > HandShake: Handshaking finished.... > RTMP_Connect1, handshaked > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:907 Done with handshake > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=116 Invoking > connect > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=3] Got INVOKE for connect > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x5 stream_id=0x0] len=4 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x6 stream_id=0x0] len=5 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 > HandleChangeChunkSize, > received: chunk size change to 512 > HandleServerBW: server BW = 2097152 > HandleClientBW: client BW = 2097152 1 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=201 HandleCtrl, > received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 0 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=61 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [NOTICE] > rtmp_sig.c:122 Sent connect reply > RTMP_ClientPacket, received: invoke 201 bytes (object begin) > Property: > Property: > Property: > (object begin) > Property: > Property: > (object end) > Property: > (object begin) > Property: > Property: NetConnection.Connect.Success> > Property: > Property: > Property: > (object end) > (object end) > HandleInvoke, server invoking <_result> > HandleInvoke, received result for method call Invoking > releaseStream Invoking FCPublish Invoking createStream RTMP_ClientPacket, > received: invoke 61 bytes (object begin) > Property: > Property: > Property: NULL > Property: 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80> > (object end) > HandleInvoke, server invoking > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=29 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=3] Got INVOKE for releaseStream > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [WARNING] > rtmp.c:198 Unhandled invoke for "releaseStream" > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=3] Got INVOKE for FCPublish > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [WARNING] > rtmp.c:198 Unhandled invoke for "FCPublish" > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=3] Got INVOKE for createStream > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=29 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] > rtmp_sig.c:137 Replied to createStream (0) RTMP_ClientPacket, received: > invoke 29 bytes (object begin) > Property: > Property: > Property: NULL > Property: > (object end) > HandleInvoke, server invoking <_result> > HandleInvoke, received result for method call Invoking > publish > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=4 type=0x14 ts=0 stream_id=0x1] len=30 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=4] Got INVOKE for publish > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=138 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] > rtmp_sig.c:290 Got publish on stream 1. > HandleCtrl, received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 1 > RTMP_ClientPacket, received: invoke 138 bytes (object begin) > Property: > Property: > Property: NULL > Property: > (object begin) > Property: > Property: > Property: > Property: > Property: > (object end) > (object end) > HandleInvoke, server invoking HandleInvoke, onStatus: > NetStream.Publish.Start > 2016-09-14 17:41:57.408166 [DEBUG] avformat.c:1804 use video codec: [28] > h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) > 2016-09-14 17:41:57.408166 [WARNING] avformat.c:506 Codec [aac] is > experimental feature in libavcodec, never mind > 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:531 sample_rate: 44100 > nb_samples: 1024 > 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:535 sample_fmt 8 != > AV_SAMPLE_FMT_S16, start resampler Output #0, flv, to > 'rtmp://nothangout.media.mit.edu/plenary-test': > Stream #0.0: Audio: aac, 44100 Hz, stereo, fltp, 131 kb/s > 2016-09-14 17:41:57.408166 [INFO] avformat.c:1829 Opening File > [rtmp://nothangout.media.mit.edu/plenary-test] 44100hz with VIDEO > 2016-09-14 17:41:57.408166 [DEBUG] conference_record.c:279 Setup timer > success interval: 20 samples: 882 using cpu capabilities: MMX2 SSE2Fast > SSSE3 SSE4.2 AVX profile Constrained Baseline, level 4.1 > 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft > 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 > deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 > mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 > deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 > lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 > bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=30 > keyint_min=16 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf > mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 > aq=1:1.00 > 2016-09-14 17:41:57.478159 [INFO] avformat.c:2366 use video codec > implementation Video: libx264, yuv420p, 800x600, q=10-31, 516 kb/s > 2016-09-14 17:41:57.478159 [NOTICE] avformat.c:613 video thread start > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:58.458161 [DEBUG] > rtmp.c:1081 [chunk_stream=4 type=0x12 ts=0 stream_id=0x1] len=382 > > > On Wed, Sep 14, 2016, at 05:58 AM, Stephen Dame wrote: > > You want to load mod_av > > > > Then use > > > > conference xxxxxx record rtmp://yourserver.cpm/stream_id > > > > you can pass avconv args in this command as well to control encoding > > options like frames per second and presets. > > > > This will send output of MCU to your red5, wowza, or properly > > configure nginx rtmp module. > > > > Can also send it directly to youtube. > > > > Regards, > > Stephen > > > > HostBBB - Online Learning Solutions > > 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame > > > > -----Original Message----- > > From: freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > > Charlie DeTar > > Sent: Tuesday, September 13, 2016 10:55 PM > > To: freeswitch-users at lists.freeswitch.org > > Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp > > > > Hi, > > > > I'm trying to broadcast a WebRTC video conference (via mod_conference > > and > > mod_verto) over an rtmp stream, with the ultimate goal of transcoding > > the rtmp stream for broadcast as an HTML5 video stream (likely using > > something like https://github.com/arut/nginx-rtmp-module > > for HSL and MPEG-DASH broadcasts). I expect I have the same sort of > > requirements of freeswitch that one would need for broadcasting rtmp > > to youtube, which the docs mention glancingly without detail [0]. :) > > > > The video conferencing is working great -- but I'm struggling to > > figure out how to access the RTMP stream for it. My rtmp.conf.xml is > > basically the default (but with `auth-calls` set to `false`). My > > dialplan is as > > follows: > > > > > > > > > break="never"> > > > > > > > data="${destination_number}@plenary-conference-profile"/> > > > > > > > > > > I'm able to connect to freeswitch using RTMP clients (I've tried > > rtmpdump, mplayer, and vlc). In fs_cli, I see debug info (example > > copied below > > [1]) > > that seems to indicate successful connections. > > However, the RTMP client never receives any data from the server and > > disconnects after around 30 seconds. > > > > I'm trying to connect via URLs like: > > rtmp://:/plenary-conferencename > > rtmp://:/plenary-conferencename at plenary-conference-profi > > le rtmp://:/default/plenary-conferencename > > and so on, and all exhibit the same behavior. It doesn't seem to > > matter what path I put -- freeswitch accepts the connection, sends no > > data, then disconnects after a while. This leads me to suspect I > > might just be getting the path name wrong. > > > > My questions, if anyone has experience with this: > > > > What is the correct path for the rtmp URL to connect to a video > > conference > > -- is it just the $destination_number, or something else? > > Are there any obvious steps I'm missing to set up rtmp feeds, or any > > suggestions for how to do smarter debugging of this? > > Does anyone have an example project that successfully broadcasts RTMP > > from a video conference to e.g. youtube? > > Is there a better or more convenient approach to broadcasting a video > > stream from a conference that you prefer to rtmp? > > > > > > The full freeswitch config I'm using is here: > > https://gitlab.com/cdetar/plenary-server/tree/master/ansible/roles/ple > > nary/t > > emplates/freeswitch > > , if that's helpful. (Those are templates for an ansible config, so > > they contain variables that get interpolated in using {{var}} syntax). > > > > best, > > Charlie > > > > [0] Glancing reference to youtube+rtmp: > > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Vi > > deo#Fr > > eeSWITCH1.6Video-What%27snew > > > > [1] fs_cli debug info while attempting to connect via RTMP: > > > > 2016-09-13 23:37:40.551744 [NOTICE] mod_rtmp.c:903 New RTMP session > > [1513874f-9084-470c-a2de-7e5f92bb2296] > > 2016-09-13 23:37:40.551744 [INFO] rtmp_tcp.c:234 Rtmp connection from > > 98.127.250.255:44131 > > 2016-09-13 23:37:40.551744 [DEBUG] rtmp.c:882 Sent handshake response > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:907 Done with handshake > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:1081 [chunk_stream=3 > > type=0x14 > > ts=0 stream_id=0x0] len=204 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > > for connect > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 > > stream_id=0x0] len=4 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 > > stream_id=0x0] len=4 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 > > stream_id=0x0] len=5 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > > stream_id=0x0] len=6 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > > stream_id=0x0] len=201 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > > stream_id=0x0] len=61 > > 2016-09-13 23:37:40.711748 [NOTICE] rtmp_sig.c:122 Sent connect reply > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > > type=0x5 > > ts=0 stream_id=0x0] len=4 > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1184 Set window size: from > > 2097152 to 2097152 bytes > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > > type=0x4 > > ts=0 stream_id=0x0] len=10 > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 00 > > 00 > > 00 01 2c > > 2016-09-13 23:37:40.851748 [INFO] rtmp.c:118 stream=0 Client buffer > > set to 300ms > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=3 > > type=0x14 > > ts=0 stream_id=0x0] len=25 > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > > for createStream > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > > stream_id=0x0] len=29 > > 2016-09-13 23:37:40.851748 [INFO] rtmp_sig.c:137 Replied to > > createStream > > (0) > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=8 > > type=0x14 > > ts=0 stream_id=0x1] len=82 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:192 [amfnumber=8] Got INVOKE > > for play > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp_sig.c:198 Got play for > > plenary-test-pattern-alpha at plenary-conference-profile on stream 1 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 > > stream_id=0x0] len=4 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > > stream_id=0x0] len=6 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > > stream_id=0x0] len=10 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 > > stream_id=0x1] len=135 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 > > stream_id=0x1] len=135 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 > > stream_id=0x1] len=44 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 > > stream_id=0x1] len=24 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > > type=0x4 > > ts=0 stream_id=0x0] len=10 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 01 > > 02 > > 25 51 00 > > 2016-09-13 23:37:40.991748 [INFO] rtmp.c:118 stream=1 Client buffer > > set to 36000000ms > > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:1081 [chunk_stream=3 > > type=0x14 > > ts=0 stream_id=0x0] len=34 > > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > > for deleteStream > > 2016-09-13 23:37:43.951733 [NOTICE] rtmp.c:918 Disconnected from flash > > client > > 2016-09-13 23:37:43.951733 [DEBUG] rtmp_tcp.c:243 Closing socket > > 2016-09-13 23:37:44.691705 [NOTICE] mod_rtmp.c:1025 RTMP session ended > > [1513874f-9084-470c-a2de-7e5f92bb2296] > > > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > http://www.freeswitch.org > > > > > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/19a9eb45/attachment-0001.html From jnankin at gmail.com Thu Sep 15 02:14:13 2016 From: jnankin at gmail.com (Josh Nankin) Date: Wed, 14 Sep 2016 17:14:13 -0500 Subject: [Freeswitch-users] Server shutdown event process Message-ID: I see there are several events fired when Freeswitch terminates: - SERVER_DISCONNECTED - SESSION_CRASH - SHUTDOWN Under what circumstances is each of these fired? Is there an event that is guaranteed to always be fired before the server stops? Is there an event that is fired during an abnormal termination vs a normal/graceful shutdown? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/e2bdc854/attachment.html From mike at jerris.com Thu Sep 15 02:20:21 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Sep 2016 18:20:21 -0400 Subject: [Freeswitch-users] Server shutdown event process In-Reply-To: References: Message-ID: <1EBE0837-BBD0-438F-90E4-64C293255BBE@jerris.com> SHUTDOWN is the event sent before FreeSWITCH shuts down. If it crashes, there would be no event. What sort of abnormal shutdown do you mean? > On Sep 14, 2016, at 6:14 PM, Josh Nankin wrote: > > I see there are several events fired when Freeswitch terminates: > > SERVER_DISCONNECTED > SESSION_CRASH > SHUTDOWN > Under what circumstances is each of these fired? Is there an event that is guaranteed to always be fired before the server stops? > > Is there an event that is fired during an abnormal termination vs a normal/graceful shutdown? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/a3e0c522/attachment.html From shakumarsoftware at gmail.com Thu Sep 15 03:17:47 2016 From: shakumarsoftware at gmail.com (Sharath Kumar) Date: Wed, 14 Sep 2016 17:17:47 -0600 Subject: [Freeswitch-users] 1.6.10 libfreeswitch strange behavior In-Reply-To: References: Message-ID: > > All, > > I recently upgraded my not so common usage of FS embedded as a library in > an linux application (x86_64 ) from 1.0.6 to 1.6.10. I was able to compile > and link :). I was worried such a big upgrade may be a difficult compile > but I didn't have to change a lot. But I am running into some strange > problems with mutex locks that have led me to believe it is not built > right. > > Also, I did not run dev-bootstrap.sh on the tar package(1.6.10). Do i need > to ? > > The problem I have is the "sofia profile" comes up with the rwlock already > locked!! > [When I try to send any sort of API comand or try to REGISTER this occurs.] > > "2016-09-14 23:30:50.324500 [ERR] sofia.c:1420 Profile softphone is locked" > > I believe all the rwlock from APR are corrupted or not initialized > correctly. > > Another time I constant crashing after my application issued > switch_init_and_modload. > > I only have 1 profile in the freeswitch.xml (attached) and just a handful > of modules that are loaded(mod_sofia, mod_commands, mod_logfile, > mod_dptools, mod_dialplan_xml) > > The makefile is given below.(freeswitch,mk) > > The script output of the makefile is attached (fsbuild.txt.bz2). > > FS logoutput attached(i had added some additional logs as well) > freeswitch.log > > Does anyone see anything obviously wrong ? I am stuck at this point and > any help would be really great! I will contribute to documentation if this > thing does indeed work. > > Thank you so much! > Shaks > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: fsbuild.txt.bz2 Type: application/x-bzip2 Size: 144345 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0001.bz2 -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch.mk Type: text/x-makefile Size: 2651 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch.xml Type: text/xml Size: 10120 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0001.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch.log Type: text/x-log Size: 7915 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/9df13964/attachment-0003.bin From cfd-fs at fohn.org Thu Sep 15 04:20:23 2016 From: cfd-fs at fohn.org (Charlie DeTar) Date: Wed, 14 Sep 2016 18:20:23 -0600 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp In-Reply-To: References: <1473875763.2789941.725787057.60F8207F@webmail.messagingengine.com> <01fe01d20eb9$30905670$91b10350$@207me.com> Message-ID: <1473898823.2870609.726129369.2BD9C374@webmail.messagingengine.com> Thanks for clarifying that. I configured nginx-rtmp-module, and was able to successfully got an rtmp stream sent from the conference to sent to it and transcoded to HLS / MPEG-DASH. However, freeswitch still crashes a short time after invoking `conference record ...` (I've seen between 10 seconds and 2 minutes after). My next attempt will be to compile freeswitch from source rather than using freeswitch's debian packages, to see if a more recent commit can survive recording to rtmp without crashing. Thanks for the offer Anthony, I am working with an MIT lab on a research project. I'll follow up separately. -charlie On Wed, Sep 14, 2016, at 02:26 PM, Anthony Minessale wrote: > It only broadcasts to a server, it does not act as a relay you need > either crtmpd or redfive etc. > We could maybe make that possible some day with enough code but its > not possible at all today. > > > I see mit.edu in your logs. Doing some academic research? Contact us > directly, consulting at freeswitch.org and/or press the "live chat" > button on https://freeswitch.org we like working with universities. > > > > On Wed, Sep 14, 2016 at 1:52 PM, Stephen Dame wrote: >> rtmp://nothangout.media.mit.edu/plenary-test <--- this needs to be >> a server >> publish point on some red5/fms server. or nginx configured >> correctly to >> publish the stream to it at that mount point. >> >> >> >> Regards, Stephen >> >> HostBBB - Online Learning Solutions 207 Technology Group Inc. 1-888-229- >> 9756 skype: Stephen_Dame >> >> -----Original Message----- From: freeswitch-users- >> bounces at lists.freeswitch.org [mailto:freeswitch-users- >> bounces at lists.freeswitch.org] On Behalf Of Charlie DeTar Sent: >> Wednesday, September 14, 2016 1:56 PM To: freeswitch- >> users at lists.freeswitch.org Subject: Re: [Freeswitch-users] >> Broadcasting conference with mod_rtmp >> >> Thanks! I tried this, but didn't get success yet. Maybe I've >> misunderstood something. Here's what I tried: >> >> 1. I added `` to modules.conf.xml, and >> restarted freeswitch. >> >> 2. I connected participants to a conference with destination number >> "plenary-test". This is what `conference list` in fs_cli shows >> after this: >> >> Conference plenary-test (1 member rate: 44100 flags: running|answer- >> ed|enforce_min|dynamic|exit_sound|enter_sound|livearray_sy running|- >> answered|nc|transcode_video|video_muxing|minimize_video_encoding >> running|answered||json_status) >> >> 1;verto.rtc/plenary-test;4ae28d9e-cf98-363f-ed40- >> 2b6544fb8685;Anonymous;plen >> ary_user at nothangout.media.mit.edu;hear|speak|video|floor|vid- >> floor;0;0;0;200 >> >> 3. In fs_cli, I issued the following command: >> >> conference plenary-test record >> rtmp://nothangout.media.mit.edu/plenary-test >> >> The domain here is the same domain as the freeswitch server. >> There is no >> red5/wowza/nginx-mod-rtmp/etc running on this server yet. This >> produced the >> logs below. [0] >> >> 4. I attempted to connect to >> rtmp://nothangout.media.mit.edu/plenary-test using mplayer, vlc, and >> rtmpdump. None of them receive any data. >> >> Shortly after issuing `conference plenary-test record ...`, whether >> or not I >> attempt to connect an rtmp client, freeswitch appears to crash -- >> the logs >> show freeswitch starting up, the verto browser session reloads, >> and the >> fs_cli socket is lost. I don't see anything in the logs about a >> crash (it >> just up-and-reboots). >> >> >> Have I missed a step here? Does freeswitch need a running red5/etc. >> server that it is connecting to when I issue the `record` command, >> or is it >> producing a stream that an rtmp client should be able to consume? >> Forgive my ignorance here; I'm new to rtmp streaming. >> >> I'm running freeswitch 1.6.10~17~726, via freeswitch's debian >> packages, on >> debian 8.5. >> >> best, >> Charlie >> >> >> [] Debug log after issuing `conference plenary-test record ...`, and >> before >> freeswitch crashes: >> >> 2016-09-14 17:41:57.378173 [DEBUG] avformat.c:1701 sample rate: >> 44100, >> channels: 2 >> Parsing... >> Parsed protocol: 0 >> Parsed host : nothangout.media.mit.edu >> Parsed app : plenary-test >> RTMP_Connect1, ... connected, handshaking >> 2016-09-14 17:41:57.408166 [NOTICE] mod_rtmp.c:903 New RTMP session >> [81e27b34-92ae-4fd8-9d8b-6ba58ed32e80] >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [INFO] >> rtmp_tcp.c:234 Rtmp connection from 18.85.44.183:54786 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:882 Sent handshake response >> HandShake: Type Answer : 03 >> HandShake: Server Uptime : 414322 >> HandShake: FMS Version : 0.0.0.0 >> HandShake: Handshaking finished.... >> RTMP_Connect1, handshaked >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:907 Done with handshake >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=116 >> Invoking >> connect >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:192 [amfnumber=3] Got INVOKE for connect >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=2 type=0x5 stream_id=0x0] len=4 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=2 type=0x6 stream_id=0x0] len=5 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 >> HandleChangeChunkSize, >> received: chunk size change to 512 >> HandleServerBW: server BW = 2097152 >> HandleClientBW: client BW = 2097152 1 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=201 HandleCtrl, >> received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 0 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=61 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [NOTICE] >> rtmp_sig.c:122 Sent connect reply >> RTMP_ClientPacket, received: invoke 201 bytes (object begin) >> Property: >> Property: >> Property: >> (object begin) >> Property: >> Property: >> (object end) >> Property: >> (object begin) >> Property: >> Property: > NetConnection.Connect.Success> >> Property: > succeeded> >> Property: >> Property: >> (object end) >> (object end) >> HandleInvoke, server invoking <_result> >> HandleInvoke, received result for method call Invoking >> releaseStream Invoking FCPublish Invoking createStream >> RTMP_ClientPacket, >> received: invoke 61 bytes (object begin) >> Property: >> Property: >> Property: NULL >> Property: > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80> >> (object end) >> HandleInvoke, server invoking >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=29 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:192 [amfnumber=3] Got INVOKE for releaseStream >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [WARNING] >> rtmp.c:198 Unhandled invoke for "releaseStream" >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:192 [amfnumber=3] Got INVOKE for FCPublish >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [WARNING] >> rtmp.c:198 Unhandled invoke for "FCPublish" >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:192 [amfnumber=3] Got INVOKE for createStream >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=29 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [INFO] >> rtmp_sig.c:137 Replied to createStream (0) RTMP_ClientPacket, >> received: >> invoke 29 bytes (object begin) >> Property: >> Property: >> Property: NULL >> Property: >> (object end) >> HandleInvoke, server invoking <_result> >> HandleInvoke, received result for method call >> Invoking >> publish >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:1081 [chunk_stream=4 type=0x14 ts=0 stream_id=0x1] len=30 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:192 [amfnumber=4] Got INVOKE for publish >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [DEBUG] >> rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=138 >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 >> [INFO] >> rtmp_sig.c:290 Got publish on stream 1. >> HandleCtrl, received ctrl. type: 0, len: 6 HandleCtrl, Stream >> Begin 1 >> RTMP_ClientPacket, received: invoke 138 bytes (object begin) >> Property: >> Property: >> Property: NULL >> Property: >> (object begin) >> Property: >> Property: > NetStream.Publish.Start> >> Property: >> Property: >> Property: >> (object end) >> (object end) >> HandleInvoke, server invoking HandleInvoke, onStatus: >> NetStream.Publish.Start >> 2016-09-14 17:41:57.408166 [DEBUG] avformat.c:1804 use video >> codec: [28] >> h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) >> 2016-09-14 17:41:57.408166 [WARNING] avformat.c:506 Codec [aac] is >> experimental feature in libavcodec, never mind >> 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:531 >> sample_rate: 44100 >> nb_samples: 1024 >> 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:535 sample_fmt 8 != >> AV_SAMPLE_FMT_S16, start resampler Output #0, flv, to >> 'rtmp://nothangout.media.mit.edu/plenary-test': >> Stream #0.0: Audio: aac, 44100 Hz, stereo, fltp, 131 kb/s >> 2016-09-14 17:41:57.408166 [INFO] avformat.c:1829 Opening File >> [rtmp://nothangout.media.mit.edu/plenary-test] 44100hz with VIDEO >> 2016-09-14 17:41:57.408166 [DEBUG] conference_record.c:279 >> Setup timer >> success interval: 20 samples: 882 using cpu capabilities: MMX2 >> SSE2Fast >> SSSE3 SSE4.2 AVX profile Constrained Baseline, level 4.1 >> 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft >> 2003-2014 - http://www.videolan.org/x264.html - options: >> cabac=0 ref=1 >> deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 >> psy_rd=1.00:0.00 >> mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 >> deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 >> lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 >> bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=30 >> keyint_min=16 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf >> mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 >> ip_ratio=1.41 >> aq=1:1.00 >> 2016-09-14 17:41:57.478159 [INFO] avformat.c:2366 use video codec >> implementation Video: libx264, yuv420p, 800x600, q=10-31, 516 kb/s >> 2016-09-14 17:41:57.478159 [NOTICE] avformat.c:613 video >> thread start >> 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:58.458161 >> [DEBUG] >> rtmp.c:1081 [chunk_stream=4 type=0x12 ts=0 stream_id=0x1] len=382 >> >> >> On Wed, Sep 14, 2016, at 05:58 AM, Stephen Dame wrote: >> > You want to load mod_av >> > >> > Then use >> > >> > conference xxxxxx record rtmp://yourserver.cpm/stream_id >> > >> > you can pass avconv args in this command as well to control >> > encoding >> > options like frames per second and presets. >> > >> > This will send output of MCU to your red5, wowza, or properly >> > configure nginx rtmp module. >> > >> > Can also send it directly to youtube. >> > >> > Regards, >> > Stephen >> > >> > HostBBB - Online Learning Solutions >> > 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame >> > >> > -----Original Message----- >> > From: freeswitch-users-bounces at lists.freeswitch.org >> > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On >> > Behalf Of >> > Charlie DeTar >> > Sent: Tuesday, September 13, 2016 10:55 PM >> > To: freeswitch-users at lists.freeswitch.org >> > Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp >> > >> > Hi, >> > >> > I'm trying to broadcast a WebRTC video conference (via >> > mod_conference >> > and >> > mod_verto) over an rtmp stream, with the ultimate goal of >> > transcoding >> > the rtmp stream for broadcast as an HTML5 video stream (likely >> > using >> > something like https://github.com/arut/nginx-rtmp-module >> > for HSL and MPEG-DASH broadcasts). I expect I have the same >> > sort of >> > requirements of freeswitch that one would need for broadcasting >> > rtmp >> > to youtube, which the docs mention glancingly without detail >> > [0]. :) >> > >> > The video conferencing is working great -- but I'm struggling to >> > figure out how to access the RTMP stream for it. My >> > rtmp.conf.xml is >> > basically the default (but with `auth-calls` set to `false`). My >> > dialplan is as >> > follows: >> > >> > >> > >> > > > break="never"> >> > >> > >> > > > data="${destination_number}@plenary-conference- >> > profile"/> >> > >> > >> > >> > >> > I'm able to connect to freeswitch using RTMP clients (I've tried >> > rtmpdump, mplayer, and vlc). In fs_cli, I see debug info (example >> > copied below >> > [1]) >> > that seems to indicate successful connections. >> > However, the RTMP client never receives any data from the >> > server and >> > disconnects after around 30 seconds. >> > >> > I'm trying to connect via URLs like: >> > rtmp://:/plenary-conferencename >> > rtmp://:/plenary-conferencename at plenary-conference- >> > profi >> > le rtmp://:/default/plenary-conferencename >> >> > and so on, and all exhibit the same behavior. It doesn't seem to >> > matter what path I put -- freeswitch accepts the connection, >> > sends no >> > data, then disconnects after a while. This leads me to suspect I >> > might just be getting the path name wrong. >> > >> > My questions, if anyone has experience with this: >> > >> > What is the correct path for the rtmp URL to connect to a video >> > conference >> > -- is it just the $destination_number, or something else? >> > Are there any obvious steps I'm missing to set up rtmp feeds, >> > or any >> > suggestions for how to do smarter debugging of this? >> > Does anyone have an example project that successfully broadcasts >> > RTMP >> > from a video conference to e.g. youtube? >> > Is there a better or more convenient approach to broadcasting a >> > video >> > stream from a conference that you prefer to rtmp? >> > >> > >> > The full freeswitch config I'm using is here: >> > https://gitlab.com/cdetar/plenary-server/tree/master/ansible/roles/ple >> > nary/t >> > emplates/freeswitch >> > , if that's helpful. (Those are templates for an ansible >> > config, so >> > they contain variables that get interpolated in using {{var}} >> > syntax). >> > >> > best, >> > Charlie >> > >> > [] Glancing reference to youtube+rtmp: >> > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Vi >> > deo#Fr >> > eeSWITCH1.6Video-What%27snew >> > >> > [1] fs_cli debug info while attempting to connect via RTMP: >> > >> > 2016-09-13 23:37:40.551744 [NOTICE] mod_rtmp.c:903 New RTMP >> > session >> > [1513874f-9084-470c-a2de-7e5f92bb2296] >> > 2016-09-13 23:37:40.551744 [INFO] rtmp_tcp.c:234 Rtmp connection >> > from >> > 98.127.250.255:44131 >> > 2016-09-13 23:37:40.551744 [DEBUG] rtmp.c:882 Sent handshake >> > response >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:907 Done with handshake >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:1081 [chunk_stream=3 >> > type=0x14 >> > ts=0 stream_id=0x0] len=204 >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:192 [amfnumber=3] Got >> > INVOKE >> > for connect >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 >> > type=0x1 >> > stream_id=0x0] len=4 >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 >> > type=0x5 >> > stream_id=0x0] len=4 >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 >> > type=0x6 >> > stream_id=0x0] len=5 >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 >> > type=0x4 >> > stream_id=0x0] len=6 >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 >> > type=0x14 >> > stream_id=0x0] len=201 >> > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 >> > type=0x14 >> > stream_id=0x0] len=61 >> > 2016-09-13 23:37:40.711748 [NOTICE] rtmp_sig.c:122 Sent connect >> > reply >> > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 >> > type=0x5 >> > ts=0 stream_id=0x0] len=4 >> > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1184 Set window size: >> > from >> > 2097152 to 2097152 bytes >> > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 >> > type=0x4 >> > ts=0 stream_id=0x0] len=10 >> > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:91 Control (3): 00 00 >> > 00 00 >> > 00 >> > 00 01 2c >> > 2016-09-13 23:37:40.851748 [INFO] rtmp.c:118 stream=0 Client >> > buffer >> > set to 300ms >> > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=3 >> > type=0x14 >> > ts=0 stream_id=0x0] len=25 >> > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:192 [amfnumber=3] Got >> > INVOKE >> > for createStream >> > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:656 [amfnumber=3 >> > type=0x14 >> > stream_id=0x0] len=29 >> > 2016-09-13 23:37:40.851748 [INFO] rtmp_sig.c:137 Replied to >> > createStream >> > () >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=8 >> > type=0x14 >> > ts=0 stream_id=0x1] len=82 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:192 [amfnumber=8] Got >> > INVOKE >> > for play >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp_sig.c:198 Got play for >> > plenary-test-pattern-alpha at plenary-conference-profile on stream 1 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 >> > type=0x1 >> > stream_id=0x0] len=4 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 >> > type=0x4 >> > stream_id=0x0] len=6 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 >> > type=0x4 >> > stream_id=0x0] len=10 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 >> > type=0x14 >> > stream_id=0x1] len=135 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 >> > type=0x14 >> > stream_id=0x1] len=135 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 >> > type=0x12 >> > stream_id=0x1] len=44 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 >> > type=0x12 >> > stream_id=0x1] len=24 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=2 >> > type=0x4 >> > ts=0 stream_id=0x0] len=10 >> > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:91 Control (3): 00 00 >> > 00 01 >> > 02 >> > 25 51 00 >> > 2016-09-13 23:37:40.991748 [INFO] rtmp.c:118 stream=1 Client >> > buffer >> > set to 36000000ms >> > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:1081 [chunk_stream=3 >> > type=0x14 >> > ts=0 stream_id=0x0] len=34 >> > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:192 [amfnumber=3] Got >> > INVOKE >> > for deleteStream >> > 2016-09-13 23:37:43.951733 [NOTICE] rtmp.c:918 Disconnected from >> > flash >> > client >> > 2016-09-13 23:37:43.951733 [DEBUG] rtmp_tcp.c:243 Closing socket >> > 2016-09-13 23:37:44.691705 [NOTICE] mod_rtmp.c:1025 RTMP session >> > ended >> > [1513874f-9084-470c-a2de-7e5f92bb2296] >> > >> > _________________________________________________________________- >> > _____ >> > ___ Professional FreeSWITCH Consulting Services: >> > consulting at 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 at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: >> > http://lists.freeswitch.org/mailman/options/freeswitch-use rs >> > http://www.freeswitch.org >> > >> > >> > _________________________________________________________________- >> > _____ >> > ___ Professional FreeSWITCH Consulting Services: >> >> > consulting at 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 at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> > http://lists.freeswitch.org/mailman/options/freeswitch-use >> > rs >> > http://www.freeswitch.org >> >> ___________________________________________________________________- >> ______ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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+_ > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org[1] ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > ___________________________________________________________________- > ________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org Links: 1. mailto:sip%3A888 at conference.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/39ac4c0e/attachment-0001.html From mike at jerris.com Thu Sep 15 06:15:15 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 14 Sep 2016 22:15:15 -0400 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp In-Reply-To: <1473898823.2870609.726129369.2BD9C374@webmail.messagingengine.com> References: <1473875763.2789941.725787057.60F8207F@webmail.messagingengine.com> <01fe01d20eb9$30905670$91b10350$@207me.com> <1473898823.2870609.726129369.2BD9C374@webmail.messagingengine.com> Message-ID: we run rtmp streams all the time without crashing so something weird is going on, i doubt it's the packaging. Can you get a backtrace of the crash and report a bug to jira so we can investigate? On Wednesday, September 14, 2016, Charlie DeTar wrote: > Thanks for clarifying that. I configured nginx-rtmp-module, and was able > to successfully got an rtmp stream sent from the conference to sent to it > and transcoded to HLS / MPEG-DASH. However, freeswitch still crashes a > short time after invoking `conference record ...` (I've seen between > 10 seconds and 2 minutes after). > > My next attempt will be to compile freeswitch from source rather than > using freeswitch's debian packages, to see if a more recent commit can > survive recording to rtmp without crashing. > > Thanks for the offer Anthony, I am working with an MIT lab on a research > project. I'll follow up separately. > > -charlie > > On Wed, Sep 14, 2016, at 02:26 PM, Anthony Minessale wrote: > > It only broadcasts to a server, it does not act as a relay you need either > crtmpd or redfive etc. > We could maybe make that possible some day with enough code but its not > possible at all today. > > > I see mit.edu in your logs. Doing some academic research? Contact us > directly, consulting at freeswitch.org > and/or press > the "live chat" button on https://freeswitch.org we like working with > universities. > > > > On Wed, Sep 14, 2016 at 1:52 PM, Stephen Dame > wrote: > > rtmp://nothangout.media.mit.edu/plenary-test <--- this needs to be a > server > publish point on some red5/fms server. or nginx configured correctly to > publish the stream to it at that mount point. > > > > Regards, > Stephen > > HostBBB - Online Learning Solutions > 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] > On Behalf Of Charlie > DeTar > Sent: Wednesday, September 14, 2016 1:56 PM > To: freeswitch-users at lists.freeswitch.org > > Subject: Re: [Freeswitch-users] Broadcasting conference with mod_rtmp > > Thanks! I tried this, but didn't get success yet. Maybe I've > misunderstood > something. Here's what I tried: > > 1. I added `` to modules.conf.xml, and restarted > freeswitch. > > 2. I connected participants to a conference with destination number > "plenary-test". This is what `conference list` in fs_cli shows after > this: > > Conference plenary-test (1 member rate: 44100 flags: > running|answered|enforce_min|dynamic|exit_sound|enter_sound|livearray_sy > running|answered|nc|transcode_video|video_muxing|minimize_video_encoding > running|answered||json_status) > > 1;verto.rtc/plenary-test;4ae28d9e-cf98-363f-ed40-2b6544fb868 > 5;Anonymous;plen > ary_user at nothangout.media.mit.edu > > ;hear|speak|video|floor|vid-floor;0;0;0;200 > > 3. In fs_cli, I issued the following command: > > conference plenary-test record > rtmp://nothangout.media.mit.edu/plenary-test > > The domain here is the same domain as the freeswitch server. There is no > red5/wowza/nginx-mod-rtmp/etc running on this server yet. This produced > the > logs below. [0] > > 4. I attempted to connect to > rtmp://nothangout.media.mit.edu/plenary-test using mplayer, vlc, and > rtmpdump. None of them receive any data. > > Shortly after issuing `conference plenary-test record ...`, whether or not > I > attempt to connect an rtmp client, freeswitch appears to crash -- the logs > show freeswitch starting up, the verto browser session reloads, and the > fs_cli socket is lost. I don't see anything in the logs about a crash (it > just up-and-reboots). > > > Have I missed a step here? Does freeswitch need a running red5/etc. > server that it is connecting to when I issue the `record` command, or is it > producing a stream that an rtmp client should be able to consume? > Forgive my ignorance here; I'm new to rtmp streaming. > > I'm running freeswitch 1.6.10~17~726, via freeswitch's debian packages, on > debian 8.5. > > best, > Charlie > > > [0] Debug log after issuing `conference plenary-test record ...`, and > before > freeswitch crashes: > > 2016-09-14 17:41:57.378173 [DEBUG] avformat.c:1701 sample rate: 44100, > channels: 2 > Parsing... > Parsed protocol: 0 > Parsed host : nothangout.media.mit.edu > Parsed app : plenary-test > RTMP_Connect1, ... connected, handshaking > 2016-09-14 17:41:57.408166 [NOTICE] mod_rtmp.c:903 New RTMP session > [81e27b34-92ae-4fd8-9d8b-6ba58ed32e80] > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] > rtmp_tcp.c:234 Rtmp connection from 18.85.44.183:54786 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:882 Sent handshake response > HandShake: Type Answer : 03 > HandShake: Server Uptime : 414322 > HandShake: FMS Version : 0.0.0.0 > HandShake: Handshaking finished.... > RTMP_Connect1, handshaked > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:907 Done with handshake > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=116 Invoking > connect > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=3] Got INVOKE for connect > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x1 stream_id=0x0] len=4 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x5 stream_id=0x0] len=4 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x6 stream_id=0x0] len=5 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 > HandleChangeChunkSize, > received: chunk size change to 512 > HandleServerBW: server BW = 2097152 > HandleClientBW: client BW = 2097152 1 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=201 HandleCtrl, > received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 0 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=61 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [NOTICE] > rtmp_sig.c:122 Sent connect reply > RTMP_ClientPacket, received: invoke 201 bytes (object begin) > Property: > Property: > Property: > (object begin) > Property: > Property: > (object end) > Property: > (object begin) > Property: > Property: NetConnection.Connect.Success> > Property: > Property: > Property: > (object end) > (object end) > HandleInvoke, server invoking <_result> > HandleInvoke, received result for method call Invoking > releaseStream Invoking FCPublish Invoking createStream RTMP_ClientPacket, > received: invoke 61 bytes (object begin) > Property: > Property: > Property: NULL > Property: 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80> > (object end) > HandleInvoke, server invoking > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=29 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=3] Got INVOKE for releaseStream > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [WARNING] > rtmp.c:198 Unhandled invoke for "releaseStream" > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=3] Got INVOKE for FCPublish > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [WARNING] > rtmp.c:198 Unhandled invoke for "FCPublish" > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=3 type=0x14 ts=0 stream_id=0x0] len=25 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=3] Got INVOKE for createStream > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=3 type=0x14 stream_id=0x0] len=29 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] > rtmp_sig.c:137 Replied to createStream (0) RTMP_ClientPacket, received: > invoke 29 bytes (object begin) > Property: > Property: > Property: NULL > Property: > (object end) > HandleInvoke, server invoking <_result> > HandleInvoke, received result for method call Invoking > publish > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:1081 [chunk_stream=4 type=0x14 ts=0 stream_id=0x1] len=30 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:192 [amfnumber=4] Got INVOKE for publish > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=2 type=0x4 stream_id=0x0] len=6 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [DEBUG] > rtmp.c:656 [amfnumber=5 type=0x14 stream_id=0x1] len=138 > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:57.408166 [INFO] > rtmp_sig.c:290 Got publish on stream 1. > HandleCtrl, received ctrl. type: 0, len: 6 HandleCtrl, Stream Begin 1 > RTMP_ClientPacket, received: invoke 138 bytes (object begin) > Property: > Property: > Property: NULL > Property: > (object begin) > Property: > Property: > Property: > Property: > Property: > (object end) > (object end) > HandleInvoke, server invoking HandleInvoke, onStatus: > NetStream.Publish.Start > 2016-09-14 17:41:57.408166 [DEBUG] avformat.c:1804 use video codec: [28] > h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) > 2016-09-14 17:41:57.408166 [WARNING] avformat.c:506 Codec [aac] is > experimental feature in libavcodec, never mind > 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:531 sample_rate: 44100 > nb_samples: 1024 > 2016-09-14 17:41:57.408166 [NOTICE] avformat.c:535 sample_fmt 8 != > AV_SAMPLE_FMT_S16, start resampler Output #0, flv, to > 'rtmp://nothangout.media.mit.edu/plenary-test': > Stream #0.0: Audio: aac, 44100 Hz, stereo, fltp, 131 kb/s > 2016-09-14 17:41:57.408166 [INFO] avformat.c:1829 Opening File > [rtmp://nothangout.media.mit.edu/plenary-test] 44100hz with VIDEO > 2016-09-14 17:41:57.408166 [DEBUG] conference_record.c:279 Setup timer > success interval: 20 samples: 882 using cpu capabilities: MMX2 SSE2Fast > SSSE3 SSE4.2 AVX profile Constrained Baseline, level 4.1 > 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft > 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 > deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 > mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 > deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 > lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 > bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=30 > keyint_min=16 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf > mbtree=1 crf=18.0 qcomp=0.60 qpmin=10 qpmax=31 qpstep=4 ip_ratio=1.41 > aq=1:1.00 > 2016-09-14 17:41:57.478159 [INFO] avformat.c:2366 use video codec > implementation Video: libx264, yuv420p, 800x600, q=10-31, 516 kb/s > 2016-09-14 17:41:57.478159 [NOTICE] avformat.c:613 video thread start > 81e27b34-92ae-4fd8-9d8b-6ba58ed32e80 2016-09-14 17:41:58.458161 [DEBUG] > rtmp.c:1081 [chunk_stream=4 type=0x12 ts=0 stream_id=0x1] len=382 > > > On Wed, Sep 14, 2016, at 05:58 AM, Stephen Dame wrote: > > You want to load mod_av > > > > Then use > > > > conference xxxxxx record rtmp://yourserver.cpm/stream_id > > > > you can pass avconv args in this command as well to control encoding > > options like frames per second and presets. > > > > This will send output of MCU to your red5, wowza, or properly > > configure nginx rtmp module. > > > > Can also send it directly to youtube. > > > > Regards, > > Stephen > > > > HostBBB - Online Learning Solutions > > 207 Technology Group Inc. 1-888-229-9756 skype: Stephen_Dame > > > > -----Original Message----- > > From: freeswitch-users-bounces at lists.freeswitch.org > > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] > On Behalf Of > > Charlie DeTar > > Sent: Tuesday, September 13, 2016 10:55 PM > > To: freeswitch-users at lists.freeswitch.org > > > Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp > > > > Hi, > > > > I'm trying to broadcast a WebRTC video conference (via mod_conference > > and > > mod_verto) over an rtmp stream, with the ultimate goal of transcoding > > the rtmp stream for broadcast as an HTML5 video stream (likely using > > something like https://github.com/arut/nginx-rtmp-module > > for HSL and MPEG-DASH broadcasts). I expect I have the same sort of > > requirements of freeswitch that one would need for broadcasting rtmp > > to youtube, which the docs mention glancingly without detail [0]. :) > > > > The video conferencing is working great -- but I'm struggling to > > figure out how to access the RTMP stream for it. My rtmp.conf.xml is > > basically the default (but with `auth-calls` set to `false`). My > > dialplan is as > > follows: > > > > > > > > > break="never"> > > > > > > > data="${destination_number}@plenary-conference-profile"/> > > > > > > > > > > I'm able to connect to freeswitch using RTMP clients (I've tried > > rtmpdump, mplayer, and vlc). In fs_cli, I see debug info (example > > copied below > > [1]) > > that seems to indicate successful connections. > > However, the RTMP client never receives any data from the server and > > disconnects after around 30 seconds. > > > > I'm trying to connect via URLs like: > > rtmp://:/plenary-conferencename > > rtmp://:/plenary-conferencename at plenary-conference-profi > > le rtmp://:/default/plenary-conferencename > > > and so on, and all exhibit the same behavior. It doesn't seem to > > matter what path I put -- freeswitch accepts the connection, sends no > > data, then disconnects after a while. This leads me to suspect I > > might just be getting the path name wrong. > > > > My questions, if anyone has experience with this: > > > > What is the correct path for the rtmp URL to connect to a video > > conference > > -- is it just the $destination_number, or something else? > > Are there any obvious steps I'm missing to set up rtmp feeds, or any > > suggestions for how to do smarter debugging of this? > > Does anyone have an example project that successfully broadcasts RTMP > > from a video conference to e.g. youtube? > > Is there a better or more convenient approach to broadcasting a video > > stream from a conference that you prefer to rtmp? > > > > > > The full freeswitch config I'm using is here: > > https://gitlab.com/cdetar/plenary-server/tree/master/ansible/roles/ple > > nary/t > > emplates/freeswitch > > , if that's helpful. (Those are templates for an ansible config, so > > they contain variables that get interpolated in using {{var}} syntax). > > > > best, > > Charlie > > > > [0] Glancing reference to youtube+rtmp: > > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+1.6+Vi > > deo#Fr > > eeSWITCH1.6Video-What%27snew > > > > [1] fs_cli debug info while attempting to connect via RTMP: > > > > 2016-09-13 23:37:40.551744 [NOTICE] mod_rtmp.c:903 New RTMP session > > [1513874f-9084-470c-a2de-7e5f92bb2296] > > 2016-09-13 23:37:40.551744 [INFO] rtmp_tcp.c:234 Rtmp connection from > > 98.127.250.255:44131 > > 2016-09-13 23:37:40.551744 [DEBUG] rtmp.c:882 Sent handshake response > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:907 Done with handshake > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:1081 [chunk_stream=3 > > type=0x14 > > ts=0 stream_id=0x0] len=204 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > > for connect > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 > > stream_id=0x0] len=4 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x5 > > stream_id=0x0] len=4 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x6 > > stream_id=0x0] len=5 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > > stream_id=0x0] len=6 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > > stream_id=0x0] len=201 > > 2016-09-13 23:37:40.711748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > > stream_id=0x0] len=61 > > 2016-09-13 23:37:40.711748 [NOTICE] rtmp_sig.c:122 Sent connect reply > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > > type=0x5 > > ts=0 stream_id=0x0] len=4 > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1184 Set window size: from > > 2097152 to 2097152 bytes > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > > type=0x4 > > ts=0 stream_id=0x0] len=10 > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 00 > > 00 > > 00 01 2c > > 2016-09-13 23:37:40.851748 [INFO] rtmp.c:118 stream=0 Client buffer > > set to 300ms > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:1081 [chunk_stream=3 > > type=0x14 > > ts=0 stream_id=0x0] len=25 > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > > for createStream > > 2016-09-13 23:37:40.851748 [DEBUG] rtmp.c:656 [amfnumber=3 type=0x14 > > stream_id=0x0] len=29 > > 2016-09-13 23:37:40.851748 [INFO] rtmp_sig.c:137 Replied to > > createStream > > (0) > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=8 > > type=0x14 > > ts=0 stream_id=0x1] len=82 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:192 [amfnumber=8] Got INVOKE > > for play > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp_sig.c:198 Got play for > > plenary-test-pattern-alpha at plenary-conference-profile on stream 1 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x1 > > stream_id=0x0] len=4 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > > stream_id=0x0] len=6 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=2 type=0x4 > > stream_id=0x0] len=10 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 > > stream_id=0x1] len=135 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x14 > > stream_id=0x1] len=135 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 > > stream_id=0x1] len=44 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:656 [amfnumber=5 type=0x12 > > stream_id=0x1] len=24 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:1081 [chunk_stream=2 > > type=0x4 > > ts=0 stream_id=0x0] len=10 > > 2016-09-13 23:37:40.991748 [DEBUG] rtmp.c:91 Control (3): 00 00 00 01 > > 02 > > 25 51 00 > > 2016-09-13 23:37:40.991748 [INFO] rtmp.c:118 stream=1 Client buffer > > set to 36000000ms > > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:1081 [chunk_stream=3 > > type=0x14 > > ts=0 stream_id=0x0] len=34 > > 2016-09-13 23:37:43.951733 [DEBUG] rtmp.c:192 [amfnumber=3] Got INVOKE > > for deleteStream > > 2016-09-13 23:37:43.951733 [NOTICE] rtmp.c:918 Disconnected from flash > > client > > 2016-09-13 23:37:43.951733 [DEBUG] rtmp_tcp.c:243 Closing socket > > 2016-09-13 23:37:44.691705 [NOTICE] mod_rtmp.c:1025 RTMP session ended > > [1513874f-9084-470c-a2de-7e5f92bb2296] > > > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > http://www.freeswitch.org > > > > > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > > consulting at 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 at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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+ > * > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org > ? > +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > *_________________________________________________________________________* > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/1961589e/attachment-0001.html From anthony.minessale at gmail.com Thu Sep 15 08:44:30 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 14 Sep 2016 23:44:30 -0500 Subject: [Freeswitch-users] 1.6.10 libfreeswitch strange behavior In-Reply-To: References: Message-ID: That is a prize winning upgrade gap! You would really be best off with a fresh Debian 8 box and either packages or src with our depends repo. On Wednesday, September 14, 2016, Sharath Kumar wrote: > All, >> >> I recently upgraded my not so common usage of FS embedded as a library in >> an linux application (x86_64 ) from 1.0.6 to 1.6.10. I was able to compile >> and link :). I was worried such a big upgrade may be a difficult compile >> but I didn't have to change a lot. But I am running into some strange >> problems with mutex locks that have led me to believe it is not built >> right. >> >> Also, I did not run dev-bootstrap.sh on the tar package(1.6.10). Do i >> need to ? >> >> The problem I have is the "sofia profile" comes up with the rwlock >> already locked!! >> [When I try to send any sort of API comand or try to REGISTER this >> occurs.] >> >> "2016-09-14 23:30:50.324500 [ERR] sofia.c:1420 Profile softphone is >> locked" >> >> I believe all the rwlock from APR are corrupted or not initialized >> correctly. >> >> Another time I constant crashing after my application issued >> switch_init_and_modload. >> >> I only have 1 profile in the freeswitch.xml (attached) and just a handful >> of modules that are loaded(mod_sofia, mod_commands, mod_logfile, >> mod_dptools, mod_dialplan_xml) >> >> The makefile is given below.(freeswitch,mk) >> >> The script output of the makefile is attached (fsbuild.txt.bz2). >> >> FS logoutput attached(i had added some additional logs as well) >> freeswitch.log >> >> Does anyone see anything obviously wrong ? I am stuck at this point and >> any help would be really great! I will contribute to documentation if this >> thing does indeed work. >> >> Thank you so much! >> Shaks >> > > -- Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? ? http://freeswitch.org/ ? http://cluecon.com/ ? http://twitter.com/FreeSWITCH ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160914/bf5bed9c/attachment.html From hawkins at hawkinsegroup.com Thu Sep 15 09:14:09 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Thu, 15 Sep 2016 00:14:09 -0500 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: So, to only block failures does this regex look right? I basically just removed "failure|challenge" and replaced with "failure" failregex = ^\.\d+ \[WARNING\] sofia_reg\.c:\d+ SIP auth (failure) \((REGISTER|INVITE)\) on sofia profile \'[^']+\' for \[.*\] from ip $ On Sun, Sep 11, 2016 at 2:23 AM, Angel Elena wrote: > Great!!! > > Thanks for sharing. > > -------------------------------- > ?ngel Elena Medina _o) > craem at craem.net / \\ > http://blog.craem.net _(___V > @craem_ > -------------------------------- > > -----Mensaje original----- > De: Don Hawkins > Enviado: Dom 11-09-2016 03:22 > Asunto: Re: [Freeswitch-users] Getting fail2ban working properly > Para: FreeSWITCH Users Help ; > > No problem, I need to take notes anyway. Here they are... > > > > > > A. /etc/fail2ban/filter.d/freeswitch.conf needs the following text: > > > > https://github.com/fail2ban/fail2ban/blob/master/config/ > filter.d/freeswitch.conf > > > > NOTE: Internal and Public sofia profiles need: name="log-auth-failures" > > value="true"/> > > > > > > B. /etc/fail2ban/jail.conf and in /etc/fail2ban/jail.local (not sure > which one > > is working, I had to create jail.local) > > > > [freeswitch] > > enabled = true > > port = 5060,5061,5080,5081,5076 5074 5071 > > filter = freeswitch > > logpath = /var/log/freeswitch/freeswitch.log > > maxretry = 3 > > > > > > C. Drop these rules into iptables to block the scanners on ports 5060 > and 5080 > > > > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string > > "VaxSIPUserAgent" --algo bm > > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string > > "friendly-scanner" --algo bm > > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string "sipcli" > > --algo bm > > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string > > "VaxSIPUserAgent" --algo bm > > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string > > "friendly-scanner" --algo bm > > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string "sipcli" > > --algo bm > > > > > > D. Change SSH port from 22 to a custom number > > > > vi /etc/ssh/sshd_config > > > > > > E. Update SSH jail in /etc/fail2ban/jail.conf to custom port number. > > > > [ssh] > > > > enabled = true > > port = 9898,22 > > filter = sshd > > logpath = /var/log/auth.log > > maxretry = 6 > > > > > > F. I also have additional security using CDR records (curl). If a call > comes > > in that does not have an 'account number' set (a custom variable we set > for all > > incoming and outgoing calls from our customers) then we execute a shell > command > > to block that IP without delay because they obviously aren't one of our > > customers. We are using mod_httapi and all calls start that way for us, > so it's > > easy to set the variable as all calls start with . > > > > > > iptables -A INPUT -s 65.55.44.100 -j DROP > > > > > > Where 65.55.44.100 is the ip to block. > > > > > > > > Don > > > > > > > > > > On Sat, Sep 10, 2016 at 7:58 PM, George Assaad > > wrote: > > Hi Don, > > Could you please share your final settings since it works. > > > > Thanks, > > > > George > > > > On Sep 10, 2016, at 5:49 PM, Don Hawkins > > wrote: > > > > Just want to update everyone that the registration attempts have almost > stopped > > 100% since blocking the sniffers and setting a 4 hour block time after > three > > failed registrations. > > > > Good day! > > > > On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie > > wrote: > > On 8 September 2016 at 12:54, Don Hawkins > > wrote: > > > Can someone share with me how to block all ports except the important > ones? > > > > I had the same question about a month ago: > > http://lists.freeswitch.org/pipermail/freeswitch-users/ > 2016-August/121694.html > > 2016-August/121694.html> > > > > > > Colin gives good advice here: > > http://lists.freeswitch.org/pipermail/freeswitch-users/ > 2016-August/121730.html > > 2016-August/121730.html> > > > > > > I've also had success with contacting the originating network and > > request their customer to stop the traffic to me. > > > > Here's the abuse form for online.net : > > https://console.online.net/en/account/abuses/search > > > > By the way, if the fail2ban page on confluence needs updating, please > > update it or list what's wrong with it. I do see it indicates to > > create the jail.local and that's what you were missing for yours to > > work properly. > > > > > > -- > > ------- > > inum: 883510009027723 > > sip: jungleboogie at sip2sip.info > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > -- > > Sincerely, > > Don Hawkins > > CEO > > Hawkins Enterprise Group LLC > > http://hawkinsegroup.com > > Zello PTT : push2don > > P: 469-214-5044 > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > http://www.freeswitch.org > > > > > > > > -- > > Sincerely, > > Don Hawkins > > CEO > > Hawkins Enterprise Group LLC > > http://hawkinsegroup.com > > Zello PTT : push2don > > P: 469-214-5044 > > > > ____________________________________________________________ > _____________ > > > > Professional FreeSWITCH Consulting Services: > > > > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/b4116939/attachment-0001.html From jw at vision-gmbh.de Thu Sep 15 09:31:03 2016 From: jw at vision-gmbh.de (=?utf-8?B?SsO8cmdlbiBXZW5kbGVy?=) Date: Thu, 15 Sep 2016 05:31:03 +0000 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: <2406A807-7E85-429A-AC9C-E5D0374AB35D@jerris.com> References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> <2406A807-7E85-429A-AC9C-E5D0374AB35D@jerris.com> Message-ID: And what about mod_h323 ? Video support here included or are the video capabilitys only for SIP? Mit freundlichen Gr??en J?rgen Wendler -Technik- Vision Consulting Deutschland GmbH Bremsstr. 17, D-50969 K?ln (Cologne) Fon: +49-221-995574-20 Fax: +49-221-995574-99 jw at vision-gmbh.de http://www.vision-gmbh.de Gesch?ftsf?hrer: Dipl.-Inf. Stephan Krafft Register: HRB 61562 - Amtsgericht K?ln Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Michael Jerris Gesendet: Mittwoch, 14. September 2016 19:19 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] Enable H264 Video I can confirm that module does not currently have video support. On Sep 14, 2016, at 11:20 AM, Brian West > wrote: If you code it probably, or find someone to code it. :) On Wed, Sep 14, 2016 at 1:12 AM, J?rgen Wendler > wrote: Well, i thought since Version 1.6 freeswitch is capable of Video support. So there is no chance to get video with h323 listener, mod_opal or mod_h323 ? Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Brian West Gesendet: Dienstag, 13. September 2016 17:22 An: FreeSWITCH Users Help > Betreff: Re: [Freeswitch-users] Enable H264 Video mod_opal doesn't support video in FreeSWITCH last I knew. On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler > wrote: Hello everyone, i?ve found some amazaing articles about FS and so i thought i can give it a try. So I followed instructions in confluenca and got a simple running fs server with mod_verto which is capable of some basic webrtc. Really nice. Now I want to join this room (which is the basic 3500 room with the default video-mcu-profile) with some external h323 device. So I compiled ptlib and opalvoip and finally mod_opal and created a h323 listener. When I call the ip + room number with an external device (polycom, sony) via h323 I get voice only connections, log says the following: 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-2000 at 90000 (pt=121) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-1998 at 90000 (pt=115) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP8 at 90000 (pt=99) to an OPAL media format. 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP9 at 90000 (pt=99) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263 at 90000 (pt=34) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec LPC at 8000 (pt=7) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec PROXY-VID at 90000 (pt=31) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H261 at 90000 (pt=31) to an OPAL media format. 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H264 at 90000 (pt=97) to an OPAL media format. So I thought I should have a look about the compiled codecs. I activated mod_opal and mod_h26x in modules.conf but no succes. Log always says: 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal Answer:12170,0000000000001} H323 SetLocalCapabilities: GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? in dialplan/default.xml but I think I am missing something. Could anyone point me in the right direction where I can ?enable? h263++ or h264 video capabilitys for an external h323 device / call via mod_opal? System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. Best regards, Juergen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/beb1e9a6/attachment-0001.html From mirkobrankovic at gmail.com Thu Sep 15 16:06:10 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 15 Sep 2016 14:06:10 +0200 Subject: [Freeswitch-users] verto.js Message-ID: Hi, Just a general question... We were looking at jquery.verto.js and jquery.FSRTC.js, there are plenty of 'hacks' and 'fixes' like: *if (options.onAnswerSDP) sdp = sdp.replace(/(a=crypto:0 AES_CM_128_HMAC_SHA1_32)(.*?)(\r\n)/g, '');* *sdp = sdp.replace(/b=AS([^\r\n]+\r\n)/g, '');* or like *stereoHack()* Are these to fix problems on the FS core side, like removing this crypto from sdp or double carriage return. Is all that still necessary? I'm just generally worried about Verto.js <> FS dependency in case I want to use any of those components in projects. -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/2fb680a5/attachment.html From david.ponzone at ipeva.fr Thu Sep 15 17:36:52 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Thu, 15 Sep 2016 15:36:52 +0200 Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue Message-ID: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> I am trying to run mod_curl after hangup, in order to sens some channel variables to a HTTP server: When I hangup, only sip_from_user and destination_number are correct. answered_time contains 0 and hangup_time is empty Am I missing something ? Thank you David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/878afcee/attachment.html From krice at freeswitch.org Thu Sep 15 17:48:47 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 15 Sep 2016 08:48:47 -0500 Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue In-Reply-To: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> References: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> Message-ID: <0df501d20f57$e2d5a7b0$a880f710$@freeswitch.org> Why not just use mod_xml_cdr for this? it?ll post a full CDR that you can parse and will have all the information you are looking at and will not potentially leave a session open From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of David Ponzone Sent: Thursday, September 15, 2016 8:37 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue I am trying to run mod_curl after hangup, in order to sens some channel variables to a HTTP server: When I hangup, only sip_from_user and destination_number are correct. answered_time contains 0 and hangup_time is empty Am I missing something ? Thank you David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/9d4cde2e/attachment-0001.html From hawkins at hawkinsegroup.com Thu Sep 15 17:51:05 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Thu, 15 Sep 2016 08:51:05 -0500 Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue In-Reply-To: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> References: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> Message-ID: Have you tried execute_on_hangup or api_hangup_hook? Generally though, the variables tend to be gone after the call hangs up, neither solution worked for me so I just get the info I need from the http post mod_xml_curl sends. Sincerely, Don Hawkins Sent from my NationPCS? Nexus 6. On Sep 15, 2016 8:38 AM, "David Ponzone" wrote: > I am trying to run mod_curl after hangup, in order to sens some channel > variables to a HTTP server: > > > > > > > > > > When I hangup, only sip_from_user and destination_number are correct. > answered_time contains 0 and hangup_time is empty > > Am I missing something ? > > Thank you > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr - www.ipeva-studio.com > > *Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? > l'intention exclusive de ses destinataires. Toute utilisation ou diffusion > non autoris?e est interdite. Tout message ?lectronique est susceptible > d'alt?ration. **IPeva** d?cline toute responsabilit? au titre de ce > message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas > destinataire de ce message, merci de le d?truire imm?diatement et d'avertir > l'exp?diteur.* > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/a172179d/attachment.html From flokrrr at gmail.com Thu Sep 15 17:54:25 2016 From: flokrrr at gmail.com (Florent Krieg) Date: Thu, 15 Sep 2016 15:54:25 +0200 Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue In-Reply-To: <0df501d20f57$e2d5a7b0$a880f710$@freeswitch.org> References: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> <0df501d20f57$e2d5a7b0$a880f710$@freeswitch.org> Message-ID: Hello David, Also, you may have a try setting the session_in_hangup_hook variable to true (JS example here: https://freeswitch.org/confluence/display/FREESWITCH/JavaScript+Example+-+Session+in+Hangup+Hook, see the old wiki for more info https://wiki.freeswitch.org/wiki/Variable_session_in_hangup_hook) Florent 2016-09-15 15:48 GMT+02:00 Ken Rice : > Why not just use mod_xml_cdr for this? it?ll post a full CDR that you can > parse and will have all the information you are looking at and will not > potentially leave a session open > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David > Ponzone > *Sent:* Thursday, September 15, 2016 8:37 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] api_reporting_hook and > session_in_hangup_hook issue > > > > I am trying to run mod_curl after hangup, in order to sens some channel > variables to a HTTP server: > > > > > > > > > > > > > > > > > > > > When I hangup, only sip_from_user and destination_number are correct. > > answered_time contains 0 and hangup_time is empty > > > > Am I missing something ? > > > > Thank you > > > > David Ponzone Direction Technique > > email: david.ponzone at ipeva.fr > > tel: 01 74 03 18 97 > > gsm: 06 66 98 76 34 > > > > Service Client IPeva > > tel: 0811 46 26 26 > > *www.ipeva.fr* - *www.ipeva-studio.com* > > > > *Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? > l'intention exclusive de ses destinataires. Toute utilisation ou diffusion > non autoris?e est interdite. Tout message ?lectronique est susceptible > d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message > s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de > ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur.* > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/a5e5d423/attachment.html From brian at freeswitch.org Thu Sep 15 18:06:54 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 15 Sep 2016 09:06:54 -0500 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> <2406A807-7E85-429A-AC9C-E5D0374AB35D@jerris.com> Message-ID: There is no video support in any H323 modules in tree currently. Nobody has done the work to make them video capable. Maybe someone can sponsor that work. On Thu, Sep 15, 2016 at 12:31 AM, J?rgen Wendler wrote: > And what about mod_h323 ? Video support here included or are the video > capabilitys only for SIP? > > > > Mit freundlichen Gr??en > > > > J?rgen Wendler > > -Technik- > > > > Vision Consulting Deutschland GmbH > > Bremsstr. 17, > > D-50969 K?ln (Cologne) > > Fon: +49-221-995574-20 > > Fax: +49-221-995574-99 > > jw at vision-gmbh.de > > http://www.vision-gmbh.de > > > > Gesch?ftsf?hrer: Dipl.-Inf. Stephan Krafft > > Register: HRB 61562 - Amtsgericht K?ln > > > > *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Michael > Jerris > *Gesendet:* Mittwoch, 14. September 2016 19:19 > > *An:* FreeSWITCH Users Help > *Betreff:* Re: [Freeswitch-users] Enable H264 Video > > > > I can confirm that module does not currently have video support. > > > > On Sep 14, 2016, at 11:20 AM, Brian West wrote: > > > > If you code it probably, or find someone to code it. :) > > > > On Wed, Sep 14, 2016 at 1:12 AM, J?rgen Wendler wrote: > > Well, i thought since Version 1.6 freeswitch is capable of Video support. > So there is no chance to get video with h323 listener, mod_opal or mod_h323 > ? > > > > *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Brian West > *Gesendet:* Dienstag, 13. September 2016 17:22 > *An:* FreeSWITCH Users Help > *Betreff:* Re: [Freeswitch-users] Enable H264 Video > > > > mod_opal doesn't support video in FreeSWITCH last I knew. > > > > On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler wrote: > > Hello everyone, > > > > i?ve found some amazaing articles about FS and so i thought i can give it > a try. > > So I followed instructions in confluenca and got a simple running fs > server with mod_verto which is capable of some basic webrtc. Really nice. > > > > Now I want to join this room (which is the basic 3500 room with the > default video-mcu-profile) with some external h323 device. So I compiled > ptlib and opalvoip and finally mod_opal and created a h323 listener. > > When I call the ip + room number with an external device (polycom, sony) > via h323 I get voice only connections, log says the following: > > > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263-2000 at 90000 (pt=121) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263-1998 at 90000 (pt=115) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > VP8 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > VP9 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H263 at 90000 (pt=34) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > LPC at 8000 (pt=7) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > PROXY-VID at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H261 at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal > Answer:12170,0000000000001} mod_opal Could not match FS codec > H264 at 90000 (pt=97) to an OPAL media format. > > > > So I thought I should have a look about the compiled codecs. I activated > mod_opal and mod_h26x in modules.conf but no succes. Log always says: > > > > 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal > Answer:12170,0000000000001} H323 SetLocalCapabilities: > GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw- > 64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf > > > > I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? > in dialplan/default.xml but I think I am missing something. > > Could anyone point me in the right direction where I can ?enable? h263++ > or h264 video capabilitys for an external h323 device / call via mod_opal? > > System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. > > > > Best regards, > > Juergen > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/cbd21330/attachment-0001.html From flokrrr at gmail.com Thu Sep 15 18:25:21 2016 From: flokrrr at gmail.com (Florent Krieg) Date: Thu, 15 Sep 2016 16:25:21 +0200 Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue In-Reply-To: References: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> <0df501d20f57$e2d5a7b0$a880f710$@freeswitch.org> Message-ID: Sorry just realized it was already done in your dp. +1 for Ken's workaround then. 2016-09-15 15:54 GMT+02:00 Florent Krieg : > Hello David, > > Also, you may have a try setting the session_in_hangup_hook variable to > true (JS example here: https://freeswitch.org/ > confluence/display/FREESWITCH/JavaScript+Example+-+Session+in+Hangup+Hook, > see the old wiki for more info https://wiki.freeswitch.org/ > wiki/Variable_session_in_hangup_hook) > > Florent > > 2016-09-15 15:48 GMT+02:00 Ken Rice : > >> Why not just use mod_xml_cdr for this? it?ll post a full CDR that you can >> parse and will have all the information you are looking at and will not >> potentially leave a session open >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *David >> Ponzone >> *Sent:* Thursday, September 15, 2016 8:37 AM >> *To:* FreeSWITCH Users Help >> *Subject:* [Freeswitch-users] api_reporting_hook and >> session_in_hangup_hook issue >> >> >> >> I am trying to run mod_curl after hangup, in order to sens some channel >> variables to a HTTP server: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> When I hangup, only sip_from_user and destination_number are correct. >> >> answered_time contains 0 and hangup_time is empty >> >> >> >> Am I missing something ? >> >> >> >> Thank you >> >> >> >> David Ponzone Direction Technique >> >> email: david.ponzone at ipeva.fr >> >> tel: 01 74 03 18 97 >> >> gsm: 06 66 98 76 34 >> >> >> >> Service Client IPeva >> >> tel: 0811 46 26 26 >> >> *www.ipeva.fr* - *www.ipeva-studio.com* >> >> >> >> *Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? >> l'intention exclusive de ses destinataires. Toute utilisation ou diffusion >> non autoris?e est interdite. Tout message ?lectronique est susceptible >> d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message >> s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de >> ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur.* >> >> >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/036aba49/attachment.html From david.ponzone at ipeva.fr Thu Sep 15 18:42:06 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Thu, 15 Sep 2016 16:42:06 +0200 Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue In-Reply-To: <0df501d20f57$e2d5a7b0$a880f710$@freeswitch.org> References: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> <0df501d20f57$e2d5a7b0$a880f710$@freeswitch.org> Message-ID: <067F6229-2550-43FA-9FB8-B92CF080CD27@ipeva.fr> Ken, agreed, but it?s overkill. I need to do that on some specific calls. So I would need to parse thousands of XML CDRs only to send some of them. Also, I need to do that live. David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > Le 15 sept. 2016 ? 15:48, Ken Rice > a ?crit : > > Why not just use mod_xml_cdr for this? it?ll post a full CDR that you can parse and will have all the information you are looking at and will not potentially leave a session open > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of David Ponzone > Sent: Thursday, September 15, 2016 8:37 AM > To: FreeSWITCH Users Help > > Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue > > I am trying to run mod_curl after hangup, in order to sens some channel variables to a HTTP server: > > > > > > > > > > When I hangup, only sip_from_user and destination_number are correct. > answered_time contains 0 and hangup_time is empty > > Am I missing something ? > > Thank you > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr - www.ipeva-studio.com > > Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/656edacb/attachment-0001.html From david.ponzone at ipeva.fr Thu Sep 15 18:42:08 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Thu, 15 Sep 2016 16:42:08 +0200 Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue In-Reply-To: References: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> Message-ID: api_hangup_hook does not work. api_reporting_hook is supposed to be the one as you can access channel variables during REPORTING. David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > Le 15 sept. 2016 ? 15:51, Don Hawkins > a ?crit : > > Have you tried execute_on_hangup or api_hangup_hook? > > Generally though, the variables tend to be gone after the call hangs up, neither solution worked for me so I just get the info I need from the http post mod_xml_curl sends. > > Sincerely, > Don Hawkins > > Sent from my NationPCS? Nexus 6. > > > On Sep 15, 2016 8:38 AM, "David Ponzone" > wrote: > I am trying to run mod_curl after hangup, in order to sens some channel variables to a HTTP server: > > > > > > > > > > When I hangup, only sip_from_user and destination_number are correct. > answered_time contains 0 and hangup_time is empty > > Am I missing something ? > > Thank you > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr <> - www.ipeva-studio.com <> > > Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/4957666f/attachment.html From nandy1925 at gmail.com Thu Sep 15 18:59:28 2016 From: nandy1925 at gmail.com (Nandy Dagondon) Date: Thu, 15 Sep 2016 14:59:28 +0000 Subject: [Freeswitch-users] Best Practice - * Codes on some IP Phones In-Reply-To: References: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> Message-ID: Option 2) You can look for another brand where the user can select the feature code. So, I have encountered Linksys ATAs with this feature. Option 3) You can change the FS feature code if it comes into conflict with the ATA. Just my cents worth. On Wed, Sep 14, 2016 at 2:23 PM, Benjamin Cropley < benjamin.cropley at gmail.com> wrote: > You'll get a different answer depending on who you ask. Ultimately it's up > to you. > > As a start I would say any general 'standardisation' of feature codes will > be driven by the T1 telcos of any given country. For example, > 'last-call-return' will probably be *69 if you're in the US, but 1471 in > the UK (because that's what BT do). In the UK it's commonly accepted that > dialling 141 before your number will withhold your CLID. > > WIth a feature that doesn't exist on a T1 network or is at least uncommon, > such as dialling a code to have your number played back to you, I'd say > it's unlikely there's a 'best practice'. > > For your purposes it's also worth considering what requires FreeSWITCH's > functionality. For example, Do Not Disturb can be implemented on the phone > without having to necessarily any other parties there and then that it has > changed state. This is the same with call waiting (depending on if you've > restricted concurrent channels on FreeSWITCH or not in order to achieve it). > > *tl;dr *There's no best practice. It all depends on the specific of how > you've implemented it! > > > > > > > > > > > > > > On Wed, Sep 14, 2016 at 2:58 AM, William Colls < > william at williamcollsassoc.ca> wrote: > >> >> I am working with a Grandstream HT704 ATA device which has number >> special functions built in eg Do Not Disturb, Suppress Outgoing Caller >> ID Number, Enable/Disable Call waiting, - more than 20 in all. >> Unfortunately, one of the codes is *98 which pays back the extension >> number. In order for *98 to work for e-mail, I must disable all the call >> features. >> >> So my question- Is it generally considered best practice to disable the >> functionality on all phones, and provide it through the dial plan so >> that the codes will be consistent for all phones in the system, or let >> the phones provide the features, even if they may vary from phone to >> phone? >> >> Thanks for your time. >> >> William. >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > All the best, > Ben Cropley > 07539 366 905 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/ce2c09c8/attachment-0001.html From cfd-fs at fohn.org Thu Sep 15 20:28:37 2016 From: cfd-fs at fohn.org (Charlie DeTar) Date: Thu, 15 Sep 2016 10:28:37 -0600 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp Message-ID: <1473956917.3087207.726882137.6DD885C5@webmail.messagingengine.com> On Wed, Sep 14, 2016, at 08:15 PM, Michael Jerris wrote: > we run rtmp streams all the time without crashing so something weird > is going on, i doubt it's the packaging. Can you get a backtrace of > the crash and report a bug to jira so we can investigate? Thanks, here is the bug report: https://freeswitch.org/jira/browse/FS-9520 . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/fcc117f0/attachment.html From brian at freeswitch.org Thu Sep 15 20:41:44 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 15 Sep 2016 11:41:44 -0500 Subject: [Freeswitch-users] Best Practice - * Codes on some IP Phones In-Reply-To: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> References: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> Message-ID: https://www.nationalnanpa.com/number_resource_info/vsc_definitions.html On Tue, Sep 13, 2016 at 8:58 PM, William Colls wrote: > > I am working with a Grandstream HT704 ATA device which has number > special functions built in eg Do Not Disturb, Suppress Outgoing Caller > ID Number, Enable/Disable Call waiting, - more than 20 in all. > Unfortunately, one of the codes is *98 which pays back the extension > number. In order for *98 to work for e-mail, I must disable all the call > features. > > So my question- Is it generally considered best practice to disable the > functionality on all phones, and provide it through the dial plan so > that the codes will be consistent for all phones in the system, or let > the phones provide the features, even if they may vary from phone to phone? > > Thanks for your time. > > William. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/abfffb3d/attachment.html From william at williamcollsassoc.ca Thu Sep 15 21:34:03 2016 From: william at williamcollsassoc.ca (William Colls) Date: Thu, 15 Sep 2016 13:34:03 -0400 Subject: [Freeswitch-users] Best Practice - * Codes on some IP Phones In-Reply-To: References: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> Message-ID: Thank you for the link. Very interesting. On 2016-09-15 12:41 PM, Brian West wrote: > https://www.nationalnanpa.com/number_resource_info/vsc_definitions.html > > > On Tue, Sep 13, 2016 at 8:58 PM, William Colls > > > wrote: > > > I am working with a Grandstream HT704 ATA device which has number > special functions built in eg Do Not Disturb, Suppress Outgoing Caller > ID Number, Enable/Disable Call waiting, - more than 20 in all. > Unfortunately, one of the codes is *98 which pays back the extension > number. In order for *98 to work for e-mail, I must disable all > the call > features. > > So my question- Is it generally considered best practice to > disable the > functionality on all phones, and provide it through the dial plan so > that the codes will be consistent for all phones in the system, or let > the phones provide the features, even if they may vary from phone > to phone? > > Thanks for your time. > > William. > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > -- > > */Brian West/* > brian at freeswitch.org > > > */Twitter: @FreeSWITCH , @briankwest/* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/4d4e297a/attachment.html From aviv at sent.com Thu Sep 15 22:43:00 2016 From: aviv at sent.com (Aviv Shaham) Date: Thu, 15 Sep 2016 11:43:00 -0700 Subject: [Freeswitch-users] Best Practice - * Codes on some IP Phones In-Reply-To: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> References: <9c346fce-7913-e91f-e1ed-41db2be958de@williamcollsassoc.ca> Message-ID: <1473964980.2499724.727019969.09726B29@webmail.messagingengine.com> For anything other than a simple setup, I favor disabling feature-codes on the devices and implementing them entirely server-side, which as you mentioned will lead to consistency. But there are (at least) 2 other benefits to doing so: 1. Customer support: you get to control (and see) your customer's forwarding, DND, selective call blocking, distinctive ring, etc. remotely without instructing them to hang up, dial another feature code, make test calls into the device, etc. So if they call and tell you calls are not coming in, right away you see DND is on and toggle it off. No need to run a trace and guess from the response. 2. If you expose any kind of web UI to your end users, they can see and change their calling features from the online account and it's always in sync with the same back-end managing your feature code functionality. Then you can also get fancy and have them set schedule- based DND, manage speed dials, blocked numbers, etc. Aviv On Tue, Sep 13, 2016, at 06:58 PM, William Colls wrote: > > I am working with a Grandstream HT704 ATA device which has number > special functions built in eg Do Not Disturb, Suppress Outgoing Caller > ID Number, Enable/Disable Call waiting, - more than 20 in all. > Unfortunately, one of the codes is *98 which pays back the extension > number. In order for *98 to work for e-mail, I must disable all > the call > features. > > So my question- Is it generally considered best practice to > disable the > functionality on all phones, and provide it through the dial plan so > that the codes will be consistent for all phones in the system, or let > the phones provide the features, even if they may vary from phone > to phone? > > Thanks for your time. > > William. > > > _________________________________________________________________- > ________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160915/1c5bddca/attachment-0001.html From rajil.s at gmail.com Fri Sep 16 04:19:19 2016 From: rajil.s at gmail.com (Rajil Saraswat) Date: Thu, 15 Sep 2016 19:19:19 -0500 Subject: [Freeswitch-users] Unable to compile upstream v1.6 on FreeBSD 10.3 Message-ID: Hello, I am getting the error pasted below while compiling 1.6 branch in FreeBSD 10.3. Is there any workaround for this? gmake[5]: Entering directory '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' CC mod_sofia_la-mod_sofia.lo CC mod_sofia_la-sofia.lo CC mod_sofia_la-sofia_glue.lo CC mod_sofia_la-sofia_presence.lo CC mod_sofia_la-sofia_reg.lo CC mod_sofia_la-sofia_media.lo CC mod_sofia_la-sip-dig.lo In file included from sip-dig.c:137: /home/fs/fs1.6/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf/../../config.h:521:9: error: '__BYTE_ORDER' macro redefined [-Werror] #define __BYTE_ORDER __LITTLE_ENDIAN ^ ../../../../src/include/switch_platform.h:144:9: note: previous definition is here #define __BYTE_ORDER __BIG_ENDIAN ^ 1 error generated. gmake[5]: *** [Makefile:749: mod_sofia_la-sip-dig.lo] Error 1 gmake[5]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' gmake[4]: *** [Makefile:594: all] Error 2 gmake[4]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' gmake[3]: *** [Makefile:666: mod_sofia-all] Error 1 gmake[3]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod' gmake[2]: *** [Makefile:574: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src' gmake[1]: *** [Makefile:3131: all-recursive] Error 1 gmake[1]: Leaving directory '/usr/home/fs/fs1.6/freeswitch' gmake: *** [Makefile:1410: all] Error 2 Thanks, Rajil From jungleboogie0 at gmail.com Fri Sep 16 04:42:37 2016 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Thu, 15 Sep 2016 17:42:37 -0700 Subject: [Freeswitch-users] Unable to compile upstream v1.6 on FreeBSD 10.3 In-Reply-To: References: Message-ID: On 15 September 2016 at 17:19, Rajil Saraswat wrote: > Hello, > > I am getting the error pasted below while compiling 1.6 branch in > FreeBSD 10.3. Is there any workaround for this? Worked fine for me when I used 10.3. See this: https://freeswitch.org/confluence/display/FREESWITCH/FreeBSD Also, there's a port/package available: https://www.freshports.org/net/freeswitch/ Do you have all dependencies installed? Are you using any specific modules? -- ------- inum: 883510009027723 sip: jungleboogie at sip2sip.info From spencer at whiteskycommunications.com Fri Sep 16 07:37:44 2016 From: spencer at whiteskycommunications.com (Spencer Thomason) Date: Fri, 16 Sep 2016 03:37:44 +0000 Subject: [Freeswitch-users] Unable to compile upstream v1.6 on FreeBSD 10.3 In-Reply-To: References: Message-ID: Hi Rajil, This appears to be a regression caused by some recent work I did to improve Solaris support. I have created a pull request which should fix the issue. See https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/960/overview Can you test this fix and report back? Thanks, Spencer On Sep 15, 2016, at 5:19 PM, Rajil Saraswat > wrote: Hello, I am getting the error pasted below while compiling 1.6 branch in FreeBSD 10.3. Is there any workaround for this? gmake[5]: Entering directory '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' CC mod_sofia_la-mod_sofia.lo CC mod_sofia_la-sofia.lo CC mod_sofia_la-sofia_glue.lo CC mod_sofia_la-sofia_presence.lo CC mod_sofia_la-sofia_reg.lo CC mod_sofia_la-sofia_media.lo CC mod_sofia_la-sip-dig.lo In file included from sip-dig.c:137: /home/fs/fs1.6/freeswitch/libs/sofia-sip/libsofia-sip-ua/bnf/../../config.h:521:9: error: '__BYTE_ORDER' macro redefined [-Werror] #define __BYTE_ORDER __LITTLE_ENDIAN ^ ../../../../src/include/switch_platform.h:144:9: note: previous definition is here #define __BYTE_ORDER __BIG_ENDIAN ^ 1 error generated. gmake[5]: *** [Makefile:749: mod_sofia_la-sip-dig.lo] Error 1 gmake[5]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' gmake[4]: *** [Makefile:594: all] Error 2 gmake[4]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' gmake[3]: *** [Makefile:666: mod_sofia-all] Error 1 gmake[3]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod' gmake[2]: *** [Makefile:574: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src' gmake[1]: *** [Makefile:3131: all-recursive] Error 1 gmake[1]: Leaving directory '/usr/home/fs/fs1.6/freeswitch' gmake: *** [Makefile:1410: all] Error 2 Thanks, Rajil _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/11350622/attachment.html From jw at vision-gmbh.de Fri Sep 16 13:03:10 2016 From: jw at vision-gmbh.de (=?utf-8?B?SsO8cmdlbiBXZW5kbGVy?=) Date: Fri, 16 Sep 2016 09:03:10 +0000 Subject: [Freeswitch-users] SIP Call from Videodevice Message-ID: <7313998ffbba41e0b1551174d27dbd1e@vision-gmbh.de> Hello everyone, i?m trying to make a SIP call from an external device (e.g. SONY or POLYCOM) to the ?default? 3500 conference room which has the video-mcu-profile attached. When the call is ringing it does not appear to gets really connected. When I use X-Lite or another SIP softphone everything is working so far. But with external hardware devices I am not able to join the conference room. Does anyone have experience with calls from hardware videoconf systems via SIP to freeswitch? Best Regards J?rgen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/19803f76/attachment.html From devang.nathwani31589 at gmail.com Fri Sep 16 16:23:26 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Fri, 16 Sep 2016 17:53:26 +0530 Subject: [Freeswitch-users] call is not routing from asterisk->freeswitch(billing platform)->provider Message-ID: Hello, I am trying to call from vicidial to freeswitch(billing platform) to provider(gateway) so call flow would be like this My vicidial 60.80.70.250 my freeswitch 92.42.132.242 my provider(gateway) 72.2.242.42 I am dialing 18177779695 When i try using dialtype 'MANUAL' the call is routing correctly without any issue. But when i try using dialtype 'RATIO', i am facing issue when freeswitch is resending the provider(gateway)'s response to vicidial the asterisk of vicidial server responding with X-Asterisk-HangupCause: Unknown. X-Asterisk-HangupCauseCode: 0. I am attaching the sip log of both working(MANUAL) and and not working(RATIO) scenario here. Please note that the attached sip log is from freeswitch server(billing platform). Working sip log is here http://pastebin.com/ma4e3xzk Not working sip log is here http://pastebin.com/6PAnyDBc Please advice, what am I missing here? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/026c2ca9/attachment-0001.html From mandra at gmail.com Fri Sep 16 16:28:43 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 16 Sep 2016 08:28:43 -0400 Subject: [Freeswitch-users] Comfort Noise question Message-ID: Hey guys, I have a two questions: 1. Does freeswitch actually generate comfort noise? 2. If so, is there a way to ensure that is shut off? I'm trying to have no comfort noise. I realize there may be other sources for its generation, so I'm removing them one at a time. thanks! chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/a2eee2c3/attachment.html From mirkobrankovic at gmail.com Fri Sep 16 16:34:12 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 16 Sep 2016 14:34:12 +0200 Subject: [Freeswitch-users] call is not routing from asterisk->freeswitch(billing platform)->provider In-Reply-To: References: Message-ID: >From what I see BYE is comming from your Asterisk Vicidial box: 1. U 60.80.70.250:5060 -> 92.42.132.242:5060 2. BYE sip:18177779695 at 92.42.132.242:5060;transport=udp SIP/2.0. So I guess you need to see what is happening there, since call set up was correct. I see the From is not the same. Plus, I don't think it is safe to place all those details like that online, like Authenticated Invite,.... Regards, mirko On Fri, Sep 16, 2016 at 2:23 PM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Hello, > > I am trying to call from vicidial to freeswitch(billing platform) to > provider(gateway) > so call flow would be like this > > My vicidial > 60.80.70.250 > > my freeswitch > 92.42.132.242 > > my provider(gateway) > 72.2.242.42 > > I am dialing > 18177779695 > > When i try using dialtype 'MANUAL' the call is routing correctly without > any issue. > But when i try using dialtype 'RATIO', i am facing issue when freeswitch > is resending the provider(gateway)'s response to vicidial the asterisk of > vicidial server responding with > X-Asterisk-HangupCause: Unknown. > X-Asterisk-HangupCauseCode: 0. > > I am attaching the sip log of both working(MANUAL) and and not > working(RATIO) scenario here. > Please note that the attached sip log is from freeswitch server(billing > platform). > > Working sip log is here > http://pastebin.com/ma4e3xzk > > Not working sip log is here > http://pastebin.com/6PAnyDBc > > Please advice, what am I missing here? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/b7db9771/attachment.html From mirkobrankovic at gmail.com Fri Sep 16 16:38:09 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 16 Sep 2016 14:38:09 +0200 Subject: [Freeswitch-users] Comfort Noise question In-Reply-To: References: Message-ID: https://wiki.freeswitch.org/wiki/Variable_bridge_generate_comfort_noise I think this also depends on the codecs you use for audio On Fri, Sep 16, 2016 at 2:28 PM, Chris Mandra wrote: > Hey guys, I have a two questions: > 1. Does freeswitch actually generate comfort noise? > 2. If so, is there a way to ensure that is shut off? I'm trying to have no > comfort noise. I realize there may be other sources for its generation, so > I'm removing them one at a time. > > thanks! > chris > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/439c8ced/attachment.html From dragos.oancea at athonet.com Fri Sep 16 16:46:01 2016 From: dragos.oancea at athonet.com (Dragos Oancea) Date: Fri, 16 Sep 2016 14:46:01 +0200 Subject: [Freeswitch-users] Comfort Noise question In-Reply-To: References: Message-ID: <57DBE989.3040804@athonet.com> Try this: https://wiki.freeswitch.org/wiki/Variable_suppress_cng Dragos On 16/09/2016 14:38, Mirko Brankovic wrote: > https://wiki.freeswitch.org/wiki/Variable_bridge_generate_comfort_noise > > I think this also depends on the codecs you use for audio > > On Fri, Sep 16, 2016 at 2:28 PM, Chris Mandra > wrote: > > Hey guys, I have a two questions: > 1. Does freeswitch actually generate comfort noise? > 2. If so, is there a way to ensure that is shut off? I'm trying to > have no comfort noise. I realize there may be other sources for its > generation, so I'm removing them one at a time. > > thanks! > chris > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > -- > Regards, > Mirko > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > From ssinyagin at gmail.com Fri Sep 16 17:02:21 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Fri, 16 Sep 2016 15:02:21 +0200 Subject: [Freeswitch-users] Comfort Noise question In-Reply-To: References: Message-ID: you need to look for "suppress-cng" in https://wiki.freeswitch.org/wiki/Sofia.conf.xml By default, if the remote SIP party tells in its SDP that it accepts CN, then FreeSWITCH generates CN events when idle. Otherwise, it generates the noise sound. On Fri, Sep 16, 2016 at 2:28 PM, Chris Mandra wrote: > Hey guys, I have a two questions: > 1. Does freeswitch actually generate comfort noise? > 2. If so, is there a way to ensure that is shut off? I'm trying to have no > comfort noise. I realize there may be other sources for its generation, so > I'm removing them one at a time. > > thanks! > chris > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mandra at gmail.com Fri Sep 16 17:32:31 2016 From: mandra at gmail.com (Chris Mandra) Date: Fri, 16 Sep 2016 09:32:31 -0400 Subject: [Freeswitch-users] Comfort Noise question In-Reply-To: References: Message-ID: So for clarification - is it suppress-cng (like here https://wiki.freeswitch.org/wiki/Sofia.conf.xml) or suppress_cng (like here: https://wiki.freeswitch.org/wiki/Variable_suppress_cng ) On Fri, Sep 16, 2016 at 9:02 AM, Stanislav Sinyagin wrote: > you need to look for "suppress-cng" in > https://wiki.freeswitch.org/wiki/Sofia.conf.xml > > By default, if the remote SIP party tells in its SDP that it accepts > CN, then FreeSWITCH generates CN events when idle. Otherwise, it > generates the noise sound. > > > > On Fri, Sep 16, 2016 at 2:28 PM, Chris Mandra wrote: > > Hey guys, I have a two questions: > > 1. Does freeswitch actually generate comfort noise? > > 2. If so, is there a way to ensure that is shut off? I'm trying to have > no > > comfort noise. I realize there may be other sources for its generation, > so > > I'm removing them one at a time. > > > > thanks! > > chris > > > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/aa878ed9/attachment.html From mirkobrankovic at gmail.com Fri Sep 16 17:45:46 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 16 Sep 2016 15:45:46 +0200 Subject: [Freeswitch-users] Comfort Noise question In-Reply-To: References: Message-ID: The first option you use for the whole profile, so all calls that come/go trought that profile. Second is to be set per channel/call On Fri, Sep 16, 2016 at 3:32 PM, Chris Mandra wrote: > So for clarification - is it suppress-cng > (like here https://wiki.freeswitch.org/wiki/Sofia.conf.xml) > or > suppress_cng > (like here: https://wiki.freeswitch.org/wiki/Variable_suppress_cng ) > > > On Fri, Sep 16, 2016 at 9:02 AM, Stanislav Sinyagin > wrote: > >> you need to look for "suppress-cng" in >> https://wiki.freeswitch.org/wiki/Sofia.conf.xml >> >> By default, if the remote SIP party tells in its SDP that it accepts >> CN, then FreeSWITCH generates CN events when idle. Otherwise, it >> generates the noise sound. >> >> >> >> On Fri, Sep 16, 2016 at 2:28 PM, Chris Mandra wrote: >> > Hey guys, I have a two questions: >> > 1. Does freeswitch actually generate comfort noise? >> > 2. If so, is there a way to ensure that is shut off? I'm trying to have >> no >> > comfort noise. I realize there may be other sources for its generation, >> so >> > I'm removing them one at a time. >> > >> > thanks! >> > chris >> > >> > >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > mandra > c:410.258.5281 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/ca2d7ed8/attachment.html From hawkins at hawkinsegroup.com Fri Sep 16 18:14:01 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Fri, 16 Sep 2016 09:14:01 -0500 Subject: [Freeswitch-users] fail2ban regex Message-ID: Morning! - Trying to match: 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 Rejected by acl "domains". Falling back to Digest auth. - I tried this regex: ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. Falling back to Digest auth\.$ And no luck. Can anyone help? I can't figure out what I'm doing wrong, testing indicates no matches. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/d2b29c9f/attachment-0001.html From rtreleaven at bunnykick.ca Fri Sep 16 18:21:10 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Fri, 16 Sep 2016 10:21:10 -0400 Subject: [Freeswitch-users] fail2ban regex In-Reply-To: References: Message-ID: does this work? ^.+sofia.+Rejected by acl.+$ On Fri, Sep 16, 2016 at 10:14 AM, Don Hawkins wrote: > Morning! > > > - Trying to match: > > 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 Rejected > by acl "domains". Falling back to Digest auth. > > > - I tried this regex: > > ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. > Falling back to Digest auth\.$ > > > And no luck. > > Can anyone help? I can't figure out what I'm doing wrong, testing > indicates no matches. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/042fc918/attachment.html From mike at jerris.com Fri Sep 16 19:17:49 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 16 Sep 2016 11:17:49 -0400 Subject: [Freeswitch-users] Unable to compile upstream v1.6 on FreeBSD 10.3 In-Reply-To: References: Message-ID: Thanks Spencer, merged to master. On Thursday, September 15, 2016, Spencer Thomason < spencer at whiteskycommunications.com> wrote: > Hi Rajil, > This appears to be a regression caused by some recent work I did to > improve Solaris support. I have created a pull request which should fix > the issue. > > See https://freeswitch.org/stash/projects/FS/repos/ > freeswitch/pull-requests/960/overview > > Can you test this fix and report back? > > Thanks, > Spencer > > On Sep 15, 2016, at 5:19 PM, Rajil Saraswat > wrote: > > Hello, > > I am getting the error pasted below while compiling 1.6 branch in > FreeBSD 10.3. Is there any workaround for this? > > > gmake[5]: Entering directory > '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' > CC mod_sofia_la-mod_sofia.lo > CC mod_sofia_la-sofia.lo > CC mod_sofia_la-sofia_glue.lo > CC mod_sofia_la-sofia_presence.lo > CC mod_sofia_la-sofia_reg.lo > CC mod_sofia_la-sofia_media.lo > CC mod_sofia_la-sip-dig.lo > In file included from sip-dig.c:137: > /home/fs/fs1.6/freeswitch/libs/sofia-sip/libsofia-sip- > ua/bnf/../../config.h:521:9: > error: '__BYTE_ORDER' macro redefined [-Werror] > #define __BYTE_ORDER __LITTLE_ENDIAN > ^ > ../../../../src/include/switch_platform.h:144:9: note: previous > definition is here > #define __BYTE_ORDER __BIG_ENDIAN > ^ > 1 error generated. > gmake[5]: *** [Makefile:749: mod_sofia_la-sip-dig.lo] Error 1 > gmake[5]: Leaving directory > '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' > gmake[4]: *** [Makefile:594: all] Error 2 > gmake[4]: Leaving directory > '/usr/home/fs/fs1.6/freeswitch/src/mod/endpoints/mod_sofia' > gmake[3]: *** [Makefile:666: mod_sofia-all] Error 1 > gmake[3]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod' > gmake[2]: *** [Makefile:574: all-recursive] Error 1 > gmake[2]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src' > gmake[1]: *** [Makefile:3131: all-recursive] Error 1 > gmake[1]: Leaving directory '/usr/home/fs/fs1.6/freeswitch' > gmake: *** [Makefile:1410: all] Error 2 > > Thanks, > Rajil > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/f3d54dee/attachment.html From mike at jerris.com Fri Sep 16 19:19:38 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 16 Sep 2016 11:19:38 -0400 Subject: [Freeswitch-users] SIP Call from Videodevice In-Reply-To: <7313998ffbba41e0b1551174d27dbd1e@vision-gmbh.de> References: <7313998ffbba41e0b1551174d27dbd1e@vision-gmbh.de> Message-ID: sure, as long as you have codecs in common it should be no problem. Look at the logs to see why the call is failing. On Friday, September 16, 2016, J?rgen Wendler wrote: > Hello everyone, > > > > i?m trying to make a SIP call from an external device (e.g. SONY or > POLYCOM) to the ?default? 3500 conference room which has the > video-mcu-profile attached. > > When the call is ringing it does not appear to gets really connected. > > When I use X-Lite or another SIP softphone everything is working so far. > But with external hardware devices I am not able to join the conference > room. > > Does anyone have experience with calls from hardware videoconf systems via > SIP to freeswitch? > > > > Best Regards > > J?rgen > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/7734f54a/attachment.html From hunterj91 at hotmail.com Fri Sep 16 19:27:09 2016 From: hunterj91 at hotmail.com (Jonathan Hunter) Date: Fri, 16 Sep 2016 15:27:09 +0000 Subject: [Freeswitch-users] Receive Parallel Forking Message-ID: Hi Guys, Sorry for the noise! I am parallel forking 2 invites to FreeSWITCH and I am getting back a 482 Merged request response, this is on 1.6. Is the processing of parallel requests supported as I haven't seen it defined anywhere? Same call id but branch parameter modified as required, and I need to process two requests at the same time ideally for transcoding issues. Any help would be great! Many thanks Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/6ce4cc5c/attachment.html From mike at jerris.com Fri Sep 16 19:47:35 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 16 Sep 2016 11:47:35 -0400 Subject: [Freeswitch-users] Receive Parallel Forking In-Reply-To: References: Message-ID: <34550C04-BB07-4D8F-AFDB-65902C20EFDA@jerris.com> I don?t understand the point of why you would send parallel requests for the same call like this, can you describe the problem you are trying to solve by doing this? > On Sep 16, 2016, at 11:27 AM, Jonathan Hunter wrote: > > Hi Guys, > > Sorry for the noise! > > I am parallel forking 2 invites to FreeSWITCH and I am getting back a 482 Merged request response, this is on 1.6. > > Is the processing of parallel requests supported as I haven't seen it defined anywhere? > > Same call id but branch parameter modified as required, and I need to process two requests at the same time ideally for transcoding issues. > > Any help would be great! > > Many thanks > > Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/a17e0ef1/attachment-0001.html From abrdeco2 at gmail.com Fri Sep 16 20:51:07 2016 From: abrdeco2 at gmail.com (Andre Ribeiro) Date: Fri, 16 Sep 2016 13:51:07 -0300 Subject: [Freeswitch-users] Searching professionals to install and maintain freeswitch and billing In-Reply-To: References: Message-ID: <9d8c2986-d466-8845-2aa4-ed712bddd9d0@gmail.com> Hello, I'm new with this platform and needing some professionals to install and maintain freeswitch and billing. If you know somebody that could help me please email me at abrdeco2 at gmail.com. Thankyou Andr? From abrdeco2 at gmail.com Fri Sep 16 20:52:47 2016 From: abrdeco2 at gmail.com (Andre Ribeiro) Date: Fri, 16 Sep 2016 13:52:47 -0300 Subject: [Freeswitch-users] looking for voip providers with destination to Brazil In-Reply-To: References: Message-ID: <9b6ea7ec-3c14-49eb-f2d3-b2da48a37aef@gmail.com> I'm searching for new contacts to voip termination in Brazil. If you are one or want to trade minutes please email me at abrdeco2 at gmail.com Thankyou. Andr? From krice at freeswitch.org Fri Sep 16 21:26:33 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 16 Sep 2016 12:26:33 -0500 Subject: [Freeswitch-users] Searching professionals to install and maintain freeswitch and billing In-Reply-To: <9d8c2986-d466-8845-2aa4-ed712bddd9d0@gmail.com> References: <9d8c2986-d466-8845-2aa4-ed712bddd9d0@gmail.com> Message-ID: <125f01d2103f$79320130$6b960390$@freeswitch.org> Email consulting at freeswitch.org you can get all the pros at one stop... -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Andre Ribeiro Sent: Friday, September 16, 2016 11:51 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Searching professionals to install and maintain freeswitch and billing Hello, I'm new with this platform and needing some professionals to install and maintain freeswitch and billing. If you know somebody that could help me please email me at abrdeco2 at gmail.com. Thankyou Andr? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From tru083 at yahoo.com Fri Sep 16 22:06:04 2016 From: tru083 at yahoo.com (D D) Date: Fri, 16 Sep 2016 18:06:04 +0000 (UTC) Subject: [Freeswitch-users] Intermittent choppy audio on Sangoma References: <302080967.2308460.1474049164748.ref@mail.yahoo.com> Message-ID: <302080967.2308460.1474049164748@mail.yahoo.com> Hi, We are using a Sangoma board in a conference application.? Sometimes, the outbound audio stream is very choppy. Recordings from with mod_conference are fine, so we think there is a problem with the outbound writes to theSangoma board.? I made a recording using the wan_ec_client tool, and I can definitely hear choppy audio comingin to the Sangoma board, from the FS side (the Rin is choppy). I see these FS logs, near the time that the problem occurred:2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c1][1:1] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c2][1:2] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c3][1:3] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c4][1:4] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c5][1:5] Rx Queue length exceeded 80% threshold (9/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c6][1:6] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c7][1:7] Rx Queue length exceeded 80% threshold (9/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c8][1:8] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c9][1:9] Rx Queue length exceeded 80% threshold (9/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c10][1:10] Rx Queue length exceeded 80% threshold (9/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c11][1:11] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c12][1:12] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c13][1:13] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c14][1:14] Rx Queue length exceeded 80% threshold (9/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c15][1:15] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c16][1:16] Rx Queue length exceeded 80% threshold (9/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c17][1:17] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c18][1:18] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c19][1:19] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c20][1:20] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c21][1:21] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c22][1:22] Rx Queue length exceeded 80% threshold (8/10) 2016-09-16 09:25:45.126458 [DEBUG] ftmod_wanpipe.c:982 [s1c23][1:23] Rx Queue length exceeded 80% threshold (8/10) We are using FS version 1.5.13b.? Any ideas what could be the problem? Thanks,David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/8006fdc3/attachment.html From anthony.minessale at gmail.com Fri Sep 16 22:28:21 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 16 Sep 2016 13:28:21 -0500 Subject: [Freeswitch-users] Broadcasting conference with mod_rtmp In-Reply-To: <1473898823.2870609.726129369.2BD9C374@webmail.messagingengine.com> References: <1473875763.2789941.725787057.60F8207F@webmail.messagingengine.com> <01fe01d20eb9$30905670$91b10350$@207me.com> <1473898823.2870609.726129369.2BD9C374@webmail.messagingengine.com> Message-ID: On Wed, Sep 14, 2016 at 7:20 PM, Charlie DeTar wrote: > Thanks for clarifying that. I configured nginx-rtmp-module, and was able > to successfully got an rtmp stream sent from the conference to sent to it > and transcoded to HLS / MPEG-DASH. However, freeswitch still crashes a > short time after invoking `conference record ...` (I've seen between > 10 seconds and 2 minutes after). > > My next attempt will be to compile freeswitch from source rather than > using freeswitch's debian packages, to see if a more recent commit can > survive recording to rtmp without crashing. > > Thanks for the offer Anthony, I am working with an MIT lab on a research > project. I'll follow up separately. > > -charlie > Cool, I look forward to it. I am interested in mpeg-dash I'd like to see how you configured it. > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > *_________________________________________________________________________* > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/65638440/attachment-0001.html From hawkins at hawkinsegroup.com Sat Sep 17 08:53:03 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Fri, 16 Sep 2016 23:53:03 -0500 Subject: [Freeswitch-users] fail2ban regex In-Reply-To: References: Message-ID: It's missing so no, I dont think it will work. Anyone have any other suggestions? Just to recap, looking for fail2ban regex that will match the following: 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 Rejected by acl "domains". Falling back to Digest auth. On Fri, Sep 16, 2016 at 9:21 AM, Russell Treleaven wrote: > does this work? > ^.+sofia.+Rejected by acl.+$ > > On Fri, Sep 16, 2016 at 10:14 AM, Don Hawkins > wrote: > >> Morning! >> >> >> - Trying to match: >> >> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >> Rejected by acl "domains". Falling back to Digest auth. >> >> >> - I tried this regex: >> >> ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. >> Falling back to Digest auth\.$ >> >> >> And no luck. >> >> Can anyone help? I can't figure out what I'm doing wrong, testing >> indicates no matches. >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Sincerely,* Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160916/76c12850/attachment.html From hawkins at hawkinsegroup.com Sat Sep 17 09:06:16 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sat, 17 Sep 2016 00:06:16 -0500 Subject: [Freeswitch-users] fail2ban regex In-Reply-To: References: Message-ID: Wow, feel KIND of stupid, the regex is in the bottom of the config file but commented out... https://github.com/fail2ban/fail2ban/blob/master/config/ filter.d/freeswitch.conf It's commented out but really should not be, I was missing a bunch of "hacking" attempts. For anyone else, move it up because you may need it, it for sure wont hurt anything. On Fri, Sep 16, 2016 at 11:53 PM, Don Hawkins wrote: > It's missing so no, I dont think it will work. > > Anyone have any other suggestions? > > Just to recap, looking for fail2ban regex that will match the following: > > 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 Rejected > by acl "domains". Falling back to Digest auth. > > > On Fri, Sep 16, 2016 at 9:21 AM, Russell Treleaven < > rtreleaven at bunnykick.ca> wrote: > >> does this work? >> ^.+sofia.+Rejected by acl.+$ >> >> On Fri, Sep 16, 2016 at 10:14 AM, Don Hawkins >> wrote: >> >>> Morning! >>> >>> >>> - Trying to match: >>> >>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>> Rejected by acl "domains". Falling back to Digest auth. >>> >>> >>> - I tried this regex: >>> >>> ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. >>> Falling back to Digest auth\.$ >>> >>> >>> And no luck. >>> >>> Can anyone help? I can't figure out what I'm doing wrong, testing >>> indicates no matches. >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > > *Sincerely,* > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > -- *Sincerely,* Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160917/471c9101/attachment.html From steveayre at gmail.com Sat Sep 17 23:28:28 2016 From: steveayre at gmail.com (Steven Ayre) Date: Sat, 17 Sep 2016 20:28:28 +0100 Subject: [Freeswitch-users] fail2ban regex In-Reply-To: References: Message-ID: Potentially commented out because it'll happen every time a legitimate user authenticates via password and not IP, so could give false positives that cause it to block real users. Use with care. :) Steve On 17 September 2016 at 06:06, Don Hawkins wrote: > Wow, feel KIND of stupid, the regex is in the bottom of the config file > but commented out... > > https://github.com/fail2ban/fail2ban/blob/master/config/filt > er.d/freeswitch.conf > > It's commented out but really should not be, I was missing a bunch of > "hacking" attempts. For anyone else, move it up because you may need it, it > for sure wont hurt anything. > > On Fri, Sep 16, 2016 at 11:53 PM, Don Hawkins > wrote: > >> It's missing so no, I dont think it will work. >> >> Anyone have any other suggestions? >> >> Just to recap, looking for fail2ban regex that will match the following: >> >> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >> Rejected by acl "domains". Falling back to Digest auth. >> >> >> On Fri, Sep 16, 2016 at 9:21 AM, Russell Treleaven < >> rtreleaven at bunnykick.ca> wrote: >> >>> does this work? >>> ^.+sofia.+Rejected by acl.+$ >>> >>> On Fri, Sep 16, 2016 at 10:14 AM, Don Hawkins >> > wrote: >>> >>>> Morning! >>>> >>>> >>>> - Trying to match: >>>> >>>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>>> Rejected by acl "domains". Falling back to Digest auth. >>>> >>>> >>>> - I tried this regex: >>>> >>>> ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. >>>> Falling back to Digest auth\.$ >>>> >>>> >>>> And no luck. >>>> >>>> Can anyone help? I can't figure out what I'm doing wrong, testing >>>> indicates no matches. >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> >> *Sincerely,* >> Don Hawkins >> CEO >> Hawkins Enterprise Group LLC >> http://hawkinsegroup.com >> Zello PTT : push2don >> P: 469-214-5044 >> > > > > -- > > > *Sincerely,* > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160917/6cb0665e/attachment-0001.html From hawkins at hawkinsegroup.com Sat Sep 17 23:35:04 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sat, 17 Sep 2016 14:35:04 -0500 Subject: [Freeswitch-users] fail2ban regex In-Reply-To: References: Message-ID: Right, but everyone is using a password on our system so should cause no issues. However, thanks! Sincerely, Don Hawkins Sent from my NationPCS? Nexus 6. On Sep 17, 2016 2:31 PM, "Steven Ayre" wrote: > Potentially commented out because it'll happen every time a legitimate > user authenticates via password and not IP, so could give false positives > that cause it to block real users. Use with care. :) > > Steve > > > On 17 September 2016 at 06:06, Don Hawkins > wrote: > >> Wow, feel KIND of stupid, the regex is in the bottom of the config file >> but commented out... >> >> https://github.com/fail2ban/fail2ban/blob/master/config/filt >> er.d/freeswitch.conf >> >> It's commented out but really should not be, I was missing a bunch of >> "hacking" attempts. For anyone else, move it up because you may need it, it >> for sure wont hurt anything. >> >> On Fri, Sep 16, 2016 at 11:53 PM, Don Hawkins >> wrote: >> >>> It's missing so no, I dont think it will work. >>> >>> Anyone have any other suggestions? >>> >>> Just to recap, looking for fail2ban regex that will match the following: >>> >>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>> Rejected by acl "domains". Falling back to Digest auth. >>> >>> >>> On Fri, Sep 16, 2016 at 9:21 AM, Russell Treleaven < >>> rtreleaven at bunnykick.ca> wrote: >>> >>>> does this work? >>>> ^.+sofia.+Rejected by acl.+$ >>>> >>>> On Fri, Sep 16, 2016 at 10:14 AM, Don Hawkins < >>>> hawkins at hawkinsegroup.com> wrote: >>>> >>>>> Morning! >>>>> >>>>> >>>>> - Trying to match: >>>>> >>>>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>>>> Rejected by acl "domains". Falling back to Digest auth. >>>>> >>>>> >>>>> - I tried this regex: >>>>> >>>>> ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. >>>>> Falling back to Digest auth\.$ >>>>> >>>>> >>>>> And no luck. >>>>> >>>>> Can anyone help? I can't figure out what I'm doing wrong, testing >>>>> indicates no matches. >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> >>> *Sincerely,* >>> Don Hawkins >>> CEO >>> Hawkins Enterprise Group LLC >>> http://hawkinsegroup.com >>> Zello PTT : push2don >>> P: 469-214-5044 >>> >> >> >> >> -- >> >> >> *Sincerely,* >> Don Hawkins >> CEO >> Hawkins Enterprise Group LLC >> http://hawkinsegroup.com >> Zello PTT : push2don >> P: 469-214-5044 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160917/eb9373b8/attachment.html From rajil.s at gmail.com Sun Sep 18 00:44:01 2016 From: rajil.s at gmail.com (Rajil Saraswat) Date: Sat, 17 Sep 2016 15:44:01 -0500 Subject: [Freeswitch-users] mod_avmd fails to compile in FreeBSD 10.3 Message-ID: <02d25c13-5764-9368-64b1-35c7b590c3b2@gmail.com> Hello, The following error pops up while compiling: making all mod_avmd gmake[4]: Entering directory '/usr/home/fs/fs1.6/freeswitch/src/mod/applications/mod_avmd' CC mod_avmd_la-avmd_fast_acosf.lo avmd_fast_acosf.c:160:26: error: use of undeclared identifier 'MAP_POPULATE' MAP_SHARED | MAP_POPULATE, /* read-ahead on the file. Later accesses to the mapping ^ 1 error generated. gmake[4]: *** [Makefile:694: mod_avmd_la-avmd_fast_acosf.lo] Error 1 gmake[4]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod/applications/mod_avmd' gmake[3]: *** [Makefile:666: mod_avmd-all] Error 1 gmake[3]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod' gmake[2]: *** [Makefile:574: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src' gmake[1]: *** [Makefile:3131: all-recursive] Error 1 gmake[1]: Leaving directory '/usr/home/fs/fs1.6/freeswitch' gmake: *** [Makefile:1410: all] Error 2 Any idea who to compile this? Thanks Rajil From krice at freeswitch.org Sun Sep 18 01:06:20 2016 From: krice at freeswitch.org (Ken Rice) Date: Sat, 17 Sep 2016 16:06:20 -0500 Subject: [Freeswitch-users] mod_avmd fails to compile in FreeBSD 10.3 In-Reply-To: <02d25c13-5764-9368-64b1-35c7b590c3b2@gmail.com> References: <02d25c13-5764-9368-64b1-35c7b590c3b2@gmail.com> Message-ID: Sounds like a compile error the should be reported to jira Sent from my iPhone > On Sep 17, 2016, at 3:44 PM, Rajil Saraswat wrote: > > Hello, > > The following error pops up while compiling: > > making all mod_avmd > gmake[4]: Entering directory > '/usr/home/fs/fs1.6/freeswitch/src/mod/applications/mod_avmd' > CC mod_avmd_la-avmd_fast_acosf.lo > avmd_fast_acosf.c:160:26: error: use of undeclared identifier 'MAP_POPULATE' > MAP_SHARED | MAP_POPULATE, /* read-ahead on the > file. Later accesses to the mapping > ^ > 1 error generated. > gmake[4]: *** [Makefile:694: mod_avmd_la-avmd_fast_acosf.lo] Error 1 > gmake[4]: Leaving directory > '/usr/home/fs/fs1.6/freeswitch/src/mod/applications/mod_avmd' > gmake[3]: *** [Makefile:666: mod_avmd-all] Error 1 > gmake[3]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src/mod' > gmake[2]: *** [Makefile:574: all-recursive] Error 1 > gmake[2]: Leaving directory '/usr/home/fs/fs1.6/freeswitch/src' > gmake[1]: *** [Makefile:3131: all-recursive] Error 1 > gmake[1]: Leaving directory '/usr/home/fs/fs1.6/freeswitch' > gmake: *** [Makefile:1410: all] Error 2 > > Any idea who to compile this? > > Thanks > Rajil > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From rajil.s at gmail.com Sun Sep 18 01:21:28 2016 From: rajil.s at gmail.com (Rajil Saraswat) Date: Sat, 17 Sep 2016 16:21:28 -0500 Subject: [Freeswitch-users] mod_avmd fails to compile in FreeBSD 10.3 In-Reply-To: References: <02d25c13-5764-9368-64b1-35c7b590c3b2@gmail.com> Message-ID: <19494b4e-6d92-0caf-c5f6-e65b5dd3fbfd@gmail.com> On 09/17/2016 04:06 PM, Ken Rice wrote: > Sounds like a compile error the should be reported to jira > > Sent from my iPhone > https://freeswitch.org/jira/browse/FS-9527 From gassaad at emassembly.com Sun Sep 18 01:23:13 2016 From: gassaad at emassembly.com (George Assaad) Date: Sat, 17 Sep 2016 17:23:13 -0400 Subject: [Freeswitch-users] fail2ban regex In-Reply-To: References: Message-ID: Don, I believe that Steven meant the opposite of what you understood. You may have false positive if you are using password. I apologize if I misunderstood. Best Regards, On Sat, Sep 17, 2016 at 3:35 PM, Don Hawkins wrote: > Right, but everyone is using a password on our system so should cause no > issues. However, thanks! > > Sincerely, > Don Hawkins > > Sent from my NationPCS? Nexus 6. > > On Sep 17, 2016 2:31 PM, "Steven Ayre" wrote: > >> Potentially commented out because it'll happen every time a legitimate >> user authenticates via password and not IP, so could give false positives >> that cause it to block real users. Use with care. :) >> >> Steve >> >> >> On 17 September 2016 at 06:06, Don Hawkins >> wrote: >> >>> Wow, feel KIND of stupid, the regex is in the bottom of the config file >>> but commented out... >>> >>> https://github.com/fail2ban/fail2ban/blob/master/config/filt >>> er.d/freeswitch.conf >>> >>> It's commented out but really should not be, I was missing a bunch of >>> "hacking" attempts. For anyone else, move it up because you may need it, it >>> for sure wont hurt anything. >>> >>> On Fri, Sep 16, 2016 at 11:53 PM, Don Hawkins >> > wrote: >>> >>>> It's missing so no, I dont think it will work. >>>> >>>> Anyone have any other suggestions? >>>> >>>> Just to recap, looking for fail2ban regex that will match the following: >>>> >>>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>>> Rejected by acl "domains". Falling back to Digest auth. >>>> >>>> >>>> On Fri, Sep 16, 2016 at 9:21 AM, Russell Treleaven < >>>> rtreleaven at bunnykick.ca> wrote: >>>> >>>>> does this work? >>>>> ^.+sofia.+Rejected by acl.+$ >>>>> >>>>> On Fri, Sep 16, 2016 at 10:14 AM, Don Hawkins < >>>>> hawkins at hawkinsegroup.com> wrote: >>>>> >>>>>> Morning! >>>>>> >>>>>> >>>>>> - Trying to match: >>>>>> >>>>>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>>>>> Rejected by acl "domains". Falling back to Digest auth. >>>>>> >>>>>> >>>>>> - I tried this regex: >>>>>> >>>>>> ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. >>>>>> Falling back to Digest auth\.$ >>>>>> >>>>>> >>>>>> And no luck. >>>>>> >>>>>> Can anyone help? I can't figure out what I'm doing wrong, testing >>>>>> indicates no matches. >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> *Sincerely,* >>>> Don Hawkins >>>> CEO >>>> Hawkins Enterprise Group LLC >>>> http://hawkinsegroup.com >>>> Zello PTT : push2don >>>> P: 469-214-5044 >>>> >>> >>> >>> >>> -- >>> >>> >>> *Sincerely,* >>> Don Hawkins >>> CEO >>> Hawkins Enterprise Group LLC >>> http://hawkinsegroup.com >>> Zello PTT : push2don >>> P: 469-214-5044 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160917/1b3cc78f/attachment.html From mandra at gmail.com Sun Sep 18 05:53:59 2016 From: mandra at gmail.com (Chris Mandra) Date: Sat, 17 Sep 2016 21:53:59 -0400 Subject: [Freeswitch-users] Connection noise question Message-ID: Hi guys, quick question. When I make a connection through freeswitch I hear noise before the connection is made. Can you tell me the source of this noise? Is this something obvious and understood? Thanks, Chris -- mandra c:410.258.5281 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160917/a93536ce/attachment.html From gascagonzalo at gmail.com Sun Sep 18 06:13:57 2016 From: gascagonzalo at gmail.com (Gonzalo Gasca Meza) Date: Sat, 17 Sep 2016 19:13:57 -0700 Subject: [Freeswitch-users] Connection noise question In-Reply-To: References: Message-ID: Can you provide more info? Your email doesnt say too much or have any information we can use to help you. Are you dialing from a SIP Phone to PSTN via Freeswitch? What type of SIP Phone? What is the call flow, what have you doen to troubleshoot? Please add more technical details On Sat, Sep 17, 2016 at 6:53 PM, Chris Mandra wrote: > Hi guys, quick question. When I make a connection through freeswitch I > hear noise before the connection is made. Can you tell me the source of > this noise? Is this something obvious and understood? > Thanks, Chris > > > -- > mandra > c:410.258.5281 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160917/4c565f78/attachment-0001.html From rtreleaven at bunnykick.ca Sun Sep 18 07:02:03 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Sat, 17 Sep 2016 23:02:03 -0400 Subject: [Freeswitch-users] Connection noise question In-Reply-To: References: Message-ID: What does the noise sound like? Does it sound like the ocean in a seashell? On Sep 17, 2016 9:54 PM, "Chris Mandra" wrote: Hi guys, quick question. When I make a connection through freeswitch I hear noise before the connection is made. Can you tell me the source of this noise? Is this something obvious and understood? Thanks, Chris -- mandra c:410.258.5281 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160917/3d0e5065/attachment.html From s.safarov at gmail.com Sun Sep 18 08:57:12 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 18 Sep 2016 04:57:12 +0000 Subject: [Freeswitch-users] fail2ban regex In-Reply-To: References: Message-ID: I use fail2ban more one year. My changes of FreeSwitch filter rules is present at https://github.com/fail2ban/fail2ban/pull/1549 Sergey ??, 18 ????. 2016 ?. ? 0:23, George Assaad : > Don, > I believe that Steven meant the opposite of what you understood. > You may have false positive if you are using password. > I apologize if I misunderstood. > Best Regards, > > On Sat, Sep 17, 2016 at 3:35 PM, Don Hawkins > wrote: > >> Right, but everyone is using a password on our system so should cause no >> issues. However, thanks! >> >> Sincerely, >> Don Hawkins >> >> Sent from my NationPCS? Nexus 6. >> >> On Sep 17, 2016 2:31 PM, "Steven Ayre" wrote: >> >>> Potentially commented out because it'll happen every time a legitimate >>> user authenticates via password and not IP, so could give false positives >>> that cause it to block real users. Use with care. :) >>> >>> Steve >>> >>> >>> On 17 September 2016 at 06:06, Don Hawkins >>> wrote: >>> >>>> Wow, feel KIND of stupid, the regex is in the bottom of the config file >>>> but commented out... >>>> >>>> https://github.com/fail2ban/fail2ban >>>> /blob/master/config/filter.d/freeswitch.conf >>>> >>>> It's commented out but really should not be, I was missing a bunch of >>>> "hacking" attempts. For anyone else, move it up because you may need it, it >>>> for sure wont hurt anything. >>>> >>>> On Fri, Sep 16, 2016 at 11:53 PM, Don Hawkins < >>>> hawkins at hawkinsegroup.com> wrote: >>>> >>>>> It's missing so no, I dont think it will work. >>>>> >>>>> Anyone have any other suggestions? >>>>> >>>>> Just to recap, looking for fail2ban regex that will match the >>>>> following: >>>>> >>>>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>>>> Rejected by acl "domains". Falling back to Digest auth. >>>>> >>>>> >>>>> On Fri, Sep 16, 2016 at 9:21 AM, Russell Treleaven < >>>>> rtreleaven at bunnykick.ca> wrote: >>>>> >>>>>> does this work? >>>>>> ^.+sofia.+Rejected by acl.+$ >>>>>> >>>>>> On Fri, Sep 16, 2016 at 10:14 AM, Don Hawkins < >>>>>> hawkins at hawkinsegroup.com> wrote: >>>>>> >>>>>>> Morning! >>>>>>> >>>>>>> >>>>>>> - Trying to match: >>>>>>> >>>>>>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>>>>>> Rejected by acl "domains". Falling back to Digest auth. >>>>>>> >>>>>>> >>>>>>> - I tried this regex: >>>>>>> >>>>>>> ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. >>>>>>> Falling back to Digest auth\.$ >>>>>>> >>>>>>> >>>>>>> And no luck. >>>>>>> >>>>>>> Can anyone help? I can't figure out what I'm doing wrong, testing >>>>>>> indicates no matches. >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at 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 at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> *Sincerely,* >>>>> Don Hawkins >>>>> CEO >>>>> Hawkins Enterprise Group LLC >>>>> http://hawkinsegroup.com >>>>> Zello PTT : push2don >>>>> P: 469-214-5044 >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> >>>> *Sincerely,* >>>> Don Hawkins >>>> CEO >>>> Hawkins Enterprise Group LLC >>>> http://hawkinsegroup.com >>>> Zello PTT : push2don >>>> P: 469-214-5044 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160918/3c91b2ab/attachment-0001.html From hawkins at hawkinsegroup.com Sun Sep 18 09:30:04 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Sun, 18 Sep 2016 00:30:04 -0500 Subject: [Freeswitch-users] fail2ban regex In-Reply-To: References: Message-ID: Thanks! Trying it out now. On Sat, Sep 17, 2016 at 11:57 PM, Sergey Safarov wrote: > I use fail2ban more one year. > My changes of FreeSwitch filter rules is present at > https://github.com/fail2ban/fail2ban/pull/1549 > > Sergey > > ??, 18 ????. 2016 ?. ? 0:23, George Assaad : > >> Don, >> I believe that Steven meant the opposite of what you understood. >> You may have false positive if you are using password. >> I apologize if I misunderstood. >> Best Regards, >> >> On Sat, Sep 17, 2016 at 3:35 PM, Don Hawkins >> wrote: >> >>> Right, but everyone is using a password on our system so should cause no >>> issues. However, thanks! >>> >>> Sincerely, >>> Don Hawkins >>> >>> Sent from my NationPCS? Nexus 6. >>> >>> On Sep 17, 2016 2:31 PM, "Steven Ayre" wrote: >>> >>>> Potentially commented out because it'll happen every time a legitimate >>>> user authenticates via password and not IP, so could give false positives >>>> that cause it to block real users. Use with care. :) >>>> >>>> Steve >>>> >>>> >>>> On 17 September 2016 at 06:06, Don Hawkins >>>> wrote: >>>> >>>>> Wow, feel KIND of stupid, the regex is in the bottom of the config >>>>> file but commented out... >>>>> >>>>> https://github.com/fail2ban/fail2ban/blob/master/config/ >>>>> filter.d/freeswitch.conf >>>>> >>>>> It's commented out but really should not be, I was missing a bunch of >>>>> "hacking" attempts. For anyone else, move it up because you may need it, it >>>>> for sure wont hurt anything. >>>>> >>>>> On Fri, Sep 16, 2016 at 11:53 PM, Don Hawkins < >>>>> hawkins at hawkinsegroup.com> wrote: >>>>> >>>>>> It's missing so no, I dont think it will work. >>>>>> >>>>>> Anyone have any other suggestions? >>>>>> >>>>>> Just to recap, looking for fail2ban regex that will match the >>>>>> following: >>>>>> >>>>>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>>>>> Rejected by acl "domains". Falling back to Digest auth. >>>>>> >>>>>> >>>>>> On Fri, Sep 16, 2016 at 9:21 AM, Russell Treleaven < >>>>>> rtreleaven at bunnykick.ca> wrote: >>>>>> >>>>>>> does this work? >>>>>>> ^.+sofia.+Rejected by acl.+$ >>>>>>> >>>>>>> On Fri, Sep 16, 2016 at 10:14 AM, Don Hawkins < >>>>>>> hawkins at hawkinsegroup.com> wrote: >>>>>>> >>>>>>>> Morning! >>>>>>>> >>>>>>>> >>>>>>>> - Trying to match: >>>>>>>> >>>>>>>> 2016-09-16 08:42:48.729019 [DEBUG] sofia.c:9623 IP 89.163.231.172 >>>>>>>> Rejected by acl "domains". Falling back to Digest auth. >>>>>>>> >>>>>>>> >>>>>>>> - I tried this regex: >>>>>>>> >>>>>>>> ^\.\d+ \[DEBUG\] sofia\.c:\d+ IP Rejected by acl "domains"\. >>>>>>>> Falling back to Digest auth\.$ >>>>>>>> >>>>>>>> >>>>>>>> And no luck. >>>>>>>> >>>>>>>> Can anyone help? I can't figure out what I'm doing wrong, testing >>>>>>>> indicates no matches. >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at 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 at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >>>>>>> options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> *Sincerely,* >>>>>> Don Hawkins >>>>>> CEO >>>>>> Hawkins Enterprise Group LLC >>>>>> http://hawkinsegroup.com >>>>>> Zello PTT : push2don >>>>>> P: 469-214-5044 >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> >>>>> *Sincerely,* >>>>> Don Hawkins >>>>> CEO >>>>> Hawkins Enterprise Group LLC >>>>> http://hawkinsegroup.com >>>>> Zello PTT : push2don >>>>> P: 469-214-5044 >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Sincerely,* Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160918/72920566/attachment-0001.html From Shawn.Wheeler at interlockconcepts.com Sun Sep 18 22:53:17 2016 From: Shawn.Wheeler at interlockconcepts.com (Shawn Wheeler) Date: Sun, 18 Sep 2016 18:53:17 +0000 Subject: [Freeswitch-users] Quiet or Silent call Message-ID: I have a SIP devise which I set to call a pre-defined extension. I would like to have this device call the extension, however have the call silent on the device end with no ringing and muted on the receiving side. In other words, I want to execute the call from the device, the device speaker would not play a ringing tone, (forgive me if my wording it not correct). When the receiver picks up the call, the receiver is muted but has the ability to unmute their end of the call. Is this possible? If so is there recommendation on how to set this up? Thank you in advance. Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160918/ab92faf0/attachment.html From rajil.s at gmail.com Mon Sep 19 00:54:39 2016 From: rajil.s at gmail.com (Rajil Saraswat) Date: Sun, 18 Sep 2016 15:54:39 -0500 Subject: [Freeswitch-users] ssmtp and html email Message-ID: <8791b5d8-64e6-4306-07c8-42bed313f8df@gmail.com> Hello, I use ssmtp for sending voicemail emails. Apparently, ssmtp can be used to send HTML emails as pointed out by http://stackoverflow.com/questions/34333643/using-ssmtp-to-send-html-e-mails-with-mail-sendmail. How can i modify switch.conf.xml to incorporate this? At the moment it reads Thanks From david.witham at netsip.com.au Mon Sep 19 03:53:14 2016 From: david.witham at netsip.com.au (David Witham) Date: Mon, 19 Sep 2016 09:53:14 +1000 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Hi Don, Yes that should do what you want. regards, David On 15 September 2016 at 15:14, Don Hawkins wrote: > So, to only block failures does this regex look right? I basically just > removed "failure|challenge" and replaced with "failure" > > failregex = ^\.\d+ \[WARNING\] sofia_reg\.c:\d+ SIP auth (failure) > \((REGISTER|INVITE)\) on sofia profile \'[^']+\' for \[.*\] from ip $ > > > On Sun, Sep 11, 2016 at 2:23 AM, Angel Elena wrote: > >> Great!!! >> >> Thanks for sharing. >> >> -------------------------------- >> ?ngel Elena Medina _o) >> craem at craem.net / \\ >> http://blog.craem.net _(___V >> @craem_ >> -------------------------------- >> >> -----Mensaje original----- >> De: Don Hawkins >> Enviado: Dom 11-09-2016 03:22 >> Asunto: Re: [Freeswitch-users] Getting fail2ban working properly >> Para: FreeSWITCH Users Help ; >> > No problem, I need to take notes anyway. Here they are... >> > >> > >> > A. /etc/fail2ban/filter.d/freeswitch.conf needs the following text: >> > >> > https://github.com/fail2ban/fail2ban/blob/master/config/filt >> er.d/freeswitch.conf >> > >> > NOTE: Internal and Public sofia profiles need: > name="log-auth-failures" >> > value="true"/> >> > >> > >> > B. /etc/fail2ban/jail.conf and in /etc/fail2ban/jail.local (not sure >> which one >> > is working, I had to create jail.local) >> > >> > [freeswitch] >> > enabled = true >> > port = 5060,5061,5080,5081,5076 5074 5071 >> > filter = freeswitch >> > logpath = /var/log/freeswitch/freeswitch.log >> > maxretry = 3 >> > >> > >> > C. Drop these rules into iptables to block the scanners on ports 5060 >> and 5080 >> > >> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >> > "VaxSIPUserAgent" --algo bm >> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >> > "friendly-scanner" --algo bm >> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >> "sipcli" >> > --algo bm >> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >> > "VaxSIPUserAgent" --algo bm >> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >> > "friendly-scanner" --algo bm >> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >> "sipcli" >> > --algo bm >> > >> > >> > D. Change SSH port from 22 to a custom number >> > >> > vi /etc/ssh/sshd_config >> > >> > >> > E. Update SSH jail in /etc/fail2ban/jail.conf to custom port number. >> > >> > [ssh] >> > >> > enabled = true >> > port = 9898,22 >> > filter = sshd >> > logpath = /var/log/auth.log >> > maxretry = 6 >> > >> > >> > F. I also have additional security using CDR records (curl). If a call >> comes >> > in that does not have an 'account number' set (a custom variable we set >> for all >> > incoming and outgoing calls from our customers) then we execute a shell >> command >> > to block that IP without delay because they obviously aren't one of our >> > customers. We are using mod_httapi and all calls start that way for us, >> so it's >> > easy to set the variable as all calls start with . >> > >> > >> > iptables -A INPUT -s 65.55.44.100 -j DROP >> > >> > >> > Where 65.55.44.100 is the ip to block. >> > >> > >> > >> > Don >> > >> > >> > >> > >> > On Sat, Sep 10, 2016 at 7:58 PM, George Assaad > > > wrote: >> > Hi Don, >> > Could you please share your final settings since it works. >> > >> > Thanks, >> > >> > George >> > >> > On Sep 10, 2016, at 5:49 PM, Don Hawkins > > > wrote: >> > >> > Just want to update everyone that the registration attempts have almost >> stopped >> > 100% since blocking the sniffers and setting a 4 hour block time after >> three >> > failed registrations. >> > >> > Good day! >> > >> > On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie > > > wrote: >> > On 8 September 2016 at 12:54, Don Hawkins > > > wrote: >> > > Can someone share with me how to block all ports except the important >> ones? >> > >> > I had the same question about a month ago: >> > http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >> August/121694.html >> > > -August/121694.html> >> > >> > >> > Colin gives good advice here: >> > http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >> August/121730.html >> > > -August/121730.html> >> > >> > >> > I've also had success with contacting the originating network and >> > request their customer to stop the traffic to me. >> > >> > Here's the abuse form for online.net : >> > https://console.online.net/en/account/abuses/search >> > >> > By the way, if the fail2ban page on confluence needs updating, please >> > update it or list what's wrong with it. I do see it indicates to >> > create the jail.local and that's what you were missing for yours to >> > work properly. >> > >> > >> > -- >> > ------- >> > inum: 883510009027723 >> > sip: jungleboogie at sip2sip.info >> > >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at lists.freeswitch.org >> > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> freeswitch-users >> > >> > http://www.freeswitch.org >> > >> > >> > >> > -- >> > Sincerely, >> > Don Hawkins >> > CEO >> > Hawkins Enterprise Group LLC >> > http://hawkinsegroup.com >> > Zello PTT : push2don >> > P: 469-214-5044 >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at 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 at 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 at lists.freeswitch.org >> > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ >> freeswitch-users >> > >> > http://www.freeswitch.org >> > >> > >> > >> > -- >> > Sincerely, >> > Don Hawkins >> > CEO >> > Hawkins Enterprise Group LLC >> > http://hawkinsegroup.com >> > Zello PTT : push2don >> > P: 469-214-5044 >> > >> > ____________________________________________________________ >> _____________ >> > >> > Professional FreeSWITCH Consulting Services: >> > >> > consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > Don Hawkins > CEO > Hawkins Enterprise Group LLC > http://hawkinsegroup.com > Zello PTT : push2don > P: 469-214-5044 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- David Witham Senior Voice/Systems Engineer Netsip pty ltd ? An Over the Wire Company Level 1, 24 Little Edward St, Spring Hill QLD 4000 t +61 1300 638 747 e david.witham at netsip.com.au www.netsip.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/3b619cdf/attachment-0001.html From jw at vision-gmbh.de Mon Sep 19 09:48:50 2016 From: jw at vision-gmbh.de (=?utf-8?B?SsO8cmdlbiBXZW5kbGVy?=) Date: Mon, 19 Sep 2016 05:48:50 +0000 Subject: [Freeswitch-users] SIP Call from Videodevice In-Reply-To: References: <7313998ffbba41e0b1551174d27dbd1e@vision-gmbh.de> Message-ID: <1301bf2b1a614c45ade8e07092c005d0@vision-gmbh.de> Thanks for your answer. Well i have some codecs in common: a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4331 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4331 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4276 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[opus:116:48000:20:0:1] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4331 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match ? a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4784 Video Codec Compare [H264:105] +++ is saved as a match a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [MP4V-ES:96]/[H261:31] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [MP4V-ES:96]/[VP8:99] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [MP4V-ES:96]/[H263:34] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [MP4V-ES:96]/[H264:99] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H263:34]/[H261:31] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H263:34]/[VP8:99] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H263:34]/[H263:34] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4784 Video Codec Compare [H263:34] +++ is saved as a match a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H263:34]/[H264:99] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H261:31]/[H261:31] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4784 Video Codec Compare [H261:31] +++ is saved as a match a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H261:31]/[VP8:99] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H261:31]/[H263:34] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H261:31]/[H264:99] After this, the log says: a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.470147 [NOTICE] mod_dptools.c:1309 Channel [sofia/internal/nobody at 192.168.88.21] has been answered a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.470147 [DEBUG] switch_channel.c:3770 (sofia/internal/nobody at 192.168.88.21) Callstate Change EARLY -> ACTIVE a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.470147 [DEBUG] sofia.c:6962 Channel sofia/internal/nobody at 192.168.88.21 entering state [completed][200] ? a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.490154 [DEBUG] conference_loop.c:1102 Setup timer soft success interval: 20 samples: 160 a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.510307 [NOTICE] switch_core_io.c:1202 Activating write resampler 2016-09-19 07:41:55.560315 [NOTICE] avcodec.c:1014 codec: id=28 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 2016-09-19 07:41:55.560315 [DEBUG] conference_video.c:2446 Setting up video write codec H264 at slot 0 2016-09-19 07:41:55.560315 [INFO] avcodec.c:1072 initializing encoder 1408x1152 2016-09-19 07:41:55.560315 [DEBUG] avcodec.c:834 NVENC HW CODEC NOT PRESENT using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1 profile Constrained Baseline, level 4.1 2016-09-19 07:41:55.630294 [DEBUG] conference_video.c:1111 Canvas position 1 applied layout 1x1 2016-09-19 07:41:55.680312 [DEBUG] conference_video.c:1111 Canvas position 1 applied layout 1x1 a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.710321 [DEBUG] conference_member.c:1654 Raw Codec Activation Success L16 at 16000hz 1 channel 20ms a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.710321 [DEBUG] conference_member.c:1701 Raw Codec Activation Success L16 at 48000hz 2 channel 20ms a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.710321 [DEBUG] conference_loop.c:1102 Setup timer soft success interval: 20 samples: 160 2016-09-19 07:41:58.250405 [DEBUG] mod_local_stream.c:848 Opening Stream [moh/48000] 48000hz 2016-09-19 07:41:58.250405 [WARNING] switch_core_file.c:348 File has 1 channels, muxing to 2 channels will occur. a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.490314 [DEBUG] sofia.c:6962 Channel sofia/internal/nobody at 192.168.88.21 entering state [terminating][0] a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.490314 [NOTICE] sofia.c:8048 Hangup sofia/internal/nobody at 192.168.88.21 [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2016-09-19 07:42:27.500352 [DEBUG] switch_core_media.c:5544 sofia/internal/nobody at 192.168.88.21 Video thread ended a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [INFO] conference_loop.c:1403 Channel leaving conference, cause: NORMAL_UNSPECIFIED a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] mod_conference.c:2215 sofia/internal/nobody at 192.168.88.21 skip receive message [UNBRIDGE] (channel is hungup already) a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_media.c:9305 sofia/internal/nobody at 192.168.88.21 skip receive message [HARD_MUTE] (channel is hungup already) a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_codec.c:258 Restore original codec. a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_media.c:11114 sofia/internal/nobody at 192.168.88.21 skip receive message [VIDEO_REFRESH_REQ] (channel is hungup already) a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_session.c:2797 sofia/internal/nobody at 192.168.88.21 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_state_machine.c:609 (sofia/internal/nobody at 192.168.88.21) State EXECUTE going to sleep a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/nobody at 192.168.88.21) Running State Change CS_HANGUP a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_state_machine.c:809 (sofia/internal/nobody at 192.168.88.21) Callstate Change ACTIVE -> HANGUP a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/nobody at 192.168.88.21) State HANGUP And not session is established. The Hardware system only says: SIP_TRANSACTION_TIMEOUT and ends the call. So I think I have some codecs in common, but I have another problem why the call gets no answer. Can anyone point me in the right direction here? Thanks in advance! J?rgen Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Michael Jerris Gesendet: Freitag, 16. September 2016 17:20 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] SIP Call from Videodevice sure, as long as you have codecs in common it should be no problem. Look at the logs to see why the call is failing. On Friday, September 16, 2016, J?rgen Wendler > wrote: Hello everyone, i?m trying to make a SIP call from an external device (e.g. SONY or POLYCOM) to the ?default? 3500 conference room which has the video-mcu-profile attached. When the call is ringing it does not appear to gets really connected. When I use X-Lite or another SIP softphone everything is working so far. But with external hardware devices I am not able to join the conference room. Does anyone have experience with calls from hardware videoconf systems via SIP to freeswitch? Best Regards J?rgen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/a0139b35/attachment-0001.html From benjamin.cropley at gmail.com Mon Sep 19 12:36:37 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Mon, 19 Sep 2016 09:36:37 +0100 Subject: [Freeswitch-users] Quiet or Silent call In-Reply-To: References: Message-ID: *>> I would like to have this device call the extension, however have the call silent on the device end with no ringing and muted on the receiving side* I would answer the call, set an inaudible ringback tone and then bridge like - *>> When the receiver picks up the call, the receiver is muted but has the ability to unmute their end of the call.* Set it so when the callee picks up the call, you transfer them to an extension that includes the conference feature, which you can use to mute parties Hope that helps Ben Cropley On Sun, Sep 18, 2016 at 7:53 PM, Shawn Wheeler < Shawn.Wheeler at interlockconcepts.com> wrote: > I have a SIP devise which I set to call a pre-defined extension. > > I would like to have this device call the extension, however have the call > silent on the device end with no ringing and muted on the receiving side. > > In other words, I want to execute the call from the device, the device > speaker would not play a ringing tone, (forgive me if my wording it not > correct). When the receiver picks up the call, the receiver is muted but > has the ability to unmute their end of the call. > > Is this possible? If so is there recommendation on how to set this up? > > Thank you in advance. > > Shawn > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/3531507c/attachment.html From piotrek.gregor at gmail.com Mon Sep 19 14:45:15 2016 From: piotrek.gregor at gmail.com (Piotr Gregor) Date: Mon, 19 Sep 2016 11:45:15 +0100 Subject: [Freeswitch-users] mod_avmd fails to compile in FreeBSD 10.3 In-Reply-To: <19494b4e-6d92-0caf-c5f6-e65b5dd3fbfd@gmail.com> References: <02d25c13-5764-9368-64b1-35c7b590c3b2@gmail.com> <19494b4e-6d92-0caf-c5f6-e65b5dd3fbfd@gmail.com> Message-ID: Hi Rajil, Thank you very much for reporting this issue. It will be fixed today. cheers, Piotr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/223edb04/attachment.html From russow at emtex.de Mon Sep 19 14:04:55 2016 From: russow at emtex.de (Christoph Russow) Date: Mon, 19 Sep 2016 12:04:55 +0200 Subject: [Freeswitch-users] Dangerous prototype question for Seven Du Message-ID: <49695d11-93a9-3dd4-e0c5-280d17907ece@emtex.de> Hi, i've got a question for Seven Du. I was very impressed by your dangerous prototype on ClueCon 2016 and i'm wondering if you would share some more details about it. For example some background about the UI and how you executed the generated code within Freeswitch. Best Regards Christoph Russow -- ________________________________________________________________ EMTEX GmbH Christoph Russow Software Engineer Bischof-Otto-Weg 9 D-91086 Aurachtal Gesch?ftsf?hrer: Markus Enzinger Tel. +49 9132 7490 0 Sitz der Gesellschaft: 91086 Aurachtal Fax. +49 9132 7490 900 Amtsgericht F?rth: HRB6804 ________________________________________________________________ From mike at jerris.com Mon Sep 19 20:16:06 2016 From: mike at jerris.com (Michael Jerris) Date: Mon, 19 Sep 2016 12:16:06 -0400 Subject: [Freeswitch-users] SIP Call from Videodevice In-Reply-To: <1301bf2b1a614c45ade8e07092c005d0@vision-gmbh.de> References: <7313998ffbba41e0b1551174d27dbd1e@vision-gmbh.de> <1301bf2b1a614c45ade8e07092c005d0@vision-gmbh.de> Message-ID: <1E32BE99-4CFB-4258-BE97-442B213280BE@jerris.com> look at the sip trace, something in mod_sofia is killing it. > On Sep 19, 2016, at 1:48 AM, J?rgen Wendler wrote: > > Thanks for your answer. > > Well i have some codecs in common: > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4331 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4331 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4276 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[opus:116:48000:20:0:1] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4331 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match > ? > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4784 Video Codec Compare [H264:105] +++ is saved as a match > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [MP4V-ES:96]/[H261:31] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [MP4V-ES:96]/[VP8:99] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [MP4V-ES:96]/[H263:34] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [MP4V-ES:96]/[H264:99] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H263:34]/[H261:31] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H263:34]/[VP8:99] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H263:34]/[H263:34] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4784 Video Codec Compare [H263:34] +++ is saved as a match > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H263:34]/[H264:99] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H261:31]/[H261:31] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4784 Video Codec Compare [H261:31] +++ is saved as a match > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H261:31]/[VP8:99] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H261:31]/[H263:34] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.450128 [DEBUG] switch_core_media.c:4760 Video Codec Compare [H261:31]/[H264:99] > > > After this, the log says: > > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.470147 [NOTICE] mod_dptools.c:1309 Channel [sofia/internal/nobody at 192.168.88.21 ] has been answered > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.470147 [DEBUG] switch_channel.c:3770 (sofia/internal/nobody at 192.168.88.21 ) Callstate Change EARLY -> ACTIVE > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.470147 [DEBUG] sofia.c:6962 Channel sofia/internal/nobody at 192.168.88.21 entering state [completed][200] > ? > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.490154 [DEBUG] conference_loop.c:1102 Setup timer soft success interval: 20 samples: 160 > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.510307 [NOTICE] switch_core_io.c:1202 Activating write resampler > 2016-09-19 07:41:55.560315 [NOTICE] avcodec.c:1014 codec: id=28 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 > 2016-09-19 07:41:55.560315 [DEBUG] conference_video.c:2446 Setting up video write codec H264 at slot 0 > 2016-09-19 07:41:55.560315 [INFO] avcodec.c:1072 initializing encoder 1408x1152 > 2016-09-19 07:41:55.560315 [DEBUG] avcodec.c:834 NVENC HW CODEC NOT PRESENT > using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 FMA3 LZCNT BMI1 > profile Constrained Baseline, level 4.1 > 2016-09-19 07:41:55.630294 [DEBUG] conference_video.c:1111 Canvas position 1 applied layout 1x1 > 2016-09-19 07:41:55.680312 [DEBUG] conference_video.c:1111 Canvas position 1 applied layout 1x1 > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.710321 [DEBUG] conference_member.c:1654 Raw Codec Activation Success L16 at 16000hz 1 channel 20ms > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.710321 [DEBUG] conference_member.c:1701 Raw Codec Activation Success L16 at 48000hz 2 channel 20ms > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:41:55.710321 [DEBUG] conference_loop.c:1102 Setup timer soft success interval: 20 samples: 160 > 2016-09-19 07:41:58.250405 [DEBUG] mod_local_stream.c:848 Opening Stream [moh/48000] 48000hz > 2016-09-19 07:41:58.250405 [WARNING] switch_core_file.c:348 File has 1 channels, muxing to 2 channels will occur. > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.490314 [DEBUG] sofia.c:6962 Channel sofia/internal/nobody at 192.168.88.21 entering state [terminating][0] > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.490314 [NOTICE] sofia.c:8048 Hangup sofia/internal/nobody at 192.168.88.21 [CS_EXECUTE] [NORMAL_UNSPECIFIED] > 2016-09-19 07:42:27.500352 [DEBUG] switch_core_media.c:5544 sofia/internal/nobody at 192.168.88.21 Video thread ended > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [INFO] conference_loop.c:1403 Channel leaving conference, cause: NORMAL_UNSPECIFIED > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] mod_conference.c:2215 sofia/internal/nobody at 192.168.88.21 skip receive message [UNBRIDGE] (channel is hungup already) > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_media.c:9305 sofia/internal/nobody at 192.168.88.21 skip receive message [HARD_MUTE] (channel is hungup already) > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_codec.c:258 Restore original codec. > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_media.c:11114 sofia/internal/nobody at 192.168.88.21 skip receive message [VIDEO_REFRESH_REQ] (channel is hungup already) > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_session.c:2797 sofia/internal/nobody at 192.168.88.21 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_state_machine.c:609 (sofia/internal/nobody at 192.168.88.21 ) State EXECUTE going to sleep > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/nobody at 192.168.88.21 ) Running State Change CS_HANGUP > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_state_machine.c:809 (sofia/internal/nobody at 192.168.88.21 ) Callstate Change ACTIVE -> HANGUP > a377bf2e-d94c-4de2-abf0-03b84f7a540b 2016-09-19 07:42:27.511294 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/nobody at 192.168.88.21 ) State HANGUP > > > > And not session is established. The Hardware system only says: SIP_TRANSACTION_TIMEOUT and ends the call. > So I think I have some codecs in common, but I have another problem why the call gets no answer. > Can anyone point me in the right direction here? > > Thanks in advance! > J?rgen > > > Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org]Im Auftrag von Michael Jerris > Gesendet: Freitag, 16. September 2016 17:20 > An: FreeSWITCH Users Help > Betreff: Re: [Freeswitch-users] SIP Call from Videodevice > > sure, as long as you have codecs in common it should be no problem. Look at the logs to see why the call is failing. > > On Friday, September 16, 2016, J?rgen Wendler > wrote: > Hello everyone, > > i?m trying to make a SIP call from an external device (e.g. SONY or POLYCOM) to the ?default? 3500 conference room which has the video-mcu-profile attached. > When the call is ringing it does not appear to gets really connected. > When I use X-Lite or another SIP softphone everything is working so far. But with external hardware devices I am not able to join the conference room. > Does anyone have experience with calls from hardware videoconf systems via SIP to freeswitch? > > Best Regards > J?rgen > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/4cecf30d/attachment-0001.html From zrongf at gmail.com Mon Sep 19 22:03:21 2016 From: zrongf at gmail.com (Rong Fu) Date: Mon, 19 Sep 2016 11:03:21 -0700 Subject: [Freeswitch-users] a mod_dingaling + GV question Message-ID: I have two old fs boxes, 1.2.24 on ubuntu 14.04 and 1.2.17 on centos 6.5 , both of them have mod_dingaling installed and one google voice account configured. Both boses have worked for a few years w/o any problems. A couple of months ago suddenly GV at 1.2.24 stopped working, but GV at 1.2.17 still works. If I put the same account to 1.2.17, it works so it's not the GV account problem. I looked at the source code, and don't see a lot changes in mod_dingaling in the past few years. Anyway I installed the latest FS but no luck. Debugging shows no usable candidate can be found: mod_dingaling.c:3608 candidate 74.125.39.41:19305 PASS ACL wan.auto mod_dingaling.c:3662 Acceptable rtp Candidate 74.125.39.41:19305 mod_dingaling.c:3578 Candidate Error! mod_dingaling.c:3578 Candidate Error! mod_dingaling.c:3578 Candidate Error! Please help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/aaca9cb0/attachment.html From grcamauer at gmail.com Mon Sep 19 23:28:22 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Mon, 19 Sep 2016 16:28:22 -0300 Subject: [Freeswitch-users] Dangerous prototype question for Seven Du In-Reply-To: <49695d11-93a9-3dd4-e0c5-280d17907ece@emtex.de> References: <49695d11-93a9-3dd4-e0c5-280d17907ece@emtex.de> Message-ID: Off topic, but are the ClueCon 2016 videos up anywhere yet? Guillermo On Mon, Sep 19, 2016 at 7:04 AM, Christoph Russow wrote: > Hi, > > i've got a question for Seven Du. > > I was very impressed by your dangerous prototype on ClueCon 2016 and i'm > wondering if you would share some more details about it. > > For example some background about the UI and how you executed the > generated code within Freeswitch. > > Best Regards > Christoph Russow > > -- > ________________________________________________________________ > > EMTEX GmbH > Christoph Russow > Software Engineer > > Bischof-Otto-Weg 9 > D-91086 Aurachtal > Gesch?ftsf?hrer: Markus Enzinger > Tel. +49 9132 7490 0 Sitz der Gesellschaft: 91086 Aurachtal > Fax. +49 9132 7490 900 Amtsgericht F?rth: HRB6804 > ________________________________________________________________ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/d764ebdd/attachment.html From brian at freeswitch.org Mon Sep 19 23:46:13 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 19 Sep 2016 14:46:13 -0500 Subject: [Freeswitch-users] Dangerous prototype question for Seven Du In-Reply-To: References: <49695d11-93a9-3dd4-e0c5-280d17907ece@emtex.de> Message-ID: No they aren't up yet, its 2TB of raw video to sort and edit, That takes time. On Mon, Sep 19, 2016 at 2:28 PM, Guillermo Ruiz Camauer wrote: > Off topic, but are the ClueCon 2016 videos up anywhere yet? > > Guillermo > > On Mon, Sep 19, 2016 at 7:04 AM, Christoph Russow wrote: > >> Hi, >> >> i've got a question for Seven Du. >> >> I was very impressed by your dangerous prototype on ClueCon 2016 and i'm >> wondering if you would share some more details about it. >> >> For example some background about the UI and how you executed the >> generated code within Freeswitch. >> >> Best Regards >> Christoph Russow >> >> -- >> ________________________________________________________________ >> >> EMTEX GmbH >> Christoph Russow >> Software Engineer >> >> Bischof-Otto-Weg 9 >> D-91086 Aurachtal >> Gesch?ftsf?hrer: Markus Enzinger >> Tel. +49 9132 7490 0 Sitz der Gesellschaft: 91086 Aurachtal >> Fax. +49 9132 7490 900 Amtsgericht F?rth: HRB6804 >> ________________________________________________________________ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > -- > Guillermo Ruiz Camauer > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/99f2cee3/attachment.html From olegstolyar at gmail.com Tue Sep 20 00:29:49 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 19 Sep 2016 13:29:49 -0700 Subject: [Freeswitch-users] Verto DTMF additional info Message-ID: Hi guys, Is there a way to pass additional info to FS with DTMF from Verto? With SIP I use DTMF INFO and add custom headers which are then available in FS. Can I do something like this in Verto? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/4408463f/attachment.html From brian at freeswitch.org Tue Sep 20 00:40:12 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 19 Sep 2016 15:40:12 -0500 Subject: [Freeswitch-users] Verto DTMF additional info In-Reply-To: References: Message-ID: Is this a one time thing or needing to pass additional data thru out the call? On Mon, Sep 19, 2016 at 3:29 PM, Oleg Stolyar wrote: > Hi guys, > > Is there a way to pass additional info to FS with DTMF from Verto? > > With SIP I use DTMF INFO and add custom headers which are then available > in FS. > > Can I do something like this in Verto? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/293687b1/attachment-0001.html From olegstolyar at gmail.com Tue Sep 20 00:46:55 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 19 Sep 2016 13:46:55 -0700 Subject: [Freeswitch-users] Verto DTMF additional info In-Reply-To: References: Message-ID: Throughout the call. For the initial invite I think I can use userVariables as a replacement for custom headers. On Mon, Sep 19, 2016 at 1:40 PM, Brian West wrote: > Is this a one time thing or needing to pass additional data thru out the > call? > > On Mon, Sep 19, 2016 at 3:29 PM, Oleg Stolyar > wrote: > >> Hi guys, >> >> Is there a way to pass additional info to FS with DTMF from Verto? >> >> With SIP I use DTMF INFO and add custom headers which are then available >> in FS. >> >> Can I do something like this in Verto? >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/b1ef985a/attachment.html From brian at freeswitch.org Tue Sep 20 00:59:54 2016 From: brian at freeswitch.org (Brian West) Date: Mon, 19 Sep 2016 15:59:54 -0500 Subject: [Freeswitch-users] Verto DTMF additional info In-Reply-To: References: Message-ID: You are correct about userVariables! On Mon, Sep 19, 2016 at 3:46 PM, Oleg Stolyar wrote: > Throughout the call. > For the initial invite I think I can use userVariables as a replacement > for custom headers. > > On Mon, Sep 19, 2016 at 1:40 PM, Brian West wrote: > >> Is this a one time thing or needing to pass additional data thru out the >> call? >> >> On Mon, Sep 19, 2016 at 3:29 PM, Oleg Stolyar >> wrote: >> >>> Hi guys, >>> >>> Is there a way to pass additional info to FS with DTMF from Verto? >>> >>> With SIP I use DTMF INFO and add custom headers which are then available >>> in FS. >>> >>> Can I do something like this in Verto? >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/401278d2/attachment.html From olegstolyar at gmail.com Tue Sep 20 01:15:31 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 19 Sep 2016 14:15:31 -0700 Subject: [Freeswitch-users] Verto and ICE servers Message-ID: Hi guys, when I set iceServers to false, my calls stop working. Is there something in FS I need to set to make it work? My FS server has a public IP, so I don't think ICE should be required in this case. Is that true? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/617b22c7/attachment-0001.html From olegstolyar at gmail.com Tue Sep 20 01:26:10 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 19 Sep 2016 14:26:10 -0700 Subject: [Freeswitch-users] Verto object teardown Message-ID: Hi guys, how do I properly tear down a Verto object in JS to make sure the associated socket is closed? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/a95bd5cf/attachment.html From anthony.minessale at gmail.com Tue Sep 20 01:38:47 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 19 Sep 2016 16:38:47 -0500 Subject: [Freeswitch-users] Verto and ICE servers In-Reply-To: References: Message-ID: Its for the browser not FS. So they can do stun properly. On Mon, Sep 19, 2016 at 4:15 PM, Oleg Stolyar wrote: > Hi guys, > > when I set iceServers to false, my calls stop working. > > Is there something in FS I need to set to make it work? My FS server has > a public IP, so I don't think ICE should be required in this case. Is that > true? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/4c9388e2/attachment.html From olegstolyar at gmail.com Tue Sep 20 01:51:38 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 19 Sep 2016 14:51:38 -0700 Subject: [Freeswitch-users] Verto and ICE servers In-Reply-To: References: Message-ID: But Sofia works without STUN candidates with WebRTC. I think FS just uses the IP it detects the browser is contacting it from. On Mon, Sep 19, 2016 at 2:38 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Its for the browser not FS. So they can do stun properly. > > > On Mon, Sep 19, 2016 at 4:15 PM, Oleg Stolyar > wrote: > >> Hi guys, >> >> when I set iceServers to false, my calls stop working. >> >> Is there something in FS I need to set to make it work? My FS server has >> a public IP, so I don't think ICE should be required in this case. Is that >> true? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/73ee5be3/attachment.html From anthony.minessale at gmail.com Tue Sep 20 02:25:00 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 19 Sep 2016 17:25:00 -0500 Subject: [Freeswitch-users] Verto and ICE servers In-Reply-To: References: Message-ID: Not sure but there is not much urgency to make it not need stun in the exact environment stun should be used. Why do you not want to use stun? You probably don't have the acl setup right to allow the lan ip of the browser. The logs would tell you. On Mon, Sep 19, 2016 at 4:51 PM, Oleg Stolyar wrote: > But Sofia works without STUN candidates with WebRTC. I think FS just uses > the IP it detects the browser is contacting it from. > > On Mon, Sep 19, 2016 at 2:38 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Its for the browser not FS. So they can do stun properly. >> >> >> On Mon, Sep 19, 2016 at 4:15 PM, Oleg Stolyar >> wrote: >> >>> Hi guys, >>> >>> when I set iceServers to false, my calls stop working. >>> >>> Is there something in FS I need to set to make it work? My FS server >>> has a public IP, so I don't think ICE should be required in this case. Is >>> that true? >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/d6c8649c/attachment-0001.html From olegstolyar at gmail.com Tue Sep 20 02:34:31 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 19 Sep 2016 15:34:31 -0700 Subject: [Freeswitch-users] Verto and ICE servers In-Reply-To: References: Message-ID: The only reason I would want to disable STUN is that with SIP JS libraries it used to delay connection. It also makes me dependent on Google stun server as far as I understand. The error I am getting on FS if I set iceServers to false is INCOMPATIBLE_DESTINATION. On Mon, Sep 19, 2016 at 3:25 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Not sure but there is not much urgency to make it not need stun in the > exact environment stun should be used. Why do you not want to use stun? > You probably don't have the acl setup right to allow the lan ip of the > browser. The logs would tell you. > > > > On Mon, Sep 19, 2016 at 4:51 PM, Oleg Stolyar > wrote: > >> But Sofia works without STUN candidates with WebRTC. I think FS just >> uses the IP it detects the browser is contacting it from. >> >> On Mon, Sep 19, 2016 at 2:38 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Its for the browser not FS. So they can do stun properly. >>> >>> >>> On Mon, Sep 19, 2016 at 4:15 PM, Oleg Stolyar >>> wrote: >>> >>>> Hi guys, >>>> >>>> when I set iceServers to false, my calls stop working. >>>> >>>> Is there something in FS I need to set to make it work? My FS server >>>> has a public IP, so I don't think ICE should be required in this case. Is >>>> that true? >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-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+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/a3d1d592/attachment.html From anthony.minessale at gmail.com Tue Sep 20 02:44:26 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 19 Sep 2016 17:44:26 -0500 Subject: [Freeswitch-users] Verto and ICE servers In-Reply-To: References: Message-ID: You can set it to another stun server as well. Its not really proper to use it with no stun server and put the pressure on the server to deal with it when you offer no candidates that are reachable. This type of thinking has caused the internet communication movement to stall focused on "not changing anything" so things will "work" but really it perpetuates broken clients. Originally we started FS thinking devices would be responsible for their own network settings but have been pushed against a wall over the years and ended up making unimaginable situations work when they shouldn't. Not sure if this is a good or a bad thing..... ;) Are you using conf/vanilla/autoload_configs/verto.conf.xml ? I can't tell exactly why without seeing a log. On Mon, Sep 19, 2016 at 5:34 PM, Oleg Stolyar wrote: > The only reason I would want to disable STUN is that with SIP JS libraries > it used to delay connection. It also makes me dependent on Google stun > server as far as I understand. > > The error I am getting on FS if I set iceServers to false is > INCOMPATIBLE_DESTINATION. > > > On Mon, Sep 19, 2016 at 3:25 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Not sure but there is not much urgency to make it not need stun in the >> exact environment stun should be used. Why do you not want to use stun? >> You probably don't have the acl setup right to allow the lan ip of the >> browser. The logs would tell you. >> >> >> >> On Mon, Sep 19, 2016 at 4:51 PM, Oleg Stolyar >> wrote: >> >>> But Sofia works without STUN candidates with WebRTC. I think FS just >>> uses the IP it detects the browser is contacting it from. >>> >>> On Mon, Sep 19, 2016 at 2:38 PM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> Its for the browser not FS. So they can do stun properly. >>>> >>>> >>>> On Mon, Sep 19, 2016 at 4:15 PM, Oleg Stolyar >>>> wrote: >>>> >>>>> Hi guys, >>>>> >>>>> when I set iceServers to false, my calls stop working. >>>>> >>>>> Is there something in FS I need to set to make it work? My FS server >>>>> has a public IP, so I don't think ICE should be required in this case. Is >>>>> that true? >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-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+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/fc6386fc/attachment-0001.html From olegstolyar at gmail.com Tue Sep 20 03:19:38 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 19 Sep 2016 16:19:38 -0700 Subject: [Freeswitch-users] Verto and ICE servers In-Reply-To: References: Message-ID: After offline discussion with the FS team, the solution is to add all the apply-candidate-acl params from the vanila config to verto.conf.xml On Mon, Sep 19, 2016 at 3:44 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > > You can set it to another stun server as well. Its not really proper to > use it with no stun server and put the pressure on the server to deal with > it when you offer no candidates that are reachable. > This type of thinking has caused the internet communication movement to > stall focused on "not changing anything" so things will "work" but really > it perpetuates broken clients. > Originally we started FS thinking devices would be responsible for their > own network settings but have been pushed against a wall over the years and > ended up making unimaginable situations work when they shouldn't. > Not sure if this is a good or a bad thing..... ;) > > > Are you using conf/vanilla/autoload_configs/verto.conf.xml ? > > I can't tell exactly why without seeing a log. > > > > > On Mon, Sep 19, 2016 at 5:34 PM, Oleg Stolyar > wrote: > >> The only reason I would want to disable STUN is that with SIP JS >> libraries it used to delay connection. It also makes me dependent on >> Google stun server as far as I understand. >> >> The error I am getting on FS if I set iceServers to false is >> INCOMPATIBLE_DESTINATION. >> >> >> On Mon, Sep 19, 2016 at 3:25 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Not sure but there is not much urgency to make it not need stun in the >>> exact environment stun should be used. Why do you not want to use stun? >>> You probably don't have the acl setup right to allow the lan ip of the >>> browser. The logs would tell you. >>> >>> >>> >>> On Mon, Sep 19, 2016 at 4:51 PM, Oleg Stolyar >>> wrote: >>> >>>> But Sofia works without STUN candidates with WebRTC. I think FS just >>>> uses the IP it detects the browser is contacting it from. >>>> >>>> On Mon, Sep 19, 2016 at 2:38 PM, Anthony Minessale < >>>> anthony.minessale at gmail.com> wrote: >>>> >>>>> Its for the browser not FS. So they can do stun properly. >>>>> >>>>> >>>>> On Mon, Sep 19, 2016 at 4:15 PM, Oleg Stolyar >>>>> wrote: >>>>> >>>>>> Hi guys, >>>>>> >>>>>> when I set iceServers to false, my calls stop working. >>>>>> >>>>>> Is there something in FS I need to set to make it work? My FS server >>>>>> has a public IP, so I don't think ICE should be required in this case. Is >>>>>> that true? >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-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+ >>>>> * >>>>> >>>>> ClueCon Weekly Development Call >>>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>>> >>>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-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+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/84e90628/attachment.html From hawkins at hawkinsegroup.com Tue Sep 20 03:43:24 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Mon, 19 Sep 2016 18:43:24 -0500 Subject: [Freeswitch-users] Digging into WebRTC for the first time Message-ID: I'm trying to get WebRTC going on our FS server for the first time. FS is not my problem though, WebRTC is. All I need is a one button script that dials into FS, at which point I will put the user in a conference, anyone have any example scripts that already do this? I've looked at all the free libraries and unfortunately java is not my thing so I've had no success. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/65e8b662/attachment-0001.html From anthony.minessale at gmail.com Tue Sep 20 03:44:30 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 19 Sep 2016 18:44:30 -0500 Subject: [Freeswitch-users] Verto object teardown In-Reply-To: References: Message-ID: var myverto = new $.verto({yada: yada}); myverto.hangup(); // hangup all active calls myverto.purge(); // probably not necessary but doesn't hurt. Cleans out table internally. myverto.logout(); // Disconnect WebSocket On Mon, Sep 19, 2016 at 4:26 PM, Oleg Stolyar wrote: > Hi guys, > > how do I properly tear down a Verto object in JS to make sure the > associated socket is closed? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/48b3e8ac/attachment.html From anthony.minessale at gmail.com Tue Sep 20 03:47:59 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Mon, 19 Sep 2016 18:47:59 -0500 Subject: [Freeswitch-users] Digging into WebRTC for the first time In-Reply-To: References: Message-ID: A lot of it is covered in https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie though it goes a lot further and gives you a working video conference over webrtc. Loot at https://freeswitch.org/confluence/display/FREESWITCH/mod_verto as well. Also maybe look at http://sipjs.com/ On Mon, Sep 19, 2016 at 6:43 PM, Don Hawkins wrote: > I'm trying to get WebRTC going on our FS server for the first time. FS is > not my problem though, WebRTC is. > > All I need is a one button script that dials into FS, at which point I > will put the user in a conference, anyone have any example scripts that > already do this? > > I've looked at all the free libraries and unfortunately java is not my > thing so I've had no success. > > Thanks! > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/68bd2c35/attachment.html From olegstolyar at gmail.com Tue Sep 20 05:02:55 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Mon, 19 Sep 2016 18:02:55 -0700 Subject: [Freeswitch-users] Verto object teardown In-Reply-To: References: Message-ID: Thanks! If I want to do this every time a call ends, is there a good event for it? I tried it in "destroy" but that resulted in an infinite loop. If I put it in "hangup" without the hangup() method - just purge() and logout(), it works but there is an error that's probably harmless but ideally I'd like to avoid it. verto-min.js:85 Uncaught DOMException: Failed to execute 'close' on 'RTCPeerConnection': The RTCPeerConnection's signalingState is 'closed'.(?) On Mon, Sep 19, 2016 at 4:44 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > var myverto = new $.verto({yada: yada}); > > myverto.hangup(); // hangup all active calls > > myverto.purge(); // probably not necessary but doesn't hurt. Cleans out > table internally. > > myverto.logout(); // Disconnect WebSocket > > > > On Mon, Sep 19, 2016 at 4:26 PM, Oleg Stolyar > wrote: > >> Hi guys, >> >> how do I properly tear down a Verto object in JS to make sure the >> associated socket is closed? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160919/f0cb39bb/attachment.html From mirkobrankovic at gmail.com Tue Sep 20 12:24:23 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 20 Sep 2016 10:24:23 +0200 Subject: [Freeswitch-users] Digging into WebRTC for the first time In-Reply-To: References: Message-ID: Here is jthe simple example taht includes sip.js just to dial in to FS:
//download this sip.js version and place it in same dir as this html file or include from public link so just google for sip-0.7.5.min.js download it or replace it with public link. Make sure to replace all dial_string, pass, your.dns.name:port values that are for your server. If you have proper certificates, for wss to be shaked on :) it will work, i suggest letsencrypt Good luck :) Mirko On Tue, Sep 20, 2016 at 1:47 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > A lot of it is covered in https://freeswitch.org/ > confluence/display/FREESWITCH/Debian+8+Jessie though it goes a lot > further and gives you a working video conference over webrtc. > > Loot at https://freeswitch.org/confluence/display/FREESWITCH/mod_verto as > well. > > Also maybe look at http://sipjs.com/ > > > On Mon, Sep 19, 2016 at 6:43 PM, Don Hawkins > wrote: > >> I'm trying to get WebRTC going on our FS server for the first time. FS is >> not my problem though, WebRTC is. >> >> All I need is a one button script that dials into FS, at which point I >> will put the user in a conference, anyone have any example scripts that >> already do this? >> >> I've looked at all the free libraries and unfortunately java is not my >> thing so I've had no success. >> >> Thanks! >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/b92a3912/attachment-0001.html From Tim at Millicorp.com Tue Sep 20 18:20:07 2016 From: Tim at Millicorp.com (Tim Meade) Date: Tue, 20 Sep 2016 14:20:07 +0000 Subject: [Freeswitch-users] Debian 8 reboot now showing 2 free switch process Message-ID: <64326158-5F2F-4ED0-88CE-E8FC50764594@Millicorp.com> Occurred on 3 servers. After update and reboot FS starts two proceses. ps ax | grep free 1017 ? Ss 0:00 /usr/local/freeswitch/bin/freeswitch -ncwait -nonat -rp 1018 ? S References: <64326158-5F2F-4ED0-88CE-E8FC50764594@Millicorp.com> Message-ID: OK I think I have self solved. Xml_curl server was not returning proper items on start. So it appears that FS keeps 2 copies running. On fixing the xml_curl issues FS now starts properly. Odd though. Tim From: on behalf of Tim Meade Reply-To: FreeSWITCH Help Date: Tuesday, September 20, 2016 at 10:20 AM To: FreeSWITCH Help Subject: [Freeswitch-users] Debian 8 reboot now showing 2 free switch process Occurred on 3 servers. After update and reboot FS starts two proceses. ps ax | grep free 1017 ? Ss 0:00 /usr/local/freeswitch/bin/freeswitch -ncwait -nonat -rp 1018 ? S An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/025fdba2/attachment.html From hardyanto.donny at gmail.com Tue Sep 20 20:23:41 2016 From: hardyanto.donny at gmail.com (Donny Hardyanto) Date: Tue, 20 Sep 2016 23:23:41 +0700 Subject: [Freeswitch-users] WebRTC using WSS binding on Sofia Message-ID: Hi Everyone, I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for first time. I tried example using WSS binding on Sofia, and while the call can be connected, but the video/audio is not exchanged. I use Mozilla firefox for browser and using FS behind NAT. The log on firefox show: ICE failed, see about:webrtc for more details. I look at the log at about:webrtc and find the SDP from FS: a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host generation 0 It only show the public IP (that I hard code on internal.xml on ext-rtp-ip and ext-rtp-sip), but I think it is missing FS local IP as raddr part (in internal.xml rtp-ip is 10.xx.xx.xx) and on FS log I find this: 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 Sending early media 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO candidate ACL defined, Defaulting to wan.auto WTF TOT 5 WTF TOT 5 WTF TOT 5 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO candidate ACL defined, Defaulting to wan.auto 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 Activating Audio ICE and also when first startup the FS, I found: 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 Adding Limit interface 'db' 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693 sofia:external Starting SQL thread. 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name '' 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538 Successfully Loaded [mod_dptools] Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my intenal.xml config is vanilla. Can anyone help? Thanks, Regard Donny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/4d185759/attachment.html From edward.josette at gmail.com Tue Sep 20 16:18:24 2016 From: edward.josette at gmail.com (Edward Josette Ortega Salas) Date: Tue, 20 Sep 2016 07:48:24 -0430 Subject: [Freeswitch-users] Intent to load 'mod_freetdm' Message-ID: Greetings! I'm using FreeSWITCH Version 1.4.26+git~20160401T134007Z~f0c3870be3~64bit (git f0c3870 2016-04-01 13:40:07Z 64bit), and when i try to load freetdm module via fs_cli i get this error: [ERR] ftdm_io.c:5531 Error loading /usr/local/freeswitch/mod/ftmod_span.so The entire debug i pasted here: http://dpaste.com/0YWG97W The things is that "ftmod_span.so" it doesn't exist, so i tried to compile just the module and i tried again to locate it, but it failed. If somebody can help me, i'll appreciate it, Thx. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/4f5882e2/attachment-0001.html From brian at freeswitch.org Tue Sep 20 20:48:03 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 20 Sep 2016 11:48:03 -0500 Subject: [Freeswitch-users] Fax processing not successful - Result 5 In-Reply-To: References: Message-ID: You probably want to start over and limit your codec selection to PCMU/PCMA and try again. On Tue, Sep 20, 2016 at 9:57 AM, wrote: > Hi Everyone, > > I am trying to receive Fax using FreeSWITCH that installed on Ubuntu > Server, when I send fax from local machine I've got this error on Log. > "Fax processing not successful - result (5) The HDLC carrier did not stop > in a timely manner." > Any solution for this issue please? > FS Log Receiver is here in the link: > https://pastebin.freeswitch.org/view/70f52a88#L162 > > Thank you. > Tarek Kalaji. > > -- > Bu eposta GarantiMail Security Gateway taraf?ndan antivir?s ve antispam kontrol?nden ge?irilmi?tir. #MAILGW02# > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/8029f17f/attachment.html From brian at freeswitch.org Tue Sep 20 20:49:21 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 20 Sep 2016 11:49:21 -0500 Subject: [Freeswitch-users] WebRTC using WSS binding on Sofia In-Reply-To: References: Message-ID: If you're using firefox please try Nightly and also try with Chrome. Also make sure you're running 1.6.10. /b On Tue, Sep 20, 2016 at 11:23 AM, Donny Hardyanto wrote: > Hi Everyone, > > I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for first > time. I tried example using WSS binding on Sofia, and while the call can be > connected, but the video/audio is not exchanged. I use Mozilla firefox for > browser and using FS behind NAT. The log on firefox show: ICE failed, see > about:webrtc for more details. I look at the log at about:webrtc and find > the SDP from FS: > > a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host generation > 0 > > It only show the public IP (that I hard code on internal.xml on ext-rtp-ip > and ext-rtp-sip), but I think it is missing FS local IP as raddr part (in > internal.xml rtp-ip is 10.xx.xx.xx) > > and on FS log I find this: > > 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 Sending > early media > > 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO candidate > ACL defined, Defaulting to wan.auto > > WTF TOT 5 > > WTF TOT 5 > > WTF TOT 5 > > 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO candidate > ACL defined, Defaulting to wan.auto > > 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 Activating > Audio ICE > > and also when first startup the FS, I found: > > 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 Adding > Limit interface 'db' > > 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693 sofia:external > Starting SQL thread. > > 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name '' > > 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538 > Successfully Loaded [mod_dptools] > > Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my intenal.xml > config is vanilla. > > Can anyone help? > > Thanks, > > > Regard > > Donny > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/a6ba9130/attachment.html From mike at jerris.com Tue Sep 20 20:58:42 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 20 Sep 2016 12:58:42 -0400 Subject: [Freeswitch-users] Intent to load 'mod_freetdm' In-Reply-To: References: Message-ID: <1191BE60-E0E6-40CB-86F7-141674ABC0F6@jerris.com> I?ve never heard of ftmod_span ? sounds like a configuration error > On Sep 20, 2016, at 8:18 AM, Edward Josette Ortega Salas wrote: > > Greetings! > > I'm using FreeSWITCH Version 1.4.26+git~20160401T134007Z~f0c3870be3~64bit (git f0c3870 2016-04-01 13:40:07Z 64bit), and when i try to load freetdm module via fs_cli i get this error: > > [ERR] ftdm_io.c:5531 Error loading /usr/local/freeswitch/mod/ftmod_span.so > > The entire debug i pasted here: http://dpaste.com/0YWG97W > The things is that "ftmod_span.so" it doesn't exist, so i tried to compile just the module and i tried again to locate it, but it failed. > > If somebody can help me, i'll appreciate it, Thx. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/a4ac62d3/attachment.html From hardyanto.donny at gmail.com Tue Sep 20 21:09:00 2016 From: hardyanto.donny at gmail.com (Donny Hardyanto) Date: Wed, 21 Sep 2016 00:09:00 +0700 Subject: [Freeswitch-users] WebRTC using WSS binding on Sofia In-Reply-To: References: Message-ID: Using Chrome still no sound and video. I am using FreeSWITCH Version 1.6.10+git~20160824T215404Z~726448d962~64bit (git 726448d 2016-08-24 21:54:04Z 64bit) Using verto is not working either. Donny On Tue, Sep 20, 2016 at 11:49 PM, Brian West wrote: > If you're using firefox please try Nightly and also try with Chrome. Also > make sure you're running 1.6.10. > > /b > > > On Tue, Sep 20, 2016 at 11:23 AM, Donny Hardyanto < > hardyanto.donny at gmail.com> wrote: > >> Hi Everyone, >> >> I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for first >> time. I tried example using WSS binding on Sofia, and while the call can be >> connected, but the video/audio is not exchanged. I use Mozilla firefox for >> browser and using FS behind NAT. The log on firefox show: ICE failed, see >> about:webrtc for more details. I look at the log at about:webrtc and find >> the SDP from FS: >> >> a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host >> generation 0 >> >> It only show the public IP (that I hard code on internal.xml on >> ext-rtp-ip and ext-rtp-sip), but I think it is missing FS local IP as raddr >> part (in internal.xml rtp-ip is 10.xx.xx.xx) >> >> and on FS log I find this: >> >> 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 Sending >> early media >> >> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >> candidate ACL defined, Defaulting to wan.auto >> >> WTF TOT 5 >> >> WTF TOT 5 >> >> WTF TOT 5 >> >> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >> candidate ACL defined, Defaulting to wan.auto >> >> 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 Activating >> Audio ICE >> >> and also when first startup the FS, I found: >> >> 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 Adding >> Limit interface 'db' >> >> 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693 sofia:external >> Starting SQL thread. >> >> 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name '' >> >> 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538 >> Successfully Loaded [mod_dptools] >> >> Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my intenal.xml >> config is vanilla. >> >> Can anyone help? >> >> Thanks, >> >> >> Regard >> >> Donny >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/18be8e2d/attachment-0001.html From david.ponzone at ipeva.fr Tue Sep 20 21:44:27 2016 From: david.ponzone at ipeva.fr (David Ponzone) Date: Tue, 20 Sep 2016 19:44:27 +0200 Subject: [Freeswitch-users] api_reporting_hook and session_in_hangup_hook issue In-Reply-To: References: <2CB2BADF-9E84-4B1D-81C8-AFD7F78A5687@ipeva.fr> Message-ID: I finally gave up calling mod_curl from api_reporting_hook. It seems the channel variables are always already destroyed when curl is called (not all of them). I found a solution by running a lua script with api_reporting_hook. Now, I can access the session variables. But the script needs to be run by lua command, not luarun. As my lua script is going to use socket.http to make a HTTP GET request, I wonder if I should expect any side-effects if the HTTP server takes 2 or 3 secondes to answer. David Ponzone Direction Technique email: david.ponzone at ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > Le 15 sept. 2016 ? 16:42, David Ponzone a ?crit : > > api_hangup_hook does not work. > api_reporting_hook is supposed to be the one as you can access channel variables during REPORTING. > > David Ponzone Direction Technique > email: david.ponzone at ipeva.fr > tel: 01 74 03 18 97 > gsm: 06 66 98 76 34 > > Service Client IPeva > tel: 0811 46 26 26 > www.ipeva.fr - www.ipeva-studio.com > > Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. > > > > >> Le 15 sept. 2016 ? 15:51, Don Hawkins > a ?crit : >> >> Have you tried execute_on_hangup or api_hangup_hook? >> >> Generally though, the variables tend to be gone after the call hangs up, neither solution worked for me so I just get the info I need from the http post mod_xml_curl sends. >> >> Sincerely, >> Don Hawkins >> >> Sent from my NationPCS? Nexus 6. >> >> >> On Sep 15, 2016 8:38 AM, "David Ponzone" > wrote: >> I am trying to run mod_curl after hangup, in order to sens some channel variables to a HTTP server: >> >> >> >> >> >> >> >> >> >> When I hangup, only sip_from_user and destination_number are correct. >> answered_time contains 0 and hangup_time is empty >> >> Am I missing something ? >> >> Thank you >> >> David Ponzone Direction Technique >> email: david.ponzone at ipeva.fr >> tel: 01 74 03 18 97 >> gsm: 06 66 98 76 34 >> >> Service Client IPeva >> tel: 0811 46 26 26 >> www.ipeva.fr <> - www.ipeva-studio.com <> >> >> Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis ? l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autoris?e est interdite. Tout message ?lectronique est susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes pas destinataire de ce message, merci de le d?truire imm?diatement et d'avertir l'exp?diteur. >> >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/45be6fe7/attachment-0001.html From anthony.minessale at gmail.com Tue Sep 20 23:11:18 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 20 Sep 2016 14:11:18 -0500 Subject: [Freeswitch-users] WebRTC using WSS binding on Sofia In-Reply-To: References: Message-ID: Its not much of a log snippet so its hard to tell but in your sofia profile you can add some more candidate-acl like so: On Tue, Sep 20, 2016 at 12:09 PM, Donny Hardyanto wrote: > Using Chrome still no sound and video. I am using > > FreeSWITCH Version 1.6.10+git~20160824T215404Z~726448d962~64bit (git > 726448d 2016-08-24 21:54:04Z 64bit) > > Using verto is not working either. > > Donny > > On Tue, Sep 20, 2016 at 11:49 PM, Brian West wrote: > >> If you're using firefox please try Nightly and also try with Chrome. >> Also make sure you're running 1.6.10. >> >> /b >> >> >> On Tue, Sep 20, 2016 at 11:23 AM, Donny Hardyanto < >> hardyanto.donny at gmail.com> wrote: >> >>> Hi Everyone, >>> >>> I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for first >>> time. I tried example using WSS binding on Sofia, and while the call can be >>> connected, but the video/audio is not exchanged. I use Mozilla firefox for >>> browser and using FS behind NAT. The log on firefox show: ICE failed, see >>> about:webrtc for more details. I look at the log at about:webrtc and find >>> the SDP from FS: >>> >>> a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host >>> generation 0 >>> >>> It only show the public IP (that I hard code on internal.xml on >>> ext-rtp-ip and ext-rtp-sip), but I think it is missing FS local IP as raddr >>> part (in internal.xml rtp-ip is 10.xx.xx.xx) >>> >>> and on FS log I find this: >>> >>> 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 Sending >>> early media >>> >>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>> candidate ACL defined, Defaulting to wan.auto >>> >>> WTF TOT 5 >>> >>> WTF TOT 5 >>> >>> WTF TOT 5 >>> >>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>> candidate ACL defined, Defaulting to wan.auto >>> >>> 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 Activating >>> Audio ICE >>> >>> and also when first startup the FS, I found: >>> >>> 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 Adding >>> Limit interface 'db' >>> >>> 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693 >>> sofia:external Starting SQL thread. >>> >>> 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name '' >>> >>> 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538 >>> Successfully Loaded [mod_dptools] >>> >>> Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my >>> intenal.xml config is vanilla. >>> >>> Can anyone help? >>> >>> Thanks, >>> >>> >>> Regard >>> >>> Donny >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/fc068c4a/attachment.html From rtreleaven at bunnykick.ca Tue Sep 20 23:42:55 2016 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Tue, 20 Sep 2016 15:42:55 -0400 Subject: [Freeswitch-users] comfort noise and opus Message-ID: I noticed something that I thought I would share for the benefit of others. FreeSWITCH Version 1.5.15b+git~20141215T224714Z~0b414a8de8~64bit (git 0b414a8 2014-12-15 22:47:14Z 64bit) Linphone 3.9.1 To reproduce place a call with linphone using opus to a freeswitch server voicemail extension. listen to the outgoing message and leave a voicemail after the prompt. observed Fairly loud comfort noise is heard while leaving the message. expected should hear silence instead of comfort noise. If we change the codec to pcmu we hear silence instead of comfort noise. Comfort noise is heard because after the outgoing message freeswitch stops sending rtp. workaround add this to the voicemail extension before the answer application. Sincerely, Russell Treleaven -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/52c1eb03/attachment.html From brian at freeswitch.org Tue Sep 20 23:46:34 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 20 Sep 2016 14:46:34 -0500 Subject: [Freeswitch-users] Community Task ( new moh/voh ) Message-ID: We are in search of Royalty Free Music and Video samples that sound great and we can distribute with FreeSWITCH for Video On Hold and Music On Hold examples. Can I call on the community to recommend some places we could get these that wouldn't cost the project an arm and leg? Thanks, -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/254a232f/attachment-0001.html From mike at jerris.com Tue Sep 20 23:48:32 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 20 Sep 2016 15:48:32 -0400 Subject: [Freeswitch-users] comfort noise and opus In-Reply-To: References: Message-ID: This is quite old FreeSWITCH code, almost 2 years old. We?ve done significant work on opus support since then, i would start before you make any assumptions switching to the latest release 1.6.10. > On Sep 20, 2016, at 3:42 PM, Russell Treleaven wrote: > > I noticed something that I thought I would share for the benefit of others. > > FreeSWITCH Version 1.5.15b+git~20141215T224714Z~0b414a8de8~64bit (git 0b414a8 2014-12-15 22:47:14Z 64bit) > Linphone 3.9.1 > > To reproduce > place a call with linphone using opus to a freeswitch server voicemail extension. > listen to the outgoing message and leave a voicemail after the prompt. > > observed > Fairly loud comfort noise is heard while leaving the message. > > expected > should hear silence instead of comfort noise. > > If we change the codec to pcmu we hear silence instead of comfort noise. > Comfort noise is heard because after the outgoing message freeswitch stops sending rtp. > > workaround > add this to the voicemail extension before the answer application. > application="set" > data="record_waste_resources=true" > > > > Sincerely, > > Russell Treleaven > > From hardyanto.donny at gmail.com Wed Sep 21 00:41:36 2016 From: hardyanto.donny at gmail.com (Donny Hardyanto) Date: Wed, 21 Sep 2016 03:41:36 +0700 Subject: [Freeswitch-users] WebRTC using WSS binding on Sofia In-Reply-To: References: Message-ID: Adding those apply-candidate-aci to internal.xml settings are not solving the problem. Here the log on the client Mozilla Firefox: ICE Stats Local Candidate Remote Candidate ICE State Priority Nominated Selected 192.168.100.3:62066/udp(host) 43.255.196.10:16748/udp(host) failed 2830971808121343 192.168.100.3:63575/udp(host) 43.255.196.10:25952/udp(host) frozen 2830971808121343 10.1.30.210:59294/udp(host) 43.255.196.10:16748/udp(host) failed 2830971807990271 10.1.30.210:59464/udp(host) 43.255.196.10:25952/udp(host) frozen 2830971807990271 202.80.213.20:53122/udp(serverreflexive) 202.80.213.20:16251/udp(serverreflexive) SDPLocal SDP v=0 o=mozilla...THIS_IS_SDPARTA-48.0.1 7504789415293327540 0 IN IP4 0.0.0.0 s=- t=0 0 a=sendrecv a=fingerprint:sha-256 F1:CB:F5:3B:1F:8E:6A:4F:A7:CB:58:BA:E9:C7:97:49:FD:5E:29:53:48:71:3E:F9:27:19:E8:2A:79:D0:67:76 a=group:BUNDLE sdparta_0 sdparta_1 a=ice-options:trickle a=msid-semantic:WMS * m=audio 53122 UDP/TLS/RTP/SAVPF 109 9 0 8 c=IN IP4 202.80.213.20 a=candidate:0 1 UDP 2122252543 192.168.100.3 62066 typ host a=candidate:2 1 UDP 2122187007 10.1.30.210 59294 typ host a=candidate:0 2 UDP 2122252542 192.168.100.3 51379 typ host a=candidate:2 2 UDP 2122187006 10.1.30.210 54982 typ host a=candidate:1 1 UDP 1686052863 202.80.213.20 53122 typ srflx raddr 192.168.100.3 rport 62066 a=candidate:1 2 UDP 1686052862 202.80.213.20 63509 typ srflx raddr 192.168.100.3 rport 51379 a=sendrecv a=end-of-candidates a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level a=fmtp:109 maxplaybackrate=48000;stereo=1 a=ice-pwd:365418def25d593b36c6d9a94e580668 a=ice-ufrag:cd6e15c9 a=mid:sdparta_0 a=msid:{e9008b2d-b210-804a-947f-fe9ebe684a82} {5125823f-52f4-3848-a2fc-6e74df7b7fc6} a=rtcp:63509 IN IP4 202.80.213.20 a=rtcp-mux a=rtpmap:109 opus/48000/2 a=rtpmap:9 G722/8000/1 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=setup:actpass a=ssrc:1635853409 cname:{2f2a4d63-f361-1d40-a766-b984c8943ed9} m=video 16251 UDP/TLS/RTP/SAVPF 120 126 97 c=IN IP4 202.80.213.20 a=candidate:0 1 UDP 2122252543 192.168.100.3 63575 typ host a=candidate:2 1 UDP 2122187007 10.1.30.210 59464 typ host a=candidate:0 2 UDP 2122252542 192.168.100.3 61607 typ host a=candidate:2 2 UDP 2122187006 10.1.30.210 61659 typ host a=candidate:1 1 UDP 1686052863 202.80.213.20 16251 typ srflx raddr 192.168.100.3 rport 63575 a=candidate:1 2 UDP 1686052862 202.80.213.20 6383 typ srflx raddr 192.168.100.3 rport 61607 a=sendrecv a=end-of-candidates a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1 a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1 a=fmtp:120 max-fs=12288;max-fr=60 a=ice-pwd:365418def25d593b36c6d9a94e580668 a=ice-ufrag:cd6e15c9 a=mid:sdparta_1 a=msid:{e9008b2d-b210-804a-947f-fe9ebe684a82} {161585fd-7ab5-5640-809b-62cb9cc72f91} a=rtcp:6383 IN IP4 202.80.213.20 a=rtcp-fb:120 nack a=rtcp-fb:120 nack pli a=rtcp-fb:120 ccm fir a=rtcp-fb:126 nack a=rtcp-fb:126 nack pli a=rtcp-fb:126 ccm fir a=rtcp-fb:97 nack a=rtcp-fb:97 nack pli a=rtcp-fb:97 ccm fir a=rtcp-mux a=rtpmap:120 VP8/90000 a=rtpmap:126 H264/90000 a=rtpmap:97 H264/90000 a=setup:actpass a=ssrc:16439336 cname:{2f2a4d63-f361-1d40-a766-b984c8943ed9} Remote SDP v=0 o=FreeSWITCH 1474386489 1474386490 IN IP4 43.255.196.10 s=- t=0 0 a=sendrecv a=msid-semantic:WMS Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts m=audio 16748 RTP/SAVPF 109 101 c=IN IP4 43.255.196.10 a=candidate:6375696742 1 udp 659136 43.255.196.10 16748 typ host generation 0 a=sendrecv a=fingerprint:sha-256 42:D4:7A:39:64:60:A3:A3:75:CF:83:0F:B7:D4:4B:15:DF:49:06:A5:C9:69:7B:62:52:38:8B:83:07:2C:36:BE a=fmtp:109 maxplaybackrate=0;stereo=1 a=ice-pwd:LPlARouz5vTIhtT1pCZpjcZU a=ice-ufrag:U5T7aQnJKTRlfbDN a=ptime:20 a=rtcp:16748 IN IP4 43.255.196.10 a=rtcp-mux a=rtpmap:109 opus/48000/2 a=rtpmap:101 telephone-event/8000/1 a=setup:active a=ssrc:2682518997 cname:IKlIZcd3RQbtMVKk a=ssrc:2682518997 msid:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts a0 a=ssrc:2682518997 mslabel:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts a=ssrc:2682518997 label:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvtsa0 m=video 25952 RTP/SAVPF 120 c=IN IP4 43.255.196.10 b=AS:1024 a=candidate:4949443032 1 udp 659136 43.255.196.10 25952 typ host generation 0 a=sendrecv a=fingerprint:sha-256 42:D4:7A:39:64:60:A3:A3:75:CF:83:0F:B7:D4:4B:15:DF:49:06:A5:C9:69:7B:62:52:38:8B:83:07:2C:36:BE a=fmtp:120 max-fs=12288;max-fr=60 a=ice-pwd:1wVZJv0snfcEOd94TxvnnBAy a=ice-ufrag:qQxBD0fmkH5fFO8h a=rtcp:25952 IN IP4 43.255.196.10 a=rtcp-fb:120 ccm fir a=rtcp-fb:120 nack a=rtcp-fb:120 nack pli a=rtcp-mux a=rtpmap:120 VP8/90000 a=setup:active a=ssrc:1945338266 cname:IKlIZcd3RQbtMVKk a=ssrc:1945338266 msid:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts v0 a=ssrc:1945338266 mslabel:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts a=ssrc:1945338266 label:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvtsv0 Some how the ICE always never tried to pair 202.xx.xx.xx (my client public IP) and 43.xx.xx.xx (FS public IP). Using chrome is the same. Any suggestion? Donny On Wed, Sep 21, 2016 at 2:11 AM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > Its not much of a log snippet so its hard to tell but in your sofia > profile you can add some more candidate-acl like so: > > > > > > > > > > On Tue, Sep 20, 2016 at 12:09 PM, Donny Hardyanto < > hardyanto.donny at gmail.com> wrote: > >> Using Chrome still no sound and video. I am using >> >> FreeSWITCH Version 1.6.10+git~20160824T215404Z~726448d962~64bit (git >> 726448d 2016-08-24 21:54:04Z 64bit) >> >> Using verto is not working either. >> >> Donny >> >> On Tue, Sep 20, 2016 at 11:49 PM, Brian West >> wrote: >> >>> If you're using firefox please try Nightly and also try with Chrome. >>> Also make sure you're running 1.6.10. >>> >>> /b >>> >>> >>> On Tue, Sep 20, 2016 at 11:23 AM, Donny Hardyanto < >>> hardyanto.donny at gmail.com> wrote: >>> >>>> Hi Everyone, >>>> >>>> I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for first >>>> time. I tried example using WSS binding on Sofia, and while the call can be >>>> connected, but the video/audio is not exchanged. I use Mozilla firefox for >>>> browser and using FS behind NAT. The log on firefox show: ICE failed, see >>>> about:webrtc for more details. I look at the log at about:webrtc and find >>>> the SDP from FS: >>>> >>>> a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host >>>> generation 0 >>>> >>>> It only show the public IP (that I hard code on internal.xml on >>>> ext-rtp-ip and ext-rtp-sip), but I think it is missing FS local IP as raddr >>>> part (in internal.xml rtp-ip is 10.xx.xx.xx) >>>> >>>> and on FS log I find this: >>>> >>>> 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 Sending >>>> early media >>>> >>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>>> candidate ACL defined, Defaulting to wan.auto >>>> >>>> WTF TOT 5 >>>> >>>> WTF TOT 5 >>>> >>>> WTF TOT 5 >>>> >>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>>> candidate ACL defined, Defaulting to wan.auto >>>> >>>> 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 Activating >>>> Audio ICE >>>> >>>> and also when first startup the FS, I found: >>>> >>>> 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 Adding >>>> Limit interface 'db' >>>> >>>> 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693 >>>> sofia:external Starting SQL thread. >>>> >>>> 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name '' >>>> >>>> 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538 >>>> Successfully Loaded [mod_dptools] >>>> >>>> Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my >>>> intenal.xml config is vanilla. >>>> >>>> Can anyone help? >>>> >>>> Thanks, >>>> >>>> >>>> Regard >>>> >>>> Donny >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> >>> *Brian West* >>> brian at freeswitch.org >>> >>> >>> *Twitter: @FreeSWITCH , @briankwest* >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> Got Bugs? Report them here ! | Reddit: >>> /r/freeswitch >>> >>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/05395cb6/attachment-0001.html From anthony.minessale at gmail.com Wed Sep 21 01:20:38 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 20 Sep 2016 16:20:38 -0500 Subject: [Freeswitch-users] WebRTC using WSS binding on Sofia In-Reply-To: References: Message-ID: You would need to turn on debug and supply the whole log of a call and put it in http://pastebin.freeswitch.org Also this list is not for debugging. https://freeswitch.org/jira On Tue, Sep 20, 2016 at 3:41 PM, Donny Hardyanto wrote: > Adding those apply-candidate-aci to internal.xml settings are not solving > the problem. > > Here the log on the client Mozilla Firefox: > > ICE Stats > Local Candidate Remote Candidate ICE State Priority Nominated Selected > 192.168.100.3:62066/udp(host) 43.255.196.10:16748/udp(host) failed > 2830971808121343 > 192.168.100.3:63575/udp(host) 43.255.196.10:25952/udp(host) frozen > 2830971808121343 > 10.1.30.210:59294/udp(host) 43.255.196.10:16748/udp(host) failed > 2830971807990271 > 10.1.30.210:59464/udp(host) 43.255.196.10:25952/udp(host) frozen > 2830971807990271 > 202.80.213.20:53122/udp(serverreflexive) > 202.80.213.20:16251/udp(serverreflexive) > SDPLocal SDP > > v=0 > o=mozilla...THIS_IS_SDPARTA-48.0.1 7504789415293327540 0 IN IP4 0.0.0.0 > s=- > t=0 0 > a=sendrecv > a=fingerprint:sha-256 F1:CB:F5:3B:1F:8E:6A:4F:A7:CB:58:BA:E9:C7:97:49:FD:5E:29:53:48:71:3E:F9:27:19:E8:2A:79:D0:67:76 > a=group:BUNDLE sdparta_0 sdparta_1 > a=ice-options:trickle > a=msid-semantic:WMS * > m=audio 53122 UDP/TLS/RTP/SAVPF 109 9 0 8 > c=IN IP4 202.80.213.20 > a=candidate:0 1 UDP 2122252543 192.168.100.3 62066 typ host > a=candidate:2 1 UDP 2122187007 10.1.30.210 59294 typ host > a=candidate:0 2 UDP 2122252542 192.168.100.3 51379 typ host > a=candidate:2 2 UDP 2122187006 10.1.30.210 54982 typ host > a=candidate:1 1 UDP 1686052863 202.80.213.20 53122 typ srflx raddr 192.168.100.3 rport 62066 > a=candidate:1 2 UDP 1686052862 202.80.213.20 63509 typ srflx raddr 192.168.100.3 rport 51379 > a=sendrecv > a=end-of-candidates > a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level > a=fmtp:109 maxplaybackrate=48000;stereo=1 > a=ice-pwd:365418def25d593b36c6d9a94e580668 > a=ice-ufrag:cd6e15c9 > a=mid:sdparta_0 > a=msid:{e9008b2d-b210-804a-947f-fe9ebe684a82} {5125823f-52f4-3848-a2fc-6e74df7b7fc6} > a=rtcp:63509 IN IP4 202.80.213.20 > a=rtcp-mux > a=rtpmap:109 opus/48000/2 > a=rtpmap:9 G722/8000/1 > a=rtpmap:0 PCMU/8000 > a=rtpmap:8 PCMA/8000 > a=setup:actpass > a=ssrc:1635853409 cname:{2f2a4d63-f361-1d40-a766-b984c8943ed9} > m=video 16251 UDP/TLS/RTP/SAVPF 120 126 97 > c=IN IP4 202.80.213.20 > a=candidate:0 1 UDP 2122252543 192.168.100.3 63575 typ host > a=candidate:2 1 UDP 2122187007 10.1.30.210 59464 typ host > a=candidate:0 2 UDP 2122252542 192.168.100.3 61607 typ host > a=candidate:2 2 UDP 2122187006 10.1.30.210 61659 typ host > a=candidate:1 1 UDP 1686052863 202.80.213.20 16251 typ srflx raddr 192.168.100.3 rport 63575 > a=candidate:1 2 UDP 1686052862 202.80.213.20 6383 typ srflx raddr 192.168.100.3 rport 61607 > a=sendrecv > a=end-of-candidates > a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1 > a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1 > a=fmtp:120 max-fs=12288;max-fr=60 > a=ice-pwd:365418def25d593b36c6d9a94e580668 > a=ice-ufrag:cd6e15c9 > a=mid:sdparta_1 > a=msid:{e9008b2d-b210-804a-947f-fe9ebe684a82} {161585fd-7ab5-5640-809b-62cb9cc72f91} > a=rtcp:6383 IN IP4 202.80.213.20 > a=rtcp-fb:120 nack > a=rtcp-fb:120 nack pli > a=rtcp-fb:120 ccm fir > a=rtcp-fb:126 nack > a=rtcp-fb:126 nack pli > a=rtcp-fb:126 ccm fir > a=rtcp-fb:97 nack > a=rtcp-fb:97 nack pli > a=rtcp-fb:97 ccm fir > a=rtcp-mux > a=rtpmap:120 VP8/90000 > a=rtpmap:126 H264/90000 > a=rtpmap:97 H264/90000 > a=setup:actpass > a=ssrc:16439336 cname:{2f2a4d63-f361-1d40-a766-b984c8943ed9} > > Remote SDP > > v=0 > o=FreeSWITCH 1474386489 1474386490 IN IP4 43.255.196.10 > s=- > t=0 0 > a=sendrecv > a=msid-semantic:WMS Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts > m=audio 16748 RTP/SAVPF 109 101 > c=IN IP4 43.255.196.10 > a=candidate:6375696742 1 udp 659136 43.255.196.10 16748 typ host generation 0 > a=sendrecv > a=fingerprint:sha-256 42:D4:7A:39:64:60:A3:A3:75:CF:83:0F:B7:D4:4B:15:DF:49:06:A5:C9:69:7B:62:52:38:8B:83:07:2C:36:BE > a=fmtp:109 maxplaybackrate=0;stereo=1 > a=ice-pwd:LPlARouz5vTIhtT1pCZpjcZU > a=ice-ufrag:U5T7aQnJKTRlfbDN > a=ptime:20 > a=rtcp:16748 IN IP4 43.255.196.10 > a=rtcp-mux > a=rtpmap:109 opus/48000/2 > a=rtpmap:101 telephone-event/8000/1 > a=setup:active > a=ssrc:2682518997 cname:IKlIZcd3RQbtMVKk > a=ssrc:2682518997 msid:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts a0 > a=ssrc:2682518997 mslabel:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts > a=ssrc:2682518997 label:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvtsa0 > m=video 25952 RTP/SAVPF 120 > c=IN IP4 43.255.196.10 > b=AS:1024 > a=candidate:4949443032 1 udp 659136 43.255.196.10 25952 typ host generation 0 > a=sendrecv > a=fingerprint:sha-256 42:D4:7A:39:64:60:A3:A3:75:CF:83:0F:B7:D4:4B:15:DF:49:06:A5:C9:69:7B:62:52:38:8B:83:07:2C:36:BE > a=fmtp:120 max-fs=12288;max-fr=60 > a=ice-pwd:1wVZJv0snfcEOd94TxvnnBAy > a=ice-ufrag:qQxBD0fmkH5fFO8h > a=rtcp:25952 IN IP4 43.255.196.10 > a=rtcp-fb:120 ccm fir > a=rtcp-fb:120 nack > a=rtcp-fb:120 nack pli > a=rtcp-mux > a=rtpmap:120 VP8/90000 > a=setup:active > a=ssrc:1945338266 cname:IKlIZcd3RQbtMVKk > a=ssrc:1945338266 msid:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts v0 > a=ssrc:1945338266 mslabel:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts > a=ssrc:1945338266 label:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvtsv0 > > Some how the ICE always never tried to pair 202.xx.xx.xx (my client public IP) and 43.xx.xx.xx (FS public IP). Using chrome is the same. > > Any suggestion? > > > Donny > > > On Wed, Sep 21, 2016 at 2:11 AM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Its not much of a log snippet so its hard to tell but in your sofia >> profile you can add some more candidate-acl like so: >> >> >> >> >> >> >> >> >> >> On Tue, Sep 20, 2016 at 12:09 PM, Donny Hardyanto < >> hardyanto.donny at gmail.com> wrote: >> >>> Using Chrome still no sound and video. I am using >>> >>> FreeSWITCH Version 1.6.10+git~20160824T215404Z~726448d962~64bit (git >>> 726448d 2016-08-24 21:54:04Z 64bit) >>> >>> Using verto is not working either. >>> >>> Donny >>> >>> On Tue, Sep 20, 2016 at 11:49 PM, Brian West >>> wrote: >>> >>>> If you're using firefox please try Nightly and also try with Chrome. >>>> Also make sure you're running 1.6.10. >>>> >>>> /b >>>> >>>> >>>> On Tue, Sep 20, 2016 at 11:23 AM, Donny Hardyanto < >>>> hardyanto.donny at gmail.com> wrote: >>>> >>>>> Hi Everyone, >>>>> >>>>> I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for first >>>>> time. I tried example using WSS binding on Sofia, and while the call can be >>>>> connected, but the video/audio is not exchanged. I use Mozilla firefox for >>>>> browser and using FS behind NAT. The log on firefox show: ICE failed, see >>>>> about:webrtc for more details. I look at the log at about:webrtc and find >>>>> the SDP from FS: >>>>> >>>>> a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host >>>>> generation 0 >>>>> >>>>> It only show the public IP (that I hard code on internal.xml on >>>>> ext-rtp-ip and ext-rtp-sip), but I think it is missing FS local IP as raddr >>>>> part (in internal.xml rtp-ip is 10.xx.xx.xx) >>>>> >>>>> and on FS log I find this: >>>>> >>>>> 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 Sending >>>>> early media >>>>> >>>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>>>> candidate ACL defined, Defaulting to wan.auto >>>>> >>>>> WTF TOT 5 >>>>> >>>>> WTF TOT 5 >>>>> >>>>> WTF TOT 5 >>>>> >>>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>>>> candidate ACL defined, Defaulting to wan.auto >>>>> >>>>> 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 Activating >>>>> Audio ICE >>>>> >>>>> and also when first startup the FS, I found: >>>>> >>>>> 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 >>>>> Adding Limit interface 'db' >>>>> >>>>> 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693 >>>>> sofia:external Starting SQL thread. >>>>> >>>>> 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name '' >>>>> >>>>> 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538 >>>>> Successfully Loaded [mod_dptools] >>>>> >>>>> Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my >>>>> intenal.xml config is vanilla. >>>>> >>>>> Can anyone help? >>>>> >>>>> Thanks, >>>>> >>>>> >>>>> Regard >>>>> >>>>> Donny >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Brian West* >>>> brian at freeswitch.org >>>> >>>> >>>> *Twitter: @FreeSWITCH , @briankwest* >>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>> http://www.freeswitchcookbook.com (50% Discount using code >>>> FreeSwitch50) >>>> https://www.gofundme.com/freeswitch_ubuntu >>>> >>>> Got Bugs? Report them here ! | Reddit: >>>> /r/freeswitch >>>> >>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/c70294f8/attachment-0001.html From brian at freeswitch.org Wed Sep 21 01:22:19 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 20 Sep 2016 16:22:19 -0500 Subject: [Freeswitch-users] Intent to load 'mod_freetdm' In-Reply-To: <1191BE60-E0E6-40CB-86F7-141674ABC0F6@jerris.com> References: <1191BE60-E0E6-40CB-86F7-141674ABC0F6@jerris.com> Message-ID: He's misconfigured something and called it span, and its mapping to ftmod name. /b On Tue, Sep 20, 2016 at 11:58 AM, Michael Jerris wrote: > I?ve never heard of ftmod_span ? sounds like a configuration error > > On Sep 20, 2016, at 8:18 AM, Edward Josette Ortega Salas < > edward.josette at gmail.com> wrote: > > Greetings! > > I'm using FreeSWITCH Version 1.4.26+git~20160401T134007Z~f0c3870be3~64bit > (git f0c3870 2016-04-01 13:40:07Z 64bit), and when i try to load freetdm > module via fs_cli i get this error: > > [ERR] ftdm_io.c:5531 Error loading /usr/local/freeswitch/mod/ftmod_span.so > > The entire debug i pasted here: http://dpaste.com/0YWG97W > > The things is that "ftmod_span.so" it doesn't exist, so i tried to compile > just the module and i tried again to locate it, but it failed. > > If somebody can help me, i'll appreciate it, Thx. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/5358cdd5/attachment.html From magnus.kelly at gmail.com Wed Sep 21 01:34:29 2016 From: magnus.kelly at gmail.com (Magnus Kelly) Date: Tue, 20 Sep 2016 22:34:29 +0100 Subject: [Freeswitch-users] Fax / voice splitting question Message-ID: Hello all , Please could someone share if its possible to split voice and fax calls, e.g. numbers that are used to also receive fax?s to be forwarded by SIP to FreeSwitch in order to answer calls and then somehow automatically determine between voice and fax calls and onward route to either fax extension or to a hunt group to find a person? I was thinking of looking for T.38 in the SDP, but then understood that this only appears in the actual fax transaction and thus bit late in the setup to determine routing. Appreciate any tips if others have successfully found solutions to this call case. Thanks Magnus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/a109c992/attachment.html From me at nevian.org Wed Sep 21 01:35:02 2016 From: me at nevian.org (Serge Yuriev) Date: Wed, 21 Sep 2016 00:35:02 +0300 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> <2406A807-7E85-429A-AC9C-E5D0374AB35D@jerris.com> Message-ID: AFAIR there is mod_ooh323 in separate branch and it supports video. But module need patches for general usage. On 15 Sep 2016, at 17:06, Brian West wrote: > There is no video support in any H323 modules in tree currently. Nobody has done the work to make them video capable. Maybe someone can sponsor that work. > > > On Thu, Sep 15, 2016 at 12:31 AM, J?rgen Wendler wrote: > And what about mod_h323 ? Video support here included or are the video capabilitys only for SIP? > > > > Mit freundlichen Gr??en > > > > J?rgen Wendler > > -Technik- > > > > Vision Consulting Deutschland GmbH > > Bremsstr. 17, > > D-50969 K?ln (Cologne) > > Fon: +49-221-995574-20 > > Fax: +49-221-995574-99 > > jw at vision-gmbh.de > > http://www.vision-gmbh.de > > > > Gesch?ftsf?hrer: Dipl.-Inf. Stephan Krafft > > Register: HRB 61562 - Amtsgericht K?ln > > > > Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Michael Jerris > Gesendet: Mittwoch, 14. September 2016 19:19 > > > An: FreeSWITCH Users Help > Betreff: Re: [Freeswitch-users] Enable H264 Video > > > > I can confirm that module does not currently have video support. > > > > On Sep 14, 2016, at 11:20 AM, Brian West wrote: > > > > If you code it probably, or find someone to code it. :) > > > > On Wed, Sep 14, 2016 at 1:12 AM, J?rgen Wendler wrote: > > Well, i thought since Version 1.6 freeswitch is capable of Video support. So there is no chance to get video with h323 listener, mod_opal or mod_h323 ? > > > > Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Brian West > Gesendet: Dienstag, 13. September 2016 17:22 > An: FreeSWITCH Users Help > Betreff: Re: [Freeswitch-users] Enable H264 Video > > > > mod_opal doesn't support video in FreeSWITCH last I knew. > > > > On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler wrote: > > Hello everyone, > > > > i?ve found some amazaing articles about FS and so i thought i can give it a try. > > So I followed instructions in confluenca and got a simple running fs server with mod_verto which is capable of some basic webrtc. Really nice. > > > > Now I want to join this room (which is the basic 3500 room with the default video-mcu-profile) with some external h323 device. So I compiled ptlib and opalvoip and finally mod_opal and created a h323 listener. > > When I call the ip + room number with an external device (polycom, sony) via h323 I get voice only connections, log says the following: > > > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-2000 at 90000 (pt=121) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-1998 at 90000 (pt=115) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP8 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP9 at 90000 (pt=99) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263 at 90000 (pt=34) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec LPC at 8000 (pt=7) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec PROXY-VID at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H261 at 90000 (pt=31) to an OPAL media format. > > 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H264 at 90000 (pt=97) to an OPAL media format. > > > > So I thought I should have a look about the compiled codecs. I activated mod_opal and mod_h26x in modules.conf but no succes. Log always says: > > > > 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal Answer:12170,0000000000001} H323 SetLocalCapabilities: GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf > > > > I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? in dialplan/default.xml but I think I am missing something. > > Could anyone point me in the right direction where I can ?enable? h263++ or h264 video capabilitys for an external h323 device / call via mod_opal? > > System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. > > > > Best regards, > > Juergen > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Brian West > brian at freeswitch.org > > > > Twitter: @FreeSWITCH , @briankwest > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here! | Reddit: /r/freeswitch > > T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) > iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Serge S. Yuriev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/a2d64d4b/attachment-0001.html From anthony.minessale at gmail.com Wed Sep 21 01:52:49 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 20 Sep 2016 16:52:49 -0500 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> <2406A807-7E85-429A-AC9C-E5D0374AB35D@jerris.com> Message-ID: Correct, that module is the closest to having video support but needs some major work. The opal one might be possible from the opal authors if you ask/hire them. On Tue, Sep 20, 2016 at 4:35 PM, Serge Yuriev wrote: > AFAIR there is mod_ooh323 in separate branch and it supports video. > But module need patches for general usage. > > On 15 Sep 2016, at 17:06, Brian West wrote: > > There is no video support in any H323 modules in tree currently. Nobody > has done the work to make them video capable. Maybe someone can sponsor > that work. > > > On Thu, Sep 15, 2016 at 12:31 AM, J?rgen Wendler > wrote: > >> And what about mod_h323 ? Video support here included or are the video >> capabilitys only for SIP? >> >> >> >> Mit freundlichen Gr??en >> >> >> >> J?rgen Wendler >> >> -Technik- >> >> >> >> Vision Consulting Deutschland GmbH >> >> Bremsstr. 17, >> >> D-50969 K?ln (Cologne) >> >> Fon: +49-221-995574-20 >> >> Fax: +49-221-995574-99 >> >> jw at vision-gmbh.de >> >> http://www.vision-gmbh.de >> >> >> >> Gesch?ftsf?hrer: Dipl.-Inf. Stephan Krafft >> >> Register: HRB 61562 - Amtsgericht K?ln >> >> >> >> *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Michael >> Jerris >> *Gesendet:* Mittwoch, 14. September 2016 19:19 >> >> *An:* FreeSWITCH Users Help >> *Betreff:* Re: [Freeswitch-users] Enable H264 Video >> >> >> >> I can confirm that module does not currently have video support. >> >> >> >> On Sep 14, 2016, at 11:20 AM, Brian West wrote: >> >> >> >> If you code it probably, or find someone to code it. :) >> >> >> >> On Wed, Sep 14, 2016 at 1:12 AM, J?rgen Wendler >> wrote: >> >> Well, i thought since Version 1.6 freeswitch is capable of Video support. >> So there is no chance to get video with h323 listener, mod_opal or mod_h323 >> ? >> >> >> >> *Von:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *Im Auftrag von *Brian >> West >> *Gesendet:* Dienstag, 13. September 2016 17:22 >> *An:* FreeSWITCH Users Help >> *Betreff:* Re: [Freeswitch-users] Enable H264 Video >> >> >> >> mod_opal doesn't support video in FreeSWITCH last I knew. >> >> >> >> On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler >> wrote: >> >> Hello everyone, >> >> >> >> i?ve found some amazaing articles about FS and so i thought i can give it >> a try. >> >> So I followed instructions in confluenca and got a simple running fs >> server with mod_verto which is capable of some basic webrtc. Really nice. >> >> >> >> Now I want to join this room (which is the basic 3500 room with the >> default video-mcu-profile) with some external h323 device. So I compiled >> ptlib and opalvoip and finally mod_opal and created a h323 listener. >> >> When I call the ip + room number with an external device (polycom, sony) >> via h323 I get voice only connections, log says the following: >> >> >> >> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> H263-2000 at 90000 (pt=121) to an OPAL media format. >> >> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> H263-1998 at 90000 (pt=115) to an OPAL media format. >> >> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> VP8 at 90000 (pt=99) to an OPAL media format. >> >> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> VP9 at 90000 (pt=99) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> H263 at 90000 (pt=34) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> LPC at 8000 (pt=7) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> PROXY-VID at 90000 (pt=31) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> H261 at 90000 (pt=31) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal >> Answer:12170,0000000000001} mod_opal Could not match FS codec >> H264 at 90000 (pt=97) to an OPAL media format. >> >> >> >> So I thought I should have a look about the compiled codecs. I activated >> mod_opal and mod_h26x in modules.conf but no succes. Log always says: >> >> >> >> 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal >> Answer:12170,0000000000001} H323 SetLocalCapabilities: >> GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64 >> k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf >> >> >> >> I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? >> in dialplan/default.xml but I think I am missing something. >> >> Could anyone point me in the right direction where I can ?enable? h263++ >> or h264 video capabilitys for an external h323 device / call via mod_opal? >> >> System is debian 8, FS and ptlib / mod_opal are checked out from git / >> cvs. >> >> >> >> Best regards, >> >> Juergen >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > -- > Serge S. Yuriev > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/5ddea086/attachment-0001.html From hawkins at hawkinsegroup.com Wed Sep 21 01:58:10 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Tue, 20 Sep 2016 16:58:10 -0500 Subject: [Freeswitch-users] Fax / voice splitting question In-Reply-To: References: Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+fax+detect ? On Tue, Sep 20, 2016 at 4:34 PM, Magnus Kelly wrote: > Hello all , > > Please could someone share if its possible to split voice and fax calls, > e.g. numbers that are used to also receive fax?s to be forwarded by SIP to > FreeSwitch in order to answer calls and then somehow automatically > determine between voice and fax calls and onward route to either fax > extension or to a hunt group to find a person? I was thinking of looking > for T.38 in the SDP, but then understood that this only appears in the > actual fax transaction and thus bit late in the setup to determine routing. > > Appreciate any tips if others have successfully found solutions to this > call case. > > Thanks > Magnus > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Sincerely,* Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/295fc4c1/attachment.html From brian at freeswitch.org Wed Sep 21 02:00:36 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 20 Sep 2016 17:00:36 -0500 Subject: [Freeswitch-users] Fax / voice splitting question In-Reply-To: References: Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+fax+detect On Tue, Sep 20, 2016 at 4:34 PM, Magnus Kelly wrote: > Hello all , > > Please could someone share if its possible to split voice and fax calls, > e.g. numbers that are used to also receive fax?s to be forwarded by SIP to > FreeSwitch in order to answer calls and then somehow automatically > determine between voice and fax calls and onward route to either fax > extension or to a hunt group to find a person? I was thinking of looking > for T.38 in the SDP, but then understood that this only appears in the > actual fax transaction and thus bit late in the setup to determine routing. > > Appreciate any tips if others have successfully found solutions to this > call case. > > Thanks > Magnus > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/5f469f9a/attachment.html From magnus.kelly at gmail.com Wed Sep 21 02:25:57 2016 From: magnus.kelly at gmail.com (Magnus Kelly) Date: Tue, 20 Sep 2016 23:25:57 +0100 Subject: [Freeswitch-users] Fax / voice splitting question In-Reply-To: References: Message-ID: Appreciate the url form both Brian & Don, I had found this on Confluence, but I read it as more about how to detect a fax and send it to fax extension ? that I get. Hence am I thus to understand that the logic would be if not triggering this transfer to the fax extension; to let it ?fall through? to the next action and send it to a normal user extension? Assuming correct, is the voice caller experience acceptable in terms of timing for a human (impatient as ever)? Roughly whats the minimum time needed to detect a remote fax? Can ring back be played out in parallel to the fax detection stage ? I will try myself but I do not yet have the fax machines to experiment with, hence asking for advice. Thanks From: on behalf of Brian West Reply-To: FreeSWITCH Users Help Date: Tuesday, 20 September 2016 at 23:00 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Fax / voice splitting question https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+fax+dete ct On Tue, Sep 20, 2016 at 4:34 PM, Magnus Kelly wrote: > Hello all , > > Please could someone share if its possible to split voice and fax calls, e.g. > numbers that are used to also receive fax?s to be forwarded by SIP to > FreeSwitch in order to answer calls and then somehow automatically determine > between voice and fax calls and onward route to either fax extension or to a > hunt group to find a person? I was thinking of looking for T.38 in the SDP, > but then understood that this only appears in the actual fax transaction and > thus bit late in the setup to determine routing. > > Appreciate any tips if others have successfully found solutions to this call > case. > > Thanks > Magnus > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Brian West brian at freeswitch.org Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/81421741/attachment-0001.html From brian at freeswitch.org Wed Sep 21 02:59:27 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 20 Sep 2016 17:59:27 -0500 Subject: [Freeswitch-users] Fax / voice splitting question In-Reply-To: References: Message-ID: Attaches a media bug, This listens for the fax tone and proceeds into the dialplan, If it detects a fax tone in the first 5 seconds (5000ms) it transfers to the extension fax XML default, which is fax extension in the xml dialplan, default context. I think you may be over thinking it slightly. /b On Tue, Sep 20, 2016 at 5:25 PM, Magnus Kelly wrote: > Appreciate the url form both Brian & Don, I had found this on Confluence, > but I read it as more about how to detect a fax and send it to fax > extension ? that I get. Hence am I thus to understand that the logic would > be if not triggering this transfer to the fax extension; to let it ?fall > through? to the next action and send it to a normal user extension? > > Assuming correct, is the voice caller experience acceptable in terms of > timing for a human (impatient as ever)? Roughly whats the minimum time > needed to detect a remote fax? Can ring back be played out in parallel to > the fax detection stage ? I will try myself but I do not yet have the fax > machines to experiment with, hence asking for advice. > Thanks > > From: on behalf of Brian > West > Reply-To: FreeSWITCH Users Help > Date: Tuesday, 20 September 2016 at 23:00 > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Fax / voice splitting question > > https://freeswitch.org/confluence/display/FREESWITCH/ > mod_dptools%3A+fax+detect > > On Tue, Sep 20, 2016 at 4:34 PM, Magnus Kelly > wrote: > >> Hello all , >> >> Please could someone share if its possible to split voice and fax calls, >> e.g. numbers that are used to also receive fax?s to be forwarded by SIP to >> FreeSwitch in order to answer calls and then somehow automatically >> determine between voice and fax calls and onward route to either fax >> extension or to a hunt group to find a person? I was thinking of looking >> for T.38 in the SDP, but then understood that this only appears in the >> actual fax transaction and thus bit late in the setup to determine routing. >> >> Appreciate any tips if others have successfully found solutions to this >> call case. >> >> Thanks >> Magnus >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/2902d368/attachment.html From s.safarov at gmail.com Wed Sep 21 10:11:59 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 21 Sep 2016 06:11:59 +0000 Subject: [Freeswitch-users] a mod_dingaling + GV question In-Reply-To: References: Message-ID: May be SSL connection used and same time ago GV update certificate? New cert on one host is not trusted. On Mon, Sep 19, 2016, 21:07 Rong Fu wrote: > I have two old fs boxes, 1.2.24 on ubuntu 14.04 and 1.2.17 on centos 6.5 , > both of them have mod_dingaling installed and one google voice account > configured. Both boses have worked for a few years w/o any problems. > > A couple of months ago suddenly GV at 1.2.24 stopped working, but GV at 1.2.17 > still works. If I put the same account to 1.2.17, it works so it's not the > GV account problem. > > I looked at the source code, and don't see a lot changes in mod_dingaling > in the past few years. Anyway I installed the latest FS but no luck. > > Debugging shows no usable candidate can be found: > > mod_dingaling.c:3608 candidate 74.125.39.41:19305 PASS ACL wan.auto > mod_dingaling.c:3662 Acceptable rtp Candidate 74.125.39.41:19305 > mod_dingaling.c:3578 Candidate Error! > mod_dingaling.c:3578 Candidate Error! > mod_dingaling.c:3578 Candidate Error! > > Please help. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/9148419b/attachment-0001.html From luca.pradovera at gmail.com Wed Sep 21 11:16:02 2016 From: luca.pradovera at gmail.com (Luca Pradovera) Date: Wed, 21 Sep 2016 09:16:02 +0200 Subject: [Freeswitch-users] iOS 10 and mod_verto Message-ID: Hello, I was trying to use mod_verto on Safari, but apparently the Communicator does not even seem to load properly. Is there a roadmap to support iOS 10? Does anyone know which changes are needed? Best regards, Luca -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/f7858c0a/attachment.html From mirkobrankovic at gmail.com Wed Sep 21 11:56:28 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Wed, 21 Sep 2016 09:56:28 +0200 Subject: [Freeswitch-users] WebRTC using WSS binding on Sofia In-Reply-To: References: Message-ID: I guess you are behind more complex Nat setup and you probably need to introduce Turn server to get you "typ relay raddr" Ice candidates to get streams properly. On Tue, Sep 20, 2016 at 11:20 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > You would need to turn on debug and supply the whole log of a call and put > it in http://pastebin.freeswitch.org > Also this list is not for debugging. https://freeswitch.org/jira > > On Tue, Sep 20, 2016 at 3:41 PM, Donny Hardyanto < > hardyanto.donny at gmail.com> wrote: > >> Adding those apply-candidate-aci to internal.xml settings are not solving >> the problem. >> >> Here the log on the client Mozilla Firefox: >> >> ICE Stats >> Local Candidate Remote Candidate ICE State Priority Nominated Selected >> 192.168.100.3:62066/udp(host) 43.255.196.10:16748/udp(host) failed >> 2830971808121343 >> 192.168.100.3:63575/udp(host) 43.255.196.10:25952/udp(host) frozen >> 2830971808121343 >> 10.1.30.210:59294/udp(host) 43.255.196.10:16748/udp(host) failed >> 2830971807990271 >> 10.1.30.210:59464/udp(host) 43.255.196.10:25952/udp(host) frozen >> 2830971807990271 >> 202.80.213.20:53122/udp(serverreflexive) >> 202.80.213.20:16251/udp(serverreflexive) >> SDPLocal SDP >> >> v=0 >> o=mozilla...THIS_IS_SDPARTA-48.0.1 7504789415293327540 0 IN IP4 0.0.0.0 >> s=- >> t=0 0 >> a=sendrecv >> a=fingerprint:sha-256 F1:CB:F5:3B:1F:8E:6A:4F:A7:CB:58:BA:E9:C7:97:49:FD:5E:29:53:48:71:3E:F9:27:19:E8:2A:79:D0:67:76 >> a=group:BUNDLE sdparta_0 sdparta_1 >> a=ice-options:trickle >> a=msid-semantic:WMS * >> m=audio 53122 UDP/TLS/RTP/SAVPF 109 9 0 8 >> c=IN IP4 202.80.213.20 >> a=candidate:0 1 UDP 2122252543 192.168.100.3 62066 typ host >> a=candidate:2 1 UDP 2122187007 10.1.30.210 59294 typ host >> a=candidate:0 2 UDP 2122252542 192.168.100.3 51379 typ host >> a=candidate:2 2 UDP 2122187006 10.1.30.210 54982 typ host >> a=candidate:1 1 UDP 1686052863 202.80.213.20 53122 typ srflx raddr 192.168.100.3 rport 62066 >> a=candidate:1 2 UDP 1686052862 202.80.213.20 63509 typ srflx raddr 192.168.100.3 rport 51379 >> a=sendrecv >> a=end-of-candidates >> a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level >> a=fmtp:109 maxplaybackrate=48000;stereo=1 >> a=ice-pwd:365418def25d593b36c6d9a94e580668 >> a=ice-ufrag:cd6e15c9 >> a=mid:sdparta_0 >> a=msid:{e9008b2d-b210-804a-947f-fe9ebe684a82} {5125823f-52f4-3848-a2fc-6e74df7b7fc6} >> a=rtcp:63509 IN IP4 202.80.213.20 >> a=rtcp-mux >> a=rtpmap:109 opus/48000/2 >> a=rtpmap:9 G722/8000/1 >> a=rtpmap:0 PCMU/8000 >> a=rtpmap:8 PCMA/8000 >> a=setup:actpass >> a=ssrc:1635853409 cname:{2f2a4d63-f361-1d40-a766-b984c8943ed9} >> m=video 16251 UDP/TLS/RTP/SAVPF 120 126 97 >> c=IN IP4 202.80.213.20 >> a=candidate:0 1 UDP 2122252543 192.168.100.3 63575 typ host >> a=candidate:2 1 UDP 2122187007 10.1.30.210 59464 typ host >> a=candidate:0 2 UDP 2122252542 192.168.100.3 61607 typ host >> a=candidate:2 2 UDP 2122187006 10.1.30.210 61659 typ host >> a=candidate:1 1 UDP 1686052863 202.80.213.20 16251 typ srflx raddr 192.168.100.3 rport 63575 >> a=candidate:1 2 UDP 1686052862 202.80.213.20 6383 typ srflx raddr 192.168.100.3 rport 61607 >> a=sendrecv >> a=end-of-candidates >> a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1 >> a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1 >> a=fmtp:120 max-fs=12288;max-fr=60 >> a=ice-pwd:365418def25d593b36c6d9a94e580668 >> a=ice-ufrag:cd6e15c9 >> a=mid:sdparta_1 >> a=msid:{e9008b2d-b210-804a-947f-fe9ebe684a82} {161585fd-7ab5-5640-809b-62cb9cc72f91} >> a=rtcp:6383 IN IP4 202.80.213.20 >> a=rtcp-fb:120 nack >> a=rtcp-fb:120 nack pli >> a=rtcp-fb:120 ccm fir >> a=rtcp-fb:126 nack >> a=rtcp-fb:126 nack pli >> a=rtcp-fb:126 ccm fir >> a=rtcp-fb:97 nack >> a=rtcp-fb:97 nack pli >> a=rtcp-fb:97 ccm fir >> a=rtcp-mux >> a=rtpmap:120 VP8/90000 >> a=rtpmap:126 H264/90000 >> a=rtpmap:97 H264/90000 >> a=setup:actpass >> a=ssrc:16439336 cname:{2f2a4d63-f361-1d40-a766-b984c8943ed9} >> >> Remote SDP >> >> v=0 >> o=FreeSWITCH 1474386489 1474386490 IN IP4 43.255.196.10 >> s=- >> t=0 0 >> a=sendrecv >> a=msid-semantic:WMS Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts >> m=audio 16748 RTP/SAVPF 109 101 >> c=IN IP4 43.255.196.10 >> a=candidate:6375696742 1 udp 659136 43.255.196.10 16748 typ host generation 0 >> a=sendrecv >> a=fingerprint:sha-256 42:D4:7A:39:64:60:A3:A3:75:CF:83:0F:B7:D4:4B:15:DF:49:06:A5:C9:69:7B:62:52:38:8B:83:07:2C:36:BE >> a=fmtp:109 maxplaybackrate=0;stereo=1 >> a=ice-pwd:LPlARouz5vTIhtT1pCZpjcZU >> a=ice-ufrag:U5T7aQnJKTRlfbDN >> a=ptime:20 >> a=rtcp:16748 IN IP4 43.255.196.10 >> a=rtcp-mux >> a=rtpmap:109 opus/48000/2 >> a=rtpmap:101 telephone-event/8000/1 >> a=setup:active >> a=ssrc:2682518997 cname:IKlIZcd3RQbtMVKk >> a=ssrc:2682518997 msid:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts a0 >> a=ssrc:2682518997 mslabel:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts >> a=ssrc:2682518997 label:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvtsa0 >> m=video 25952 RTP/SAVPF 120 >> c=IN IP4 43.255.196.10 >> b=AS:1024 >> a=candidate:4949443032 1 udp 659136 43.255.196.10 25952 typ host generation 0 >> a=sendrecv >> a=fingerprint:sha-256 42:D4:7A:39:64:60:A3:A3:75:CF:83:0F:B7:D4:4B:15:DF:49:06:A5:C9:69:7B:62:52:38:8B:83:07:2C:36:BE >> a=fmtp:120 max-fs=12288;max-fr=60 >> a=ice-pwd:1wVZJv0snfcEOd94TxvnnBAy >> a=ice-ufrag:qQxBD0fmkH5fFO8h >> a=rtcp:25952 IN IP4 43.255.196.10 >> a=rtcp-fb:120 ccm fir >> a=rtcp-fb:120 nack >> a=rtcp-fb:120 nack pli >> a=rtcp-mux >> a=rtpmap:120 VP8/90000 >> a=setup:active >> a=ssrc:1945338266 cname:IKlIZcd3RQbtMVKk >> a=ssrc:1945338266 msid:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts v0 >> a=ssrc:1945338266 mslabel:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts >> a=ssrc:1945338266 label:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvtsv0 >> >> Some how the ICE always never tried to pair 202.xx.xx.xx (my client public IP) and 43.xx.xx.xx (FS public IP). Using chrome is the same. >> >> Any suggestion? >> >> >> Donny >> >> >> On Wed, Sep 21, 2016 at 2:11 AM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Its not much of a log snippet so its hard to tell but in your sofia >>> profile you can add some more candidate-acl like so: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> On Tue, Sep 20, 2016 at 12:09 PM, Donny Hardyanto < >>> hardyanto.donny at gmail.com> wrote: >>> >>>> Using Chrome still no sound and video. I am using >>>> >>>> FreeSWITCH Version 1.6.10+git~20160824T215404Z~726448d962~64bit (git >>>> 726448d 2016-08-24 21:54:04Z 64bit) >>>> >>>> Using verto is not working either. >>>> >>>> Donny >>>> >>>> On Tue, Sep 20, 2016 at 11:49 PM, Brian West >>>> wrote: >>>> >>>>> If you're using firefox please try Nightly and also try with Chrome. >>>>> Also make sure you're running 1.6.10. >>>>> >>>>> /b >>>>> >>>>> >>>>> On Tue, Sep 20, 2016 at 11:23 AM, Donny Hardyanto < >>>>> hardyanto.donny at gmail.com> wrote: >>>>> >>>>>> Hi Everyone, >>>>>> >>>>>> I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for first >>>>>> time. I tried example using WSS binding on Sofia, and while the call can be >>>>>> connected, but the video/audio is not exchanged. I use Mozilla firefox for >>>>>> browser and using FS behind NAT. The log on firefox show: ICE failed, see >>>>>> about:webrtc for more details. I look at the log at about:webrtc and find >>>>>> the SDP from FS: >>>>>> >>>>>> a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host >>>>>> generation 0 >>>>>> >>>>>> It only show the public IP (that I hard code on internal.xml on >>>>>> ext-rtp-ip and ext-rtp-sip), but I think it is missing FS local IP as raddr >>>>>> part (in internal.xml rtp-ip is 10.xx.xx.xx) >>>>>> >>>>>> and on FS log I find this: >>>>>> >>>>>> 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 Sending >>>>>> early media >>>>>> >>>>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>>>>> candidate ACL defined, Defaulting to wan.auto >>>>>> >>>>>> WTF TOT 5 >>>>>> >>>>>> WTF TOT 5 >>>>>> >>>>>> WTF TOT 5 >>>>>> >>>>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>>>>> candidate ACL defined, Defaulting to wan.auto >>>>>> >>>>>> 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 Activating >>>>>> Audio ICE >>>>>> >>>>>> and also when first startup the FS, I found: >>>>>> >>>>>> 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 >>>>>> Adding Limit interface 'db' >>>>>> >>>>>> 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693 >>>>>> sofia:external Starting SQL thread. >>>>>> >>>>>> 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name '' >>>>>> >>>>>> 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538 >>>>>> Successfully Loaded [mod_dptools] >>>>>> >>>>>> Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my >>>>>> intenal.xml config is vanilla. >>>>>> >>>>>> Can anyone help? >>>>>> >>>>>> Thanks, >>>>>> >>>>>> >>>>>> Regard >>>>>> >>>>>> Donny >>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Brian West* >>>>> brian at freeswitch.org >>>>> >>>>> >>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>>> http://www.freeswitchcookbook.com (50% Discount using code >>>>> FreeSwitch50) >>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>> >>>>> Got Bugs? Report them here ! | Reddit: >>>>> /r/freeswitch >>>>> >>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-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+ >>> * >>> >>> ClueCon Weekly Development Call >>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>> >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/cb688c1a/attachment-0001.html From hardyanto.donny at gmail.com Wed Sep 21 12:18:14 2016 From: hardyanto.donny at gmail.com (Donny Hardyanto) Date: Wed, 21 Sep 2016 15:18:14 +0700 Subject: [Freeswitch-users] WebRTC using WSS binding on Sofia In-Reply-To: References: Message-ID: I search around and install turnserver (Coturn-4.5.0.3) on my FS box. I have trouble configuring it and how to configure the freeswitch. My setup as below: Browser <--> Router --- Internet --- Firewall (Public IP: 43.xx.xx.xx.xx, port mapping TCP 15xxx to 10.54.8.6:15xxx for WSS signaling, UDP 16384-32768 mapped to 10.54.8.6. UDP is 2-way, but TCP only one way) ------ FS (10.54.8.6 on internal.xml) The FS box cannot connect to Internet proactively, only can accept and response the WSS request. What listening-porI, tls-listening-port, listening-ip, relay-ip and external-ip (is it 43.xxx.xxx.xxx) value must put on turnserver.conf and what configuration needed on FS? Thanks for the help, Regards, Donny On Wed, Sep 21, 2016 at 2:56 PM, Mirko Brankovic wrote: > I guess you are behind more complex Nat setup and you probably need to > introduce Turn server to get you "typ relay raddr" Ice candidates to get > streams properly. > > On Tue, Sep 20, 2016 at 11:20 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> You would need to turn on debug and supply the whole log of a call and >> put it in http://pastebin.freeswitch.org >> Also this list is not for debugging. https://freeswitch.org/jira >> >> On Tue, Sep 20, 2016 at 3:41 PM, Donny Hardyanto < >> hardyanto.donny at gmail.com> wrote: >> >>> Adding those apply-candidate-aci to internal.xml settings are not >>> solving the problem. >>> >>> Here the log on the client Mozilla Firefox: >>> >>> ICE Stats >>> Local Candidate Remote Candidate ICE State Priority Nominated Selected >>> 192.168.100.3:62066/udp(host) 43.255.196.10:16748/udp(host) failed >>> 2830971808121343 >>> 192.168.100.3:63575/udp(host) 43.255.196.10:25952/udp(host) frozen >>> 2830971808121343 >>> 10.1.30.210:59294/udp(host) 43.255.196.10:16748/udp(host) failed >>> 2830971807990271 >>> 10.1.30.210:59464/udp(host) 43.255.196.10:25952/udp(host) frozen >>> 2830971807990271 >>> 202.80.213.20:53122/udp(serverreflexive) >>> 202.80.213.20:16251/udp(serverreflexive) >>> SDPLocal SDP >>> >>> v=0 >>> o=mozilla...THIS_IS_SDPARTA-48.0.1 7504789415293327540 0 IN IP4 0.0.0.0 >>> s=- >>> t=0 0 >>> a=sendrecv >>> a=fingerprint:sha-256 F1:CB:F5:3B:1F:8E:6A:4F:A7:CB:58:BA:E9:C7:97:49:FD:5E:29:53:48:71:3E:F9:27:19:E8:2A:79:D0:67:76 >>> a=group:BUNDLE sdparta_0 sdparta_1 >>> a=ice-options:trickle >>> a=msid-semantic:WMS * >>> m=audio 53122 UDP/TLS/RTP/SAVPF 109 9 0 8 >>> c=IN IP4 202.80.213.20 >>> a=candidate:0 1 UDP 2122252543 192.168.100.3 62066 typ host >>> a=candidate:2 1 UDP 2122187007 10.1.30.210 59294 typ host >>> a=candidate:0 2 UDP 2122252542 192.168.100.3 51379 typ host >>> a=candidate:2 2 UDP 2122187006 10.1.30.210 54982 typ host >>> a=candidate:1 1 UDP 1686052863 202.80.213.20 53122 typ srflx raddr 192.168.100.3 rport 62066 >>> a=candidate:1 2 UDP 1686052862 202.80.213.20 63509 typ srflx raddr 192.168.100.3 rport 51379 >>> a=sendrecv >>> a=end-of-candidates >>> a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level >>> a=fmtp:109 maxplaybackrate=48000;stereo=1 >>> a=ice-pwd:365418def25d593b36c6d9a94e580668 >>> a=ice-ufrag:cd6e15c9 >>> a=mid:sdparta_0 >>> a=msid:{e9008b2d-b210-804a-947f-fe9ebe684a82} {5125823f-52f4-3848-a2fc-6e74df7b7fc6} >>> a=rtcp:63509 IN IP4 202.80.213.20 >>> a=rtcp-mux >>> a=rtpmap:109 opus/48000/2 >>> a=rtpmap:9 G722/8000/1 >>> a=rtpmap:0 PCMU/8000 >>> a=rtpmap:8 PCMA/8000 >>> a=setup:actpass >>> a=ssrc:1635853409 cname:{2f2a4d63-f361-1d40-a766-b984c8943ed9} >>> m=video 16251 UDP/TLS/RTP/SAVPF 120 126 97 >>> c=IN IP4 202.80.213.20 >>> a=candidate:0 1 UDP 2122252543 192.168.100.3 63575 typ host >>> a=candidate:2 1 UDP 2122187007 10.1.30.210 59464 typ host >>> a=candidate:0 2 UDP 2122252542 192.168.100.3 61607 typ host >>> a=candidate:2 2 UDP 2122187006 10.1.30.210 61659 typ host >>> a=candidate:1 1 UDP 1686052863 202.80.213.20 16251 typ srflx raddr 192.168.100.3 rport 63575 >>> a=candidate:1 2 UDP 1686052862 202.80.213.20 6383 typ srflx raddr 192.168.100.3 rport 61607 >>> a=sendrecv >>> a=end-of-candidates >>> a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1 >>> a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1 >>> a=fmtp:120 max-fs=12288;max-fr=60 >>> a=ice-pwd:365418def25d593b36c6d9a94e580668 >>> a=ice-ufrag:cd6e15c9 >>> a=mid:sdparta_1 >>> a=msid:{e9008b2d-b210-804a-947f-fe9ebe684a82} {161585fd-7ab5-5640-809b-62cb9cc72f91} >>> a=rtcp:6383 IN IP4 202.80.213.20 >>> a=rtcp-fb:120 nack >>> a=rtcp-fb:120 nack pli >>> a=rtcp-fb:120 ccm fir >>> a=rtcp-fb:126 nack >>> a=rtcp-fb:126 nack pli >>> a=rtcp-fb:126 ccm fir >>> a=rtcp-fb:97 nack >>> a=rtcp-fb:97 nack pli >>> a=rtcp-fb:97 ccm fir >>> a=rtcp-mux >>> a=rtpmap:120 VP8/90000 >>> a=rtpmap:126 H264/90000 >>> a=rtpmap:97 H264/90000 >>> a=setup:actpass >>> a=ssrc:16439336 cname:{2f2a4d63-f361-1d40-a766-b984c8943ed9} >>> >>> Remote SDP >>> >>> v=0 >>> o=FreeSWITCH 1474386489 1474386490 IN IP4 43.255.196.10 >>> s=- >>> t=0 0 >>> a=sendrecv >>> a=msid-semantic:WMS Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts >>> m=audio 16748 RTP/SAVPF 109 101 >>> c=IN IP4 43.255.196.10 >>> a=candidate:6375696742 1 udp 659136 43.255.196.10 16748 typ host generation 0 >>> a=sendrecv >>> a=fingerprint:sha-256 42:D4:7A:39:64:60:A3:A3:75:CF:83:0F:B7:D4:4B:15:DF:49:06:A5:C9:69:7B:62:52:38:8B:83:07:2C:36:BE >>> a=fmtp:109 maxplaybackrate=0;stereo=1 >>> a=ice-pwd:LPlARouz5vTIhtT1pCZpjcZU >>> a=ice-ufrag:U5T7aQnJKTRlfbDN >>> a=ptime:20 >>> a=rtcp:16748 IN IP4 43.255.196.10 >>> a=rtcp-mux >>> a=rtpmap:109 opus/48000/2 >>> a=rtpmap:101 telephone-event/8000/1 >>> a=setup:active >>> a=ssrc:2682518997 cname:IKlIZcd3RQbtMVKk >>> a=ssrc:2682518997 msid:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts a0 >>> a=ssrc:2682518997 mslabel:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts >>> a=ssrc:2682518997 label:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvtsa0 >>> m=video 25952 RTP/SAVPF 120 >>> c=IN IP4 43.255.196.10 >>> b=AS:1024 >>> a=candidate:4949443032 1 udp 659136 43.255.196.10 25952 typ host generation 0 >>> a=sendrecv >>> a=fingerprint:sha-256 42:D4:7A:39:64:60:A3:A3:75:CF:83:0F:B7:D4:4B:15:DF:49:06:A5:C9:69:7B:62:52:38:8B:83:07:2C:36:BE >>> a=fmtp:120 max-fs=12288;max-fr=60 >>> a=ice-pwd:1wVZJv0snfcEOd94TxvnnBAy >>> a=ice-ufrag:qQxBD0fmkH5fFO8h >>> a=rtcp:25952 IN IP4 43.255.196.10 >>> a=rtcp-fb:120 ccm fir >>> a=rtcp-fb:120 nack >>> a=rtcp-fb:120 nack pli >>> a=rtcp-mux >>> a=rtpmap:120 VP8/90000 >>> a=setup:active >>> a=ssrc:1945338266 cname:IKlIZcd3RQbtMVKk >>> a=ssrc:1945338266 msid:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts v0 >>> a=ssrc:1945338266 mslabel:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvts >>> a=ssrc:1945338266 label:Rnq39o0FePNhM5UqI8vIne7pJ4GiKvtsv0 >>> >>> Some how the ICE always never tried to pair 202.xx.xx.xx (my client public IP) and 43.xx.xx.xx (FS public IP). Using chrome is the same. >>> >>> Any suggestion? >>> >>> >>> Donny >>> >>> >>> On Wed, Sep 21, 2016 at 2:11 AM, Anthony Minessale < >>> anthony.minessale at gmail.com> wrote: >>> >>>> Its not much of a log snippet so its hard to tell but in your sofia >>>> profile you can add some more candidate-acl like so: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Sep 20, 2016 at 12:09 PM, Donny Hardyanto < >>>> hardyanto.donny at gmail.com> wrote: >>>> >>>>> Using Chrome still no sound and video. I am using >>>>> >>>>> FreeSWITCH Version 1.6.10+git~20160824T215404Z~726448d962~64bit (git >>>>> 726448d 2016-08-24 21:54:04Z 64bit) >>>>> >>>>> Using verto is not working either. >>>>> >>>>> Donny >>>>> >>>>> On Tue, Sep 20, 2016 at 11:49 PM, Brian West >>>>> wrote: >>>>> >>>>>> If you're using firefox please try Nightly and also try with Chrome. >>>>>> Also make sure you're running 1.6.10. >>>>>> >>>>>> /b >>>>>> >>>>>> >>>>>> On Tue, Sep 20, 2016 at 11:23 AM, Donny Hardyanto < >>>>>> hardyanto.donny at gmail.com> wrote: >>>>>> >>>>>>> Hi Everyone, >>>>>>> >>>>>>> I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for >>>>>>> first time. I tried example using WSS binding on Sofia, and while the call >>>>>>> can be connected, but the video/audio is not exchanged. I use Mozilla >>>>>>> firefox for browser and using FS behind NAT. The log on firefox show: ICE >>>>>>> failed, see about:webrtc for more details. I look at the log at >>>>>>> about:webrtc and find the SDP from FS: >>>>>>> >>>>>>> a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host >>>>>>> generation 0 >>>>>>> >>>>>>> It only show the public IP (that I hard code on internal.xml on >>>>>>> ext-rtp-ip and ext-rtp-sip), but I think it is missing FS local IP as raddr >>>>>>> part (in internal.xml rtp-ip is 10.xx.xx.xx) >>>>>>> >>>>>>> and on FS log I find this: >>>>>>> >>>>>>> 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 >>>>>>> Sending early media >>>>>>> >>>>>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>>>>>> candidate ACL defined, Defaulting to wan.auto >>>>>>> >>>>>>> WTF TOT 5 >>>>>>> >>>>>>> WTF TOT 5 >>>>>>> >>>>>>> WTF TOT 5 >>>>>>> >>>>>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO >>>>>>> candidate ACL defined, Defaulting to wan.auto >>>>>>> >>>>>>> 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 >>>>>>> Activating Audio ICE >>>>>>> >>>>>>> and also when first startup the FS, I found: >>>>>>> >>>>>>> 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 >>>>>>> Adding Limit interface 'db' >>>>>>> >>>>>>> 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693 >>>>>>> sofia:external Starting SQL thread. >>>>>>> >>>>>>> 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name >>>>>>> '' >>>>>>> >>>>>>> 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538 >>>>>>> Successfully Loaded [mod_dptools] >>>>>>> >>>>>>> Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my >>>>>>> intenal.xml config is vanilla. >>>>>>> >>>>>>> Can anyone help? >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> >>>>>>> Regard >>>>>>> >>>>>>> Donny >>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Brian West* >>>>>> brian at freeswitch.org >>>>>> >>>>>> >>>>>> *Twitter: @FreeSWITCH , @briankwest* >>>>>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>>>>> http://www.freeswitchcookbook.com (50% Discount using code >>>>>> FreeSwitch50) >>>>>> https://www.gofundme.com/freeswitch_ubuntu >>>>>> >>>>>> Got Bugs? Report them here ! | Reddit: >>>>>> /r/freeswitch >>>>>> >>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-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+ >>>> * >>>> >>>> ClueCon Weekly Development Call >>>> ? sip:888 at conference.freeswitch.org ? +19193869900 >>>> >>>> https://www.youtube.com/watch?v=9XXgW34t40s >>>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > ?\_(?)_/? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/75dbdfc4/attachment-0001.html From mirkobrankovic at gmail.com Wed Sep 21 12:54:55 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Wed, 21 Sep 2016 10:54:55 +0200 Subject: [Freeswitch-users] iOS 10 and mod_verto In-Reply-To: References: Message-ID: Safari is not supporting WebRTC, or just not yet, since there are some projects in that way. http://iswebrtcreadyyet.com/ On Wed, Sep 21, 2016 at 9:16 AM, Luca Pradovera wrote: > Hello, > I was trying to use mod_verto on Safari, but apparently the Communicator > does not even seem to load properly. > Is there a roadmap to support iOS 10? Does anyone know which changes are > needed? > > Best regards, > > Luca > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/39d59f8c/attachment.html From hai.bui at htklabs.com Wed Sep 21 13:05:47 2016 From: hai.bui at htklabs.com (Hai Bui Duc Ha) Date: Wed, 21 Sep 2016 16:05:47 +0700 Subject: [Freeswitch-users] Freeswitch behind NAT with multiple public IP Message-ID: Hi all, I have a question: I have one freeswitch server behind NAT and it use two Public IPs for load balancing 1.2.3.4 and 1.2.3.5 for this server. Now, how can I use both this IP for ext-rtp-ip and ext-sip-ip ? Can I use the domain on this or need to use stun server ? Thanks for support Regards, Hai Bui -- Hai Bui VoIP engineer, Cvoice team, HTK-HCM Office Mobile: +84-165-618-9876 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/d6d9c6ab/attachment.html From s.safarov at gmail.com Wed Sep 21 13:21:55 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 21 Sep 2016 09:21:55 +0000 Subject: [Freeswitch-users] Freeswitch behind NAT with multiple public IP In-Reply-To: References: Message-ID: You can isntall two servers (redurdancy, high availability). Or sonfigure two sip profiles on current server. Like "internal" and "internal2" profiles. Sergey ??, 21 ????. 2016 ?. ? 12:06, Hai Bui Duc Ha : > Hi all, > > I have a question: > I have one freeswitch server behind NAT and it use two Public IPs for load > balancing 1.2.3.4 and 1.2.3.5 for this server. > Now, how can I use both this IP for ext-rtp-ip and ext-sip-ip ? Can I use > the domain on this or need to use stun server ? > Thanks for support > > Regards, > Hai Bui > > -- > Hai Bui > VoIP engineer, Cvoice team, HTK-HCM Office > Mobile: +84-165-618-9876 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/bc92a676/attachment.html From d.mordovin at dwide.com Wed Sep 21 14:58:54 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Wed, 21 Sep 2016 14:58:54 +0400 Subject: [Freeswitch-users] Routing question Message-ID: <57E267EE.1050008@dwide.com> Hello I play with routing and want to test scheme with multiple suppliers (gateways) and multiple destinations (numbers). My bridge configuration is In this case bridge try each supplier and number with timeout 20 sec. It means, if 11111 user no answer, bridge spend 20+20 seconds before try 22222 number. I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 together). Is it possible to set timeout 20 sec for each 'group' but not leg? From luca.pradovera at gmail.com Wed Sep 21 15:22:16 2016 From: luca.pradovera at gmail.com (Luca Pradovera) Date: Wed, 21 Sep 2016 13:22:16 +0200 Subject: [Freeswitch-users] iOS 10 and mod_verto In-Reply-To: References: Message-ID: Hello, sorry, my original message was not clear. I am referring specifically to iOS 10 WebRTC support. Thanks! Luca On Wed, Sep 21, 2016 at 10:54 AM, Mirko Brankovic wrote: > Safari is not supporting WebRTC, or just not yet, since there are some > projects in that way. > http://iswebrtcreadyyet.com/ > > On Wed, Sep 21, 2016 at 9:16 AM, Luca Pradovera > wrote: > >> Hello, >> I was trying to use mod_verto on Safari, but apparently the Communicator >> does not even seem to load properly. >> Is there a roadmap to support iOS 10? Does anyone know which changes are >> needed? >> >> Best regards, >> >> Luca >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > ?\_(?)_/? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/36937376/attachment.html From droancea at yahoo.com Wed Sep 21 10:54:38 2016 From: droancea at yahoo.com (Dragos Oancea) Date: Wed, 21 Sep 2016 06:54:38 +0000 (UTC) Subject: [Freeswitch-users] [Linphone-developers] comfort noise and opus In-Reply-To: References: Message-ID: <310263131.2138215.1474440878556@mail.yahoo.com> Hi Try Freeswitch 1.6.x - preferably 1.6.10 - lots of things changed since 1.5.x . Freeswitch and Linphone work pretty good together when it comes to Opus . Cheers,Dragos From: Russell Treleaven To: linphone-developers at nongnu.org; linphone-users at nongnu.org; FreeSWITCH Users Help Sent: Tuesday, September 20, 2016 9:42 PM Subject: [Linphone-developers] comfort noise and opus I noticed something that I thought I would share for the benefit of others. FreeSWITCH Version 1.5.15b+git~20141215T224714Z~0b414a8de8~64bit (git 0b414a8 2014-12-15 22:47:14Z 64bit)Linphone 3.9.1 To reproduceplace a call with linphone using opus to a freeswitch server voicemail extension.listen to the outgoing message and leave a voicemail after the prompt. observedFairly loud comfort noise is heard while leaving the message. expectedshould hear silence instead of comfort noise. If we change the codec to pcmu we hear silence instead of comfort noise. Comfort noise is heard because after the outgoing message freeswitch stops sending rtp. workaroundadd this to the voicemail extension before the answer application. Sincerely, Russell Treleaven _______________________________________________ Linphone-developers mailing list Linphone-developers at nongnu.org https://lists.nongnu.org/mailman/listinfo/linphone-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/670c223a/attachment-0001.html From rgleason at voipnetwork.net Wed Sep 21 11:50:13 2016 From: rgleason at voipnetwork.net (Richard Gleason) Date: Wed, 21 Sep 2016 03:50:13 -0400 Subject: [Freeswitch-users] Legacy SBC replacement with Freeswitch Message-ID: Good Morning, I have a task on my plate for some times, and need some help from this list. I have to replace commercial SBC's that handle 40000 concurrent calls at peak with Freeswitch. The challenge I have is a capacity planing and selecting right hardware for FS. Little overview about setup: 1. IP Authentication only, handled via Radius. 2. Routing will be handled via remote SIP redirect server on avg we are doing 1000 CPS to it. 3. CDR's are written to CSV file that we download every 15 min and process. 4. Media proxy enabled, but codecs conversion is disabled. Please let me know how much CPU and RAM do I need to handle 10000 concurrent calls (20000 call legs per box) and CPS is about 300 per box will be. There will be no other applications running on the server or any other modules straight up traffic switching only. -- Best Regards, Richard Gleason -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/be63acc4/attachment.html From cmrienzo at gmail.com Wed Sep 21 18:52:23 2016 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Wed, 21 Sep 2016 10:52:23 -0400 Subject: [Freeswitch-users] Legacy SBC replacement with Freeswitch In-Reply-To: References: Message-ID: Sounds like kamailio or opensips w/ rtpproxy would be better at that kind of load if your box doesn't need to do any media processing. On Wed, Sep 21, 2016 at 3:50 AM, Richard Gleason wrote: > Good Morning, > > I have a task on my plate for some times, and need some help from this > list. > > I have to replace commercial SBC's that handle 40000 concurrent calls at > peak with Freeswitch. > > The challenge I have is a capacity planing and selecting right hardware > for FS. > > Little overview about setup: > 1. IP Authentication only, handled via Radius. > 2. Routing will be handled via remote SIP redirect server on avg we are > doing 1000 CPS to it. > 3. CDR's are written to CSV file that we download every 15 min and > process. > 4. Media proxy enabled, but codecs conversion is disabled. > > Please let me know how much CPU and RAM do I need to handle 10000 > concurrent calls (20000 call legs per box) and CPS is about 300 per box > will be. > > There will be no other applications running on the server or any other > modules straight up traffic switching only. > -- > Best Regards, > Richard Gleason > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/4ddd2474/attachment.html From olegstolyar at gmail.com Wed Sep 21 18:59:54 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Wed, 21 Sep 2016 07:59:54 -0700 Subject: [Freeswitch-users] Verto object teardown In-Reply-To: References: Message-ID: Hi Tony, any suggestion on where to call the purge and logout after a call ends? When I call it before making the next call, it works fine but that means that the old socket will hang around and stay connected (and constantly reconnecting of the connection is lost) until the next call. I'd rather avoid that. BTW, that error I see when I call purge and logout from the hangup event is not actually harmless. It results in the hangup not properly happening. On Mon, Sep 19, 2016 at 6:02 PM, Oleg Stolyar wrote: > Thanks! > > If I want to do this every time a call ends, is there a good event for > it? I tried it in "destroy" but that resulted in an infinite loop. > > If I put it in "hangup" without the hangup() method - just purge() and > logout(), it works but there is an error that's probably harmless but > ideally I'd like to avoid it. > > verto-min.js:85 Uncaught DOMException: Failed to execute 'close' on > 'RTCPeerConnection': The RTCPeerConnection's signalingState is 'closed'.(?) > > > On Mon, Sep 19, 2016 at 4:44 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> var myverto = new $.verto({yada: yada}); >> >> myverto.hangup(); // hangup all active calls >> >> myverto.purge(); // probably not necessary but doesn't hurt. Cleans out >> table internally. >> >> myverto.logout(); // Disconnect WebSocket >> >> >> >> On Mon, Sep 19, 2016 at 4:26 PM, Oleg Stolyar >> wrote: >> >>> Hi guys, >>> >>> how do I properly tear down a Verto object in JS to make sure the >>> associated socket is closed? >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/bdcf47b5/attachment.html From abaci64 at gmail.com Wed Sep 21 19:03:33 2016 From: abaci64 at gmail.com (Abaci B) Date: Wed, 21 Sep 2016 11:03:33 -0400 Subject: [Freeswitch-users] Routing question In-Reply-To: <57E267EE.1050008@dwide.com> References: <57E267EE.1050008@dwide.com> Message-ID: add {originate_timeout=20} see https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-originate_timeout On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin wrote: > Hello > > I play with routing and want to test scheme with multiple suppliers > (gateways) and multiple destinations (numbers). > > My bridge configuration is > > > > In this case bridge try each supplier and number with timeout 20 sec. > It means, if 11111 user no answer, bridge spend 20+20 seconds before try > 22222 number. > > I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 together). > > Is it possible to set timeout 20 sec for each 'group' but not leg? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/2e363e02/attachment-0001.html From krice at freeswitch.org Wed Sep 21 19:11:41 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 21 Sep 2016 10:11:41 -0500 Subject: [Freeswitch-users] iOS 10 and mod_verto In-Reply-To: References: Message-ID: <054f01d2141a$76181280$62483780$@freeswitch.org> What WebRTC support in iOS10? From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Luca Pradovera Sent: Wednesday, September 21, 2016 6:22 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] iOS 10 and mod_verto Hello, sorry, my original message was not clear. I am referring specifically to iOS 10 WebRTC support. Thanks! Luca On Wed, Sep 21, 2016 at 10:54 AM, Mirko Brankovic > wrote: Safari is not supporting WebRTC, or just not yet, since there are some projects in that way. http://iswebrtcreadyyet.com/ On Wed, Sep 21, 2016 at 9:16 AM, Luca Pradovera > wrote: Hello, I was trying to use mod_verto on Safari, but apparently the Communicator does not even seem to load properly. Is there a roadmap to support iOS 10? Does anyone know which changes are needed? Best regards, Luca _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Regards, Mirko ?\_(?)_/? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/9136a6db/attachment.html From mbrancaleoni at voismart.it Wed Sep 21 19:31:37 2016 From: mbrancaleoni at voismart.it (Matteo) Date: Wed, 21 Sep 2016 17:31:37 +0200 (CEST) Subject: [Freeswitch-users] iOS 10 and mod_verto In-Reply-To: References: Message-ID: <326240250.237055.1474471897703.JavaMail.zimbra@voismart.it> iOS 10 has NO webRTC support in the browser (both safari or chrome, being the latter just a webview) if you want webRTC on iOS (any version) you need to develop a native app using external webRTC libraries, like the ones on webrtc.org. And to speak with verto, implement into the app the verto protocol, which should be rather trivial. So, any web application will not work :) *maybe* with cordova and webRTC libraries for cordova, but never tried that. good luck, Matteo ----- Il 21-set-16, alle 13:22, Luca Pradovera luca.pradovera at gmail.com ha scritto: > Hello, > sorry, my original message was not clear. I am referring specifically to iOS 10 > WebRTC support. > > Thanks! > > Luca > > On Wed, Sep 21, 2016 at 10:54 AM, Mirko Brankovic < mirkobrankovic at gmail.com > > wrote: > > > > Safari is not supporting WebRTC, or just not yet, since there are some projects > in that way. > http://iswebrtcreadyyet.com/ > > On Wed, Sep 21, 2016 at 9:16 AM, Luca Pradovera < luca.pradovera at gmail.com > > wrote: > > > > Hello, > I was trying to use mod_verto on Safari, but apparently the Communicator does > not even seem to load properly. > Is there a roadmap to support iOS 10? Does anyone know which changes are needed? > > Best regards, > > Luca > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Regards, > Mirko > > > ?\_(?)_/? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From nneul at mst.edu Wed Sep 21 20:14:47 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 21 Sep 2016 11:14:47 -0500 Subject: [Freeswitch-users] example tone_detect to listen for dial tone and hang up? Message-ID: <69e7649f-52d9-5a81-324a-de9c5e2c91da@mst.edu> I've got an ATA that doesn't seem to be detecting hangup for callers. Is there a simple way to use tone_detect or similar to listen for the dial tone on a received call and then issue hangup upon detection? -- Nathan ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From olegstolyar at gmail.com Wed Sep 21 22:44:44 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Wed, 21 Sep 2016 11:44:44 -0700 Subject: [Freeswitch-users] Success/Failure events Message-ID: Hi, In Verto JS is there a way to detect if/when the following methods succeed or fail: call.dtmf() verto.newCall() For verto.newCall() for example, if it cannot connect through the websocket, it gets stuck in the requesting state. If there is no other way, I can do my own timeout and check the state then. Not ideal but if it's the recommended way, it can be done. However for call.dtmf() there does not seem any way to know whether it actually reached the FS or failed in some way. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/06d8e9b4/attachment.html From d.mordovin at dwide.com Thu Sep 22 02:18:07 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Thu, 22 Sep 2016 02:18:07 +0400 Subject: [Freeswitch-users] Routing question In-Reply-To: References: <57E267EE.1050008@dwide.com> Message-ID: <57E3071F.1070905@dwide.com> originate_timeout effect whole bridge. I need timeout 20s for (sofia/gateway/GW-1/11111 at gw1 and sofia/gateway/GW-2/11111 at gw2) and next timeout 20s for (sofia/gateway/GW-1/22222 at gw1 and sofia/gateway/GW-2/22222 at gw2) On 09/21/2016 07:03 PM, Abaci B wrote: > add {originate_timeout=20} > see > https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-originate_timeout > > On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin > wrote: > > Hello > > I play with routing and want to test scheme with multiple suppliers > (gateways) and multiple destinations (numbers). > > My bridge configuration is > > > > In this case bridge try each supplier and number with timeout 20 sec. > It means, if 11111 user no answer, bridge spend 20+20 seconds > before try > 22222 number. > > I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 > together). > > Is it possible to set timeout 20 sec for each 'group' but not leg? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/7e9f0f27/attachment-0001.html From abaci64 at gmail.com Thu Sep 22 02:29:06 2016 From: abaci64 at gmail.com (Abaci B) Date: Wed, 21 Sep 2016 18:29:06 -0400 Subject: [Freeswitch-users] Routing question In-Reply-To: <57E3071F.1070905@dwide.com> References: <57E267EE.1050008@dwide.com> <57E3071F.1070905@dwide.com> Message-ID: any reason not to split into 2 separate originates? On Wed, Sep 21, 2016 at 6:18 PM, Dmitry Mordovin wrote: > originate_timeout effect whole bridge. > > I need timeout 20s for (sofia/gateway/GW-1/11111 at gw1 and sofia/gateway/GW-2/11111 at gw2) and next timeout 20s for (sofia/gateway/GW-1/22222 at gw1 and sofia/gateway/GW-2/22222 at gw2) > > > On 09/21/2016 07:03 PM, Abaci B wrote: > > add {originate_timeout=20} > see https://freeswitch.org/confluence/display/FREESWITCH/ > Variables#Variables-originate_timeout > > On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin > wrote: > >> Hello >> >> I play with routing and want to test scheme with multiple suppliers >> (gateways) and multiple destinations (numbers). >> >> My bridge configuration is >> >> >> >> In this case bridge try each supplier and number with timeout 20 sec. >> It means, if 11111 user no answer, bridge spend 20+20 seconds before try >> 22222 number. >> >> I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 together). >> >> Is it possible to set timeout 20 sec for each 'group' but not leg? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/05b889f0/attachment.html From blasterjr at gmail.com Thu Sep 22 02:58:31 2016 From: blasterjr at gmail.com (Chris Tunbridge) Date: Wed, 21 Sep 2016 16:58:31 -0600 Subject: [Freeswitch-users] Routing question In-Reply-To: References: <57E267EE.1050008@dwide.com> <57E3071F.1070905@dwide.com> Message-ID: i second this, before you do your first attempt, set continue_on_fail=true (example here: https://freeswitch.org/confluence/display/FREESWITCH/Example+Extension+Status ) then do your first originate attempt, after that, change your originate timeout and set continue_on_fail to false if needed, then try your second one. On Wed, Sep 21, 2016 at 4:29 PM, Abaci B wrote: > any reason not to split into 2 separate originates? > > On Wed, Sep 21, 2016 at 6:18 PM, Dmitry Mordovin > wrote: > >> originate_timeout effect whole bridge. >> >> I need timeout 20s for (sofia/gateway/GW-1/11111 at gw1 and sofia/gateway/GW-2/11111 at gw2) and next timeout 20s for (sofia/gateway/GW-1/22222 at gw1 and sofia/gateway/GW-2/22222 at gw2) >> >> >> On 09/21/2016 07:03 PM, Abaci B wrote: >> >> add {originate_timeout=20} >> see https://freeswitch.org/confluence/display/FREESWITCH/Variabl >> es#Variables-originate_timeout >> >> On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin >> wrote: >> >>> Hello >>> >>> I play with routing and want to test scheme with multiple suppliers >>> (gateways) and multiple destinations (numbers). >>> >>> My bridge configuration is >>> >>> >>> >>> In this case bridge try each supplier and number with timeout 20 sec. >>> It means, if 11111 user no answer, bridge spend 20+20 seconds before try >>> 22222 number. >>> >>> I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 together). >>> >>> Is it possible to set timeout 20 sec for each 'group' but not leg? >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/5fd5a221/attachment.html From d.mordovin at dwide.com Thu Sep 22 04:59:47 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Thu, 22 Sep 2016 04:59:47 +0400 Subject: [Freeswitch-users] Routing question In-Reply-To: References: <57E267EE.1050008@dwide.com> <57E3071F.1070905@dwide.com> Message-ID: <57E32D03.6010608@dwide.com> Thank you guys! Ideas with several bridges and continue_on_fail very interested! On 09/22/2016 02:29 AM, Abaci B wrote: > any reason not to split into 2 separate originates? > > On Wed, Sep 21, 2016 at 6:18 PM, Dmitry Mordovin > wrote: > > originate_timeout effect whole bridge. > > I need timeout 20s for (sofia/gateway/GW-1/11111 at gw1 and sofia/gateway/GW-2/11111 at gw2) and next timeout 20s for (sofia/gateway/GW-1/22222 at gw1 and sofia/gateway/GW-2/22222 at gw2) > > > On 09/21/2016 07:03 PM, Abaci B wrote: >> add {originate_timeout=20} >> see >> https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-originate_timeout >> >> >> On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin >> > wrote: >> >> Hello >> >> I play with routing and want to test scheme with multiple >> suppliers >> (gateways) and multiple destinations (numbers). >> >> My bridge configuration is >> >> >> >> In this case bridge try each supplier and number with timeout >> 20 sec. >> It means, if 11111 user no answer, bridge spend 20+20 seconds >> before try >> 22222 number. >> >> I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 >> together). >> >> Is it possible to set timeout 20 sec for each 'group' but not >> leg? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/63488b1f/attachment-0001.html From ssinyagin at gmail.com Thu Sep 22 05:11:26 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Thu, 22 Sep 2016 03:11:26 +0200 Subject: [Freeswitch-users] Community Task ( new moh/voh ) In-Reply-To: References: Message-ID: probably the easiest would be to find a musician who can release their recording under CC license. or, someone needs to dig through this: https://creativecommons.org/about/program-areas/arts-culture/arts-culture-resources/music-communities/ Also, here: http://www.bensound.com/licensing Also this needs someone with music education: https://freeswitch.org/jira/browse/FS-8624 On Tue, Sep 20, 2016 at 9:46 PM, Brian West wrote: > We are in search of Royalty Free Music and Video samples that sound great > and we can distribute with FreeSWITCH for Video On Hold and Music On Hold > examples. > > Can I call on the community to recommend some places we could get these > that wouldn't cost the project an arm and leg? > > Thanks, > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/8891ae8f/attachment.html From joel at gogii.net Thu Sep 22 05:31:29 2016 From: joel at gogii.net (Joel Serrano) Date: Wed, 21 Sep 2016 18:31:29 -0700 Subject: [Freeswitch-users] FreeSWITCH re-INVITE breaks CDRs??? Message-ID: Hi, As I understand, freeswitch can handle re-invites. Ok till here, but, is there any scenario where freeswitch will send a re-invite proactively ? I'm facing the following problem: Inbound call, from a random person to one of our numbers. Call from: +1706288XXXX (random caller) Call to: +1407602XXXX (our number) This is the diagram: For some reason, after X amount of time, FreeSWITCH sends out an INVITE. I don't understand the reason. I have checked and there are no session-timers in the initial request that could trigger it. The problem is not the re-invite, the problem is that the CDR for this call is messed up, because the sip_from_user ends up being the callee, and the sip_to_user ends up being the caller. I use a script to pull full XML cdrs from our database... The CDR for this call has the following: $ ./get_cdr_by_uuid.py '1367e1db-2df4-4c97-8b23-304f85493315' | grep -i -e sip_from_user -e sip_to_user 17062886161 %2B14076027616 %2B17062886161 $ As you can see, the sip_to_user, is the caller, (and this is probably because of the re-invite from FS to the client). Also, isn't it weird that the sip_from_user_stripped still has the original caller correctly, but the sip_from_user is updated with the original callee? I don't know if what can be happening. This is happening on FS v1.6.10. I have servers on older versions, I'm trying to reproduce to see if it is related to that specific version of FS. I'm also trying to get debug logs, which I currently don't have (because they are disabled in prod). Any initial ideas? I think this might be a config setting or something, if it seems like a bug or similar I'm happy to open a JIRA. Thanks, Joel. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/42c43fef/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-09-21 at 18.15.16.png Type: image/png Size: 84924 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/42c43fef/attachment-0001.png From covici at ccs.covici.com Thu Sep 22 06:17:06 2016 From: covici at ccs.covici.com (John Covici) Date: Wed, 21 Sep 2016 22:17:06 -0400 Subject: [Freeswitch-users] Routing question In-Reply-To: <57E32D03.6010608@dwide.com> References: <57E267EE.1050008@dwide.com> <57E3071F.1070905@dwide.com> <57E32D03.6010608@dwide.com> Message-ID: Doesn't putting the setting in [] instead of {} then only efffect one call? On Wed, 21 Sep 2016 20:59:47 -0400, Dmitry Mordovin wrote: > > [1 ] > [1.1 ] > [1.2 ] > Thank you guys! > Ideas with several bridges and continue_on_fail very interested! > > On 09/22/2016 02:29 AM, Abaci B wrote: > > any reason not to split into 2 separate originates? > > On Wed, Sep 21, 2016 at 6:18 PM, Dmitry Mordovin wrote: > > originate_timeout effect whole bridge. > > I need timeout 20s for (sofia/gateway/GW-1/11111 at gw1 and sofia/gateway/GW-2/11111 at gw2) and next timeout 20s for (sofia/gateway/GW-1/22222 at gw1 and sofia/gateway/GW-2/22222 at gw2) > > On 09/21/2016 07:03 PM, Abaci B wrote: > > add {originate_timeout=20} > see https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-originate_timeout > > On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin wrote: > > Hello > > I play with routing and want to test scheme with multiple suppliers > (gateways) and multiple destinations (numbers). > > My bridge configuration is > > > > In this case bridge try each supplier and number with timeout 20 sec. > It means, if 11111 user no answer, bridge spend 20+20 seconds before try > 22222 number. > > I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 together). > > Is it possible to set timeout 20 sec for each 'group' but not leg? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > [2 ] > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici at ccs.covici.com From hai.bui at htklabs.com Thu Sep 22 06:37:36 2016 From: hai.bui at htklabs.com (Hai Bui Duc Ha) Date: Thu, 22 Sep 2016 09:37:36 +0700 Subject: [Freeswitch-users] Freeswitch behind NAT with multiple public IP In-Reply-To: References: Message-ID: Hi Sergey Safarov, Thanks for your reply. You told to use two sip profiles on one server. How about the directory (user account) and dialplan, it should be duplicated ? Regards, Hai Bui On Wed, Sep 21, 2016 at 4:21 PM, Sergey Safarov wrote: > You can isntall two servers (redurdancy, high availability). > Or sonfigure two sip profiles on current server. Like "internal" and > "internal2" profiles. > > Sergey > > ??, 21 ????. 2016 ?. ? 12:06, Hai Bui Duc Ha : > >> Hi all, >> >> I have a question: >> I have one freeswitch server behind NAT and it use two Public IPs for >> load balancing 1.2.3.4 and 1.2.3.5 for this server. >> Now, how can I use both this IP for ext-rtp-ip and ext-sip-ip ? Can I use >> the domain on this or need to use stun server ? >> Thanks for support >> >> Regards, >> Hai Bui >> >> -- >> Hai Bui >> VoIP engineer, Cvoice team, HTK-HCM Office >> Mobile: +84-165-618-9876 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Hai Bui VoIP engineer, Cvoice team, HTK-HCM Office Mobile: +84-165-618-9876 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/8bdecfd8/attachment.html From krice at freeswitch.org Thu Sep 22 06:46:28 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 21 Sep 2016 21:46:28 -0500 Subject: [Freeswitch-users] FreeSWITCH re-INVITE breaks CDRs??? In-Reply-To: References: Message-ID: <4B469018-F76B-41B1-A05B-9EE986C4CAAA@freeswitch.org> Are you sure this is t just fs session timers? Sent from my iPhone > On Sep 21, 2016, at 8:31 PM, Joel Serrano wrote: > > Hi, > > As I understand, freeswitch can handle re-invites. Ok till here, but, is there any scenario where freeswitch will send a re-invite proactively ? > > I'm facing the following problem: > > Inbound call, from a random person to one of our numbers. > Call from: +1706288XXXX (random caller) > Call to: +1407602XXXX (our number) > > > This is the diagram: > > > > > For some reason, after X amount of time, FreeSWITCH sends out an INVITE. I don't understand the reason. I have checked and there are no session-timers in the initial request that could trigger it. > > The problem is not the re-invite, the problem is that the CDR for this call is messed up, because the sip_from_user ends up being the callee, and the sip_to_user ends up being the caller. > > I use a script to pull full XML cdrs from our database... The CDR for this call has the following: > > $ ./get_cdr_by_uuid.py '1367e1db-2df4-4c97-8b23-304f85493315' | grep -i -e sip_from_user -e sip_to_user > 17062886161 > %2B14076027616 > %2B17062886161 > $ > > As you can see, the sip_to_user, is the caller, (and this is probably because of the re-invite from FS to the client). Also, isn't it weird that the sip_from_user_stripped still has the original caller correctly, but the sip_from_user is updated with the original callee? > > > I don't know if what can be happening. > > This is happening on FS v1.6.10. > > I have servers on older versions, I'm trying to reproduce to see if it is related to that specific version of FS. > > I'm also trying to get debug logs, which I currently don't have (because they are disabled in prod). > > > Any initial ideas? > > I think this might be a config setting or something, if it seems like a bug or similar I'm happy to open a JIRA. > > > Thanks, > Joel. > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From krice at freeswitch.org Thu Sep 22 06:47:58 2016 From: krice at freeswitch.org (Ken Rice) Date: Wed, 21 Sep 2016 21:47:58 -0500 Subject: [Freeswitch-users] FreeSWITCH re-INVITE breaks CDRs??? In-Reply-To: References: Message-ID: <83E21D4D-339E-440B-B448-533C1F15AE36@freeswitch.org> And if you think this is a bug open anjora and attach a full unedited debug log with sip tracing and the xml cdr. Sent from my iPhone > On Sep 21, 2016, at 8:31 PM, Joel Serrano wrote: > > Hi, > > As I understand, freeswitch can handle re-invites. Ok till here, but, is there any scenario where freeswitch will send a re-invite proactively ? > > I'm facing the following problem: > > Inbound call, from a random person to one of our numbers. > Call from: +1706288XXXX (random caller) > Call to: +1407602XXXX (our number) > > > This is the diagram: > > > > > For some reason, after X amount of time, FreeSWITCH sends out an INVITE. I don't understand the reason. I have checked and there are no session-timers in the initial request that could trigger it. > > The problem is not the re-invite, the problem is that the CDR for this call is messed up, because the sip_from_user ends up being the callee, and the sip_to_user ends up being the caller. > > I use a script to pull full XML cdrs from our database... The CDR for this call has the following: > > $ ./get_cdr_by_uuid.py '1367e1db-2df4-4c97-8b23-304f85493315' | grep -i -e sip_from_user -e sip_to_user > 17062886161 > %2B14076027616 > %2B17062886161 > $ > > As you can see, the sip_to_user, is the caller, (and this is probably because of the re-invite from FS to the client). Also, isn't it weird that the sip_from_user_stripped still has the original caller correctly, but the sip_from_user is updated with the original callee? > > > I don't know if what can be happening. > > This is happening on FS v1.6.10. > > I have servers on older versions, I'm trying to reproduce to see if it is related to that specific version of FS. > > I'm also trying to get debug logs, which I currently don't have (because they are disabled in prod). > > > Any initial ideas? > > I think this might be a config setting or something, if it seems like a bug or similar I'm happy to open a JIRA. > > > Thanks, > Joel. > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From s.safarov at gmail.com Thu Sep 22 08:59:33 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 22 Sep 2016 04:59:33 +0000 Subject: [Freeswitch-users] Freeswitch behind NAT with multiple public IP In-Reply-To: References: Message-ID: No, this items is shared. Directory shared always. Dialplan for not authenticated (public) calls configured in profile. On Thu, Sep 22, 2016, 05:38 Hai Bui Duc Ha wrote: > Hi Sergey Safarov, > > Thanks for your reply. > You told to use two sip profiles on one server. How about the directory > (user account) and dialplan, it should be duplicated ? > > Regards, > Hai Bui > > On Wed, Sep 21, 2016 at 4:21 PM, Sergey Safarov > wrote: > >> You can isntall two servers (redurdancy, high availability). >> Or sonfigure two sip profiles on current server. Like "internal" and >> "internal2" profiles. >> >> Sergey >> >> ??, 21 ????. 2016 ?. ? 12:06, Hai Bui Duc Ha : >> >>> Hi all, >>> >>> I have a question: >>> I have one freeswitch server behind NAT and it use two Public IPs for >>> load balancing 1.2.3.4 and 1.2.3.5 for this server. >>> Now, how can I use both this IP for ext-rtp-ip and ext-sip-ip ? Can I >>> use the domain on this or need to use stun server ? >>> Thanks for support >>> >>> Regards, >>> Hai Bui >>> >>> -- >>> Hai Bui >>> VoIP engineer, Cvoice team, HTK-HCM Office >>> Mobile: +84-165-618-9876 >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Hai Bui > VoIP engineer, Cvoice team, HTK-HCM Office > Mobile: +84-165-618-9876 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/5d5346a1/attachment-0001.html From d.mordovin at dwide.com Thu Sep 22 11:27:10 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Thu, 22 Sep 2016 11:27:10 +0400 Subject: [Freeswitch-users] Routing question In-Reply-To: References: <57E267EE.1050008@dwide.com> <57E3071F.1070905@dwide.com> <57E32D03.6010608@dwide.com> Message-ID: <57E387CE.60108@dwide.com> [] variables for a leg {} variables for all legs of one dialstring <> variables for all legs include all enterprice parts On 09/22/2016 06:17 AM, John Covici wrote: > Doesn't putting the setting in [] instead of {} then only efffect one > call? > > On Wed, 21 Sep 2016 20:59:47 -0400, > Dmitry Mordovin wrote: >> [1 ] >> [1.1 ] >> [1.2 ] >> Thank you guys! >> Ideas with several bridges and continue_on_fail very interested! >> >> On 09/22/2016 02:29 AM, Abaci B wrote: >> >> any reason not to split into 2 separate originates? >> >> On Wed, Sep 21, 2016 at 6:18 PM, Dmitry Mordovin wrote: >> >> originate_timeout effect whole bridge. >> >> I need timeout 20s for (sofia/gateway/GW-1/11111 at gw1 and sofia/gateway/GW-2/11111 at gw2) and next timeout 20s for (sofia/gateway/GW-1/22222 at gw1 and sofia/gateway/GW-2/22222 at gw2) >> >> On 09/21/2016 07:03 PM, Abaci B wrote: >> >> add {originate_timeout=20} >> see https://freeswitch.org/confluence/display/FREESWITCH/Variables#Variables-originate_timeout >> >> On Wed, Sep 21, 2016 at 6:58 AM, Dmitry Mordovin wrote: >> >> Hello >> >> I play with routing and want to test scheme with multiple suppliers >> (gateways) and multiple destinations (numbers). >> >> My bridge configuration is >> >> >> >> In this case bridge try each supplier and number with timeout 20 sec. >> It means, if 11111 user no answer, bridge spend 20+20 seconds before try >> 22222 number. >> >> I want bridge wait max 20 sec for answer 11111 (GW-1 and GW-2 together). >> >> Is it possible to set timeout 20 sec for each 'group' but not leg? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> [2 ] >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org From mirkobrankovic at gmail.com Thu Sep 22 15:49:10 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 22 Sep 2016 13:49:10 +0200 Subject: [Freeswitch-users] Success/Failure events In-Reply-To: References: Message-ID: Did you try with verto-debug=10 ? >From client side you should be able to subscribe to specific events and then receive them on client side, that is also configurable in Verto conf, i guess you should see failed event there. On Wed, Sep 21, 2016 at 8:44 PM, Oleg Stolyar wrote: > Hi, > > In Verto JS is there a way to detect if/when the following methods succeed > or fail: > > call.dtmf() > verto.newCall() > > For verto.newCall() for example, if it cannot connect through the > websocket, it gets stuck in the requesting state. If there is no other > way, I can do my own timeout and check the state then. Not ideal but if > it's the recommended way, it can be done. > > However for call.dtmf() there does not seem any way to know whether it > actually reached the FS or failed in some way. > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/18387ee3/attachment.html From bipin at xbipin.com Thu Sep 22 16:15:22 2016 From: bipin at xbipin.com (Bipin Patel) Date: Thu, 22 Sep 2016 16:15:22 +0400 Subject: [Freeswitch-users] VC minor bugs Message-ID: <6833860c-4a1a-b117-5a09-fbe3732ab95f@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/33fec8ac/attachment.html From luca.pradovera at gmail.com Thu Sep 22 16:40:02 2016 From: luca.pradovera at gmail.com (Luca Pradovera) Date: Thu, 22 Sep 2016 14:40:02 +0200 Subject: [Freeswitch-users] iOS 10 and mod_verto In-Reply-To: <054f01d2141a$76181280$62483780$@freeswitch.org> References: <054f01d2141a$76181280$62483780$@freeswitch.org> Message-ID: I think I might have had the whole thing backwards, have I? Sorry :D On Wed, Sep 21, 2016 at 5:11 PM, Ken Rice wrote: > What WebRTC support in iOS10? > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Luca > Pradovera > *Sent:* Wednesday, September 21, 2016 6:22 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] iOS 10 and mod_verto > > > > Hello, > > sorry, my original message was not clear. I am referring specifically to > iOS 10 WebRTC support. > > > > Thanks! > > > > Luca > > > > On Wed, Sep 21, 2016 at 10:54 AM, Mirko Brankovic < > mirkobrankovic at gmail.com> wrote: > > Safari is not supporting WebRTC, or just not yet, since there are some > projects in that way. > > http://iswebrtcreadyyet.com/ > > > > On Wed, Sep 21, 2016 at 9:16 AM, Luca Pradovera > wrote: > > Hello, > > I was trying to use mod_verto on Safari, but apparently the Communicator > does not even seem to load properly. > > Is there a roadmap to support iOS 10? Does anyone know which changes are > needed? > > > > Best regards, > > > > Luca > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > > -- > > Regards, > > Mirko > > ?\_(?)_/? > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/18a27f72/attachment-0001.html From krice at freeswitch.org Thu Sep 22 17:21:20 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 22 Sep 2016 08:21:20 -0500 Subject: [Freeswitch-users] VC minor bugs In-Reply-To: <6833860c-4a1a-b117-5a09-fbe3732ab95f@xbipin.com> References: <6833860c-4a1a-b117-5a09-fbe3732ab95f@xbipin.com> Message-ID: <0a9301d214d4$3644b360$a2ce1a20$@freeswitch.org> Bugs get reported to Jira From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bipin Patel Sent: Thursday, September 22, 2016 7:15 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] VC minor bugs @Italo Rossi i noticed a few bugs in VC, just wanted to confirm its happenning to me or they are bugs. Firstly when using VC to call from verto to sip gateway, if the remote phone is ringing and ringtone is audible, the calling message in dialpad doesnt show instantly unless u click anywhere on screen after which only it says calling Secondly during call from verto to sip if u press the mute button it doesnt mute the verto clients mic -- Regards, Bipin _____ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/65e0ead5/attachment.html From bipin at xbipin.com Thu Sep 22 17:27:58 2016 From: bipin at xbipin.com (Bipin Patel) Date: Thu, 22 Sep 2016 17:27:58 +0400 Subject: [Freeswitch-users] VC minor bugs In-Reply-To: <0a9301d214d4$3644b360$a2ce1a20$@freeswitch.org> References: <6833860c-4a1a-b117-5a09-fbe3732ab95f@xbipin.com> <0a9301d214d4$3644b360$a2ce1a20$@freeswitch.org> Message-ID: <2a0d8a14-05e6-162f-7296-d2c66e1b828f@xbipin.com> An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/138baa93/attachment.html From krice at freeswitch.org Thu Sep 22 17:30:47 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 22 Sep 2016 08:30:47 -0500 Subject: [Freeswitch-users] VC minor bugs In-Reply-To: <2a0d8a14-05e6-162f-7296-d2c66e1b828f@xbipin.com> References: <6833860c-4a1a-b117-5a09-fbe3732ab95f@xbipin.com> <0a9301d214d4$3644b360$a2ce1a20$@freeswitch.org> <2a0d8a14-05e6-162f-7296-d2c66e1b828f@xbipin.com> Message-ID: <0aa901d214d5$87f97d70$97ec7850$@freeswitch.org> Jira tickets are free and insure that possible bugs don't fall through the cracks From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bipin Patel Sent: Thursday, September 22, 2016 8:28 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] VC minor bugs well i just wanted to confirm first if the symptoms are for me only or genuine bugs before i file a bug report Regards, Bipin _____ -------- Original Message -------- Subject: Re: [Freeswitch-users] VC minor bugs From: Ken Rice To: 'FreeSWITCH Users Help' Date: 9/22/2016, 5:21:20 PM Bugs get reported to Jira From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Bipin Patel Sent: Thursday, September 22, 2016 7:15 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] VC minor bugs @Italo Rossi i noticed a few bugs in VC, just wanted to confirm its happenning to me or they are bugs. Firstly when using VC to call from verto to sip gateway, if the remote phone is ringing and ringtone is audible, the calling message in dialpad doesnt show instantly unless u click anywhere on screen after which only it says calling Secondly during call from verto to sip if u press the mute button it doesnt mute the verto clients mic -- Regards, Bipin _____ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/82e59062/attachment-0001.html From daveh at beachdognet.com Thu Sep 22 17:36:12 2016 From: daveh at beachdognet.com (Dave Horton) Date: Thu, 22 Sep 2016 09:36:12 -0400 Subject: [Freeswitch-users] transcription module development Message-ID: <274A2DFD-8607-4F1C-9AAE-420130B18650@beachdognet.com> There are a bunch of cloud-based transcription services these days (Nuance, google, watson etc) that provide voice to text, and I am working on developing a freeswitch integration. It seems to me that they don?t fit quite precisely into the mod_asr framework as there is, for instance, no concept of a speech grammar. Just wondering from the freeswitch devs, whether they would recommend that this be implemented as an asr module anyways (i.e stub out and ignore grammar) or should it really be a new type of module. From ashwinrath at gmail.com Thu Sep 22 17:44:26 2016 From: ashwinrath at gmail.com (Ashwin Rath) Date: Thu, 22 Sep 2016 19:14:26 +0530 Subject: [Freeswitch-users] transcription module development In-Reply-To: <274A2DFD-8607-4F1C-9AAE-420130B18650@beachdognet.com> References: <274A2DFD-8607-4F1C-9AAE-420130B18650@beachdognet.com> Message-ID: We faced a similar issue with TTS while developing a IVR based self care service. We ended up customizing mod_say for our requirement and we are currently working on an ASR on the same lines. Interfacing with cloud service would certainly be a good idea. On 22 September 2016 at 19:06, Dave Horton wrote: > There are a bunch of cloud-based transcription services these days > (Nuance, google, watson etc) that provide voice to text, and I am working > on developing a freeswitch integration. It seems to me that they don?t fit > quite precisely into the mod_asr framework as there is, for instance, no > concept of a speech grammar. Just wondering from the freeswitch devs, > whether they would recommend that this be implemented as an asr module > anyways (i.e stub out and ignore grammar) or should it really be a new type > of module. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Ashwin Kumar Rath -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/242bdb50/attachment.html From mirkobrankovic at gmail.com Thu Sep 22 18:00:04 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 22 Sep 2016 16:00:04 +0200 Subject: [Freeswitch-users] transcription module development In-Reply-To: References: <274A2DFD-8607-4F1C-9AAE-420130B18650@beachdognet.com> Message-ID: and on later stages you could make something like relatime translator :) app/module that would intercept audio from A side, Voice2Text it and play it in B side chosen language :D On Thu, Sep 22, 2016 at 3:44 PM, Ashwin Rath wrote: > We faced a similar issue with TTS while developing a IVR based self care > service. We ended up customizing mod_say for our requirement and we are > currently working on an ASR on the same lines. Interfacing with cloud > service would certainly be a good idea. > > On 22 September 2016 at 19:06, Dave Horton wrote: > >> There are a bunch of cloud-based transcription services these days >> (Nuance, google, watson etc) that provide voice to text, and I am working >> on developing a freeswitch integration. It seems to me that they don?t fit >> quite precisely into the mod_asr framework as there is, for instance, no >> concept of a speech grammar. Just wondering from the freeswitch devs, >> whether they would recommend that this be implemented as an asr module >> anyways (i.e stub out and ignore grammar) or should it really be a new type >> of module. >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > > > > > -- > Ashwin Kumar Rath > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/e08bdf60/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 164717 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/e08bdf60/attachment-0001.png From daveh at beachdognet.com Thu Sep 22 18:00:24 2016 From: daveh at beachdognet.com (Dave Horton) Date: Thu, 22 Sep 2016 10:00:24 -0400 Subject: [Freeswitch-users] transcription module development In-Reply-To: References: <274A2DFD-8607-4F1C-9AAE-420130B18650@beachdognet.com> Message-ID: As far as TTS coud-based services, I have implemented for instance an integration to Nuance NCS, and that does not present the same problem ? it fits nicely into the freeswitch asr_tts framework conceptual model. On the ASR side, though, these cloud-based services seem to be dispensing with sophisticated speech grammars in favor of keyword spotting or just simple transcription with nothing resembling a grammar. On Sep 22, 2016, at 9:44 AM, Ashwin Rath wrote: We faced a similar issue with TTS while developing a IVR based self care service. We ended up customizing mod_say for our requirement and we are currently working on an ASR on the same lines. Interfacing with cloud service would certainly be a good idea. On 22 September 2016 at 19:06, Dave Horton > wrote: There are a bunch of cloud-based transcription services these days (Nuance, google, watson etc) that provide voice to text, and I am working on developing a freeswitch integration. It seems to me that they don?t fit quite precisely into the mod_asr framework as there is, for instance, no concept of a speech grammar. Just wondering from the freeswitch devs, whether they would recommend that this be implemented as an asr module anyways (i.e stub out and ignore grammar) or should it really be a new type of module. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Ashwin Kumar Rath _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/839fafba/attachment.html From alexandr.nikolaichev at gmail.com Thu Sep 22 14:16:04 2016 From: alexandr.nikolaichev at gmail.com (Alexandr Nikolaichev) Date: Thu, 22 Sep 2016 13:16:04 +0300 Subject: [Freeswitch-users] Building static freeswitch binary Message-ID: Hi! I need to build freeswitch binary with as much as possible compiled-in libraries. But I faced with some problems: 1) Configure script does not allow static linking. At least running ./configure with LDFLAGS="-Wl,static -lssl -lcrypto -Wl,dynamic" produces binary that depends on libssl.so and libcrypto.so 2) How can I build it without dependencies on libpng, libsqlite, and libpq? Thanks -- ----------------- ? ????????? ????????? ?????????? alexandr.nikolaichev at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/a7f9f293/attachment.html From rgleason at voipnetwork.net Wed Sep 21 23:06:15 2016 From: rgleason at voipnetwork.net (Richard Gleason) Date: Wed, 21 Sep 2016 15:06:15 -0400 Subject: [Freeswitch-users] Legacy SBC replacement with Freeswitch In-Reply-To: References: Message-ID: The challenge is that Kamailio/OpenSIPS does not have a capability to export CDR's to CSV. On Wed, Sep 21, 2016 at 10:52 AM, Christopher Rienzo wrote: > Sounds like kamailio or opensips w/ rtpproxy would be better at that kind > of load if your box doesn't need to do any media processing. > > On Wed, Sep 21, 2016 at 3:50 AM, Richard Gleason > wrote: > >> Good Morning, >> >> I have a task on my plate for some times, and need some help from this >> list. >> >> I have to replace commercial SBC's that handle 40000 concurrent calls at >> peak with Freeswitch. >> >> The challenge I have is a capacity planing and selecting right hardware >> for FS. >> >> Little overview about setup: >> 1. IP Authentication only, handled via Radius. >> 2. Routing will be handled via remote SIP redirect server on avg we are >> doing 1000 CPS to it. >> 3. CDR's are written to CSV file that we download every 15 min and >> process. >> 4. Media proxy enabled, but codecs conversion is disabled. >> >> Please let me know how much CPU and RAM do I need to handle 10000 >> concurrent calls (20000 call legs per box) and CPS is about 300 per box >> will be. >> >> There will be no other applications running on the server or any other >> modules straight up traffic switching only. >> -- >> Best Regards, >> Richard Gleason >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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, Richard Gleason -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/2d0cb08e/attachment.html From tanner at itel.com Wed Sep 21 21:04:49 2016 From: tanner at itel.com (Tanner Kerr) Date: Wed, 21 Sep 2016 10:04:49 -0700 Subject: [Freeswitch-users] Freeswitch HA sofia recover failing Message-ID: We have a two node freeswitch cluster (time is synchronized between both servers). When we try to recover the call there is no audio, and we get the following in the log: 2016-09-20 17:37:35.289629 [NOTICE] sofia.c:8062 Hangup sofia/external/ 2505555555 at 456.456.456.456 [CS_RESET] [NORMAL_TEMPORARY_FAILURE] Any idea what might be wrong? below are the logs from server a and b ips and dns obfuscated. SERVER A 2016-09-20 17:37:20.788151 [NOTICE] switch_channel.c:1104 New Channel sofia/external/2505555555 at 456.456.456.456 [8e70d2d8-7f93-11e6-a71d- 79c835def150] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_NEW 2016-09-20 17:37:20.788151 [DEBUG] sofia.c:9587 sofia/external/2505555555 @456.456.456.456 receiving invite from 456.456.456.456:5060 version: 1.7.0 git 7258a24 2016-09-13 18:17:51Z 64bit 2016-09-20 17:37:20.788151 [DEBUG] sofia.c:6963 Channel sofia/external/ 2505555555 at 456.456.456.456 entering state [received][100] 2016-09-20 17:37:20.788151 [DEBUG] sofia.c:6973 Remote SDP: v=0 o=Itel 15821173 15821173 IN IP4 456.456.456.456 s=Itel c=IN IP4 456.456.456.456 t=0 0 m=audio 19772 RTP/AVP 0 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4336 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4197 Set telephone-event payload to 101 at 8000 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:3017 Set Codec sofia/external/2505555555 at 456.456.456.456 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2016-09-20 17:37:20.788151 [DEBUG] switch_core_codec.c:111 sofia/external/ 2505555555 at 456.456.456.456 Original read codec set to PCMU:0 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4542 Set telephone-event payload to 101 at 8000 2016-09-20 17:37:20.788151 [DEBUG] switch_core_media.c:4601 sofia/external/ 2505555555 at 456.456.456.456 Set 2833 dtmf send payload to 101 recv payload to 101 2016-09-20 17:37:20.788151 [DEBUG] sofia.c:7362 (sofia/external/2505555555 at 456.456.456.456) State Change CS_NEW -> CS_INIT 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:562 (sofia/external/2505555555 at 456.456.456.456) State NEW 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_INIT 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:586 (sofia/external/2505555555 at 456.456.456.456) State INIT 2016-09-20 17:37:20.788151 [DEBUG] mod_sofia.c:90 sofia/external/2505555555 @456.456.456.456 SOFIA INIT 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:40 sofia/external/2505555555 at 456.456.456.456 Standard INIT 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:48 (sofia/external/2505555555 at 456.456.456.456) State Change CS_INIT -> CS_ROUTING 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:586 (sofia/external/2505555555 at 456.456.456.456) State INIT going to sleep 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_ROUTING 2016-09-20 17:37:20.788151 [DEBUG] switch_channel.c:2249 (sofia/external/ 2505555555 at 456.456.456.456) Callstate Change DOWN -> RINGING 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:602 (sofia/external/2505555555 at 456.456.456.456) State ROUTING 2016-09-20 17:37:20.788151 [DEBUG] mod_sofia.c:143 sofia/external/2505555555 @456.456.456.456 SOFIA ROUTING 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:236 sofia/external/2505555555 at 456.456.456.456 Standard ROUTING 2016-09-20 17:37:20.788151 [INFO] mod_dialplan_xml.c:637 Processing SOKAMLOOPS BC <2505555555>->7786962265 in context public Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [public-> 7786962264] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [7786962264] destination_number(7786962265) =~ /^(7786962264)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [public-> 7786962265] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [7786962265] destination_number(7786962265) =~ /^(7786962265)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(call_direction=inbound) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(call_direction=inbound) 2016-09-20 17:37:20.788151 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [call_direction]=[inbound] Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(domain_uuid=a5254a78-db77-4b8c-b333-78d95060f10f) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(domain_uuid=a5254a78-db77-4b8c-b333-78d95060f10f) 2016-09-20 17:37:20.788151 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [domain_uuid]=[a5254a78-db77- 4b8c-b333-78d95060f10f] Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(domain_name= sipa.test.com) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(domain_name= sipa.test.com) 2016-09-20 17:37:20.788151 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [domain_name]=[sipa.test.com] Dialplan: sofia/external/2505555555 at 456.456.456.456 Action transfer(2001 XML sipa.test.com) 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:286 (sofia/external/2505555555 at 456.456.456.456) State Change CS_ROUTING -> CS_EXECUTE 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:602 (sofia/external/2505555555 at 456.456.456.456) State ROUTING going to sleep 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_EXECUTE 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:609 (sofia/external/2505555555 at 456.456.456.456) State EXECUTE 2016-09-20 17:37:20.788151 [DEBUG] mod_sofia.c:198 sofia/external/2505555555 @456.456.456.456 SOFIA EXECUTE 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:328 sofia/external/2505555555 at 456.456.456.456 Standard EXECUTE EXECUTE sofia/external/2505555555 at 456.456.456.456 transfer(2001 XML sipa.test.com) 2016-09-20 17:37:20.788151 [DEBUG] switch_ivr.c:2160 (sofia/external/ 2505555555 at 456.456.456.456) State Change CS_EXECUTE -> CS_ROUTING 2016-09-20 17:37:20.788151 [NOTICE] switch_ivr.c:2167 Transfer sofia/external/2505555555 at 456.456.456.456 to XML[2001 at sipa.test.com] 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:609 (sofia/external/2505555555 at 456.456.456.456) State EXECUTE going to sleep 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_ROUTING 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:602 (sofia/external/2505555555 at 456.456.456.456) State ROUTING 2016-09-20 17:37:20.788151 [DEBUG] mod_sofia.c:143 sofia/external/2505555555 @456.456.456.456 SOFIA ROUTING 2016-09-20 17:37:20.788151 [DEBUG] switch_core_state_machine.c:236 sofia/external/2505555555 at 456.456.456.456 Standard ROUTING 2016-09-20 17:37:20.788151 [INFO] mod_dialplan_xml.c:637 Processing SOKAMLOOPS BC <2505555555>->2001 in context sipa.test.com Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->user_exists] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_exists] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(user_exists=true) 2016-09-20 17:37:20.788151 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [user_exists]=[true] Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_exists] ${user_exists}(true) =~ /^true$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(extension_uuid=${user_data ${destination_number}@${domain_name} var extension_uuid}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(hold_music=${user_data ${destination_number}@${domain_name} var hold_music}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_all_enabled=${user_data ${destination_number}@${domain_name} var forward_all_enabled}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_all_destination=${user_data ${destination_number}@${domain_name} var forward_all_destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_busy_enabled=${user_data ${destination_number}@${domain_name} var forward_busy_enabled}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_busy_destination=${user_data ${destination_number}@${domain_name} var forward_busy_destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_no_answer_enabled=${user_data ${destination_number}@${domain_name} var forward_no_answer_enabled}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_no_answer_destination=${user_data ${destination_number}@${domain_name} var forward_no_answer_destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_user_not_registered_enabled=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_enabled}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_user_not_registered_destination=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_ destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(do_not_disturb=${user_data ${destination_number}@${domain_name} var do_not_disturb}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(call_timeout=${user_data ${destination_number}@${domain_name} var call_timeout}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(missed_call_app=${user_data ${destination_number}@${domain_name} var missed_call_app}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(missed_call_data=${user_data ${destination_number}@${domain_name} var missed_call_data}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(call_screen_enabled=${user_data ${destination_number}@${domain_name} var call_screen_enabled}) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(call_screen_enabled=false) 2016-09-20 17:37:20.788151 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [call_screen_enabled]=[false] Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->user_exists] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_exists] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(user_exists=true) 2016-09-20 17:37:20.788151 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [user_exists]=[true] Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_exists] ${user_exists}(true) =~ /^true$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(extension_uuid=${user_data ${destination_number}@${domain_name} var extension_uuid}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(hold_music=${user_data ${destination_number}@${domain_name} var hold_music}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_all_enabled=${user_data ${destination_number}@${domain_name} var forward_all_enabled}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_all_destination=${user_data ${destination_number}@${domain_name} var forward_all_destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_busy_enabled=${user_data ${destination_number}@${domain_name} var forward_busy_enabled}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_busy_destination=${user_data ${destination_number}@${domain_name} var forward_busy_destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_no_answer_enabled=${user_data ${destination_number}@${domain_name} var forward_no_answer_enabled}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_no_answer_destination=${user_data ${destination_number}@${domain_name} var forward_no_answer_destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_user_not_registered_enabled=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_enabled}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(forward_user_not_registered_destination=${user_data ${destination_number}@${domain_name} var forward_user_not_registered_ destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(do_not_disturb=${user_data ${destination_number}@${domain_name} var do_not_disturb}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(call_timeout=${user_data ${destination_number}@${domain_name} var call_timeout}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(missed_call_app=${user_data ${destination_number}@${domain_name} var missed_call_app}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(missed_call_data=${user_data ${destination_number}@${domain_name} var missed_call_data}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(call_screen_enabled=${user_data ${destination_number}@${domain_name} var call_screen_enabled}) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(call_screen_enabled=false) 2016-09-20 17:37:20.788151 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [call_screen_enabled]=[false] Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call-direction] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [call-direction] ${call_direction}(inbound) =~ /^(inbound|outbound|local)$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call-direction] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [call-direction] ${call_direction}(inbound) =~ /^(inbound|outbound|local)$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->variables] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [variables] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action export(origination_callee_id_name=${destination_number}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->variables] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [variables] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action export(origination_callee_id_name=${destination_number}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->user_record] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(user_record=${user_data ${destination_number}@${domain_name} var user_record}) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(user_record=) 2016-09-20 17:37:20.788151 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [user_record]=[UNDEF] Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE 2016-09-20 17:37:20.828076 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fa74404e4c0 Connected. 2016-09-20 17:37:20.828076 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fa74404e4c0 released. EXECUTE sofia/external/2505555555 at 456.456.456.456 set(from_user_exists=false) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [from_user_exists]=[false] Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${call_direction}(inbound) =~ /^inbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^outbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^local$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${call_direction}(inbound) =~ /^inbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^outbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^local$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->user_record] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(user_record=${user_data ${destination_number}@${domain_name} var user_record}) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(user_record=) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [user_record]=[UNDEF] Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE 2016-09-20 17:37:20.828076 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fa74404e4c0 Connected. 2016-09-20 17:37:20.828076 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fa74404e4c0 released. EXECUTE sofia/external/2505555555 at 456.456.456.456 set(from_user_exists=false) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [from_user_exists]=[false] Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${call_direction}(inbound) =~ /^inbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^outbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^local$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [user_record] ${call_direction}(inbound) =~ /^inbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^outbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${call_direction}(inbound) =~ /^local$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->redial] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [redial] destination_number(2001) =~ /^(redial|\*870)$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [redial] () =~ // break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/ ${destination_number}) Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->redial] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [redial] destination_number(2001) =~ /^(redial|\*870)$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [redial] () =~ // break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/ ${destination_number}) Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->sbc1.1d10] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [sbc1.1d10] destination_number(2001) =~ /^\+?1?(\d{10})$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->sbc2.1d10] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [sbc2.1d10] destination_number(2001) =~ /^\+?1?(\d{10})$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->agent_status] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [agent_status] destination_number(2001) =~ /^\*22$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->agent_status] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [agent_status] destination_number(2001) =~ /^\*22$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->agent_status_id] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [agent_status_id] destination_number(2001) =~ /^\*23$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->agent_status_id] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [agent_status_id] destination_number(2001) =~ /^\*23$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->group-intercept] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [group-intercept] destination_number(2001) =~ /^\*8$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->group-intercept] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [group-intercept] destination_number(2001) =~ /^\*8$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->page-extension] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [page-extension] destination_number(2001) =~ /^\*8(\d{2,7})$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->page-extension] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [page-extension] destination_number(2001) =~ /^\*8(\d{2,7})$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->eavesdrop] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [eavesdrop] destination_number(2001) =~ /^\*33(\d{2,7})$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->eavesdrop] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [eavesdrop] destination_number(2001) =~ /^\*33(\d{2,7})$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call_privacy] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call_privacy] destination_number(2001) =~ /^\*67(\d+)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call_privacy] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call_privacy] destination_number(2001) =~ /^\*67(\d+)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call_return] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call_return] destination_number(2001) =~ /^\*69$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call_return] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call_return] destination_number(2001) =~ /^\*69$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->extension_queue] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [extension_queue] destination_number(2001) =~ /^\*800(.*)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->extension_queue] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [extension_queue] destination_number(2001) =~ /^\*800(.*)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->intercept-ext] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [intercept-ext] destination_number(2001) =~ /^\*\*(\d+)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->intercept-ext] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [intercept-ext] destination_number(2001) =~ /^\*\*(\d+)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->intercept-ext-polycom] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [intercept-ext-polycom] destination_number(2001) =~ /^\*97(\d+)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->dx] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [dx] destination_number(2001) =~ /^dx$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->dx] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [dx] destination_number(2001) =~ /^dx$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->att_xfer] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [att_xfer] destination_number(2001) =~ /^att_xfer$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->att_xfer] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [att_xfer] destination_number(2001) =~ /^att_xfer$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->extension-to-voicemail] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [extension-to-voicemail] username(2505555555) =~ /^2505555555$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [extension-to-voicemail] destination_number(2001) =~ /^2505555555$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->extension-to-voicemail] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [extension-to-voicemail] username(2505555555) =~ /^2505555555$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [extension-to-voicemail] destination_number(2001) =~ /^2505555555$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->send_to_voicemail] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [send_to_voicemail] destination_number(2001) =~ /^\*99(\d{2,10})$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->send_to_voicemail] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [send_to_voicemail] destination_number(2001) =~ /^\*99(\d{2,10})$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->vmain] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [vmain] destination_number(2001) =~ /^vmain$|^\*4000$|^\*98$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->vmain] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [vmain] destination_number(2001) =~ /^vmain$|^\*4000$|^\*98$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->xfer_vm] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [xfer_vm] destination_number(2001) =~ /^xfer_vm$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->xfer_vm] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [xfer_vm] destination_number(2001) =~ /^xfer_vm$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->is_transfer] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [is_transfer] destination_number(2001) =~ /^is_transfer$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->is_transfer] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [is_transfer] destination_number(2001) =~ /^is_transfer$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->vmain_user] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [vmain_user] destination_number(2001) =~ /^\*97$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->vmain_user] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [vmain_user] destination_number(2001) =~ /^\*97$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->cf] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [cf] destination_number(2001) =~ /^cf$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->cf] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [cf] destination_number(2001) =~ /^cf$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->delay_echo] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [delay_echo] destination_number(2001) =~ /^\*9195$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->delay_echo] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [delay_echo] destination_number(2001) =~ /^\*9195$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->echo] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [echo] destination_number(2001) =~ /^\*9196$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->echo] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [echo] destination_number(2001) =~ /^\*9196$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->is_zrtp_secure] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 ANTI-Action eval(not_secure) Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->is_zrtp_secure] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [is_zrtp_secure] ${zrtp_secure_media_confirmed}() =~ /^true$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 ANTI-Action eval(not_secure) Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->milliwatt] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [milliwatt] destination_number(2001) =~ /^\*9197$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->milliwatt] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [milliwatt] destination_number(2001) =~ /^\*9197$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->is_secure] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->is_secure] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [is_secure] ${sip_via_protocol}(udp) =~ /tls/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->tone_stream] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [tone_stream] destination_number(2001) =~ /^\*9198$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->tone_stream] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [tone_stream] destination_number(2001) =~ /^\*9198$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->hold_music] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [hold_music] destination_number(2001) =~ /^\*9664$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->hold_music] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [hold_music] destination_number(2001) =~ /^\*9664$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->recordings] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [recordings] destination_number(2001) =~ /^\*(732)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->recordings] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [recordings] destination_number(2001) =~ /^\*(732)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->directory] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [directory] destination_number(2001) =~ /^\*411$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->directory] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [directory] destination_number(2001) =~ /^\*411$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->wake-up] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [wake-up] destination_number(2001) =~ /^\*(925)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->wake-up] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [wake-up] destination_number(2001) =~ /^\*(925)$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->valet_park] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [valet_park] destination_number(2001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [valet_park] destination_number(2001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [valet_park] destination_number(2001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->valet_park] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [valet_park] destination_number(2001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [valet_park] ${sip_h_Referred-By}() =~ /sip:(.*)@.*/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [valet_park] destination_number(2001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [valet_park] destination_number(2001) =~ /^(park\+)?(\*59[0-9][0-9])$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->operator] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [operator] destination_number(2001) =~ /^0$|^operator$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->operator] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [operator] destination_number(2001) =~ /^0$|^operator$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->operator-forward] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [operator-forward] destination_number(2001) =~ /^\*000$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->operator-forward] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [operator-forward] destination_number(2001) =~ /^\*000$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->do-not-disturb] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [do-not-disturb] destination_number(2001) =~ /^\*78$|\*363$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [do-not-disturb] destination_number(2001) =~ /^\*79$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->do-not-disturb] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [do-not-disturb] destination_number(2001) =~ /^\*78$|\*363$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [do-not-disturb] destination_number(2001) =~ /^\*79$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call-forward] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call-forward] destination_number(2001) =~ /^\*72$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call-forward] destination_number(2001) =~ /^\*73$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call-forward] destination_number(2001) =~ /^\*74$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call-forward] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call-forward] destination_number(2001) =~ /^\*72$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call-forward] destination_number(2001) =~ /^\*73$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call-forward] destination_number(2001) =~ /^\*74$/ break=on-true Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->follow-me] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [follow-me] destination_number(2001) =~ /^\*21$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->follow-me] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [follow-me] destination_number(2001) =~ /^\*21$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->clear_sip_auto_answer] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->clear_sip_auto_answer] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [clear_sip_auto_answer] ${click_to_call}() =~ /true/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->talking clock date and time] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [talking clock date and time] destination_number(2001) =~ /^\*9172$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->talking clock time] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [talking clock time] destination_number(2001) =~ /^\*9170$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->talking clock date] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [talking clock date] destination_number(2001) =~ /^\*9171$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call_screen] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->call_screen] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [call_screen] ${call_screen_enabled}(false) =~ /^true$/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->local_extension] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [local_extension] ${user_exists}(true) =~ /true/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action export(dialed_extension=${destination_number}) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 export(dialed_extension=2001) 2016-09-20 17:37:20.828076 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[2001] Dialplan: sofia/external/2505555555 at 456.456.456.456 Action limit(hash ${domain_name} ${destination_number} ${limit_max} ${limit_destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [local_extension] ${sip_authorized}() =~ /true/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 ANTI-Action set(bind_target=peer) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(bind_target=peer) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [bind_target]=[peer] Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [local_extension] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bind_digit_action(local,*1,exec:execute_extension,dx XML ${context},${bind_target}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bind_digit_action(local,*2,exec:record_session,${ recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${ strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext},${bind_target}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bind_digit_action(local,*3,exec:execute_extension,cf XML ${context},${bind_target}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bind_digit_action(local,*4,exec:execute_extension,att_xfer XML ${context},${bind_target}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action digit_action_set_realm(local) Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [local_extension] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(hangup_after_bridge=true) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(continue_on_fail=true) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action hash(insert/${domain_name}-call_return/${dialed_ extension}/${caller_id_number}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(called_party_call_group=${user_data(${dialed_extension}@${domain_name} var call_group)}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action hash(insert/${domain_name}-last_dial/${called_party_call_group}/${uuid}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(api_hangup_hook=lua app.lua hangup) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bridge(user/${destination_number}@${domain_name}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action lua(app.lua failure_handler) Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->local_extension] continue=true Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [local_extension] ${user_exists}(true) =~ /true/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action export(dialed_extension=${destination_number}) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 export(dialed_extension=2001) 2016-09-20 17:37:20.828076 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [dialed_extension]=[2001] Dialplan: sofia/external/2505555555 at 456.456.456.456 Action limit(hash ${domain_name} ${destination_number} ${limit_max} ${limit_destination}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (FAIL) [local_extension] ${sip_authorized}() =~ /true/ break=never Dialplan: sofia/external/2505555555 at 456.456.456.456 ANTI-Action set(bind_target=peer) INLINE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(bind_target=peer) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [bind_target]=[peer] Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [local_extension] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bind_digit_action(local,*1,exec:execute_extension,dx XML ${context},${bind_target}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bind_digit_action(local,*2,exec:record_session,${ recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${ strftime(%b)}/${strftime(%d)}/${uuid}.${record_ext},${bind_target}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bind_digit_action(local,*3,exec:execute_extension,cf XML ${context},${bind_target}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bind_digit_action(local,*4,exec:execute_extension,att_xfer XML ${context},${bind_target}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action digit_action_set_realm(local) Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [local_extension] () =~ // break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(hangup_after_bridge=true) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(continue_on_fail=true) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action hash(insert/${domain_name}-call_return/${dialed_ extension}/${caller_id_number}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(called_party_call_group=${user_data(${dialed_extension}@${domain_name} var call_group)}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action hash(insert/${domain_name}-last_dial/${called_party_call_group}/${uuid}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(api_hangup_hook=lua app.lua hangup) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action bridge(user/${destination_number}@${domain_name}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action lua(app.lua failure_handler) Dialplan: sofia/external/2505555555 at 456.456.456.456 parsing [sipa.test.com->voicemail] continue=false Dialplan: sofia/external/2505555555 at 456.456.456.456 Regex (PASS) [voicemail] ${user_exists}(true) =~ /true/ break=on-false Dialplan: sofia/external/2505555555 at 456.456.456.456 Action answer() Dialplan: sofia/external/2505555555 at 456.456.456.456 Action sleep(1000) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(voicemail_action=save) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(voicemail_id=${destination_number}) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action set(voicemail_profile=default) Dialplan: sofia/external/2505555555 at 456.456.456.456 Action lua(app.lua voicemail) 2016-09-20 17:37:20.828076 [DEBUG] switch_core_state_machine.c:286 (sofia/external/2505555555 at 456.456.456.456) State Change CS_ROUTING -> CS_EXECUTE 2016-09-20 17:37:20.828076 [DEBUG] switch_core_state_machine.c:602 (sofia/external/2505555555 at 456.456.456.456) State ROUTING going to sleep 2016-09-20 17:37:20.828076 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_EXECUTE 2016-09-20 17:37:20.828076 [DEBUG] switch_core_state_machine.c:609 (sofia/external/2505555555 at 456.456.456.456) State EXECUTE 2016-09-20 17:37:20.828076 [DEBUG] mod_sofia.c:198 sofia/external/2505555555 @456.456.456.456 SOFIA EXECUTE 2016-09-20 17:37:20.828076 [DEBUG] switch_core_state_machine.c:328 sofia/external/2505555555 at 456.456.456.456 Standard EXECUTE EXECUTE sofia/external/2505555555 at 456.456.456.456 set(extension_uuid=054c1f2c-e5a3-48d3-82f9-7c3b3e9e6367) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [extension_uuid]=[054c1f2c- e5a3-48d3-82f9-7c3b3e9e6367] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(hold_music=local_stream://default) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [hold_music]=[local_stream://default] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_all_enabled=) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_all_enabled]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_all_destination=) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_all_destination]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_busy_enabled=) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_busy_enabled]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_busy_destination=) 2016-09-20 17:37:20.828076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_busy_destination]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_no_answer_enabled=) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_no_answer_enabled]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_no_answer_ destination=) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_no_answer_destination]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_user_not_ registered_enabled=) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_user_not_registered_enabled]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_user_not_ registered_destination=) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_user_not_registered_destination]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(do_not_disturb=) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [do_not_disturb]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(call_timeout=30) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [call_timeout]=[30] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(missed_call_app=) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [missed_call_app]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(missed_call_data=) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [missed_call_data]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(extension_uuid=054c1f2c-e5a3-48d3-82f9-7c3b3e9e6367) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [extension_uuid]=[054c1f2c- e5a3-48d3-82f9-7c3b3e9e6367] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(hold_music=local_stream://default) 2016-09-20 17:37:20.848079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [hold_music]=[local_stream://default] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_all_enabled=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_all_enabled]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_all_destination=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_all_destination]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_busy_enabled=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_busy_enabled]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_busy_destination=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_busy_destination]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_no_answer_enabled=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_no_answer_enabled]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_no_answer_ destination=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_no_answer_destination]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_user_not_ registered_enabled=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_user_not_registered_enabled]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(forward_user_not_ registered_destination=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [forward_user_not_registered_destination]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(do_not_disturb=) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [do_not_disturb]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(call_timeout=30) 2016-09-20 17:37:20.868076 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [call_timeout]=[30] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(missed_call_app=) 2016-09-20 17:37:20.888079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [missed_call_app]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(missed_call_data=) 2016-09-20 17:37:20.888079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [missed_call_data]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 export(origination_callee_id_name=2001) 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[2001] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(RFC2822_DATE=Tue, 20 Sep 2016 17:37:20 -0700) 2016-09-20 17:37:20.888079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [RFC2822_DATE]=[Tue, 20 Sep 2016 17:37:20 -0700] EXECUTE sofia/external/2505555555 at 456.456.456.456 export(origination_callee_id_name=2001) 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[2001] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(RFC2822_DATE=Tue, 20 Sep 2016 17:37:20 -0700) 2016-09-20 17:37:20.888079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [RFC2822_DATE]=[Tue, 20 Sep 2016 17:37:20 -0700] EXECUTE sofia/external/2505555555 at 456.456.456.456 hash(insert/sipa.test.com- last_dial/2505555555/2001) EXECUTE sofia/external/2505555555 at 456.456.456.456 hash(insert/sipa.test.com- last_dial/2505555555/2001) EXECUTE sofia/external/2505555555 at 456.456.456.456 eval(not_secure) EXECUTE sofia/external/2505555555 at 456.456.456.456 eval(not_secure) EXECUTE sofia/external/2505555555 at 456.456.456.456 limit(hash sipa.test.com 2001 ) 2016-09-20 17:37:20.888079 [DEBUG] switch_limit.c:126 incr called: sipa.test.com_2001 max:-1, interval:0 2016-09-20 17:37:20.888079 [DEBUG] mod_hash.c:194 Usage for sipa.test.com_2001 is now 1 EXECUTE sofia/external/2505555555 at 456.456.456.456 bind_digit_action(local,*1,exec:execute_extension,dx XML sipa.test.com,peer) 2016-09-20 17:37:20.888079 [INFO] switch_ivr_async.c:214 Digit parser DPTOOLS: Setting realm to 'local' 2016-09-20 17:37:20.888079 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *1/local/0 callback: 0x7fa72544ba00 data: 0x7fa6c40246d0 EXECUTE sofia/external/2505555555 at 456.456.456.456 bind_digit_action(local,*2,exec:record_session,/usr/ local/freeswitch/recordings/sipa.test.com/archive/2016/Sep/ 20/8e70d2d8-7f93-11e6-a71d-79c835def150.wav,peer) 2016-09-20 17:37:20.888079 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *2/local/0 callback: 0x7fa72544ba00 data: 0x7fa6c4024928 EXECUTE sofia/external/2505555555 at 456.456.456.456 bind_digit_action(local,*3,exec:execute_extension,cf XML sipa.test.com,peer) 2016-09-20 17:37:20.888079 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *3/local/0 callback: 0x7fa72544ba00 data: 0x7fa6c4024ae0 EXECUTE sofia/external/2505555555 at 456.456.456.456 bind_digit_action(local,*4,exec:execute_extension,att_xfer XML sipa.test.com ,peer) 2016-09-20 17:37:20.888079 [DEBUG] switch_ivr_async.c:323 Digit parser DPTOOLS: binding *4/local/0 callback: 0x7fa72544ba00 data: 0x7fa6c4024c50 EXECUTE sofia/external/2505555555 at 456.456.456.456 digit_action_set_realm(local) EXECUTE sofia/external/2505555555 at 456.456.456.456 set(hangup_after_bridge=true) 2016-09-20 17:37:20.888079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [hangup_after_bridge]=[true] EXECUTE sofia/external/2505555555 at 456.456.456.456 set(continue_on_fail=true) 2016-09-20 17:37:20.888079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [continue_on_fail]=[true] EXECUTE sofia/external/2505555555 at 456.456.456.456 hash(insert/sipa.test.com- call_return/2001/2505555555) EXECUTE sofia/external/2505555555 at 456.456.456.456 hash(insert/sipa.test.com- last_dial_ext/2001/8e70d2d8-7f93-11e6-a71d-79c835def150) EXECUTE sofia/external/2505555555 at 456.456.456.456 set(called_party_call_group=) 2016-09-20 17:37:20.888079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [called_party_call_group]=[UNDEF] EXECUTE sofia/external/2505555555 at 456.456.456.456 hash(insert/sipa.test.com- last_dial//8e70d2d8-7f93-11e6-a71d-79c835def150) EXECUTE sofia/external/2505555555 at 456.456.456.456 set(api_hangup_hook=lua app.lua hangup) 2016-09-20 17:37:20.888079 [DEBUG] mod_dptools.c:1519 SET sofia/external/ 2505555555 at 456.456.456.456 [api_hangup_hook]=[lua app.lua hangup] EXECUTE sofia/external/2505555555 at 456.456.456.456 bridge(user/ 2001 at sipa.test.com) 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1250 sofia/external/ 2505555555 at 456.456.456.456 EXPORTING[export_vars] [dialed_extension]=[2001] to event 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1250 sofia/external/ 2505555555 at 456.456.456.456 EXPORTING[export_vars] [dialed_extension]=[2001] to event 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1250 sofia/external/ 2505555555 at 456.456.456.456 EXPORTING[export_vars] [origination_callee_id_name]=[2001] to event 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1250 sofia/external/ 2505555555 at 456.456.456.456 EXPORTING[export_vars] [origination_callee_id_name]=[2001] to event 2016-09-20 17:37:20.888079 [DEBUG] switch_ivr_originate.c:2138 Parsing global variables 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1250 sofia/external/ 2505555555 at 456.456.456.456 EXPORTING[export_vars] [dialed_extension]=[2001] to event 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1250 sofia/external/ 2505555555 at 456.456.456.456 EXPORTING[export_vars] [dialed_extension]=[2001] to event 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1250 sofia/external/ 2505555555 at 456.456.456.456 EXPORTING[export_vars] [origination_callee_id_name]=[2001] to event 2016-09-20 17:37:20.888079 [DEBUG] switch_channel.c:1250 sofia/external/ 2505555555 at 456.456.456.456 EXPORTING[export_vars] [origination_callee_id_name]=[2001] to event 2016-09-20 17:37:20.888079 [DEBUG] switch_ivr_originate.c:2138 Parsing global variables 2016-09-20 17:37:20.888079 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/2001 at 72.143.224.138:20365 [8e7f1640-7f93-11e6-a766- 79c835def150] 2016-09-20 17:37:20.888079 [DEBUG] mod_sofia.c:4753 (sofia/internal/ 2001 at 72.143.224.138:20365) State Change CS_NEW -> CS_INIT 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_INIT 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:586 (sofia/internal/2001 at 72.143.224.138:20365) State INIT 2016-09-20 17:37:20.888079 [DEBUG] mod_sofia.c:90 sofia/internal/ 2001 at 72.143.224.138:20365 SOFIA INIT 2016-09-20 17:37:20.888079 [DEBUG] sofia_glue.c:1282 sofia/internal/ 2001 at 72.143.224.138:20365 sending invite version: 1.7.0 git 7258a24 2016-09-13 18:17:51Z 64bit Local SDP: v=0 o=FreeSWITCH 1474397650 1474397651 IN IP4 123.123.123.123 s=FreeSWITCH c=IN IP4 123.123.123.123 t=0 0 m=audio 20590 RTP/AVP 0 9 8 3 101 13 a=rtpmap:0 PCMU/8000 a=rtpmap:9 G722/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:3 GSM/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 a=sendrecv 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:40 sofia/internal/2001 at 72.143.224.138:20365 Standard INIT 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/2001 at 72.143.224.138:20365) State Change CS_INIT -> CS_ROUTING 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:586 (sofia/internal/2001 at 72.143.224.138:20365) State INIT going to sleep 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_ROUTING 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/2001 at 72.143.224.138:20365) State ROUTING 2016-09-20 17:37:20.888079 [DEBUG] mod_sofia.c:143 sofia/internal/ 2001 at 72.143.224.138:20365 SOFIA ROUTING 2016-09-20 17:37:20.888079 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/2001 at 72.143.224.138:20365) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/2001 at 72.143.224.138:20365) State ROUTING going to sleep 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_CONSUME_MEDIA 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:621 (sofia/internal/2001 at 72.143.224.138:20365) State CONSUME_MEDIA 2016-09-20 17:37:20.888079 [DEBUG] switch_core_state_machine.c:621 (sofia/internal/2001 at 72.143.224.138:20365) State CONSUME_MEDIA going to sleep 2016-09-20 17:37:20.888079 [DEBUG] sofia.c:6963 Channel sofia/internal/ 2001 at 72.143.224.138:20365 entering state [calling][0] 2016-09-20 17:37:22.228117 [DEBUG] sofia.c:6963 Channel sofia/internal/ 2001 at 72.143.224.138:20365 entering state [proceeding][180] 2016-09-20 17:37:22.228117 [NOTICE] sofia.c:7071 Ring-Ready sofia/internal/ 2001 at 72.143.224.138:20365! 2016-09-20 17:37:22.228117 [DEBUG] switch_channel.c:3343 (sofia/internal/ 2001 at 72.143.224.138:20365) Callstate Change DOWN -> RINGING 2016-09-20 17:37:22.248125 [NOTICE] mod_sofia.c:2216 Ring-Ready sofia/external/2505555555 at 456.456.456.456! 2016-09-20 17:37:22.248125 [DEBUG] sofia.c:6963 Channel sofia/external/ 2505555555 at 456.456.456.456 entering state [early][180] 2016-09-20 17:37:22.248125 [NOTICE] switch_ivr_originate.c:525 Ring Ready sofia/external/2505555555 at 456.456.456.456! 2016-09-20 17:37:23.828155 [DEBUG] sofia.c:6963 Channel sofia/internal/ 2001 at 72.143.224.138:20365 entering state [completing][200] 2016-09-20 17:37:23.828155 [DEBUG] sofia.c:6973 Remote SDP: v=0 o=Zoiper 0 1 IN IP4 25.171.247.182 s=Zoiper c=IN IP4 25.171.247.182 t=0 0 m=audio 54200 RTP/AVP 0 3 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 2016-09-20 17:37:23.828155 [DEBUG] sofia.c:6963 Channel sofia/internal/ 2001 at 72.143.224.138:20365 entering state [ready][200] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4336 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4336 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4336 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4197 Set telephone-event payload to 101 at 8000 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:3017 Set Codec sofia/internal/2001 at 72.143.224.138:20365 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2016-09-20 17:37:23.848111 [DEBUG] switch_core_codec.c:111 sofia/internal/ 2001 at 72.143.224.138:20365 Original read codec set to PCMU:0 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4542 Set telephone-event payload to 101 at 8000 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:4601 sofia/internal/ 2001 at 72.143.224.138:20365 Set 2833 dtmf send payload to 101 recv payload to 101 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:6438 AUDIO RTP [sofia/internal/2001 at 72.143.224.138:20365] 123.123.123.123 port 20590 -> 25.171.247.182 port 54200 codec: 0 ms: 20 2016-09-20 17:37:23.848111 [DEBUG] switch_rtp.c:3838 Starting timer [soft] 160 bytes per 20ms 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:6737 sofia/internal/ 2001 at 72.143.224.138:20365 Set 2833 dtmf send payload to 101 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:6744 sofia/internal/ 2001 at 72.143.224.138:20365 Set 2833 dtmf receive payload to 101 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:6767 sofia/internal/ 2001 at 72.143.224.138:20365 Set rtp dtmf delay to 40 2016-09-20 17:37:23.848111 [NOTICE] sofia.c:8007 Channel [sofia/internal/ 2001 at 72.143.224.138:20365] has been answered 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:6438 AUDIO RTP [sofia/external/2505555555 at 456.456.456.456] 123.123.123.123 port 30642 -> 456.456.456.456 port 19772 codec: 0 ms: 20 2016-09-20 17:37:23.848111 [DEBUG] switch_rtp.c:3838 Starting timer [soft] 160 bytes per 20ms 2016-09-20 17:37:23.848111 [DEBUG] switch_channel.c:3770 (sofia/internal/ 2001 at 72.143.224.138:20365) Callstate Change RINGING -> ACTIVE 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:6737 sofia/external/ 2505555555 at 456.456.456.456 Set 2833 dtmf send payload to 101 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:6744 sofia/external/ 2505555555 at 456.456.456.456 Set 2833 dtmf receive payload to 101 2016-09-20 17:37:23.848111 [DEBUG] switch_core_media.c:6767 sofia/external/ 2505555555 at 456.456.456.456 Set rtp dtmf delay to 40 2016-09-20 17:37:23.848111 [DEBUG] mod_sofia.c:822 Local SDP sofia/external/ 2505555555 at 456.456.456.456: v=0 o=FreeSWITCH 1474387601 1474387602 IN IP4 123.123.123.123 s=FreeSWITCH c=IN IP4 123.123.123.123 t=0 0 m=audio 30642 RTP/AVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv 2016-09-20 17:37:23.848111 [NOTICE] switch_ivr_originate.c:3628 Channel [sofia/external/2505555555 at 456.456.456.456] has been answered 2016-09-20 17:37:23.848111 [DEBUG] switch_channel.c:3770 (sofia/external/ 2505555555 at 456.456.456.456) Callstate Change RINGING -> ACTIVE 2016-09-20 17:37:23.848111 [DEBUG] sofia.c:6963 Channel sofia/external/ 2505555555 at 456.456.456.456 entering state [completed][200] 2016-09-20 17:37:23.848111 [DEBUG] switch_ivr_originate.c:3686 Originate Resulted in Success: [sofia/internal/2001 at 72.143.224.138:20365] 2016-09-20 17:37:23.848111 [DEBUG] switch_ivr_originate.c:3686 Originate Resulted in Success: [sofia/internal/2001 at 72.143.224.138:20365] 2016-09-20 17:37:23.848111 [DEBUG] switch_ivr_bridge.c:1599 (sofia/internal/ 2001 at 72.143.224.138:20365) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2016-09-20 17:37:23.848111 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_EXCHANGE_MEDIA 2016-09-20 17:37:23.848111 [DEBUG] switch_core_state_machine.c:612 (sofia/internal/2001 at 72.143.224.138:20365) State EXCHANGE_MEDIA 2016-09-20 17:37:23.848111 [DEBUG] mod_sofia.c:631 SOFIA EXCHANGE_MEDIA 2016-09-20 17:37:23.848111 [DEBUG] sofia.c:6963 Channel sofia/external/ 2505555555 at 456.456.456.456 entering state [ready][200] 2016-09-20 17:37:24.028124 [DEBUG] switch_rtp.c:6739 Correct audio ip/port confirmed. 2016-09-20 17:37:24.128112 [INFO] switch_rtp.c:6701 Auto Changing audio port from 25.171.247.182:54200 to 72.143.224.138:20373 2016-09-20 17:37:26.348133 [DEBUG] switch_rtp.c:6962 RTP RECV DTMF 8:960 2016-09-20 17:37:26.348133 [INFO] switch_channel.c:515 RECV DTMF 8:960 2016-09-20 17:37:26.348133 [DEBUG] mod_dptools.c:132 sofia/internal/ 2001 at 72.143.224.138:20365 Digit NOT match binding [8] 2016-09-20 17:37:26.348133 [INFO] switch_channel.c:515 RECV DTMF 8:2000 2016-09-20 17:37:26.348133 [DEBUG] switch_channel.c:611 sofia/internal/ 2001 at 72.143.224.138:20365 Queue dtmf digit=8 ms=250 samples=2000 2016-09-20 17:37:26.348133 [DEBUG] switch_rtp.c:4943 Send start packet for [8] ts=2079523031 dur=160/160/2000 seq=62866 lw=2079523031 2016-09-20 17:37:26.368123 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=320/320/2000 seq=62867 lw=2079523191 2016-09-20 17:37:26.388127 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=480/480/2000 seq=62868 lw=2079523351 2016-09-20 17:37:26.388127 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=640/640/2000 seq=62869 lw=2079523511 2016-09-20 17:37:26.388127 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=800/800/2000 seq=62870 lw=2079523671 2016-09-20 17:37:26.388127 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=960/960/2000 seq=62871 lw=2079523831 2016-09-20 17:37:26.428078 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=1120/1120/2000 seq=62872 lw=2079523991 2016-09-20 17:37:26.448180 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=1280/1280/2000 seq=62873 lw=2079524151 2016-09-20 17:37:26.448180 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=1440/1440/2000 seq=62874 lw=2079524311 2016-09-20 17:37:26.488089 [DEBUG] switch_rtp.c:6962 RTP RECV DTMF 8:960 2016-09-20 17:37:26.488089 [INFO] switch_channel.c:515 RECV DTMF 8:960 2016-09-20 17:37:26.488089 [DEBUG] mod_dptools.c:132 sofia/internal/ 2001 at 72.143.224.138:20365 Digit NOT match binding [8] 2016-09-20 17:37:26.488089 [INFO] switch_channel.c:515 RECV DTMF 8:2000 2016-09-20 17:37:26.488089 [DEBUG] switch_channel.c:611 sofia/internal/ 2001 at 72.143.224.138:20365 Queue dtmf digit=8 ms=250 samples=2000 2016-09-20 17:37:26.488089 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=1600/1600/2000 seq=62875 lw=2079524471 2016-09-20 17:37:26.508075 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=1760/1760/2000 seq=62876 lw=2079524631 2016-09-20 17:37:26.508075 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079523031 dur=1920/1920/2000 seq=62877 lw=2079524791 2016-09-20 17:37:26.528109 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079523031 dur=2080/2080/2000 seq=62878 lw=2079524791 2016-09-20 17:37:26.528109 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079523031 dur=2080/2080/2000 seq=62879 lw=2079524791 2016-09-20 17:37:26.528109 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079523031 dur=2080/2080/2000 seq=62880 lw=2079524791 2016-09-20 17:37:26.528109 [DEBUG] switch_rtp.c:4795 Queue digit delay of 40ms 2016-09-20 17:37:26.568142 [DEBUG] switch_rtp.c:4943 Send start packet for [8] ts=2079526071 dur=160/160/2000 seq=62883 lw=2079526071 2016-09-20 17:37:26.588110 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=320/320/2000 seq=62884 lw=2079526231 2016-09-20 17:37:26.588110 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=480/480/2000 seq=62885 lw=2079526391 2016-09-20 17:37:26.588110 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=640/640/2000 seq=62886 lw=2079526551 2016-09-20 17:37:26.628074 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=800/800/2000 seq=62887 lw=2079526711 2016-09-20 17:37:26.628074 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=960/960/2000 seq=62888 lw=2079526871 2016-09-20 17:37:26.648076 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=1120/1120/2000 seq=62889 lw=2079527031 2016-09-20 17:37:26.668076 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=1280/1280/2000 seq=62890 lw=2079527191 2016-09-20 17:37:26.688128 [DEBUG] switch_rtp.c:6962 RTP RECV DTMF 8:960 2016-09-20 17:37:26.688128 [INFO] switch_channel.c:515 RECV DTMF 8:960 2016-09-20 17:37:26.688128 [DEBUG] mod_dptools.c:132 sofia/internal/ 2001 at 72.143.224.138:20365 Digit NOT match binding [8] 2016-09-20 17:37:26.688128 [INFO] switch_channel.c:515 RECV DTMF 8:2000 2016-09-20 17:37:26.688128 [DEBUG] switch_channel.c:611 sofia/internal/ 2001 at 72.143.224.138:20365 Queue dtmf digit=8 ms=250 samples=2000 2016-09-20 17:37:26.688128 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=1440/1440/2000 seq=62891 lw=2079527351 2016-09-20 17:37:26.688128 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=1600/1600/2000 seq=62892 lw=2079527511 2016-09-20 17:37:26.728126 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=1760/1760/2000 seq=62893 lw=2079527671 2016-09-20 17:37:26.728126 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079526071 dur=1920/1920/2000 seq=62894 lw=2079527831 2016-09-20 17:37:26.728126 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079526071 dur=2080/2080/2000 seq=62895 lw=2079527831 2016-09-20 17:37:26.728126 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079526071 dur=2080/2080/2000 seq=62896 lw=2079527831 2016-09-20 17:37:26.728126 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079526071 dur=2080/2080/2000 seq=62897 lw=2079527831 2016-09-20 17:37:26.728126 [DEBUG] switch_rtp.c:4795 Queue digit delay of 40ms 2016-09-20 17:37:26.828141 [DEBUG] switch_rtp.c:6962 RTP RECV DTMF 8:960 2016-09-20 17:37:26.828141 [INFO] switch_channel.c:515 RECV DTMF 8:960 2016-09-20 17:37:26.828141 [DEBUG] mod_dptools.c:132 sofia/internal/ 2001 at 72.143.224.138:20365 Digit NOT match binding [8] 2016-09-20 17:37:26.828141 [INFO] switch_channel.c:515 RECV DTMF 8:2000 2016-09-20 17:37:26.828141 [DEBUG] switch_channel.c:611 sofia/internal/ 2001 at 72.143.224.138:20365 Queue dtmf digit=8 ms=250 samples=2000 2016-09-20 17:37:26.888119 [DEBUG] switch_rtp.c:4943 Send start packet for [8] ts=2079528951 dur=160/160/2000 seq=62900 lw=2079528951 2016-09-20 17:37:26.888119 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=320/320/2000 seq=62901 lw=2079529111 2016-09-20 17:37:26.928075 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=480/480/2000 seq=62902 lw=2079529271 2016-09-20 17:37:26.928075 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=640/640/2000 seq=62903 lw=2079529431 2016-09-20 17:37:26.948077 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=800/800/2000 seq=62904 lw=2079529591 2016-09-20 17:37:26.948077 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=960/960/2000 seq=62905 lw=2079529751 2016-09-20 17:37:26.968075 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=1120/1120/2000 seq=62906 lw=2079529911 2016-09-20 17:37:26.988075 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=1280/1280/2000 seq=62907 lw=2079530071 2016-09-20 17:37:27.008076 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=1440/1440/2000 seq=62908 lw=2079530231 2016-09-20 17:37:27.028074 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=1600/1600/2000 seq=62909 lw=2079530391 2016-09-20 17:37:27.028074 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=1760/1760/2000 seq=62910 lw=2079530551 2016-09-20 17:37:27.048076 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079528951 dur=1920/1920/2000 seq=62911 lw=2079530711 2016-09-20 17:37:27.048076 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079528951 dur=2080/2080/2000 seq=62912 lw=2079530711 2016-09-20 17:37:27.048076 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079528951 dur=2080/2080/2000 seq=62913 lw=2079530711 2016-09-20 17:37:27.048076 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079528951 dur=2080/2080/2000 seq=62914 lw=2079530711 2016-09-20 17:37:27.048076 [DEBUG] switch_rtp.c:4795 Queue digit delay of 40ms 2016-09-20 17:37:27.088092 [DEBUG] switch_rtp.c:4943 Send start packet for [8] ts=2079530551 dur=160/160/2000 seq=62917 lw=2079530551 2016-09-20 17:37:27.108125 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=320/320/2000 seq=62918 lw=2079530711 2016-09-20 17:37:27.128106 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=480/480/2000 seq=62919 lw=2079530871 2016-09-20 17:37:27.128106 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=640/640/2000 seq=62920 lw=2079531031 2016-09-20 17:37:27.128106 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=800/800/2000 seq=62921 lw=2079531191 2016-09-20 17:37:27.128106 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=960/960/2000 seq=62922 lw=2079531351 2016-09-20 17:37:27.168076 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=1120/1120/2000 seq=62923 lw=2079531511 2016-09-20 17:37:27.188127 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=1280/1280/2000 seq=62924 lw=2079531671 2016-09-20 17:37:27.188127 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=1440/1440/2000 seq=62925 lw=2079531831 2016-09-20 17:37:27.228074 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=1600/1600/2000 seq=62926 lw=2079531991 2016-09-20 17:37:27.248076 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=1760/1760/2000 seq=62927 lw=2079532151 2016-09-20 17:37:27.248076 [DEBUG] switch_rtp.c:4842 Send middle packet for [8] ts=2079530551 dur=1920/1920/2000 seq=62928 lw=2079532311 2016-09-20 17:37:27.268080 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079530551 dur=2080/2080/2000 seq=62929 lw=2079532311 2016-09-20 17:37:27.268080 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079530551 dur=2080/2080/2000 seq=62930 lw=2079532311 2016-09-20 17:37:27.268080 [DEBUG] switch_rtp.c:4842 Send end packet for [8] ts=2079530551 dur=2080/2080/2000 seq=62931 lw=2079532311 2016-09-20 17:37:27.268080 [DEBUG] switch_rtp.c:4795 Queue digit delay of 40ms freeswitch at fusion> SERVER B freeswitch at fusion> sofia recover Recovered 2 call(s) 2016-09-20 17:37:35.289629 [NOTICE] switch_channel.c:1104 New Channel sofia/external/2505555555 at 456.456.456.456 [8e70d2d8-7f93-11e6-a71d- 79c835def150] 2016-09-20 17:37:35.289629 [NOTICE] switch_channel.c:1102 Rename Channel sofia/external/2505555555 at 456.456.456.456->sofia/external/2505555555 at 456.456.456.456 [8e70d2d8-7f93-11e6-a71d-79c835def150] 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:3017 Set Codec sofia/external/2505555555 at 456.456.456.456 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2016-09-20 17:37:35.289629 [DEBUG] switch_core_codec.c:111 sofia/external/ 2505555555 at 456.456.456.456 Original read codec set to PCMU:0 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6438 AUDIO RTP [sofia/external/2505555555 at 456.456.456.456] 123.123.123.123 port 30642 -> 456.456.456.456 port 19772 codec: 0 ms: 20 2016-09-20 17:37:35.289629 [DEBUG] switch_rtp.c:3838 Starting timer [soft] 160 bytes per 20ms 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6737 sofia/external/ 2505555555 at 456.456.456.456 Set 2833 dtmf send payload to 101 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6744 sofia/external/ 2505555555 at 456.456.456.456 Set 2833 dtmf receive payload to 101 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6767 sofia/external/ 2505555555 at 456.456.456.456 Set rtp dtmf delay to 40 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6773 Set comfort noise payload to 13 2016-09-20 17:37:35.289629 [DEBUG] switch_core_sqldb.c:3036 (sofia/external/ 2505555555 at 456.456.456.456) State Change CS_NEW -> CS_INIT 2016-09-20 17:37:35.289629 [NOTICE] switch_core_sqldb.c:3037 Resurrecting fallen channel sofia/external/2505555555 at 456.456.456.456 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_INIT 2016-09-20 17:37:35.289629 [DEBUG] switch_channel.c:2251 (sofia/external/ 2505555555 at 456.456.456.456) Callstate Change DOWN -> ACTIVE 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:586 (sofia/external/2505555555 at 456.456.456.456) State INIT 2016-09-20 17:37:35.289629 [DEBUG] mod_sofia.c:90 sofia/external/2505555555 @456.456.456.456 SOFIA INIT 2016-09-20 17:37:35.289629 [DEBUG] sofia_glue.c:1282 sofia/external/ 2505555555 at 456.456.456.456 sending invite version: 1.7.0 git 7258a24 2016-09-13 18:17:51Z 64bit Local SDP: v=0 o=FreeSWITCH 1474387613 1474387615 IN IP4 123.123.123.123 s=FreeSWITCH c=IN IP4 123.123.123.123 t=0 0 m=audio 30642 RTP/AVP 0 101 13 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=rtpmap:13 CN/0 a=ptime:20 a=sendrecv 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:40 sofia/external/2505555555 at 456.456.456.456 Standard INIT 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:43 (sofia/external/2505555555 at 456.456.456.456) State Change CS_INIT -> CS_RESET send 1123 bytes to udp/[456.456.456.456]:5060 at 17:37:35.295527: ------------------------------------------------------------------------ INVITE sip:2505555555 at 456.456.456.456:5060 SIP/2.0 Via: SIP/2.0/UDP 123.123.123.123:5080;rport;branch=z9hG4bKr2jctgUFrDmpK Route: Max-Forwards: 69 From: ;tag=28mBjg3pvH3SK To: "SOKAMLOOPS BC " ;tag=as755f2144 Call-ID: 3a3825c20a395c2f02a629bd22ef969c at 456.456.456.456:5060 CSeq: 96873063 INVITE Contact: User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY Supported: timer, path, replaces Allow-Events: talk, hold, conference, refer Content-Type: application/sdp e Content-Disposition: session Content-Length: 244 X-FS-Support: update_display,send_info Remote-Party-ID: "7786962265" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1474387613 1474387615 IN IP4 123.123.123.123 s=FreeSWITCH c=IN IP4 123.123.123.123 t=0 0 m=audio 30642 RTP/AVP 0 101 13 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=rtpmap:13 CN/0 a=ptime:20 ------------------------------------------------------------------------ 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:586 (sofia/external/2505555555 at 456.456.456.456) State INIT going to sleep 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_RESET 2016-09-20 17:37:35.289629 [DEBUG] sofia.c:6963 Channel sofia/external/ 2505555555 at 456.456.456.456 entering state [calling][0] 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:605 (sofia/external/2505555555 at 456.456.456.456) State RESET 2016-09-20 17:37:35.289629 [DEBUG] mod_sofia.c:161 sofia/external/2505555555 @456.456.456.456 SOFIA RESET 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:188 sofia/external/2505555555 at 456.456.456.456 Standard RESET 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:605 (sofia/external/2505555555 at 456.456.456.456) State RESET going to sleep 2016-09-20 17:37:35.289629 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/2001 at 72.143.224.138:20365 [8e7f1640-7f93-11e6-a766- 79c835def150] 2016-09-20 17:37:35.289629 [NOTICE] switch_channel.c:1102 Rename Channel sofia/internal/2001 at 72.143.224.138:20365->sofia/internal/ 2001 at 72.143.224.138:20365 [8e7f1640-7f93-11e6-a766-79c835def150] 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:3017 Set Codec sofia/internal/2001 at 72.143.224.138:20365 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2016-09-20 17:37:35.289629 [DEBUG] switch_core_codec.c:111 sofia/internal/ 2001 at 72.143.224.138:20365 Original read codec set to PCMU:0 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6438 AUDIO RTP [sofia/internal/2001 at 72.143.224.138:20365] 123.123.123.123 port 20590 -> 25.171.247.182 port 54200 codec: 0 ms: 20 2016-09-20 17:37:35.289629 [DEBUG] switch_rtp.c:3838 Starting timer [soft] 160 bytes per 20ms 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6737 sofia/internal/ 2001 at 72.143.224.138:20365 Set 2833 dtmf send payload to 101 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6744 sofia/internal/ 2001 at 72.143.224.138:20365 Set 2833 dtmf receive payload to 101 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6767 sofia/internal/ 2001 at 72.143.224.138:20365 Set rtp dtmf delay to 40 2016-09-20 17:37:35.289629 [DEBUG] switch_core_media.c:6773 Set comfort noise payload to 13 2016-09-20 17:37:35.289629 [DEBUG] switch_core_sqldb.c:3036 (sofia/internal/ 2001 at 72.143.224.138:20365) State Change CS_NEW -> CS_INIT 2016-09-20 17:37:35.289629 [NOTICE] switch_core_sqldb.c:3037 Resurrecting fallen channel sofia/internal/2001 at 72.143.224.138:20365 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_INIT 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:586 (sofia/internal/2001 at 72.143.224.138:20365) State INIT 2016-09-20 17:37:35.289629 [DEBUG] mod_sofia.c:90 sofia/internal/ 2001 at 72.143.224.138:20365 SOFIA INIT 2016-09-20 17:37:35.289629 [DEBUG] sofia_glue.c:1282 sofia/internal/ 2001 at 72.143.224.138:20365 sending invite version: 1.7.0 git 7258a24 2016-09-13 18:17:51Z 64bit Local SDP: v=0 o=FreeSWITCH 1474397665 1474397667 IN IP4 123.123.123.123 s=FreeSWITCH c=IN IP4 123.123.123.123 t=0 0 m=audio 20590 RTP/AVP 0 101 13 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=rtpmap:13 CN/0 a=ptime:20 a=sendrecv 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:40 sofia/internal/2001 at 72.143.224.138:20365 Standard INIT 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:43 (sofia/internal/2001 at 72.143.224.138:20365) State Change CS_INIT -> CS_RESET send 1323 bytes to udp/[72.143.224.138]:20365 at 17:37:35.299037: ------------------------------------------------------------------------ INVITE sip:2001 at 72.143.224.138:20365;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 123.123.123.123;rport;branch=z9hG4bK0DU6aXj2FvHBp Via: SIP/2.0/UDP 123.123.123.123;rport=5060;branch=z9hG4bKvXKtj06r89vca Max-Forwards: 68 From: "SOKAMLOOPS BC " ;tag=vDHFU74UXyNmS To: ;tag=14496d0a Call-ID: 65dd6ddc-fa36-1234-b68d-1803730b83c5 CSeq: 96873063 INVITE Contact: User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 244 X-FS-Support: update_display,send_info Remote-Party-ID: "SOKAMLOOPS BC " ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1474397665 1474397667 IN IP4 123.123.123.123 s=FreeSWITCH c=IN IP4 123.123.123.123 t=0 0 m=audio 20590 RTP/AVP 0 101 13 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/0 a=fmtp:101 0-16 a=rtpmap:13 CN/0 a=ptime:20 ------------------------------------------------------------------------ 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:586 (sofia/internal/2001 at 72.143.224.138:20365) State INIT going to sleep 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_RESET 2016-09-20 17:37:35.289629 [DEBUG] sofia.c:6963 Channel sofia/internal/ 2001 at 72.143.224.138:20365 entering state [calling][0] 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:605 (sofia/internal/2001 at 72.143.224.138:20365) State RESET 2016-09-20 17:37:35.289629 [DEBUG] mod_sofia.c:161 sofia/internal/ 2001 at 72.143.224.138:20365 SOFIA RESET 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:188 sofia/internal/2001 at 72.143.224.138:20365 Standard RESET 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:605 (sofia/internal/2001 at 72.143.224.138:20365) State RESET going to sleep recv 520 bytes from udp/[456.456.456.456]:5060 at 17:37:35.303679: ------------------------------------------------------------------------ SIP/2.0 481 Call/Transaction Does Not Exist Via: SIP/2.0/UDP 123.123.123.123:5080;branch= z9hG4bKr2jctgUFrDmpK;received=123.123.123.123;rport=5080 From: ;tag=28mBjg3pvH3SK To: "SOKAMLOOPS BC " ;tag=as755f2144 Call-ID: 3a3825c20a395c2f02a629bd22ef969c at 456.456.456.456:5060 CSeq: 96873063 INVITE Server: Itelnetworks Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces Content-Length: 0 ------------------------------------------------------------------------ send 430 bytes to udp/[456.456.456.456]:5060 at 17:37:35.303739: ------------------------------------------------------------------------ ACK sip:2505555555 at 456.456.456.456:5060 SIP/2.0 Via: SIP/2.0/UDP 123.123.123.123:5080;rport;branch=z9hG4bKr2jctgUFrDmpK Route: Max-Forwards: 69 From: ;tag=28mBjg3pvH3SK To: "SOKAMLOOPS BC " ;tag=as755f2144 Call-ID: 3a3825c20a395c2f02a629bd22ef969c at 456.456.456.456:5060 CSeq: 96873063 ACK Content-Length: 0 ------------------------------------------------------------------------ 2016-09-20 17:37:35.289629 [DEBUG] sofia.c:6963 Channel sofia/external/ 2505555555 at 456.456.456.456 entering state [terminated][481] 2016-09-20 17:37:35.289629 [NOTICE] sofia.c:8062 Hangup sofia/external/ 2505555555 at 456.456.456.456 [CS_RESET] [NORMAL_TEMPORARY_FAILURE] 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_HANGUP 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:809 (sofia/external/2505555555 at 456.456.456.456) Callstate Change ACTIVE -> HANGUP 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:811 (sofia/external/2505555555 at 456.456.456.456) State HANGUP 2016-09-20 17:37:35.289629 [DEBUG] mod_sofia.c:438 Channel sofia/external/ 2505555555 at 456.456.456.456 hanging up, cause: NORMAL_TEMPORARY_FAILURE 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:60 sofia/external/2505555555 at 456.456.456.456 Standard HANGUP, cause: NORMAL_TEMPORARY_FAILURE 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:811 (sofia/external/2505555555 at 456.456.456.456) State HANGUP going to sleep 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:742 Hangup Command with no Session lua(app.lua hangup): 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:578 (sofia/external/2505555555 at 456.456.456.456) State Change CS_HANGUP -> CS_REPORTING 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:543 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_REPORTING 2016-09-20 17:37:35.289629 [DEBUG] switch_core_state_machine.c:897 (sofia/external/2505555555 at 456.456.456.456) State REPORTING 2016-09-20 17:37:35.329553 [DEBUG] switch_core_state_machine.c:174 sofia/external/2505555555 at 456.456.456.456 Standard REPORTING, cause: NORMAL_TEMPORARY_FAILURE 2016-09-20 17:37:35.329553 [DEBUG] switch_core_state_machine.c:897 (sofia/external/2505555555 at 456.456.456.456) State REPORTING going to sleep 2016-09-20 17:37:35.329553 [DEBUG] switch_core_state_machine.c:569 (sofia/external/2505555555 at 456.456.456.456) State Change CS_REPORTING -> CS_DESTROY 2016-09-20 17:37:35.329553 [DEBUG] switch_core_session.c:1647 Session 5 (sofia/external/2505555555 at 456.456.456.456) Locked, Waiting on external entities 2016-09-20 17:37:35.329553 [NOTICE] switch_core_session.c:1665 Session 5 (sofia/external/2505555555 at 456.456.456.456) Ended 2016-09-20 17:37:35.329553 [NOTICE] switch_core_session.c:1669 Close Channel sofia/external/2505555555 at 456.456.456.456 [CS_DESTROY] 2016-09-20 17:37:35.329553 [DEBUG] switch_core_state_machine.c:700 (sofia/external/2505555555 at 456.456.456.456) Running State Change CS_DESTROY 2016-09-20 17:37:35.329553 [DEBUG] switch_core_state_machine.c:710 (sofia/external/2505555555 at 456.456.456.456) State DESTROY 2016-09-20 17:37:35.329553 [DEBUG] mod_sofia.c:343 sofia/external/2505555555 @456.456.456.456 SOFIA DESTROY 2016-09-20 17:37:35.329553 [DEBUG] switch_core_state_machine.c:181 sofia/external/2505555555 at 456.456.456.456 Standard DESTROY 2016-09-20 17:37:35.329553 [DEBUG] switch_core_state_machine.c:710 (sofia/external/2505555555 at 456.456.456.456) State DESTROY going to sleep recv 824 bytes from udp/[72.143.224.138]:20365 at 17:37:35.371629: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 123.123.123.123;rport=5060;branch=z9hG4bK0DU6aXj2FvHBp Via: SIP/2.0/UDP 123.123.123.123;rport=5060;branch=z9hG4bKvXKtj06r89vca Contact: To: ;tag=14496d0a From: "SOKAMLOOPS BC " ;tag=vDHFU74UXyNmS Call-ID: 65dd6ddc-fa36-1234-b68d-1803730b83c5 CSeq: 96873063 INVITE Content-Type: application/sdp User-Agent: Zoiper rv2.8.6 Allow-Events: presence, kpml, talk Content-Length: 245 v=0 o=Zoiper 0 2 IN IP4 25.171.247.182 s=Zoiper c=IN IP4 25.171.247.182 t=0 0 m=audio 54200 RTP/AVP 0 3 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=sendrecv ------------------------------------------------------------------------ 2016-09-20 17:37:35.369573 [DEBUG] sofia.c:6963 Channel sofia/internal/ 2001 at 72.143.224.138:20365 entering state [completing][200] 2016-09-20 17:37:35.369573 [DEBUG] sofia.c:6973 Remote SDP: v=0 o=Zoiper 0 2 IN IP4 25.171.247.182 s=Zoiper c=IN IP4 25.171.247.182 t=0 0 m=audio 54200 RTP/AVP 0 3 8 101 a=rtpmap:0 PCMU/8000 a=rtpmap:3 GSM/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 send 446 bytes to udp/[72.143.224.138]:20365 at 17:37:35.373931: ------------------------------------------------------------------------ ACK sip:2001 at 72.143.224.138:20365;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 123.123.123.123;rport;branch=z9hG4bK1pmZcr35c57XH Max-Forwards: 70 From: "SOKAMLOOPS BC " ;tag=vDHFU74UXyNmS To: ;tag=14496d0a Call-ID: 65dd6ddc-fa36-1234-b68d-1803730b83c5 CSeq: 96873063 ACK Contact: Content-Length: 0 ------------------------------------------------------------------------ 2016-09-20 17:37:35.369573 [DEBUG] sofia.c:6963 Channel sofia/internal/ 2001 at 72.143.224.138:20365 entering state [ready][200] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4336 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [GSM:3:8000:20:13200:1]/[GSM:3:8000:20:13200:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4336 Audio Codec Compare [GSM:3:8000:20:13200:1] ++++ is saved as a match 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4336 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4281 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4197 Set telephone-event payload to 101 at 8000 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4542 Set telephone-event payload to 101 at 8000 2016-09-20 17:37:35.369573 [DEBUG] switch_core_media.c:4601 sofia/internal/ 2001 at 72.143.224.138:20365 Set 2833 dtmf send payload to 101 recv payload to 101 recv 804 bytes from udp/[72.143.224.138]:20365 at 17:37:56.351865: ------------------------------------------------------------------------ REGISTER sip:sipa.test.com;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 72.143.224.138:20365;branch=z9hG4bK-524287-1--- b9edf472a8bb6736;rport Max-Forwards: 70 Contact: To: From: ;tag=485b613a Call-ID: Zp_dAlhQHhOnxlCOqIOQSQ.. CSeq: 36 REGISTER Expires: 60 User-Agent: Zoiper rv2.8.6 Authorization: Digest username="2001",realm="sipa.test.com ",nonce="835df416-7f93-11e6-828d-059a9340be7a",uri="sip:sipa.test.com; transport=UDP",response="a871aaeeeb8e395bd25baa2bc35e1f85",cnonce=" b671a0e31b5669bb233523be0b0c5a2a",nc=00000002,qop=auth,algorithm=MD5 Allow-Events: presence, kpml, talk Content-Length: 0 ------------------------------------------------------------------------ 2016-09-20 17:37:56.349627 [WARNING] sofia_reg.c:1791 SIP auth challenge (REGISTER) on sofia profile 'internal' for [2001 at sipa.test.com] from ip 72.143.224.138 send 644 bytes to udp/[72.143.224.138]:20365 at 17:37:56.354596: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 72.143.224.138:20365;branch=z9hG4bK-524287-1--- b9edf472a8bb6736;rport=20365 From: ;tag=485b613a To: ;tag=XZrpgyy7gUc8m Call-ID: Zp_dAlhQHhOnxlCOqIOQSQ.. CSeq: 36 REGISTER User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces WWW-Authenticate: Digest realm="sipa.test.com", nonce="a3a0e382-7f93-11e6-8291-059a9340be7a", stale=true, algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 804 bytes from udp/[72.143.224.138]:20365 at 17:37:56.403816: ------------------------------------------------------------------------ REGISTER sip:sipa.test.com;transport=UDP SIP/2.0 Via: SIP/2.0/UDP 72.143.224.138:20365;branch=z9hG4bK-524287-1--- 2143d80bb83fa0aa;rport Max-Forwards: 70 Contact: To: From: ;tag=485b613a Call-ID: Zp_dAlhQHhOnxlCOqIOQSQ.. CSeq: 37 REGISTER Expires: 60 User-Agent: Zoiper rv2.8.6 Authorization: Digest username="2001",realm="sipa.test.com ",nonce="a3a0e382-7f93-11e6-8291-059a9340be7a",uri="sip:sipa.test.com; transport=UDP",response="0ee4450e941de381ecc6503656ab8a08",cnonce=" 577702d5d1c07839b64fecf4f308659f",nc=00000001,qop=auth,algorithm=MD5 Allow-Events: presence, kpml, talk Content-Length: 0 ------------------------------------------------------------------------ send 623 bytes to udp/[72.143.224.138]:20365 at 17:37:56.410869: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 72.143.224.138:20365;branch=z9hG4bK-524287-1--- 2143d80bb83fa0aa;rport=20365 From: ;tag=485b613a To: ;tag=y8HFjSFBe42tg Call-ID: Zp_dAlhQHhOnxlCOqIOQSQ.. CSeq: 37 REGISTER Contact: ;expires=60 Date: Wed, 21 Sep 2016 00:37:56 GMT User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Content-Length: 0 ------------------------------------------------------------------------ 2016-09-20 17:37:56.449557 [DEBUG] switch_pgsql.c:415 Query (select 1, read_flags, count(read_epoch) from voicemail_msgs where username='2001' and domain='sipa.test.com' and in_folder='inbox' and read_epoch=0 group by read_flags union select 0, read_flags, count(read_epoch) from voicemail_msgs where username='2001' and domain='sipa.test.com' and in_folder='inbox' and read_epoch<>0 group by read_flags;) returned PGRES_FATAL_ERROR 2016-09-20 17:37:56.449557 [ERR] switch_core_sqldb.c:1178 ERR: [select 1, read_flags, count(read_epoch) from voicemail_msgs where username='2001' and domain='sipa.test.com' and in_folder='inbox' and read_epoch=0 group by read_flags union select 0, read_flags, count(read_epoch) from voicemail_msgs where username='2001' and domain='sipa.test.com' and in_folder='inbox' and read_epoch<>0 group by read_flags;] [ERROR: relation "voicemail_msgs" does not exist LINE 1: select 1, read_flags, count(read_epoch) from voicemail_msgs ... ^ ] 2016-09-20 17:37:56.449557 [ERR] switch_core_sqldb.c:1178 ERR: [select 1, read_flags, count(read_epoch) from voicemail_msgs where username='2001' and domain='sipa.test.com' and in_folder='inbox' and read_epoch=0 group by read_flags union select 0, read_flags, count(read_epoch) from voicemail_msgs where username='2001' and domain='sipa.test.com' and in_folder='inbox' and read_epoch<>0 group by read_flags;] [ERROR: relation "voicemail_msgs" does not exist LINE 1: select 1, read_flags, count(read_epoch) from voicemail_msgs ... ^ ] send 933 bytes to udp/[72.143.224.138]:20365 at 17:37:56.452249: ------------------------------------------------------------------------ NOTIFY sip:2001 at 72.143.224.138:20365;transport=UDP;rinstance=d85e769961280fbc SIP/2.0 Via: SIP/2.0/UDP 123.123.123.123;rport;branch=z9hG4bK2ZDreKm99DygD Max-Forwards: 70 From: ;tag=ZHB8Km0eBDSDc To: Call-ID: 7b0e4a51-fa36-1234-008f-1803730b8a29 CSeq: 96873074 NOTIFY Contact: User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Event: message-summary Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Subscription-State: terminated;reason=noresource Content-Type: application/simple-message-summary Content-Length: 74 Messages-Waiting: no Message-Account: sip:2001 at sipa.test.com ------------------------------------------------------------------------ recv 342 bytes from udp/[72.143.224.138]:20365 at 17:37:56.495779: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 123.123.123.123;rport=5060;branch=z9hG4bK2ZDreKm99DygD Contact: To: ;tag=78ac3037 From: ;tag=ZHB8Km0eBDSDc Call-ID: 7b0e4a51-fa36-1234-008f-1803730b8a29 CSeq: 96873074 NOTIFY User-Agent: Zoiper rv2.8.6 Content-Length: 0 ------------------------------------------------------------------------ recv 402 bytes from udp/[456.456.456.456]:5060 at 17:38:16.100468: ------------------------------------------------------------------------ BYE sip:7786962265 at 123.123.123.123:5080;transport=udp SIP/2.0 Via: SIP/2.0/UDP 456.456.456.456:5060;branch=z9hG4bK0966e536;rport Max-Forwards: 70 From: "SOKAMLOOPS BC " ;tag=as755f2144 To: ;tag=FgXZ7SQvN5XQF Call-ID: 3a3825c20a395c2f02a629bd22ef969c at 456.456.456.456:5060 CSeq: 103 BYE User-Agent: Itelnetworks Content-Length: 0 ------------------------------------------------------------------------ send 481 bytes to udp/[456.456.456.456]:5060 at 17:38:16.100594: ------------------------------------------------------------------------ SIP/2.0 481 Call Does Not Exist Via: SIP/2.0/UDP 456.456.456.456:5060;branch=z9hG4bK0966e536;rport=5060 From: "SOKAMLOOPS BC " ;tag=as755f2144 To: ;tag=FgXZ7SQvN5XQF Call-ID: 3a3825c20a395c2f02a629bd22ef969c at 456.456.456.456:5060 CSeq: 103 BYE User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY Supported: timer, path, replaces Content-Length: 0 ------------------------------------------------------------------------ recv 487 bytes from udp/[72.143.224.138]:20365 at 17:38:18.222019: ------------------------------------------------------------------------ BYE sip:2001 at 123.123.123.123:5060 SIP/2.0 Via: SIP/2.0/UDP 72.143.224.138:20365;branch=z9hG4bK-524287-1--- 4e026360bb72799f;rport Max-Forwards: 70 Contact: To: "SOKAMLOOPS BC " ;tag=vDHFU74UXyNmS From: ;tag=14496d0a Call-ID: 65dd6ddc-fa36-1234-b68d-1803730b83c5 CSeq: 2 BYE User-Agent: Zoiper rv2.8.6 Content-Length: 0 ------------------------------------------------------------------------ 2016-09-20 17:38:18.209629 [NOTICE] sofia.c:1011 Hangup sofia/internal/ 2001 at 72.143.224.138:20365 [CS_RESET] [NORMAL_CLEARING] 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_HANGUP send 532 bytes to udp/[72.143.224.138]:20365 at 17:38:18.222838: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 72.143.224.138:20365;branch=z9hG4bK-524287-1--- 4e026360bb72799f;rport=20365 From: ;tag=14496d0a To: "SOKAMLOOPS BC " ;tag=vDHFU74UXyNmS Call-ID: 65dd6ddc-fa36-1234-b68d-1803730b83c5 CSeq: 2 BYE User-Agent: FreeSWITCH Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Content-Length: 0 ------------------------------------------------------------------------ 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:809 (sofia/internal/2001 at 72.143.224.138:20365) Callstate Change DOWN -> HANGUP 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/2001 at 72.143.224.138:20365) State HANGUP 2016-09-20 17:38:18.209629 [DEBUG] mod_sofia.c:432 sofia/internal/ 2001 at 72.143.224.138:20365 Overriding SIP cause 480 with 481 from the other leg 2016-09-20 17:38:18.209629 [DEBUG] mod_sofia.c:438 Channel sofia/internal/ 2001 at 72.143.224.138:20365 hanging up, cause: NORMAL_CLEARING 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:60 sofia/internal/2001 at 72.143.224.138:20365 Standard HANGUP, cause: NORMAL_CLEARING 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:811 (sofia/internal/2001 at 72.143.224.138:20365) State HANGUP going to sleep 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:578 (sofia/internal/2001 at 72.143.224.138:20365) State Change CS_HANGUP -> CS_REPORTING 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_REPORTING 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:897 (sofia/internal/2001 at 72.143.224.138:20365) State REPORTING 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:174 sofia/internal/2001 at 72.143.224.138:20365 Standard REPORTING, cause: NORMAL_CLEARING 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:897 (sofia/internal/2001 at 72.143.224.138:20365) State REPORTING going to sleep 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:569 (sofia/internal/2001 at 72.143.224.138:20365) State Change CS_REPORTING -> CS_DESTROY 2016-09-20 17:38:18.209629 [DEBUG] switch_core_session.c:1647 Session 6 (sofia/internal/2001 at 72.143.224.138:20365) Locked, Waiting on external entities 2016-09-20 17:38:18.209629 [NOTICE] switch_core_session.c:1665 Session 6 (sofia/internal/2001 at 72.143.224.138:20365) Ended 2016-09-20 17:38:18.209629 [NOTICE] switch_core_session.c:1669 Close Channel sofia/internal/2001 at 72.143.224.138:20365 [CS_DESTROY] 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:700 (sofia/internal/2001 at 72.143.224.138:20365) Running State Change CS_DESTROY 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:710 (sofia/internal/2001 at 72.143.224.138:20365) State DESTROY 2016-09-20 17:38:18.209629 [DEBUG] mod_sofia.c:343 sofia/internal/ 2001 at 72.143.224.138:20365 SOFIA DESTROY 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:181 sofia/internal/2001 at 72.143.224.138:20365 Standard DESTROY 2016-09-20 17:38:18.209629 [DEBUG] switch_core_state_machine.c:710 (sofia/internal/2001 at 72.143.224.138:20365) State DESTROY going to sleep recv 579 bytes from udp/[789.789.789.789]:5060 at 17:38:23.084830: ------------------------------------------------------------------------ OPTIONS sip:123.123.123.123 SIP/2.0 Via: SIP/2.0/UDP 789.789.789.789:5060;branch=z9hG4bK225c5987;rport Max-Forwards: 70 From: "Unknown" ;tag=as6a493bca To: Contact: Call-ID: 429157a261083a5c509facc67aa348df at 789.789.789.789:5060 CSeq: 102 OPTIONS User-Agent: Itelnetworks Date: Wed, 21 Sep 2016 00:38:23 GMT Session-Expires: 7200 Min-SE: 90 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces, timer Content-Length: 0 ------------------------------------------------------------------------ send 555 bytes to udp/[789.789.789.789]:5060 at 17:38:23.085328: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 789.789.789.789:5060;branch=z9hG4bK225c5987;rport=5060 From: "Unknown" ;tag=as6a493bca To: ;tag=3He4KBmtStScF Call-ID: 429157a261083a5c509facc67aa348df at 789.789.789.789:5060 CSeq: 102 OPTIONS Contact: User-Agent: FreeSWITCH Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY Supported: timer, path, replaces Allow-Events: talk, hold, conference, refer Content-Length: 0 ------------------------------------------------------------------------ recv 529 bytes from udp/[456.456.456.456]:5060 at 17:38:26.118048: ------------------------------------------------------------------------ OPTIONS sip:123.123.123.123 SIP/2.0 Via: SIP/2.0/UDP 456.456.456.456:5060;branch=z9hG4bK1e72e437;rport Max-Forwards: 70 From: "Unknown" ;tag=as3e625c42 To: Contact: Call-ID: 3853daf95e839ae9006385ce4562951b at 456.456.456.456:5060 CSeq: 102 OPTIONS User-Agent: Itelnetworks Date: Wed, 21 Sep 2016 00:38:26 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE Supported: replaces Content-Length: 0 ------------------------------------------------------------------------ send 549 bytes to udp/[456.456.456.456]:5060 at 17:38:26.118375: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 456.456.456.456:5060;branch=z9hG4bK1e72e437;rport=5060 From: "Unknown" ;tag=as3e625c42 To: ;tag=4t7vN64Xp3FZa Call-ID: 3853daf95e839ae9006385ce4562951b at 456.456.456.456:5060 CSeq: 102 OPTIONS Contact: User-Agent: FreeSWITCH Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY Supported: timer, path, replaces Allow-Events: talk, hold, conference, refer Content-Length: 0 ------------------------------------------------------------------------ -- *Tanner Kerr* | Junior Developer / Support Technician | *iTel.com * *1.888.899.4835 <1.888.899.4835> *(ext:1027) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160921/58ec0a23/attachment-0001.html From krice at freeswitch.org Thu Sep 22 18:21:46 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 22 Sep 2016 09:21:46 -0500 Subject: [Freeswitch-users] transcription module development In-Reply-To: References: <274A2DFD-8607-4F1C-9AAE-420130B18650@beachdognet.com> Message-ID: <0ae001d214dc$a71e30e0$f55a92a0$@freeswitch.org> If this is something you guys are interested in sponsoring let the FS team know! From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mirko Brankovic Sent: Thursday, September 22, 2016 9:00 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] transcription module development and on later stages you could make something like relatime translator :) app/module that would intercept audio from A side, Voice2Text it and play it in B side chosen language :D On Thu, Sep 22, 2016 at 3:44 PM, Ashwin Rath > wrote: We faced a similar issue with TTS while developing a IVR based self care service. We ended up customizing mod_say for our requirement and we are currently working on an ASR on the same lines. Interfacing with cloud service would certainly be a good idea. On 22 September 2016 at 19:06, Dave Horton > wrote: There are a bunch of cloud-based transcription services these days (Nuance, google, watson etc) that provide voice to text, and I am working on developing a freeswitch integration. It seems to me that they don?t fit quite precisely into the mod_asr framework as there is, for instance, no concept of a speech grammar. Just wondering from the freeswitch devs, whether they would recommend that this be implemented as an asr module anyways (i.e stub out and ignore grammar) or should it really be a new type of module. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Ashwin Kumar Rath _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/66fc7fba/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 164717 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/66fc7fba/attachment-0001.png From jurijs.ivolga at gmail.com Thu Sep 22 18:26:11 2016 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Thu, 22 Sep 2016 17:26:11 +0300 Subject: [Freeswitch-users] Legacy SBC replacement with Freeswitch In-Reply-To: References: Message-ID: Hi Richard, In Kamailio you can write CDRs to DB and from there you can exports CDRs in any format you need. Check below link: http://cdr-stats.readthedocs.io/en/latest/installation/ configure-kamailio.html Additionally Kamailio has GUI called Siremis, I didn't worked to much with it, but check maybe it can be used for exporting CDRs, even if not, it is open-source and you can add your own functionality to it. With kind regards, Jurijs On Wed, Sep 21, 2016 at 10:06 PM, Richard Gleason wrote: > The challenge is that Kamailio/OpenSIPS does not have a capability to > export CDR's to CSV. > > On Wed, Sep 21, 2016 at 10:52 AM, Christopher Rienzo > wrote: > >> Sounds like kamailio or opensips w/ rtpproxy would be better at that kind >> of load if your box doesn't need to do any media processing. >> >> On Wed, Sep 21, 2016 at 3:50 AM, Richard Gleason < >> rgleason at voipnetwork.net> wrote: >> >>> Good Morning, >>> >>> I have a task on my plate for some times, and need some help from this >>> list. >>> >>> I have to replace commercial SBC's that handle 40000 concurrent calls at >>> peak with Freeswitch. >>> >>> The challenge I have is a capacity planing and selecting right hardware >>> for FS. >>> >>> Little overview about setup: >>> 1. IP Authentication only, handled via Radius. >>> 2. Routing will be handled via remote SIP redirect server on avg we are >>> doing 1000 CPS to it. >>> 3. CDR's are written to CSV file that we download every 15 min and >>> process. >>> 4. Media proxy enabled, but codecs conversion is disabled. >>> >>> Please let me know how much CPU and RAM do I need to handle 10000 >>> concurrent calls (20000 call legs per box) and CPS is about 300 per box >>> will be. >>> >>> There will be no other applications running on the server or any other >>> modules straight up traffic switching only. >>> -- >>> Best Regards, >>> Richard Gleason >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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, > Richard Gleason > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/cf9eba08/attachment.html From mike at jerris.com Thu Sep 22 18:45:52 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Sep 2016 10:45:52 -0400 Subject: [Freeswitch-users] Building static freeswitch binary In-Reply-To: References: Message-ID: <888B3B3F-5D7A-4357-A69D-0DE59D4D49AB@jerris.com> > On Sep 22, 2016, at 6:16 AM, Alexandr Nikolaichev wrote: > > Hi! > > I need to build freeswitch binary with as much as possible compiled-in libraries. But I faced with some problems: > > 1) Configure script does not allow static linking. At least running ./configure with LDFLAGS="-Wl,static -lssl -lcrypto -Wl,dynamic" produces binary that depends on libssl.so and libcrypto.so I suspect that those are not available as static libs on the system? > 2) How can I build it without dependencies on libpng, libsqlite, and libpq? don?t ?need? libpng. You can force it not to use it by pushing the right things to autoconf or hiding the pc file, we don?t have an explicit configure arg to enable. video features won?t work without it do need libsqlite, no option to build without don?t need libpq unless you want explicit postgres support not through odbc ?disable-core-pgsql-support -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/16e5cbfc/attachment.html From mike at jerris.com Thu Sep 22 18:47:26 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Sep 2016 10:47:26 -0400 Subject: [Freeswitch-users] Freeswitch HA sofia recover failing In-Reply-To: References: Message-ID: Particularly for an issue like this, obfuscated logs are basically useless. > On Sep 21, 2016, at 1:04 PM, Tanner Kerr wrote: > > below are the logs from server a and b ips and dns obfuscated. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/c41c61bb/attachment.html From alexandr.nikolaichev at gmail.com Thu Sep 22 19:19:40 2016 From: alexandr.nikolaichev at gmail.com (Alexandr Nikolaichev) Date: Thu, 22 Sep 2016 18:19:40 +0300 Subject: [Freeswitch-users] Building static freeswitch binary In-Reply-To: <888B3B3F-5D7A-4357-A69D-0DE59D4D49AB@jerris.com> References: <888B3B3F-5D7A-4357-A69D-0DE59D4D49AB@jerris.com> Message-ID: --disable-core-pgsql-support doesn't work either. Binary still depends on libpq.so https://pastebin.freeswitch.org/view/41f04b5f 2016-09-22 17:45 GMT+03:00 Michael Jerris : > > On Sep 22, 2016, at 6:16 AM, Alexandr Nikolaichev < > alexandr.nikolaichev at gmail.com> wrote: > > Hi! > > I need to build freeswitch binary with as much as possible compiled-in > libraries. But I faced with some problems: > > 1) Configure script does not allow static linking. At least running > ./configure with LDFLAGS="-Wl,static -lssl -lcrypto -Wl,dynamic" produces > binary that depends on libssl.so and libcrypto.so > > > I suspect that those are not available as static libs on the system? > > 2) How can I build it without dependencies on libpng, libsqlite, and libpq? > > > don?t ?need? libpng. You can force it not to use it by pushing the right > things to autoconf or hiding the pc file, we don?t have an explicit > configure arg to enable. video features won?t work without it > do need libsqlite, no option to build without > don?t need libpq unless you want explicit postgres support not through odbc > > ?disable-core-pgsql-support > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ----------------- Regards Alexandr Nikolaichev alexandr.nikolaichev at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/f888ca77/attachment-0001.html From mike at jerris.com Thu Sep 22 19:28:17 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Sep 2016 11:28:17 -0400 Subject: [Freeswitch-users] Building static freeswitch binary In-Reply-To: References: <888B3B3F-5D7A-4357-A69D-0DE59D4D49AB@jerris.com> Message-ID: <275B78F6-0514-4BEA-B158-936702350A52@jerris.com> dig a bit on the linking link for libfreeswitch and figure out where its coming from? maybe its from our embedded apr-utils? might be able to hack in some more configure args to libs/apr-utils/configure.gnu to disable > On Sep 22, 2016, at 11:19 AM, Alexandr Nikolaichev wrote: > > --disable-core-pgsql-support doesn't work either. Binary still depends on libpq.so > > https://pastebin.freeswitch.org/view/41f04b5f > > 2016-09-22 17:45 GMT+03:00 Michael Jerris >: > >> On Sep 22, 2016, at 6:16 AM, Alexandr Nikolaichev > wrote: >> >> Hi! >> >> I need to build freeswitch binary with as much as possible compiled-in libraries. But I faced with some problems: >> >> 1) Configure script does not allow static linking. At least running ./configure with LDFLAGS="-Wl,static -lssl -lcrypto -Wl,dynamic" produces binary that depends on libssl.so and libcrypto.so > > I suspect that those are not available as static libs on the system? > >> 2) How can I build it without dependencies on libpng, libsqlite, and libpq? > > don?t ?need? libpng. You can force it not to use it by pushing the right things to autoconf or hiding the pc file, we don?t have an explicit configure arg to enable. video features won?t work without it > do need libsqlite, no option to build without > don?t need libpq unless you want explicit postgres support not through odbc > > ?disable-core-pgsql-support > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/eb6a055c/attachment.html From brian at freeswitch.org Thu Sep 22 20:24:21 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 22 Sep 2016 11:24:21 -0500 Subject: [Freeswitch-users] Freeswitch HA sofia recover failing In-Reply-To: References: Message-ID: Also why are you doing all these user_data calls? set(forward_busy_enabled=${user_data ${destination_number}@${domain_name} var forward_busy_enabled}) call set_user ${destination_number}@${domain_name}, Much more optimal! /b On Thu, Sep 22, 2016 at 9:47 AM, Michael Jerris wrote: > Particularly for an issue like this, obfuscated logs are basically useless. > > On Sep 21, 2016, at 1:04 PM, Tanner Kerr wrote: > > below are the logs from server a and b ips and dns obfuscated. > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/0484a647/attachment.html From joel at gogii.net Thu Sep 22 20:55:51 2016 From: joel at gogii.net (Joel Serrano) Date: Thu, 22 Sep 2016 09:55:51 -0700 Subject: [Freeswitch-users] FreeSWITCH re-INVITE breaks CDRs??? In-Reply-To: <83E21D4D-339E-440B-B448-533C1F15AE36@freeswitch.org> References: <83E21D4D-339E-440B-B448-533C1F15AE36@freeswitch.org> Message-ID: HI Ken, I have tried to enable sip-trace (sofia global siptrace on) but although I see it in console, it doen't get added to logfile. How can I enable siptrace in the logfiles? I will open a JIRA as soon as I find a case that happened after enabling DEBUG logs and siptrace. Thanks! Joel. On Wed, Sep 21, 2016 at 7:47 PM, Ken Rice wrote: > And if you think this is a bug open anjora and attach a full unedited > debug log with sip tracing and the xml cdr. > > Sent from my iPhone > > > On Sep 21, 2016, at 8:31 PM, Joel Serrano wrote: > > > > Hi, > > > > As I understand, freeswitch can handle re-invites. Ok till here, but, is > there any scenario where freeswitch will send a re-invite proactively ? > > > > I'm facing the following problem: > > > > Inbound call, from a random person to one of our numbers. > > Call from: +1706288XXXX (random caller) > > Call to: +1407602XXXX (our number) > > > > > > This is the diagram: > > > > > > > > > > For some reason, after X amount of time, FreeSWITCH sends out an INVITE. > I don't understand the reason. I have checked and there are no > session-timers in the initial request that could trigger it. > > > > The problem is not the re-invite, the problem is that the CDR for this > call is messed up, because the sip_from_user ends up being the callee, and > the sip_to_user ends up being the caller. > > > > I use a script to pull full XML cdrs from our database... The CDR for > this call has the following: > > > > $ ./get_cdr_by_uuid.py '1367e1db-2df4-4c97-8b23-304f85493315' | grep -i > -e sip_from_user -e sip_to_user > > 17062886161 > > %2B14076027616 > > %2B17062886161 > > $ > > > > As you can see, the sip_to_user, is the caller, (and this is probably > because of the re-invite from FS to the client). Also, isn't it weird that > the sip_from_user_stripped still has the original caller correctly, but the > sip_from_user is updated with the original callee? > > > > > > I don't know if what can be happening. > > > > This is happening on FS v1.6.10. > > > > I have servers on older versions, I'm trying to reproduce to see if it > is related to that specific version of FS. > > > > I'm also trying to get debug logs, which I currently don't have (because > they are disabled in prod). > > > > > > Any initial ideas? > > > > I think this might be a config setting or something, if it seems like a > bug or similar I'm happy to open a JIRA. > > > > > > Thanks, > > Joel. > > > > > > > > > > > > ____________________________________________________________ > _____________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/56f8b979/attachment-0001.html From aronp at guaranteedplus.com Thu Sep 22 21:39:28 2016 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Thu, 22 Sep 2016 13:39:28 -0400 Subject: [Freeswitch-users] Interesting regex results and timing Message-ID: Hi, I just tried and compared regexs with python and freeswitch and the performance. I found it interesting 1) why in freeswitch the following is false freeswitch at internal> regex sxsssssssssssssssssssssssa|(\S+)+x false 2) (Probably the earlier is the answer) how does freeswitch solve this in less than a second, where in python / node it took around 23 seconds (on my machine). Thanks. -- Aron Podrigal - '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/403af981/attachment.html From brian at freeswitch.org Thu Sep 22 23:17:00 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 22 Sep 2016 14:17:00 -0500 Subject: [Freeswitch-users] Interesting regex results and timing In-Reply-To: References: Message-ID: What library does python use for regex? We use libPCRE. On Thu, Sep 22, 2016 at 12:39 PM, Podrigal, Aron wrote: > Hi, > > I just tried and compared regexs with python and freeswitch and the > performance. I found it interesting > > 1) why in freeswitch the following is false > freeswitch at internal> regex sxsssssssssssssssssssssssa|(\S+)+x > false > 2) (Probably the earlier is the answer) how does freeswitch solve this in > less than a second, where in python / node it took around 23 seconds (on my > machine). > > > Thanks. > > -- > Aron Podrigal > - > '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', > '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' > > P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/1a63318b/attachment.html From aronp at guaranteedplus.com Fri Sep 23 00:42:03 2016 From: aronp at guaranteedplus.com (Podrigal, Aron) Date: Thu, 22 Sep 2016 16:42:03 -0400 Subject: [Freeswitch-users] Interesting regex results and timing In-Reply-To: References: Message-ID: Python uses its own SRE engine. But it is fully compatible with PCRE. Also I tested it with node /Javascript and that produces the same result as in python. It seems like the library does some internal optimization and for the misleading false is because of its detection of catastrophic backtracking. And yes, that's great! On Thu, Sep 22, 2016 at 3:17 PM, Brian West wrote: > What library does python use for regex? We use libPCRE. > > On Thu, Sep 22, 2016 at 12:39 PM, Podrigal, Aron > wrote: > >> Hi, >> >> I just tried and compared regexs with python and freeswitch and the >> performance. I found it interesting >> >> 1) why in freeswitch the following is false >> freeswitch at internal> regex sxsssssssssssssssssssssssa|(\S+)+x >> false >> 2) (Probably the earlier is the answer) how does freeswitch solve this in >> less than a second, where in python / node it took around 23 seconds (on my >> machine). >> >> >> Thanks. >> >> -- >> Aron Podrigal >> - >> '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', >> '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' >> >> P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > > *Brian West* > brian at freeswitch.org > > > *Twitter: @FreeSWITCH , @briankwest* > http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) > http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) > https://www.gofundme.com/freeswitch_ubuntu > > Got Bugs? Report them here ! | Reddit: > /r/freeswitch > > *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) > *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Aron Podrigal - '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/8ac42421/attachment.html From grcamauer at gmail.com Fri Sep 23 00:59:26 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Thu, 22 Sep 2016 17:59:26 -0300 Subject: [Freeswitch-users] Interesting regex results and timing In-Reply-To: References: Message-ID: https://regex101.com/ lets you compare the regular expression under PCRE, Javascript and Python. Both PCRE and Python give the Catastrophic Backtracking error. Javascript matches on sx... (the first two characters of the test string). Guillermo On Thu, Sep 22, 2016 at 5:42 PM, Podrigal, Aron wrote: > Python uses its own SRE engine. But it is fully compatible with PCRE. Also > I tested it with node /Javascript and that produces the same result as in > python. > > It seems like the library does some internal optimization and for the > misleading false is because of its detection of catastrophic backtracking. > And yes, that's great! > > On Thu, Sep 22, 2016 at 3:17 PM, Brian West wrote: > >> What library does python use for regex? We use libPCRE. >> >> On Thu, Sep 22, 2016 at 12:39 PM, Podrigal, Aron < >> aronp at guaranteedplus.com> wrote: >> >>> Hi, >>> >>> I just tried and compared regexs with python and freeswitch and the >>> performance. I found it interesting >>> >>> 1) why in freeswitch the following is false >>> freeswitch at internal> regex sxsssssssssssssssssssssssa|(\S+)+x >>> false >>> 2) (Probably the earlier is the answer) how does freeswitch solve this >>> in less than a second, where in python / node it took around 23 seconds (on >>> my machine). >>> >>> >>> Thanks. >>> >>> -- >>> Aron Podrigal >>> - >>> '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', >>> '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' >>> >>> P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> >> *Brian West* >> brian at freeswitch.org >> >> >> *Twitter: @FreeSWITCH , @briankwest* >> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> >> Got Bugs? Report them here ! | Reddit: >> /r/freeswitch >> >> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) >> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Aron Podrigal > - > '1000001', '1110010', '1101111', '1101110' '1010000', '1101111', > '1100100', '1110010', '1101001', '1100111', '1100001', '1101100' > > P: '2b', '31', '33', '34', '37', '34', '35', '38', '36', '30', '39', '39' > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/adf165c1/attachment-0001.html From caioebassis at hotmail.com Thu Sep 22 21:06:55 2016 From: caioebassis at hotmail.com (Caio Assis) Date: Thu, 22 Sep 2016 17:06:55 +0000 Subject: [Freeswitch-users] Playback within condition Message-ID: Hi. Here's what I'm trying to do. I want to play a sound if a certain condition is true. The sound 1 doesn't play, but I knew the condition was true because I can see the INFO LOG on the console. The sound 2, outside the condition, was played normally. Both PLAYBACK and READ applications don't work on nested conditions. Can anyone help me? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/ca9efae1/attachment.html From astashov.andrey at gmail.com Thu Sep 22 22:52:26 2016 From: astashov.andrey at gmail.com (=?UTF-8?B?0JDQvdC00YDQtdC5INCQ0YHRgtCw0YjQvtCy?=) Date: Fri, 23 Sep 2016 01:52:26 +0700 Subject: [Freeswitch-users] Freeswitch behind NAT with multiple public IP In-Reply-To: References: Message-ID: Hi, Sergey But if the profile is not internal, but external. As in this case gateway switch? After all, not every provider permits the simultaneous registration under one registration data from different addresses. ? ?????? ?? ??????? :) ???? ? ???? ????????? ???????? ??????????, ??????? ???????? ????????????, ?? ????????? ?? ??????, ?????????????. ??? ? ???? ?????? ???? ? ????????? ? ???????????? ???????? 22.09.2016 10:59, Sergey Safarov ?????: No, this items is shared. Directory shared always. Dialplan for not authenticated (public) calls configured in profile. On Thu, Sep 22, 2016, 05:38 Hai Bui Duc Ha wrote: > Hi Sergey Safarov, > > Thanks for your reply. > You told to use two sip profiles on one server. How about the directory > (user account) and dialplan, it should be duplicated ? > > Regards, > Hai Bui > > On Wed, Sep 21, 2016 at 4:21 PM, Sergey Safarov > wrote: > >> You can isntall two servers (redurdancy, high availability). >> Or sonfigure two sip profiles on current server. Like "internal" and >> "internal2" profiles. >> >> Sergey >> >> ??, 21 ????. 2016 ?. ? 12:06, Hai Bui Duc Ha : >> >>> Hi all, >>> >>> I have a question: >>> I have one freeswitch server behind NAT and it use two Public IPs for >>> load balancing 1.2.3.4 and 1.2.3.5 for this server. >>> Now, how can I use both this IP for ext-rtp-ip and ext-sip-ip ? Can I >>> use the domain on this or need to use stun server ? >>> Thanks for support >>> >>> Regards, >>> Hai Bui >>> >>> -- >>> Hai Bui >>> VoIP engineer, Cvoice team, HTK-HCM Office >>> Mobile: +84-165-618-9876 >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Hai Bui > VoIP engineer, Cvoice team, HTK-HCM Office > Mobile: +84-165-618-9876 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/f85f827c/attachment.html From mike at jerris.com Fri Sep 23 01:57:10 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Sep 2016 17:57:10 -0400 Subject: [Freeswitch-users] Playback within condition In-Reply-To: References: Message-ID: <9149456D-C25F-4E38-A4D4-CD1A186D1531@jerris.com> look at the log generated by calling this. What order do the dial plan apps show up? Does the playback show up? what do the logs show it doing when it executes that playback? > On Sep 22, 2016, at 1:06 PM, Caio Assis wrote: > > Hi. > > Here's what I'm trying to do. I want to play a sound if a certain condition is true. > > > > > > > > > > > > > > The sound 1 doesn't play, but I knew the condition was true because I can see the INFO LOG on the console. The sound 2, outside the condition, was played normally. Both PLAYBACK and READ applications don't work on nested conditions. Can anyone help me? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/9852903b/attachment-0001.html From d.mordovin at dwide.com Fri Sep 23 02:18:07 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Fri, 23 Sep 2016 02:18:07 +0400 Subject: [Freeswitch-users] How to force FS generate fake tone on ring-ready (180) message? Message-ID: <57E4589F.2070803@dwide.com> Hello! Don't know what to do in case when no early media... Simplest dialplan configuration Sometimes recv 183 with early media (rings) Sometimes, 180 without early media In last case, A leg hear silence instead alerting. Does it possible to generate tone if no early media? Thnaks DM From brian at freeswitch.org Fri Sep 23 02:24:17 2016 From: brian at freeswitch.org (Brian West) Date: Thu, 22 Sep 2016 17:24:17 -0500 Subject: [Freeswitch-users] How to force FS generate fake tone on ring-ready (180) message? In-Reply-To: <57E4589F.2070803@dwide.com> References: <57E4589F.2070803@dwide.com> Message-ID: If you wish freeswitch to generate ringtone then try setting the ringback variable. On Thu, Sep 22, 2016 at 5:18 PM, Dmitry Mordovin wrote: > Hello! > > Don't know what to do in case when no early media... > > Simplest dialplan configuration > > > > > > > > > > > Sometimes recv 183 with early media (rings) > Sometimes, 180 without early media > > In last case, A leg hear silence instead alerting. > > Does it possible to generate tone if no early media? > > Thnaks > DM > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/8d67237f/attachment.html From mike at jerris.com Fri Sep 23 02:26:10 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 22 Sep 2016 18:26:10 -0400 Subject: [Freeswitch-users] How to force FS generate fake tone on ring-ready (180) message? In-Reply-To: <57E4589F.2070803@dwide.com> References: <57E4589F.2070803@dwide.com> Message-ID: do you have the ringback var set? like in this example https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+ring_ready > On Sep 22, 2016, at 6:18 PM, Dmitry Mordovin wrote: > > Hello! > > Don't know what to do in case when no early media... > > Simplest dialplan configuration > > > > > > > > > > > Sometimes recv 183 with early media (rings) > Sometimes, 180 without early media > > In last case, A leg hear silence instead alerting. > > Does it possible to generate tone if no early media? > > Thnaks > DM -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/23a21cbe/attachment.html From s.safarov at gmail.com Fri Sep 23 02:40:55 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 22 Sep 2016 22:40:55 +0000 Subject: [Freeswitch-users] Freeswitch behind NAT with multiple public IP In-Reply-To: References: Message-ID: I am not see any problems. All can be done with one one, or several profiles, SIP gateways, IPv4 or IPV6 gateways. What is difficult to implement for you. Please, one example. Sergey ??, 23 ????. 2016 ?. ? 0:49, ?????? ??????? : > Hi, Sergey > > But if the profile is not internal, but external. As in this case gateway > switch? After all, not every provider permits the simultaneous registration > under one registration data from different addresses. > > ? ?????? ?? ??????? :) > > ???? ? ???? ????????? ???????? ??????????, ??????? ???????? ????????????, > ?? ????????? ?? ??????, ?????????????. > ??? ? ???? ?????? ???? ? ????????? ? ???????????? ???????? > > 22.09.2016 10:59, Sergey Safarov ?????: > > No, this items is shared. Directory shared always. Dialplan for not > authenticated (public) calls configured in profile. > > On Thu, Sep 22, 2016, 05:38 Hai Bui Duc Ha wrote: > >> Hi Sergey Safarov, >> >> Thanks for your reply. >> You told to use two sip profiles on one server. How about the directory >> (user account) and dialplan, it should be duplicated ? >> >> Regards, >> Hai Bui >> >> On Wed, Sep 21, 2016 at 4:21 PM, Sergey Safarov >> wrote: >> >>> You can isntall two servers (redurdancy, high availability). >>> Or sonfigure two sip profiles on current server. Like "internal" and >>> "internal2" profiles. >>> >>> Sergey >>> >>> ??, 21 ????. 2016 ?. ? 12:06, Hai Bui Duc Ha : >>> >>>> Hi all, >>>> >>>> I have a question: >>>> I have one freeswitch server behind NAT and it use two Public IPs for >>>> load balancing 1.2.3.4 and 1.2.3.5 for this server. >>>> Now, how can I use both this IP for ext-rtp-ip and ext-sip-ip ? Can I >>>> use the domain on this or need to use stun server ? >>>> Thanks for support >>>> >>>> Regards, >>>> Hai Bui >>>> >>>> -- >>>> Hai Bui >>>> VoIP engineer, Cvoice team, HTK-HCM Office >>>> Mobile: +84-165-618-9876 >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Hai Bui >> VoIP engineer, Cvoice team, HTK-HCM Office >> Mobile: +84-165-618-9876 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/1f32e167/attachment-0001.html From d.mordovin at dwide.com Fri Sep 23 02:59:05 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Fri, 23 Sep 2016 02:59:05 +0400 Subject: [Freeswitch-users] How to force FS generate fake tone on ring-ready (180) message? In-Reply-To: References: <57E4589F.2070803@dwide.com> Message-ID: <57E46239.1060200@dwide.com> My mistake, now ringback configured. I made tests for two cases, please see result. Case #1 - 180 message. Fake ringback start before recv 180 message (~6sec difference) Log 2016-09-22 22:36:38.964370 [NOTICE] switch_channel.c:1104 New Channel sofia/external/11111 at 1.1.1.1 [4df846e3-1c1e-4040-9a76-33d73d5df91b] 2016-09-22 22:36:38.984374 [DEBUG] switch_ivr_originate.c:1342 Play Ringback Tone [%(2000, 4000, 440.0, 480.0)] 2016-09-22 22:36:38.984374 [DEBUG] switch_core_state_machine.c:621 (sofia/external/11111 at 1.1.1.1) State CONSUME_MEDIA ... 2016-09-22 22:36:44.024369 [NOTICE] sofia.c:7070 Ring-Ready sofia/external/11111 at 1.1.1.1! 2016-09-22 22:36:44.024369 [DEBUG] switch_channel.c:3343 (sofia/external/11111 at 1.1.1.1) Callstate Change DOWN -> RINGING Case #2 - 183 message with early media. Fake ringback play 5sec and was replaced with early media from B leg Log 2016-09-22 22:42:54.384371 [NOTICE] switch_channel.c:1104 New Channel sofia/external/22222 at 1.1.1.1 [3e7bcf68-a114-4cfd-9b37-f440b5ff59c0] 2016-09-22 22:42:54.404374 [DEBUG] switch_ivr_originate.c:1342 Play Ringback Tone [%(2000, 4000, 440.0, 480.0)] 2016-09-22 22:42:54.404374 [DEBUG] switch_core_state_machine.c:621 (sofia/external/22222 at 1.1.1.1) State CONSUME_MEDIA ... 2016-09-22 22:42:59.404371 [NOTICE] sofia_media.c:92 Pre-Answer sofia/external/22222 at 1.1.1.1! 2016-09-22 22:42:59.404371 [DEBUG] switch_channel.c:3471 (sofia/external/22222 at 1.1.1.1) Callstate Change DOWN -> EARLY For Case #1 - Does it possible configure ringback start play after 180 message received? (not before) DM On 09/23/2016 02:26 AM, Michael Jerris wrote: > do you have the ringback var set? > > > like in this example > > https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+ring_ready > > >> On Sep 22, 2016, at 6:18 PM, Dmitry Mordovin > > wrote: >> >> Hello! >> >> Don't know what to do in case when no early media... >> >> Simplest dialplan configuration >> >> >> >> >> >> >> >> >> >> >> Sometimes recv 183 with early media (rings) >> Sometimes, 180 without early media >> >> In last case, A leg hear silence instead alerting. >> >> Does it possible to generate tone if no early media? >> >> Thnaks >> DM > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/c87cae46/attachment.html From joel at gogii.net Fri Sep 23 03:21:58 2016 From: joel at gogii.net (Joel Serrano) Date: Thu, 22 Sep 2016 16:21:58 -0700 Subject: [Freeswitch-users] FreeSWITCH re-INVITE breaks CDRs??? In-Reply-To: References: <83E21D4D-339E-440B-B448-533C1F15AE36@freeswitch.org> Message-ID: Never mind, I found out how to enable the sip-traces on the logfile. As soon as it happens again I will open a JIRA. Thanks. On Thu, Sep 22, 2016 at 9:55 AM, Joel Serrano wrote: > HI Ken, > > I have tried to enable sip-trace (sofia global siptrace on) but although I > see it in console, it doen't get added to logfile. > > How can I enable siptrace in the logfiles? > > I will open a JIRA as soon as I find a case that happened after enabling > DEBUG logs and siptrace. > > Thanks! > Joel. > > On Wed, Sep 21, 2016 at 7:47 PM, Ken Rice wrote: > >> And if you think this is a bug open anjora and attach a full unedited >> debug log with sip tracing and the xml cdr. >> >> Sent from my iPhone >> >> > On Sep 21, 2016, at 8:31 PM, Joel Serrano wrote: >> > >> > Hi, >> > >> > As I understand, freeswitch can handle re-invites. Ok till here, but, >> is there any scenario where freeswitch will send a re-invite proactively ? >> > >> > I'm facing the following problem: >> > >> > Inbound call, from a random person to one of our numbers. >> > Call from: +1706288XXXX (random caller) >> > Call to: +1407602XXXX (our number) >> > >> > >> > This is the diagram: >> > >> > >> > >> > >> > For some reason, after X amount of time, FreeSWITCH sends out an >> INVITE. I don't understand the reason. I have checked and there are no >> session-timers in the initial request that could trigger it. >> > >> > The problem is not the re-invite, the problem is that the CDR for this >> call is messed up, because the sip_from_user ends up being the callee, and >> the sip_to_user ends up being the caller. >> > >> > I use a script to pull full XML cdrs from our database... The CDR for >> this call has the following: >> > >> > $ ./get_cdr_by_uuid.py '1367e1db-2df4-4c97-8b23-304f85493315' | grep >> -i -e sip_from_user -e sip_to_user >> > 17062886161 >> > %2B14076027616 >> > %2B17062886161 >> > $ >> > >> > As you can see, the sip_to_user, is the caller, (and this is probably >> because of the re-invite from FS to the client). Also, isn't it weird that >> the sip_from_user_stripped still has the original caller correctly, but the >> sip_from_user is updated with the original callee? >> > >> > >> > I don't know if what can be happening. >> > >> > This is happening on FS v1.6.10. >> > >> > I have servers on older versions, I'm trying to reproduce to see if it >> is related to that specific version of FS. >> > >> > I'm also trying to get debug logs, which I currently don't have >> (because they are disabled in prod). >> > >> > >> > Any initial ideas? >> > >> > I think this might be a config setting or something, if it seems like a >> bug or similar I'm happy to open a JIRA. >> > >> > >> > Thanks, >> > Joel. >> > >> > >> > >> > >> > >> > ____________________________________________________________ >> _____________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >> switch-users >> > http://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/cefcd416/attachment.html From mike at jerris.com Fri Sep 23 09:50:04 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 23 Sep 2016 01:50:04 -0400 Subject: [Freeswitch-users] How to force FS generate fake tone on ring-ready (180) message? In-Reply-To: <57E46239.1060200@dwide.com> References: <57E4589F.2070803@dwide.com> <57E46239.1060200@dwide.com> Message-ID: that's how it works by default, your doing something to make it do otherwise. On Thursday, September 22, 2016, Dmitry Mordovin wrote: > My mistake, now ringback configured. > > I made tests for two cases, please see result. > > Case #1 - 180 message. Fake ringback start before recv 180 message (~6sec > difference) > Log > 2016-09-22 22:36:38.964370 [NOTICE] switch_channel.c:1104 New Channel > sofia/external/11111 at 1.1.1.1 > > [4df846e3-1c1e-4040-9a76-33d73d5df91b] > 2016-09-22 22:36:38.984374 [DEBUG] switch_ivr_originate.c:1342 Play > Ringback Tone [%(2000, 4000, 440.0, 480.0)] > 2016-09-22 22:36:38.984374 [DEBUG] switch_core_state_machine.c:621 ( > sofia/external/11111 at 1.1.1.1 > ) State > CONSUME_MEDIA > ... > 2016-09-22 22:36:44.024369 [NOTICE] sofia.c:7070 Ring-Ready > sofia/external/11111 at 1.1.1.1 > ! > 2016-09-22 22:36:44.024369 [DEBUG] switch_channel.c:3343 ( > sofia/external/11111 at 1.1.1.1 > ) Callstate > Change DOWN -> RINGING > > > Case #2 - 183 message with early media. Fake ringback play 5sec and was > replaced with early media from B leg > Log > 2016-09-22 22:42:54.384371 [NOTICE] switch_channel.c:1104 New Channel > sofia/external/22222 at 1.1.1.1 > > [3e7bcf68-a114-4cfd-9b37-f440b5ff59c0] > 2016-09-22 22:42:54.404374 [DEBUG] switch_ivr_originate.c:1342 Play > Ringback Tone [%(2000, 4000, 440.0, 480.0)] > 2016-09-22 22:42:54.404374 [DEBUG] switch_core_state_machine.c:621 ( > sofia/external/22222 at 1.1.1.1 > ) State > CONSUME_MEDIA > ... > 2016-09-22 22:42:59.404371 [NOTICE] sofia_media.c:92 Pre-Answer > sofia/external/22222 at 1.1.1.1 > ! > 2016-09-22 22:42:59.404371 [DEBUG] switch_channel.c:3471 ( > sofia/external/22222 at 1.1.1.1 > ) Callstate > Change DOWN -> EARLY > > > For Case #1 - Does it possible configure ringback start play after 180 > message received? (not before) > > > DM > > > On 09/23/2016 02:26 AM, Michael Jerris wrote: > > do you have the ringback var set? > > > like in this example > > https://freeswitch.org/confluence/display/FREESWITCH/ > mod_dptools%3A+ring_ready > > > On Sep 22, 2016, at 6:18 PM, Dmitry Mordovin > wrote: > > Hello! > > Don't know what to do in case when no early media... > > Simplest dialplan configuration > > > > > > > > > > > Sometimes recv 183 with early media (rings) > Sometimes, 180 without early media > > In last case, A leg hear silence instead alerting. > > Does it possible to generate tone if no early media? > > Thnaks > DM > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.org http://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/f0822d50/attachment-0001.html From d.mordovin at dwide.com Fri Sep 23 12:24:10 2016 From: d.mordovin at dwide.com (Dmitry Mordovin) Date: Fri, 23 Sep 2016 12:24:10 +0400 Subject: [Freeswitch-users] How to force FS generate fake tone on ring-ready (180) message? In-Reply-To: References: <57E4589F.2070803@dwide.com> <57E46239.1060200@dwide.com> Message-ID: <57E4E6AA.3060600@dwide.com> Yes, default behavior is correct and used in many cases. But it would be very flexible to set on B leg variable like ringback_start_after_180=true to control RBT DM On 09/23/2016 09:50 AM, Michael Jerris wrote: > that's how it works by default, your doing something to make it do > otherwise. > > On Thursday, September 22, 2016, Dmitry Mordovin > wrote: > > My mistake, now ringback configured. > > I made tests for two cases, please see result. > > Case #1 - 180 message. Fake ringback start before recv 180 message > (~6sec difference) > Log > 2016-09-22 22:36:38.964370 [NOTICE] switch_channel.c:1104 New > Channel sofia/external/11111 at 1.1.1.1 > > [4df846e3-1c1e-4040-9a76-33d73d5df91b] > 2016-09-22 22:36:38.984374 [DEBUG] switch_ivr_originate.c:1342 > Play Ringback Tone [%(2000, 4000, 440.0, 480.0)] > 2016-09-22 22:36:38.984374 [DEBUG] switch_core_state_machine.c:621 > (sofia/external/11111 at 1.1.1.1 > ) > State CONSUME_MEDIA > ... > 2016-09-22 22:36:44.024369 [NOTICE] sofia.c:7070 Ring-Ready > sofia/external/11111 at 1.1.1.1 > ! > 2016-09-22 22:36:44.024369 [DEBUG] switch_channel.c:3343 > (sofia/external/11111 at 1.1.1.1 > ) > Callstate Change DOWN -> RINGING > > > Case #2 - 183 message with early media. Fake ringback play 5sec > and was replaced with early media from B leg > Log > 2016-09-22 22:42:54.384371 [NOTICE] switch_channel.c:1104 New > Channel sofia/external/22222 at 1.1.1.1 > > [3e7bcf68-a114-4cfd-9b37-f440b5ff59c0] > 2016-09-22 22:42:54.404374 [DEBUG] switch_ivr_originate.c:1342 > Play Ringback Tone [%(2000, 4000, 440.0, 480.0)] > 2016-09-22 22:42:54.404374 [DEBUG] switch_core_state_machine.c:621 > (sofia/external/22222 at 1.1.1.1 > ) > State CONSUME_MEDIA > ... > 2016-09-22 22:42:59.404371 [NOTICE] sofia_media.c:92 Pre-Answer > sofia/external/22222 at 1.1.1.1 > ! > 2016-09-22 22:42:59.404371 [DEBUG] switch_channel.c:3471 > (sofia/external/22222 at 1.1.1.1 > ) > Callstate Change DOWN -> EARLY > > > For Case #1 - Does it possible configure ringback start play after > 180 message received? (not before) > > > DM > > > On 09/23/2016 02:26 AM, Michael Jerris wrote: >> do you have the ringback var set? >> >> >> like in this example >> >> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+ring_ready >> >> >>> On Sep 22, 2016, at 6:18 PM, Dmitry Mordovin >>> >> > wrote: >>> >>> Hello! >>> >>> Don't know what to do in case when no early media... >>> >>> Simplest dialplan configuration >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Sometimes recv 183 with early media (rings) >>> Sometimes, 180 without early media >>> >>> In last case, A leg hear silence instead alerting. >>> >>> Does it possible to generate tone if no early media? >>> >>> Thnaks >>> DM >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/e19c46c2/attachment.html From s.safarov at gmail.com Fri Sep 23 15:09:14 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 23 Sep 2016 11:09:14 +0000 Subject: [Freeswitch-users] Kamailio branch changes in VIA header Message-ID: Hello gys Could you please help me resolve issue with Kamailio. In attached file call from freeswitch to endpoint via Kamailio proxy. In packets 3 and 4 kamailio sends two INVITES with different branches in "VIA" header for IP 10.21.19.10 ("SIP/2.0/UDP 217.12.247.212;branch=z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.0" and "SIP/2.0/UDP 217.12.247.212;branch=z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1"). Then from endpoint Kamailio gets 100, 180 and 200 messages (packets 5, 6, 8, 9) with appropriate branches in "VIA" header. Then Kamailio in packet 11 send CANCEL for branch "z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1" And in packet 13 send "ACK" with new branch "SIP/2.0/UDP 217.12.247.212;branch=z9hG4bK5398.8ba6e3c3c63533fae1ceff3074f476fb.0" In packet 14 endpoint confirms CANCEL of call with branch "z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1". And then in packet 16 strange message from Kamailio with branch "SIP/2.0/UDP 217.12.247.212;branch= z9hG4bK6398.f0bbae920c6f81401d10d39f23335696.0". Could you suggest correct answer for following questions: 1. are is kamailio incorrectly changes branch values in VIA header; 2. what is RFC numbers where is described proxy behavior for branch value in "VIA" header. Sergey Safarov Interest page https://andrewjprokop.wordpress.com/2014/03/06/understanding-the-sip-via-header/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/37e00442/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: sip_broken_prixy.pcap Type: application/vnd.tcpdump.pcap Size: 12574 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/37e00442/attachment-0001.bin From jurijs.ivolga at gmail.com Fri Sep 23 15:37:40 2016 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Fri, 23 Sep 2016 14:37:40 +0300 Subject: [Freeswitch-users] Kamailio branch changes in VIA header In-Reply-To: References: Message-ID: Hi Sergey, Second INVITE is because of retransmission. Probably that why there is 1 at the end for second INVITE. That makes sense, cause when call is answered Kamailio cancel transaction with ID z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1. Branch parameter is identifying transaction. Bye is separate transaction and that why it has different branch parameter. ACK is separate transaction too, that why it has different branch parameter too. Check image below for detailed info about transaction and dialog. http://www.kamailio.org/pub/ser/ser-releases/0.8.12/doc/html/figures/transaction.png With kind regards, Jurijs On Fri, Sep 23, 2016 at 2:09 PM, Sergey Safarov wrote: > Hello gys > Could you please help me resolve issue with Kamailio. > In attached file call from freeswitch to endpoint via Kamailio proxy. > In packets 3 and 4 kamailio sends two INVITES with different branches in > "VIA" header for IP 10.21.19.10 ("SIP/2.0/UDP 217.12.247.212;branch= > z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.0" and "SIP/2.0/UDP > 217.12.247.212;branch=z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1"). > > Then from endpoint Kamailio gets 100, 180 and 200 messages (packets 5, 6, > 8, 9) with appropriate branches in "VIA" header. > > Then Kamailio in packet 11 send CANCEL for branch "z9hG4bK5398. > d5b303bd66f82a3f5cf66672ff787b76.1" > And in packet 13 send "ACK" with new branch "SIP/2.0/UDP > 217.12.247.212;branch=z9hG4bK5398.8ba6e3c3c63533fae1ceff3074f476fb.0" > In packet 14 endpoint confirms CANCEL of call with branch "z9hG4bK5398. > d5b303bd66f82a3f5cf66672ff787b76.1". > > And then in packet 16 strange message from Kamailio with branch > "SIP/2.0/UDP 217.12.247.212;branch=z9hG4bK6398. > f0bbae920c6f81401d10d39f23335696.0". > > Could you suggest correct answer for following questions: > > 1. are is kamailio incorrectly changes branch values in VIA header; > 2. what is RFC numbers where is described proxy behavior for branch > value in "VIA" header. > > > Sergey Safarov > > Interest page https://andrewjprokop.wordpress.com/2014/03/06/ > understanding-the-sip-via-header/ > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/7acdd239/attachment.html From s.safarov at gmail.com Fri Sep 23 16:09:59 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 23 Sep 2016 12:09:59 +0000 Subject: [Freeswitch-users] Kamailio branch changes in VIA header In-Reply-To: References: Message-ID: Thanks Jurijs. I will report vendor equpment to fix bug in firmware about threatment two INVITEs as separate transactions. ??, 23 ????. 2016 ?. ? 14:38, Jurijs Ivolga : > Hi Sergey, > > Second INVITE is because of retransmission. Probably that why there is 1 > at the end for second INVITE. That makes sense, cause when call is answered > Kamailio cancel transaction with ID > z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1. > > Branch parameter is identifying transaction. Bye is separate transaction > and that why it has different branch parameter. ACK is separate transaction > too, that why it has different branch parameter too. > > Check image below for detailed info about transaction and dialog. > > > http://www.kamailio.org/pub/ser/ser-releases/0.8.12/doc/html/figures/transaction.png > > With kind regards, > > > Jurijs > > On Fri, Sep 23, 2016 at 2:09 PM, Sergey Safarov > wrote: > >> Hello gys >> Could you please help me resolve issue with Kamailio. >> In attached file call from freeswitch to endpoint via Kamailio proxy. >> In packets 3 and 4 kamailio sends two INVITES with different branches in >> "VIA" header for IP 10.21.19.10 ("SIP/2.0/UDP >> 217.12.247.212;branch=z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.0" >> and "SIP/2.0/UDP >> 217.12.247.212;branch=z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1"). >> >> Then from endpoint Kamailio gets 100, 180 and 200 messages (packets 5, >> 6, 8, 9) with appropriate branches in "VIA" header. >> >> Then Kamailio in packet 11 send CANCEL for branch >> "z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1" >> And in packet 13 send "ACK" with new branch "SIP/2.0/UDP >> 217.12.247.212;branch=z9hG4bK5398.8ba6e3c3c63533fae1ceff3074f476fb.0" >> In packet 14 endpoint confirms CANCEL of call with branch >> "z9hG4bK5398.d5b303bd66f82a3f5cf66672ff787b76.1". >> >> And then in packet 16 strange message from Kamailio with branch >> "SIP/2.0/UDP 217.12.247.212;branch= >> z9hG4bK6398.f0bbae920c6f81401d10d39f23335696.0". >> >> Could you suggest correct answer for following questions: >> >> 1. are is kamailio incorrectly changes branch values in VIA header; >> 2. what is RFC numbers where is described proxy behavior for branch >> value in "VIA" header. >> >> >> Sergey Safarov >> >> Interest page >> https://andrewjprokop.wordpress.com/2014/03/06/understanding-the-sip-via-header/ >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/430ab94b/attachment.html From caioebassis at hotmail.com Fri Sep 23 21:18:43 2016 From: caioebassis at hotmail.com (Caio Assis) Date: Fri, 23 Sep 2016 17:18:43 +0000 Subject: [Freeswitch-users] Playback within condition In-Reply-To: <9149456D-C25F-4E38-A4D4-CD1A186D1531@jerris.com> References: , <9149456D-C25F-4E38-A4D4-CD1A186D1531@jerris.com> Message-ID: Actually, i might have figured it out. What I intend to do is an IVR-like application. Which means I want this to happen Call 1212 Application="read" gets my input if digit == 1 do this if digit == 2 do that Each option has it's own set of structions, so I think it should be within a condition. But I can't seem to validate the condition. Look at the following construction. ${dg} is the variable that stores the input digit. So, if ${dg} == 0, play beep.gsm, else play audio.gsm. The expression is never true, but i put 0 always. Instead of playing beep.gsm, it plays audio.gsm. I got the same example from Freeswitch 1.2 book, Nested Conditions section. ________________________________ From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Michael Jerris Sent: Thursday, September 22, 2016 6:57 PM To: FreeSWITCH Users Help Cc: comercial at ypytecnologia.com.br Subject: Re: [Freeswitch-users] Playback within condition look at the log generated by calling this. What order do the dial plan apps show up? Does the playback show up? what do the logs show it doing when it executes that playback? On Sep 22, 2016, at 1:06 PM, Caio Assis > wrote: Hi. Here's what I'm trying to do. I want to play a sound if a certain condition is true. The sound 1 doesn't play, but I knew the condition was true because I can see the INFO LOG on the console. The sound 2, outside the condition, was played normally. Both PLAYBACK and READ applications don't work on nested conditions. Can anyone help me? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/4682defb/attachment-0001.html From aqsyounas at gmail.com Sat Sep 24 00:52:13 2016 From: aqsyounas at gmail.com (Aqs Younas) Date: Sat, 24 Sep 2016 01:52:13 +0500 Subject: [Freeswitch-users] Playback within condition In-Reply-To: References: <9149456D-C25F-4E38-A4D4-CD1A186D1531@jerris.com> Message-ID: Like said before you need to look into logs to figure it out or paste the console logs here. On 23 September 2016 at 22:18, Caio Assis wrote: > Actually, i might have figured it out. What I intend to do is an IVR-like > application. Which means I want this to happen > > Call 1212 > > Application="read" gets my input > > if digit == 1 do this > > if digit == 2 do that > > > Each option has it's own set of structions, so I think it should be within > a condition. But I can't seem to validate the condition. Look at the > following construction. > > > > data="/home/beep.gsm"/> > data="/home/audio.gsm"/> > > > > ${dg} is the variable that stores the input digit. So, if ${dg} == 0, play > beep.gsm, else play audio.gsm. The expression is never true, but i put 0 > always. Instead of playing beep.gsm, it plays audio.gsm. I got the same > example from Freeswitch 1.2 book, Nested Conditions section. > > > ------------------------------ > *From:* freeswitch-users-bounces at lists.freeswitch.org < > freeswitch-users-bounces at lists.freeswitch.org> on behalf of Michael > Jerris > *Sent:* Thursday, September 22, 2016 6:57 PM > *To:* FreeSWITCH Users Help > *Cc:* comercial at ypytecnologia.com.br > *Subject:* Re: [Freeswitch-users] Playback within condition > > look at the log generated by calling this. What order do the dial plan > apps show up? Does the playback show up? what do the logs show it doing > when it executes that playback? > > On Sep 22, 2016, at 1:06 PM, Caio Assis wrote: > > Hi. > > Here's what I'm trying to do. I want to play a sound if a certain > condition is true. > > > > > > > > > > > > > > The sound 1 doesn't play, but I knew the condition was true because I can > see the INFO LOG on the console. The sound 2, outside the condition, was > played normally. Both PLAYBACK and READ applications don't work on nested > conditions. Can anyone help me? > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160924/2bada61c/attachment.html From grcamauer at gmail.com Sat Sep 24 01:35:31 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Fri, 23 Sep 2016 18:35:31 -0300 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Has anyone tried this but with mod_fail2ban? I cant get it to work. I am logging to /usr/local/freeswitch/log/fail2ban.log. I see entries there like: A registration was atempted User:111 IP:217.172.189.5. A registration failed User:900972595225502 IP:217.172.189.5. A registration was atempted User:110 IP:217.172.189.5. A registration failed User:00972595225502 IP:217.172.189.5. A registration was atempted User:701 IP:23.239.69.200. A registration failed User:00972592167049 IP:23.239.69.200. A registration was atempted User:110 IP:217.172.189.5. A registration failed User:000972595225502 IP:217.172.189.5. A registration was atempted User:110 IP:217.172.189.5. I have the following in /etc/fail2ban/filter.d: [Definition] failregex = A registration failed User:.* IP: ignoreregex = I never get any matches... I have tested the regexp at http://regex101.com and it works there for PCRE and Python. I have tried this with both fail2ban version 0.8.1.3 and 0.9.4. Any ideas? Thanks, Guillermo On Sun, Sep 18, 2016 at 8:53 PM, David Witham wrote: > Hi Don, > > Yes that should do what you want. > > regards, > David > > On 15 September 2016 at 15:14, Don Hawkins > wrote: > >> So, to only block failures does this regex look right? I basically just >> removed "failure|challenge" and replaced with "failure" >> >> failregex = ^\.\d+ \[WARNING\] sofia_reg\.c:\d+ SIP auth (failure) >> \((REGISTER|INVITE)\) on sofia profile \'[^']+\' for \[.*\] from ip $ >> >> >> On Sun, Sep 11, 2016 at 2:23 AM, Angel Elena wrote: >> >>> Great!!! >>> >>> Thanks for sharing. >>> >>> -------------------------------- >>> ?ngel Elena Medina _o) >>> craem at craem.net / \\ >>> http://blog.craem.net _(___V >>> @craem_ >>> -------------------------------- >>> >>> -----Mensaje original----- >>> De: Don Hawkins >>> Enviado: Dom 11-09-2016 03:22 >>> Asunto: Re: [Freeswitch-users] Getting fail2ban working properly >>> Para: FreeSWITCH Users Help ; >>> > No problem, I need to take notes anyway. Here they are... >>> > >>> > >>> > A. /etc/fail2ban/filter.d/freeswitch.conf needs the following text: >>> > >>> > https://github.com/fail2ban/fail2ban/blob/master/config/filt >>> er.d/freeswitch.conf >>> > >>> > NOTE: Internal and Public sofia profiles need: >> name="log-auth-failures" >>> > value="true"/> >>> > >>> > >>> > B. /etc/fail2ban/jail.conf and in /etc/fail2ban/jail.local (not sure >>> which one >>> > is working, I had to create jail.local) >>> > >>> > [freeswitch] >>> > enabled = true >>> > port = 5060,5061,5080,5081,5076 5074 5071 >>> > filter = freeswitch >>> > logpath = /var/log/freeswitch/freeswitch.log >>> > maxretry = 3 >>> > >>> > >>> > C. Drop these rules into iptables to block the scanners on ports 5060 >>> and 5080 >>> > >>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>> > "VaxSIPUserAgent" --algo bm >>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>> > "friendly-scanner" --algo bm >>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>> "sipcli" >>> > --algo bm >>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>> > "VaxSIPUserAgent" --algo bm >>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>> > "friendly-scanner" --algo bm >>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>> "sipcli" >>> > --algo bm >>> > >>> > >>> > D. Change SSH port from 22 to a custom number >>> > >>> > vi /etc/ssh/sshd_config >>> > >>> > >>> > E. Update SSH jail in /etc/fail2ban/jail.conf to custom port number. >>> > >>> > [ssh] >>> > >>> > enabled = true >>> > port = 9898,22 >>> > filter = sshd >>> > logpath = /var/log/auth.log >>> > maxretry = 6 >>> > >>> > >>> > F. I also have additional security using CDR records (curl). If a >>> call comes >>> > in that does not have an 'account number' set (a custom variable we >>> set for all >>> > incoming and outgoing calls from our customers) then we execute a >>> shell command >>> > to block that IP without delay because they obviously aren't one of our >>> > customers. We are using mod_httapi and all calls start that way for >>> us, so it's >>> > easy to set the variable as all calls start with . >>> > >>> > >>> > iptables -A INPUT -s 65.55.44.100 -j DROP >>> > >>> > >>> > Where 65.55.44.100 is the ip to block. >>> > >>> > >>> > >>> > Don >>> > >>> > >>> > >>> > >>> > On Sat, Sep 10, 2016 at 7:58 PM, George Assaad >> > > wrote: >>> > Hi Don, >>> > Could you please share your final settings since it works. >>> > >>> > Thanks, >>> > >>> > George >>> > >>> > On Sep 10, 2016, at 5:49 PM, Don Hawkins >> > > wrote: >>> > >>> > Just want to update everyone that the registration attempts have >>> almost stopped >>> > 100% since blocking the sniffers and setting a 4 hour block time after >>> three >>> > failed registrations. >>> > >>> > Good day! >>> > >>> > On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie >> > > wrote: >>> > On 8 September 2016 at 12:54, Don Hawkins >> > > wrote: >>> > > Can someone share with me how to block all ports except the >>> important ones? >>> > >>> > I had the same question about a month ago: >>> > http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>> August/121694.html >>> > >> -August/121694.html> >>> > >>> > >>> > Colin gives good advice here: >>> > http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>> August/121730.html >>> > >> -August/121730.html> >>> > >>> > >>> > I've also had success with contacting the originating network and >>> > request their customer to stop the traffic to me. >>> > >>> > Here's the abuse form for online.net : >>> > https://console.online.net/en/account/abuses/search >>> > >>> > By the way, if the fail2ban page on confluence needs updating, please >>> > update it or list what's wrong with it. I do see it indicates to >>> > create the jail.local and that's what you were missing for yours to >>> > work properly. >>> > >>> > >>> > -- >>> > ------- >>> > inum: 883510009027723 >>> > sip: jungleboogie at sip2sip.info >>> > >>> > ____________________________________________________________ >>> _____________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at freeswitch.org >>> > http://www.freeswitchsolutions.com >> s.com/> >>> > >>> > Official FreeSWITCH Sites >>> > http://www.freeswitch.org >>> > http://confluence.freeswitch.org >>> > http://www.cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>> switch-users >>> > >>> > http://www.freeswitch.org >>> > >>> > >>> > >>> > -- >>> > Sincerely, >>> > Don Hawkins >>> > CEO >>> > Hawkins Enterprise Group LLC >>> > http://hawkinsegroup.com >>> > Zello PTT : push2don >>> > P: 469-214-5044 >>> > ____________________________________________________________ >>> _____________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at 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 at lists.freeswitch.org >>> > >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>> switch-users >>> > >>> > http://www.freeswitch.org >>> > >>> > >>> > ____________________________________________________________ >>> _____________ >>> > Professional FreeSWITCH Consulting Services: >>> > consulting at 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 at lists.freeswitch.org >>> > >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>> switch-users >>> > >>> > http://www.freeswitch.org >>> > >>> > >>> > >>> > -- >>> > Sincerely, >>> > Don Hawkins >>> > CEO >>> > Hawkins Enterprise Group LLC >>> > http://hawkinsegroup.com >>> > Zello PTT : push2don >>> > P: 469-214-5044 >>> > >>> > ____________________________________________________________ >>> _____________ >>> > >>> > Professional FreeSWITCH Consulting Services: >>> > >>> > consulting at 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 at lists.freeswitch.org >>> > >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > >>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>> switch-users >>> > >>> > http://www.freeswitch.org >>> > >>> > >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> Don Hawkins >> CEO >> Hawkins Enterprise Group LLC >> http://hawkinsegroup.com >> Zello PTT : push2don >> P: 469-214-5044 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > David Witham > Senior Voice/Systems Engineer > > Netsip pty ltd ? An Over the Wire Company > Level 1, 24 Little Edward St, Spring Hill QLD 4000 > > t +61 1300 638 747 > e david.witham at netsip.com.au www.netsip.com.au > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/aca904bb/attachment-0001.html From yuri at grtek.com.tw Fri Sep 23 13:23:45 2016 From: yuri at grtek.com.tw (grtys) Date: Fri, 23 Sep 2016 02:23:45 -0700 (MST) Subject: [Freeswitch-users] Call fail from Internal user to External user Message-ID: <1474622625389-7596241.post@n2.nabble.com> Hi. I'm testing FS to make a call from an internal user to an external user. Right now the call fails. I kind of knows where the problem is but lack the knowledge to fix it. What I have been trying to do is basically "Switch with External SoftPhone" from https://wiki.freeswitch.org/wiki/External_Profile Below is more information about my problem. Test setup: - Freeswitch version: 1.7.0 64 bit - Platform OS: Windows - Internal user client: X-Lite 4.9.5.1 (extension 1001) - Internal user is connected to the internet behind a router with a fixed IP. - External user client: Zoiper for Windows Phone 1.0.4.4 (extension 10003) - External user is connected to the internet via 4G. What I have done already: - Setup external user profiles. - External SIP/RTP IPs have already been updated with global IP. - In the default.xml dialplan, forward certain extension calls to public dialplan. - Setup an expression in public dialplan to handle calls to these external extensions (users). What works: - Internal and External users both successfully register with FS. - External users successfully makes calls to internal user. Voices from both sides work. A minor glitch is that voice recording via record_session doesn't work. What doesn't work: - Internal users cannot call external users. Call will drop a few seconds later after call was made. I have checked logs and confirm that it tried to reach the external user by the internal IP. (which is probably the issue) In the typical extension call handler I see in default.xml, I can see there are two "bridge" applications before and after the "answer" application. I can see that these are probably where the actual bridging of calls and voice happens. I'm guessing that may be where "sofia/external5090/@x.x.x.x:5090" may have been for in the example I was trying to follow. How to get the external user IP though is beyond my knowledge. Using the original settings from default.xml and just copying it over to public.xml (with modifications to extensions it can handle) will just end up calling the local IP. Since the external user obviously isn't there locally IP wise, the call bridge fails and shutdown the call. My main question is, how to setup the two "bridge" applications to correctly hand the call to the external user? I'll probably need something that reads the user IP from the registered user list. Original code look like this. I'll need help changing it so that it can correctly relay to any external user without applying a fixed IP. Thanks. Note: I didn't just connect the internal dialplan via the default port because, for some reason, no sound will be heard on either side (I'm guessing either NAT or config problem???). Why does this happen for default dialplan but doesn't on the public is beyond me. Some of my config files can be found as attachment. external.xml - External SIP profile. default.xml - Internal dialplan. public.xml - Public dialplan. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Call-fail-from-Internal-user-to-External-user-tp7596241.html Sent from the freeswitch-users mailing list archive at Nabble.com. From BJordan at E-Teleco.com Sat Sep 24 01:28:17 2016 From: BJordan at E-Teleco.com (Branden Jordan) Date: Fri, 23 Sep 2016 21:28:17 +0000 Subject: [Freeswitch-users] Playback within condition In-Reply-To: References: <9149456D-C25F-4E38-A4D4-CD1A186D1531@jerris.com> Message-ID: Yeah without the console logs we are not going to be able to really help you. If you are trying to do your conditionals right after your play and get digits or read that is not going to work without transferring. Remember the dialplan has two steps, the evaluation period to figure out what to run, and then the execute phase where it executes the steps. If you create the variable during the execute phase you cannot use the variable further down in a conditional in the same execution because during the evaluation period it was null. This works when I test it. Maybe this will help you get on the right path to solving your issue. Thanks, Branden Jordan From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Friday, September 23, 2016 1:52 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Playback within condition Like said before you need to look into logs to figure it out or paste the console logs here. On 23 September 2016 at 22:18, Caio Assis > wrote: Actually, i might have figured it out. What I intend to do is an IVR-like application. Which means I want this to happen Call 1212 Application="read" gets my input if digit == 1 do this if digit == 2 do that Each option has it's own set of structions, so I think it should be within a condition. But I can't seem to validate the condition. Look at the following construction. ${dg} is the variable that stores the input digit. So, if ${dg} == 0, play beep.gsm, else play audio.gsm. The expression is never true, but i put 0 always. Instead of playing beep.gsm, it plays audio.gsm. I got the same example from Freeswitch 1.2 book, Nested Conditions section. ________________________________ From: freeswitch-users-bounces at lists.freeswitch.org > on behalf of Michael Jerris > Sent: Thursday, September 22, 2016 6:57 PM To: FreeSWITCH Users Help Cc: comercial at ypytecnologia.com.br Subject: Re: [Freeswitch-users] Playback within condition look at the log generated by calling this. What order do the dial plan apps show up? Does the playback show up? what do the logs show it doing when it executes that playback? On Sep 22, 2016, at 1:06 PM, Caio Assis > wrote: Hi. Here's what I'm trying to do. I want to play a sound if a certain condition is true. The sound 1 doesn't play, but I knew the condition was true because I can see the INFO LOG on the console. The sound 2, outside the condition, was played normally. Both PLAYBACK and READ applications don't work on nested conditions. Can anyone help me? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/b7936bd5/attachment-0001.html From grcamauer at gmail.com Sat Sep 24 02:42:41 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Fri, 23 Sep 2016 19:42:41 -0300 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Figured out what was wrong... Reading in the fail2ban web page I found this: - In order for a log line to match your failregex, it actually has to match in two parts: the beginning of the line has to match a timestamp pattern or regex, and the remainder of the line has to match your failregex. If the failregex is anchored with a leading ^, then the anchor refers to the start of the remainder of the line, *after* the timestamp and intervening whitespace. - The pattern or regex to match the time stamp is currently not documented, and not available for users to read or set. See Debian bug #491253 . This is a problem if your log has a timestamp format that fail2ban doesn't expect, since it will then fail to match any lines. Because of this, you should test any new failregex against a sample log line, as in the examples below, to be sure that it will match. If fail2ban doesn't recognize your log timestamp, then you have two options: either reconfigure your daemon to log with a timestamp in a more common format, such as in the example log line above; or file a bug report asking to have your timestamp format included. mod_fail2ban does NOT include any timestamps in the logs it generates (see my previous mail). So I modified it to include one. Recompiled, etc. and now it is working like a charm. I only added on line to the original source, here highlighted in bold: static void fail2ban_event_handler(switch_event_t *event) { if (event->event_id == SWITCH_EVENT_CUSTOM && strncmp(event->subclass_name, "sofia::register_attempt",23) == 0) { <------><------>switch_file_printf(logfile, "A registration was atempted "); <------><------>switch_file_printf(logfile, "%s:%s ", "User", switch_event_get_header(event, "to-user")); <------><------>switch_file_printf(logfile, "%s:%s ", "IP", switch_event_get_header(event, "network-ip")); <------><------>switch_file_printf(logfile, "\n"); <------>} else if (event->event_id == SWITCH_EVENT_CUSTOM && strncmp(event->subclass_name, "sofia::register_failure",23) == 0) { <------><------>switch_file_printf(logfile, "%s ", switch_event_get_header(event, "Event-Date-Local")); <------><------>switch_file_printf(logfile, "A registration failed "); <------><------>switch_file_printf(logfile, "%s:%s ", "User", switch_event_get_header(event, "to-user")); <------><------>switch_file_printf(logfile, "%s:%s ", "IP", switch_event_get_header(event, "network-ip")); <------><------>switch_file_printf(logfile, "\n"); <------>} } On Fri, Sep 23, 2016 at 6:35 PM, Guillermo Ruiz Camauer wrote: > Has anyone tried this but with mod_fail2ban? I cant get it to work. I am > logging to /usr/local/freeswitch/log/fail2ban.log. I see entries there > like: > > > A registration was atempted User:111 IP:217.172.189.5. > A registration failed User:900972595225502 IP:217.172.189.5. > A registration was atempted User:110 IP:217.172.189.5. > A registration failed User:00972595225502 IP:217.172.189.5. > A registration was atempted User:701 IP:23.239.69.200. > A registration failed User:00972592167049 IP:23.239.69.200. > A registration was atempted User:110 IP:217.172.189.5. > A registration failed User:000972595225502 IP:217.172.189.5. > A registration was atempted User:110 IP:217.172.189.5. > > I have the following in /etc/fail2ban/filter.d: > > [Definition] > > failregex = A registration failed User:.* IP: > > ignoreregex = > > > I never get any matches... I have tested the regexp at > http://regex101.com and it works there for PCRE and Python. > > I have tried this with both fail2ban version 0.8.1.3 and 0.9.4. > > Any ideas? > > Thanks, > > Guillermo > > > On Sun, Sep 18, 2016 at 8:53 PM, David Witham > wrote: > >> Hi Don, >> >> Yes that should do what you want. >> >> regards, >> David >> >> On 15 September 2016 at 15:14, Don Hawkins >> wrote: >> >>> So, to only block failures does this regex look right? I basically just >>> removed "failure|challenge" and replaced with "failure" >>> >>> failregex = ^\.\d+ \[WARNING\] sofia_reg\.c:\d+ SIP auth (failure) >>> \((REGISTER|INVITE)\) on sofia profile \'[^']+\' for \[.*\] from ip $ >>> >>> >>> On Sun, Sep 11, 2016 at 2:23 AM, Angel Elena wrote: >>> >>>> Great!!! >>>> >>>> Thanks for sharing. >>>> >>>> -------------------------------- >>>> ?ngel Elena Medina _o) >>>> craem at craem.net / \\ >>>> http://blog.craem.net _(___V >>>> @craem_ >>>> -------------------------------- >>>> >>>> -----Mensaje original----- >>>> De: Don Hawkins >>>> Enviado: Dom 11-09-2016 03:22 >>>> Asunto: Re: [Freeswitch-users] Getting fail2ban working properly >>>> Para: FreeSWITCH Users Help ; >>>> > No problem, I need to take notes anyway. Here they are... >>>> > >>>> > >>>> > A. /etc/fail2ban/filter.d/freeswitch.conf needs the following text: >>>> > >>>> > https://github.com/fail2ban/fail2ban/blob/master/config/filt >>>> er.d/freeswitch.conf >>>> > >>>> > NOTE: Internal and Public sofia profiles need: >>> name="log-auth-failures" >>>> > value="true"/> >>>> > >>>> > >>>> > B. /etc/fail2ban/jail.conf and in /etc/fail2ban/jail.local (not sure >>>> which one >>>> > is working, I had to create jail.local) >>>> > >>>> > [freeswitch] >>>> > enabled = true >>>> > port = 5060,5061,5080,5081,5076 5074 5071 >>>> > filter = freeswitch >>>> > logpath = /var/log/freeswitch/freeswitch.log >>>> > maxretry = 3 >>>> > >>>> > >>>> > C. Drop these rules into iptables to block the scanners on ports 5060 >>>> and 5080 >>>> > >>>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>>> > "VaxSIPUserAgent" --algo bm >>>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>>> > "friendly-scanner" --algo bm >>>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>>> "sipcli" >>>> > --algo bm >>>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>>> > "VaxSIPUserAgent" --algo bm >>>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>>> > "friendly-scanner" --algo bm >>>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>>> "sipcli" >>>> > --algo bm >>>> > >>>> > >>>> > D. Change SSH port from 22 to a custom number >>>> > >>>> > vi /etc/ssh/sshd_config >>>> > >>>> > >>>> > E. Update SSH jail in /etc/fail2ban/jail.conf to custom port number. >>>> > >>>> > [ssh] >>>> > >>>> > enabled = true >>>> > port = 9898,22 >>>> > filter = sshd >>>> > logpath = /var/log/auth.log >>>> > maxretry = 6 >>>> > >>>> > >>>> > F. I also have additional security using CDR records (curl). If a >>>> call comes >>>> > in that does not have an 'account number' set (a custom variable we >>>> set for all >>>> > incoming and outgoing calls from our customers) then we execute a >>>> shell command >>>> > to block that IP without delay because they obviously aren't one of >>>> our >>>> > customers. We are using mod_httapi and all calls start that way for >>>> us, so it's >>>> > easy to set the variable as all calls start with . >>>> > >>>> > >>>> > iptables -A INPUT -s 65.55.44.100 -j DROP >>>> > >>>> > >>>> > Where 65.55.44.100 is the ip to block. >>>> > >>>> > >>>> > >>>> > Don >>>> > >>>> > >>>> > >>>> > >>>> > On Sat, Sep 10, 2016 at 7:58 PM, George Assaad < >>>> gassaad at emassembly.com >>>> > > wrote: >>>> > Hi Don, >>>> > Could you please share your final settings since it works. >>>> > >>>> > Thanks, >>>> > >>>> > George >>>> > >>>> > On Sep 10, 2016, at 5:49 PM, Don Hawkins >>> > > wrote: >>>> > >>>> > Just want to update everyone that the registration attempts have >>>> almost stopped >>>> > 100% since blocking the sniffers and setting a 4 hour block time >>>> after three >>>> > failed registrations. >>>> > >>>> > Good day! >>>> > >>>> > On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie < >>>> jungleboogie0 at gmail.com >>>> > > wrote: >>>> > On 8 September 2016 at 12:54, Don Hawkins >>> > > wrote: >>>> > > Can someone share with me how to block all ports except the >>>> important ones? >>>> > >>>> > I had the same question about a month ago: >>>> > http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>>> August/121694.html >>>> > >>> -August/121694.html> >>>> > >>>> > >>>> > Colin gives good advice here: >>>> > http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>>> August/121730.html >>>> > >>> -August/121730.html> >>>> > >>>> > >>>> > I've also had success with contacting the originating network and >>>> > request their customer to stop the traffic to me. >>>> > >>>> > Here's the abuse form for online.net : >>>> > https://console.online.net/en/account/abuses/search >>>> > >>>> > By the way, if the fail2ban page on confluence needs updating, please >>>> > update it or list what's wrong with it. I do see it indicates to >>>> > create the jail.local and that's what you were missing for yours to >>>> > work properly. >>>> > >>>> > >>>> > -- >>>> > ------- >>>> > inum: 883510009027723 >>>> > sip: jungleboogie at sip2sip.info >>>> > >>>> > ____________________________________________________________ >>>> _____________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>> s.com/> >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > >>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> > >>>> > http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> > -- >>>> > Sincerely, >>>> > Don Hawkins >>>> > CEO >>>> > Hawkins Enterprise Group LLC >>>> > http://hawkinsegroup.com >>>> > Zello PTT : push2don >>>> > P: 469-214-5044 >>>> > ____________________________________________________________ >>>> _____________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>> s.com> >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > >>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> > >>>> > http://www.freeswitch.org >>>> > >>>> > >>>> > ____________________________________________________________ >>>> _____________ >>>> > Professional FreeSWITCH Consulting Services: >>>> > consulting at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>> s.com> >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > >>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> > >>>> > http://www.freeswitch.org >>>> > >>>> > >>>> > >>>> > -- >>>> > Sincerely, >>>> > Don Hawkins >>>> > CEO >>>> > Hawkins Enterprise Group LLC >>>> > http://hawkinsegroup.com >>>> > Zello PTT : push2don >>>> > P: 469-214-5044 >>>> > >>>> > ____________________________________________________________ >>>> _____________ >>>> > >>>> > Professional FreeSWITCH Consulting Services: >>>> > >>>> > consulting at 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 at lists.freeswitch.org >>>> > >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > >>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> > >>>> > http://www.freeswitch.org >>>> > >>>> > >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> Don Hawkins >>> CEO >>> Hawkins Enterprise Group LLC >>> http://hawkinsegroup.com >>> Zello PTT : push2don >>> P: 469-214-5044 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> David Witham >> Senior Voice/Systems Engineer >> >> Netsip pty ltd ? An Over the Wire Company >> Level 1, 24 Little Edward St, Spring Hill QLD 4000 >> >> t +61 1300 638 747 >> e david.witham at netsip.com.au www.netsip.com.au >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Guillermo Ruiz Camauer > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/2657b0f9/attachment-0001.html From grcamauer at gmail.com Sat Sep 24 02:45:00 2016 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Fri, 23 Sep 2016 19:45:00 -0300 Subject: [Freeswitch-users] Getting fail2ban working properly In-Reply-To: References: Message-ID: Sorry, accidentally sent mail without highlighting the line: static void fail2ban_event_handler(switch_event_t *event) { <------>if (event->event_id == SWITCH_EVENT_CUSTOM && strncmp(event->subclass_name, "sofia::register_attempt",23) == 0) { <------><------>switch_file_printf(logfile, "A registration was atempted "); <------><------>switch_file_printf(logfile, "%s:%s ", "User", switch_event_get_header(event, "to-user")); <------><------>switch_file_printf(logfile, "%s:%s ", "IP", switch_event_get_header(event, "network-ip")); <------><------>switch_file_printf(logfile, "\n"); <------>} else if (event->event_id == SWITCH_EVENT_CUSTOM && strncmp(event->subclass_name, "sofia::register_failure",23) == 0) { <------><------>*switch_file_printf(logfile, "%s ", switch_event_get_header(event, "Event-Date-Local"));* <------><------>switch_file_printf(logfile, "A registration failed "); <------><------>switch_file_printf(logfile, "%s:%s ", "User", switch_event_get_header(event, "to-user")); <------><------>switch_file_printf(logfile, "%s:%s ", "IP", switch_event_get_header(event, "network-ip")); <------><------>switch_file_printf(logfile, "\n"); <------>} } Now I can run fail2ban with my logs set to a lower verbosity which is a pretty big deal since I have high traffic patterns. Regards, Guillermo On Fri, Sep 23, 2016 at 7:42 PM, Guillermo Ruiz Camauer wrote: > Figured out what was wrong... > > Reading in the fail2ban web page I found this: > > > - In order for a log line to match your failregex, it actually has to > match in two parts: the beginning of the line has to match a timestamp > pattern or regex, and the remainder of the line has to match your > failregex. If the failregex is anchored with a leading ^, then the > anchor refers to the start of the remainder of the line, *after* the > timestamp and intervening whitespace. > > > - The pattern or regex to match the time stamp is currently not > documented, and not available for users to read or set. See Debian bug > #491253 . > This is a problem if your log has a timestamp format that fail2ban doesn't > expect, since it will then fail to match any lines. Because of this, you > should test any new failregex against a sample log line, as in the examples > below, to be sure that it will match. If fail2ban doesn't recognize your > log timestamp, then you have two options: either reconfigure your daemon to > log with a timestamp in a more common format, such as in the example log > line above; or file a bug report asking to have your timestamp format > included. > > > mod_fail2ban does NOT include any timestamps in the logs it generates (see > my previous mail). So I modified it to include one. Recompiled, etc. and > now it is working like a charm. > > I only added on line to the original source, here highlighted in bold: > > > > static void fail2ban_event_handler(switch_event_t *event) > { > if (event->event_id == SWITCH_EVENT_CUSTOM && > strncmp(event->subclass_name, "sofia::register_attempt",23) == 0) { > <------><------>switch_file_printf(logfile, "A registration was atempted > "); > <------><------>switch_file_printf(logfile, "%s:%s ", "User", > switch_event_get_header(event, "to-user")); > <------><------>switch_file_printf(logfile, "%s:%s ", "IP", > switch_event_get_header(event, "network-ip")); > <------><------>switch_file_printf(logfile, "\n"); > <------>} else if (event->event_id == SWITCH_EVENT_CUSTOM && > strncmp(event->subclass_name, "sofia::register_failure",23) == 0) { > <------><------>switch_file_printf(logfile, "%s ", > switch_event_get_header(event, "Event-Date-Local")); > <------><------>switch_file_printf(logfile, "A registration failed "); > <------><------>switch_file_printf(logfile, "%s:%s ", "User", > switch_event_get_header(event, "to-user")); > <------><------>switch_file_printf(logfile, "%s:%s ", "IP", > switch_event_get_header(event, "network-ip")); > <------><------>switch_file_printf(logfile, "\n"); > <------>} > > } > > > > > > > > > > > On Fri, Sep 23, 2016 at 6:35 PM, Guillermo Ruiz Camauer < > grcamauer at gmail.com> wrote: > >> Has anyone tried this but with mod_fail2ban? I cant get it to work. I >> am logging to /usr/local/freeswitch/log/fail2ban.log. I see entries >> there like: >> >> >> A registration was atempted User:111 IP:217.172.189.5. >> A registration failed User:900972595225502 IP:217.172.189.5. >> A registration was atempted User:110 IP:217.172.189.5. >> A registration failed User:00972595225502 IP:217.172.189.5. >> A registration was atempted User:701 IP:23.239.69.200. >> A registration failed User:00972592167049 IP:23.239.69.200. >> A registration was atempted User:110 IP:217.172.189.5. >> A registration failed User:000972595225502 IP:217.172.189.5. >> A registration was atempted User:110 IP:217.172.189.5. >> >> I have the following in /etc/fail2ban/filter.d: >> >> [Definition] >> >> failregex = A registration failed User:.* IP: >> >> ignoreregex = >> >> >> I never get any matches... I have tested the regexp at >> http://regex101.com and it works there for PCRE and Python. >> >> I have tried this with both fail2ban version 0.8.1.3 and 0.9.4. >> >> Any ideas? >> >> Thanks, >> >> Guillermo >> >> >> On Sun, Sep 18, 2016 at 8:53 PM, David Witham > > wrote: >> >>> Hi Don, >>> >>> Yes that should do what you want. >>> >>> regards, >>> David >>> >>> On 15 September 2016 at 15:14, Don Hawkins >>> wrote: >>> >>>> So, to only block failures does this regex look right? I basically just >>>> removed "failure|challenge" and replaced with "failure" >>>> >>>> failregex = ^\.\d+ \[WARNING\] sofia_reg\.c:\d+ SIP auth (failure) >>>> \((REGISTER|INVITE)\) on sofia profile \'[^']+\' for \[.*\] from ip $ >>>> >>>> >>>> On Sun, Sep 11, 2016 at 2:23 AM, Angel Elena wrote: >>>> >>>>> Great!!! >>>>> >>>>> Thanks for sharing. >>>>> >>>>> -------------------------------- >>>>> ?ngel Elena Medina _o) >>>>> craem at craem.net / \\ >>>>> http://blog.craem.net _(___V >>>>> @craem_ >>>>> -------------------------------- >>>>> >>>>> -----Mensaje original----- >>>>> De: Don Hawkins >>>>> Enviado: Dom 11-09-2016 03:22 >>>>> Asunto: Re: [Freeswitch-users] Getting fail2ban working properly >>>>> Para: FreeSWITCH Users Help ; >>>>> > No problem, I need to take notes anyway. Here they are... >>>>> > >>>>> > >>>>> > A. /etc/fail2ban/filter.d/freeswitch.conf needs the following text: >>>>> > >>>>> > https://github.com/fail2ban/fail2ban/blob/master/config/filt >>>>> er.d/freeswitch.conf >>>>> > >>>>> > NOTE: Internal and Public sofia profiles need: >>>> name="log-auth-failures" >>>>> > value="true"/> >>>>> > >>>>> > >>>>> > B. /etc/fail2ban/jail.conf and in /etc/fail2ban/jail.local (not >>>>> sure which one >>>>> > is working, I had to create jail.local) >>>>> > >>>>> > [freeswitch] >>>>> > enabled = true >>>>> > port = 5060,5061,5080,5081,5076 5074 5071 >>>>> > filter = freeswitch >>>>> > logpath = /var/log/freeswitch/freeswitch.log >>>>> > maxretry = 3 >>>>> > >>>>> > >>>>> > C. Drop these rules into iptables to block the scanners on ports >>>>> 5060 and 5080 >>>>> > >>>>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>>>> > "VaxSIPUserAgent" --algo bm >>>>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>>>> > "friendly-scanner" --algo bm >>>>> > iptables -I INPUT -j DROP -p udp --dport 5060 -m string --string >>>>> "sipcli" >>>>> > --algo bm >>>>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>>>> > "VaxSIPUserAgent" --algo bm >>>>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>>>> > "friendly-scanner" --algo bm >>>>> > iptables -I INPUT -j DROP -p udp --dport 5080 -m string --string >>>>> "sipcli" >>>>> > --algo bm >>>>> > >>>>> > >>>>> > D. Change SSH port from 22 to a custom number >>>>> > >>>>> > vi /etc/ssh/sshd_config >>>>> > >>>>> > >>>>> > E. Update SSH jail in /etc/fail2ban/jail.conf to custom port number. >>>>> > >>>>> > [ssh] >>>>> > >>>>> > enabled = true >>>>> > port = 9898,22 >>>>> > filter = sshd >>>>> > logpath = /var/log/auth.log >>>>> > maxretry = 6 >>>>> > >>>>> > >>>>> > F. I also have additional security using CDR records (curl). If a >>>>> call comes >>>>> > in that does not have an 'account number' set (a custom variable we >>>>> set for all >>>>> > incoming and outgoing calls from our customers) then we execute a >>>>> shell command >>>>> > to block that IP without delay because they obviously aren't one of >>>>> our >>>>> > customers. We are using mod_httapi and all calls start that way for >>>>> us, so it's >>>>> > easy to set the variable as all calls start with . >>>>> > >>>>> > >>>>> > iptables -A INPUT -s 65.55.44.100 -j DROP >>>>> > >>>>> > >>>>> > Where 65.55.44.100 is the ip to block. >>>>> > >>>>> > >>>>> > >>>>> > Don >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > On Sat, Sep 10, 2016 at 7:58 PM, George Assaad < >>>>> gassaad at emassembly.com >>>>> > > wrote: >>>>> > Hi Don, >>>>> > Could you please share your final settings since it works. >>>>> > >>>>> > Thanks, >>>>> > >>>>> > George >>>>> > >>>>> > On Sep 10, 2016, at 5:49 PM, Don Hawkins >>>> > > wrote: >>>>> > >>>>> > Just want to update everyone that the registration attempts have >>>>> almost stopped >>>>> > 100% since blocking the sniffers and setting a 4 hour block time >>>>> after three >>>>> > failed registrations. >>>>> > >>>>> > Good day! >>>>> > >>>>> > On Thu, Sep 8, 2016 at 4:21 PM, jungle Boogie < >>>>> jungleboogie0 at gmail.com >>>>> > > wrote: >>>>> > On 8 September 2016 at 12:54, Don Hawkins >>>> > > wrote: >>>>> > > Can someone share with me how to block all ports except the >>>>> important ones? >>>>> > >>>>> > I had the same question about a month ago: >>>>> > http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>>>> August/121694.html >>>>> > >>>> -August/121694.html> >>>>> > >>>>> > >>>>> > Colin gives good advice here: >>>>> > http://lists.freeswitch.org/pipermail/freeswitch-users/2016- >>>>> August/121730.html >>>>> > >>>> -August/121730.html> >>>>> > >>>>> > >>>>> > I've also had success with contacting the originating network and >>>>> > request their customer to stop the traffic to me. >>>>> > >>>>> > Here's the abuse form for online.net : >>>>> > https://console.online.net/en/account/abuses/search >>>>> > >>>>> > By the way, if the fail2ban page on confluence needs updating, please >>>>> > update it or list what's wrong with it. I do see it indicates to >>>>> > create the jail.local and that's what you were missing for yours to >>>>> > work properly. >>>>> > >>>>> > >>>>> > -- >>>>> > ------- >>>>> > inum: 883510009027723 >>>>> > sip: jungleboogie at sip2sip.info >>>>> > >>>>> > ____________________________________________________________ >>>>> _____________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>> s.com/> >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > >>>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> > >>>>> > http://www.freeswitch.org >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > Sincerely, >>>>> > Don Hawkins >>>>> > CEO >>>>> > Hawkins Enterprise Group LLC >>>>> > http://hawkinsegroup.com >>>>> > Zello PTT : push2don >>>>> > P: 469-214-5044 >>>>> > ____________________________________________________________ >>>>> _____________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>> s.com> >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > >>>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> > >>>>> > http://www.freeswitch.org >>>>> > >>>>> > >>>>> > ____________________________________________________________ >>>>> _____________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>> s.com> >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > >>>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> > >>>>> > http://www.freeswitch.org >>>>> > >>>>> > >>>>> > >>>>> > -- >>>>> > Sincerely, >>>>> > Don Hawkins >>>>> > CEO >>>>> > Hawkins Enterprise Group LLC >>>>> > http://hawkinsegroup.com >>>>> > Zello PTT : push2don >>>>> > P: 469-214-5044 >>>>> > >>>>> > ____________________________________________________________ >>>>> _____________ >>>>> > >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > >>>>> > consulting at 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 at lists.freeswitch.org >>>>> > >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > >>>>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> > >>>>> > http://www.freeswitch.org >>>>> > >>>>> > >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Don Hawkins >>>> CEO >>>> Hawkins Enterprise Group LLC >>>> http://hawkinsegroup.com >>>> Zello PTT : push2don >>>> P: 469-214-5044 >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> David Witham >>> Senior Voice/Systems Engineer >>> >>> Netsip pty ltd ? An Over the Wire Company >>> Level 1, 24 Little Edward St, Spring Hill QLD 4000 >>> >>> t +61 1300 638 747 >>> e david.witham at netsip.com.au www.netsip.com.au >>> >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Guillermo Ruiz Camauer >> > > > > -- > Guillermo Ruiz Camauer > -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160923/ca96d27f/attachment-0001.html From andretodd at verizon.net Sat Sep 24 17:40:52 2016 From: andretodd at verizon.net (Andre DeMattia) Date: Sat, 24 Sep 2016 09:40:52 -0400 Subject: [Freeswitch-users] fax_enable_t38 Message-ID: <031601d21669$45172e90$cf458bb0$@verizon.net> Hello can someone tell me if these values below work in bypass media mode? I read the wiki but I?m not sure 100% if these settings will reject t38. Do I need all 3 to reject a T.38? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160924/f5503499/attachment.html From gassaad at emassembly.com Mon Sep 26 06:05:22 2016 From: gassaad at emassembly.com (George Assaad) Date: Sun, 25 Sep 2016 22:05:22 -0400 Subject: [Freeswitch-users] Remove data from SIP invite Message-ID: Hello, The carrier is asking us to remove the following from the SIP invite, but we are not sure how do we generate such data to be able to remove it. Anybody could shed some light? X-Polycom-PBX: true. P-Access-Network-Info: IEEE-EUI-48;eui-48-addr=E4-8A-FC-8C-AB-34. P-Emergency-Info: IEEE-EUI-48;eui-48-addr=00-0B-99-74-AA-05. X-accountcode: domain. X-FS-Support: update_display,send_info. Remote-Party-ID the value ?screen=yes? to ?screen=no? Best Regards, G -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160925/cda8fe38/attachment.html From mirkobrankovic at gmail.com Mon Sep 26 11:27:11 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Mon, 26 Sep 2016 09:27:11 +0200 Subject: [Freeswitch-users] fax_enable_t38 In-Reply-To: <031601d21669$45172e90$cf458bb0$@verizon.net> References: <031601d21669$45172e90$cf458bb0$@verizon.net> Message-ID: I think you can find your setup, from where re-invite comes from here: https://wiki.freeswitch.org/wiki/Mod_spandsp#t38_gateway and then just apply the recommended settings On Sat, Sep 24, 2016 at 3:40 PM, Andre DeMattia wrote: > Hello can someone tell me if these values below work in bypass media mode? > > I read the wiki but I?m not sure 100% if these settings will reject t38. > Do I need all 3 to reject a T.38? > > > > > > > > > > > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/d3efb6f1/attachment.html From asilva at wirelessmundi.com Mon Sep 26 11:41:10 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Mon, 26 Sep 2016 09:41:10 +0200 Subject: [Freeswitch-users] Remove data from SIP invite In-Reply-To: References: Message-ID: <9b8f9cb9-7357-3dd5-e48c-560640c5d052@wirelessmundi.com> No sure it solves you case... but you can try to strip those headers: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+SIP+Stack#SofiaSIPStack-StripSIPHeaders On 09/26/2016 04:05 AM, George Assaad wrote: > Hello, > The carrier is asking us to remove the following from the SIP invite, > but we are not sure how do we generate such data to be able to remove it. > Anybody could shed some light? > > X-Polycom-PBX: true. > > P-Access-Network-Info: IEEE-EUI-48;eui-48-addr=E4-8A-FC-8C-AB-34. > > P-Emergency-Info: IEEE-EUI-48;eui-48-addr=00-0B-99-74-AA-05. > > X-accountcode: domain. > > X-FS-Support: update_display,send_info. > > > Remote-Party-ID the value ?screen=yes? to ?screen=no? > > > Best Regards, > > G > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Saludos / Regards / Cumprimentos, Ant?nio silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/ec9b9d06/attachment.html From benjamin.cropley at gmail.com Mon Sep 26 11:42:48 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Mon, 26 Sep 2016 08:42:48 +0100 Subject: [Freeswitch-users] Remove data from SIP invite In-Reply-To: References: Message-ID: In your dialplan... On Mon, Sep 26, 2016 at 3:05 AM, George Assaad wrote: > Hello, > The carrier is asking us to remove the following from the SIP invite, but > we are not sure how do we generate such data to be able to remove it. > Anybody could shed some light? > > X-Polycom-PBX: true. > > P-Access-Network-Info: IEEE-EUI-48;eui-48-addr=E4-8A-FC-8C-AB-34. > > P-Emergency-Info: IEEE-EUI-48;eui-48-addr=00-0B-99-74-AA-05. > > X-accountcode: domain. > > X-FS-Support: update_display,send_info. > > > Remote-Party-ID the value ?screen=yes? to ?screen=no? > > > Best Regards, > > G > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/a362c80b/attachment-0001.html From mirkobrankovic at gmail.com Mon Sep 26 12:29:40 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Mon, 26 Sep 2016 10:29:40 +0200 Subject: [Freeswitch-users] Remove data from SIP invite In-Reply-To: References: Message-ID: also for the screening: should set screen to no. On Mon, Sep 26, 2016 at 9:42 AM, Benjamin Cropley < benjamin.cropley at gmail.com> wrote: > In your dialplan... > > > > > > > > On Mon, Sep 26, 2016 at 3:05 AM, George Assaad > wrote: > >> Hello, >> The carrier is asking us to remove the following from the SIP invite, but >> we are not sure how do we generate such data to be able to remove it. >> Anybody could shed some light? >> >> X-Polycom-PBX: true. >> >> P-Access-Network-Info: IEEE-EUI-48;eui-48-addr=E4-8A-FC-8C-AB-34. >> >> P-Emergency-Info: IEEE-EUI-48;eui-48-addr=00-0B-99-74-AA-05. >> >> X-accountcode: domain. >> >> X-FS-Support: update_display,send_info. >> >> >> Remote-Party-ID the value ?screen=yes? to ?screen=no? >> >> >> Best Regards, >> >> G >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > All the best, > Ben Cropley > 07539 366 905 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/f2f01e08/attachment.html From russow at emtex.de Mon Sep 26 11:35:37 2016 From: russow at emtex.de (Christoph Russow) Date: Mon, 26 Sep 2016 09:35:37 +0200 Subject: [Freeswitch-users] Dangerous prototype question for Seven Du In-Reply-To: <49695d11-93a9-3dd4-e0c5-280d17907ece@emtex.de> References: <49695d11-93a9-3dd4-e0c5-280d17907ece@emtex.de> Message-ID: Hi, is Seven on vacation or does he not read the mailing list? May be somebody who knows him be so kind and forward this mail if he does not read the mailing list? Best Regards Christoph Russow Am 19.09.2016 um 12:04 schrieb Christoph Russow: > Hi, > > i've got a question for Seven Du. > > I was very impressed by your dangerous prototype on ClueCon 2016 and i'm > wondering if you would share some more details about it. > > For example some background about the UI and how you executed the > generated code within Freeswitch. > > Best Regards > Christoph Russow > -- ________________________________________________________________ EMTEX GmbH Christoph Russow Software Engineer Bischof-Otto-Weg 9 D-91086 Aurachtal Gesch?ftsf?hrer: Markus Enzinger Tel. +49 9132 7490 0 Sitz der Gesellschaft: 91086 Aurachtal Fax. +49 9132 7490 900 Amtsgericht F?rth: HRB6804 ________________________________________________________________ From v.zakhozhai at gmail.com Sun Sep 25 02:33:22 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Sat, 24 Sep 2016 22:33:22 +0000 Subject: [Freeswitch-users] Handling freeswitch config with lua issue Message-ID: Hi, I'm trying to handle freeswitch configuration with lua (in particular sofia conf) but unsuccessfuly. I see that my lua script works when freeswitch requests sofia configuration but I am not able to push xml responce to it. I set XML_STRING variable but nothing happens in freeswitch. I even tried to put nil to XML_STRING and freeswitch even does not throw an error. I've installed freeswitch from freeswitch deb packages (on Debian 8). Package version: 1.6.10~17~726448d-1~jessie+1 I've attached to this letter some configs, lua script and freeswitch log. I appreciate your help. -- Best regards, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160924/cdf8adb0/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch_console.log Type: text/x-log Size: 9771 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160924/cdf8adb0/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: lua.conf.xml Type: text/xml Size: 823 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160924/cdf8adb0/attachment-0001.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: configuration.lua Type: text/x-lua Size: 1755 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160924/cdf8adb0/attachment-0003.bin From v.zakhozhai at gmail.com Sun Sep 25 12:02:23 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Sun, 25 Sep 2016 08:02:23 +0000 Subject: [Freeswitch-users] Handling freeswitch config with lua issue In-Reply-To: References: Message-ID: Hi, I've solved the issue. The problem was with incorrect document which was sent to freeswitch. I forgot section
. I wonder why freeswitch just ignores it. On Sun, Sep 25, 2016 at 1:33 AM Vladyslav Zakhozhai wrote: > Hi, > > I'm trying to handle freeswitch configuration with lua (in particular > sofia conf) but unsuccessfuly. > > I see that my lua script works when freeswitch requests sofia > configuration but I am not able to push xml responce to it. I set > XML_STRING variable but nothing happens in freeswitch. I even tried to put > nil to XML_STRING and freeswitch even does not throw an error. > > I've installed freeswitch from freeswitch deb packages (on Debian 8). > > Package version: 1.6.10~17~726448d-1~jessie+1 > > I've attached to this letter some configs, lua script and freeswitch log. > > I appreciate your help. > -- > Best regards, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > -- Best regards, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160925/b8ddb876/attachment.html From t90fpe at outlook.com Mon Sep 26 19:06:36 2016 From: t90fpe at outlook.com (Fred Pettersson) Date: Mon, 26 Sep 2016 15:06:36 +0000 Subject: [Freeswitch-users] How to setup (video) recording with WebRTC? Message-ID: Hi sorry if this is an obvious question. Is there a description of how to setup recording of WebRTC video sessions with FreeSWITCH? I am in progress of trying this but I don't know where to start. Any pointers on how to setup recording of WebRTC video with FreeSWITCH is highly appreciated. /Fred -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/8bd33e08/attachment.html From mirkobrankovic at gmail.com Mon Sep 26 19:12:34 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Mon, 26 Sep 2016 17:12:34 +0200 Subject: [Freeswitch-users] How to setup (video) recording with WebRTC? In-Reply-To: References: Message-ID: Hi Fred, You can start here: https://wiki.freeswitch.org/wiki/Video-recording On Mon, Sep 26, 2016 at 5:06 PM, Fred Pettersson wrote: > Hi sorry if this is an obvious question. > > > Is there a description of how to setup recording of WebRTC video sessions with > FreeSWITCH? I am in progress of trying this but I don't know where to > start. > > > Any pointers on how to setup recording of WebRTC video with FreeSWITCH is > highly appreciated. > > > /Fred > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/f944b67b/attachment.html From benjamin.cropley at gmail.com Mon Sep 26 19:17:42 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Mon, 26 Sep 2016 16:17:42 +0100 Subject: [Freeswitch-users] example tone_detect to listen for dial tone and hang up? In-Reply-To: <69e7649f-52d9-5a81-324a-de9c5e2c91da@mst.edu> References: <69e7649f-52d9-5a81-324a-de9c5e2c91da@mst.edu> Message-ID: Havn't tested this, but.. ..if you push 1 on the keypad it should handup the call Also, you should investigate what the ATA isn't detected the 'hangup'. Maybe look at a SIP trace and confirm BYE packets are successfully getting to it. Good luck, Ben On Wed, Sep 21, 2016 at 5:14 PM, Nathan Neulinger wrote: > I've got an ATA that doesn't seem to be detecting hangup for callers. Is > there a simple way to use tone_detect or > similar to listen for the dial tone on a received call and then issue > hangup upon detection? > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/23567181/attachment.html From nneul at mst.edu Mon Sep 26 19:32:17 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Mon, 26 Sep 2016 10:32:17 -0500 Subject: [Freeswitch-users] example tone_detect to listen for dial tone and hang up? In-Reply-To: References: <69e7649f-52d9-5a81-324a-de9c5e2c91da@mst.edu> Message-ID: <9f92444c-4c8c-dad2-5d36-12530fbe8bd3@mst.edu> Ah, maybe I wasn't clear enough - it's the other direction. i.e. Issue is with calls coming in from the analog side, not outbound. Symptom is that I wind up getting a 5 minute voicemail full of dial tone - usually from some stupid telemarketer call or other autodialer. I won't see any SIP messages since the ATA would be the one sending them. Giving that tone_detect a try. Thank you! -- Nathan On 09/26/2016 10:17 AM, Benjamin Cropley wrote: > Havn't tested this, but.. > > > > ..if you push 1 on the keypad it should handup the call > > Also, you should investigate what the ATA isn't detected the 'hangup'. Maybe look at a SIP trace and confirm BYE packets > are successfully getting to it. > > Good luck, > Ben > > On Wed, Sep 21, 2016 at 5:14 PM, Nathan Neulinger > wrote: > > I've got an ATA that doesn't seem to be detecting hangup for callers. Is there a simple way to use tone_detect or > similar to listen for the dial tone on a received call and then issue hangup upon detection? > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > -- > All the best, > Ben Cropley > 07539 366 905 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From hardyanto.donny at gmail.com Mon Sep 26 20:25:19 2016 From: hardyanto.donny at gmail.com (Donny Hardyanto) Date: Mon, 26 Sep 2016 23:25:19 +0700 Subject: [Freeswitch-users] WebRTC call stop at HANDSHAKE Message-ID: I manage to get webrtc call working from 2 chrome browser in different computer using inbound-media-proxy mode (video and audio working in both direction). When disabling the inbound-media-proxy mode (to default), in freeswitch it stuck on Audio OFF to HANDSHAKE. There is no video or audio. I am using Ubuntu 14.04 and my FS box behind firewall and NATed using portforwarding. Because it is working in inbound media proxy so, I think NAT configurations is OK. May be something wrong with DTLS-SRTP? Donny. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/9c1a5b62/attachment.html From tb at cool.de Mon Sep 26 21:17:08 2016 From: tb at cool.de (Thomas Brettinger) Date: Mon, 26 Sep 2016 19:17:08 +0200 Subject: [Freeswitch-users] Cisco 9971 blf on freeswitch - blf working? Message-ID: <6E68307A-7EE4-4D13-8C1D-2EF37E936E9A@cool.de> Hi, I am struggling to get blf working on a Cisco 9971. It runs a SIP image (the latest, currently). Most other features (call lists, directories, caller id, ?) run fine as I can tell. I just can?t get the phone to display blf status properly :-( I followed the hints here: http://community.freepbx.org/t/cisco-9971-phone-configuration-working-example-with-setup-tips/13481 and learned a lot of xml config here: http://docs.acsdata.co.nz/asterisk-cisco/line-keys-xml.shtml basically, both above source say, I should configure a with 21, and set to 1. But that doesn?t do the trick yet - the first link is for asterisk, and it says a ?hint? has to be configured as well as a ?subscribe? entry in asterisk. Do I need to do anything else somewhere in the freeswitch config? I admit, I am a bit lost here? Regards, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/e435bf28/attachment.html From shakumarsoftware at gmail.com Mon Sep 26 21:39:40 2016 From: shakumarsoftware at gmail.com (Sharath Kumar) Date: Mon, 26 Sep 2016 11:39:40 -0600 Subject: [Freeswitch-users] 1.6.10 libfreeswitch strange behavior In-Reply-To: References: Message-ID: Just wanted to update the group. I got it work. And the strange mutex problems were due to the "apr" libs compilation. Apparently when they are cross compiled the configure disables threading and thread related flags and libs. thank you. Sharath On Wed, Sep 14, 2016 at 10:44 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > That is a prize winning upgrade gap! > > You would really be best off with a fresh Debian 8 box and either packages > or src with our depends repo. > > > > On Wednesday, September 14, 2016, Sharath Kumar < > shakumarsoftware at gmail.com> wrote: > >> All, >>> >>> I recently upgraded my not so common usage of FS embedded as a library >>> in an linux application (x86_64 ) from 1.0.6 to 1.6.10. I was able to >>> compile and link :). I was worried such a big upgrade may be a difficult >>> compile but I didn't have to change a lot. But I am running into some >>> strange problems with mutex locks that have led me to believe it is not >>> built right. >>> >>> Also, I did not run dev-bootstrap.sh on the tar package(1.6.10). Do i >>> need to ? >>> >>> The problem I have is the "sofia profile" comes up with the rwlock >>> already locked!! >>> [When I try to send any sort of API comand or try to REGISTER this >>> occurs.] >>> >>> "2016-09-14 23:30:50.324500 [ERR] sofia.c:1420 Profile softphone is >>> locked" >>> >>> I believe all the rwlock from APR are corrupted or not initialized >>> correctly. >>> >>> Another time I constant crashing after my application issued >>> switch_init_and_modload. >>> >>> I only have 1 profile in the freeswitch.xml (attached) and just a >>> handful of modules that are loaded(mod_sofia, mod_commands, mod_logfile, >>> mod_dptools, mod_dialplan_xml) >>> >>> The makefile is given below.(freeswitch,mk) >>> >>> The script output of the makefile is attached (fsbuild.txt.bz2). >>> >>> FS logoutput attached(i had added some additional logs as well) >>> freeswitch.log >>> >>> Does anyone see anything obviously wrong ? I am stuck at this point and >>> any help would be really great! I will contribute to documentation if this >>> thing does indeed work. >>> >>> Thank you so much! >>> Shaks >>> >> >> > > -- > Anthony Minessale II ? @anthmfs ? @FreeSWITCH ? > > ? http://freeswitch.org/ ? http://cluecon.com/ ? > http://twitter.com/FreeSWITCH > ? irc.freenode.net #freeswitch ? *http://freeswitch.org/g+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/21daad39/attachment.html From t90fpe at outlook.com Mon Sep 26 23:55:17 2016 From: t90fpe at outlook.com (Fred Pettersson) Date: Mon, 26 Sep 2016 19:55:17 +0000 Subject: [Freeswitch-users] How to setup (video) recording with WebRTC? In-Reply-To: References: , Message-ID: Hi Mirko, thanks for the info. I will look into it. /Fred ________________________________ Fr?n: freeswitch-users-bounces at lists.freeswitch.org f?r Mirko Brankovic Skickat: den 26 september 2016 17:12 Till: FreeSWITCH Users Help ?mne: Re: [Freeswitch-users] How to setup (video) recording with WebRTC? Hi Fred, You can start here: https://wiki.freeswitch.org/wiki/Video-recording Video-recording - FreeSWITCH Wiki wiki.freeswitch.org Media bug . The video-media-bug branch in tree implemented a simple video media bug, for video eavesdrop and recording. You need to manually build this branch before ... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/3c1c3c53/attachment-0001.html From nneul at mst.edu Mon Sep 26 23:55:54 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Mon, 26 Sep 2016 14:55:54 -0500 Subject: [Freeswitch-users] example tone_detect to listen for dial tone and hang up? In-Reply-To: <9f92444c-4c8c-dad2-5d36-12530fbe8bd3@mst.edu> References: <69e7649f-52d9-5a81-324a-de9c5e2c91da@mst.edu> <9f92444c-4c8c-dad2-5d36-12530fbe8bd3@mst.edu> Message-ID: <3da84e34-9a04-6cf3-45bf-c71e340ccc45@mst.edu> Looks like it worked! Thank you! At least one "Google Listing" spam call was just short circuited instead of leaving a long empty voicemail. -- Nathan On 09/26/2016 10:32 AM, Nathan Neulinger wrote: > Ah, maybe I wasn't clear enough - it's the other direction. i.e. Issue is with calls coming in from the analog side, not > outbound. Symptom is that I wind up getting a 5 minute voicemail full of dial tone - usually from some stupid > telemarketer call or other autodialer. I won't see any SIP messages since the ATA would be the one sending them. > > Giving that tone_detect a try. > > Thank you! > > -- Nathan > > On 09/26/2016 10:17 AM, Benjamin Cropley wrote: >> Havn't tested this, but.. >> >> >> >> ..if you push 1 on the keypad it should handup the call >> >> Also, you should investigate what the ATA isn't detected the 'hangup'. Maybe look at a SIP trace and confirm BYE packets >> are successfully getting to it. >> >> Good luck, >> Ben >> >> On Wed, Sep 21, 2016 at 5:14 PM, Nathan Neulinger > wrote: >> >> I've got an ATA that doesn't seem to be detecting hangup for callers. Is there a simple way to use tone_detect or >> similar to listen for the dial tone on a received call and then issue hangup upon detection? >> >> -- Nathan >> >> ------------------------------------------------------------ >> Nathan Neulinger nneul at mst.edu >> Missouri S&T Information Technology (573) 612-1412 >> System Administrator - Architect >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org >> >> >> >> >> -- >> All the best, >> Ben Cropley >> 07539 366 905 >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From benjamin.cropley at gmail.com Tue Sep 27 00:08:04 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Mon, 26 Sep 2016 21:08:04 +0100 Subject: [Freeswitch-users] example tone_detect to listen for dial tone and hang up? In-Reply-To: <3da84e34-9a04-6cf3-45bf-c71e340ccc45@mst.edu> References: <69e7649f-52d9-5a81-324a-de9c5e2c91da@mst.edu> <9f92444c-4c8c-dad2-5d36-12530fbe8bd3@mst.edu> <3da84e34-9a04-6cf3-45bf-c71e340ccc45@mst.edu> Message-ID: Glad I could help mate ^_^ Ben On Mon, Sep 26, 2016 at 8:55 PM, Nathan Neulinger wrote: > Looks like it worked! Thank you! At least one "Google Listing" spam call > was just short circuited instead of leaving a > long empty voicemail. > > -- Nathan > > On 09/26/2016 10:32 AM, Nathan Neulinger wrote: > > Ah, maybe I wasn't clear enough - it's the other direction. i.e. Issue > is with calls coming in from the analog side, not > > outbound. Symptom is that I wind up getting a 5 minute voicemail full of > dial tone - usually from some stupid > > telemarketer call or other autodialer. I won't see any SIP messages > since the ATA would be the one sending them. > > > > Giving that tone_detect a try. > > > > Thank you! > > > > -- Nathan > > > > On 09/26/2016 10:17 AM, Benjamin Cropley wrote: > >> Havn't tested this, but.. > >> > >> > >> > >> ..if you push 1 on the keypad it should handup the call > >> > >> Also, you should investigate what the ATA isn't detected the 'hangup'. > Maybe look at a SIP trace and confirm BYE packets > >> are successfully getting to it. > >> > >> Good luck, > >> Ben > >> > >> On Wed, Sep 21, 2016 at 5:14 PM, Nathan Neulinger > wrote: > >> > >> I've got an ATA that doesn't seem to be detecting hangup for > callers. Is there a simple way to use tone_detect or > >> similar to listen for the dial tone on a received call and then > issue hangup upon detection? > >> > >> -- Nathan > >> > >> ------------------------------------------------------------ > >> Nathan Neulinger nneul at mst.edu nneul at mst.edu> > >> Missouri S&T Information Technology (573) 612-1412 > > >> System Administrator - Architect > >> > >> ____________________________________________________________ > _____________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at freeswitch.org > >> http://www.freeswitchsolutions.com freeswitchsolutions.com> > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://confluence.freeswitch.org > >> http://www.cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org lists.freeswitch.org> > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ > options/freeswitch-users > >> > >> http://www.freeswitch.org > >> > >> > >> > >> > >> -- > >> All the best, > >> Ben Cropley > >> 07539 366 905 > >> > >> > >> ____________________________________________________________ > _____________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at 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 at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ > options/freeswitch-users > >> http://www.freeswitch.org > >> > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 612-1412 > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/8babbe46/attachment.html From krice at freeswitch.org Tue Sep 27 00:20:27 2016 From: krice at freeswitch.org (Ken Rice) Date: Mon, 26 Sep 2016 15:20:27 -0500 Subject: [Freeswitch-users] How to setup (video) recording with WebRTC? In-Reply-To: References: , Message-ID: <1dba01d21833$6c6060e0$452122a0$@freeswitch.org> Actualoly don?t start there wiki.freeswitch.org is OLD and deprecated . Try starting at https://freeswitch.org/confluence and search recording there From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Fred Pettersson Sent: Monday, September 26, 2016 2:55 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] How to setup (video) recording with WebRTC? Hi Mirko, thanks for the info. I will look into it. /Fred _____ Fr?n: freeswitch-users-bounces at lists.freeswitch.org > f?r Mirko Brankovic > Skickat: den 26 september 2016 17:12 Till: FreeSWITCH Users Help ?mne: Re: [Freeswitch-users] How to setup (video) recording with WebRTC? Hi Fred, You can start here: https://wiki.freeswitch.org/wiki/Video-recording Video-recording - FreeSWITCH Wiki wiki.freeswitch.org Media bug . The video-media-bug branch in tree implemented a simple video media bug, for video eavesdrop and recording. You need to manually build this branch before ... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/2fdddca8/attachment-0001.html From jprangi at gmail.com Tue Sep 27 05:09:46 2016 From: jprangi at gmail.com (Jai Rangi) Date: Mon, 26 Sep 2016 18:09:46 -0700 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: Reopening this thread. Tested again with the latest, FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is ready Seems like this is an old bug which was never fixed, http://lists.freeswitch.org/pipermail/freeswitch-users/2012-December/090285.html This can be reproduced even now. On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris wrote: > a crash is always a bug. Reproduce on master, get a backtrace, file a jira > > > On Tuesday, July 26, 2016, Jai Rangi wrote: > >> This is perfect, but if I press too many keys, freeswitch crashes :( Any >> idea? >> >> -Jai >> >> *Jai Rangi* >> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >> >> >> >> >> >> >> On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris wrote: >> >>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/ >>> browse/scripts/lua/callback.lua >>> >>> On Jul 26, 2016, at 1:28 PM, Jai Rangi wrote: >>> >>> Thanks, but need little more hint. Got the DTMF, how playback >>> application will react on the dtmf? >>> >>> -Jai >>> >>> *Jai Rangi* >>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>> >>> >>> >>> >>> >>> >>> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris >>> wrote: >>> >>>> You can do so via embedded scripting languages for sure using the >>>> callbacks for dtmf and their return values. >>>> >>>> > On Jul 26, 2016, at 12:37 PM, Jai Rangi wrote: >>>> > >>>> > Checking to see if it is possible to have controls on audio files >>>> played with playback or filestream. Expected controls are keys to rewind, >>>> forward, fast-forward, pause, play. >>>> >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160926/cbc85236/attachment.html From dujinfang at gmail.com Tue Sep 27 07:28:33 2016 From: dujinfang at gmail.com (Seven Du) Date: Tue, 27 Sep 2016 11:28:33 +0800 Subject: [Freeswitch-users] Dangerous prototype question for Seven Du In-Reply-To: References: <49695d11-93a9-3dd4-e0c5-280d17907ece@emtex.de> Message-ID: Hi Chris, Sorry I don?t follow this list in a timely manner. I created an empty page https://github.com/seven1240/xui I think I can share code and try to write some docs in October after our National holiday. And we can merge some of all the code into the fs repo it it works well. Thanks. > On Sep 26, 2016, at 3:35 PM, Christoph Russow wrote: > > Hi, > > is Seven on vacation or does he not read the mailing list? > > May be somebody who knows him be so kind and forward this mail if he > does not read the mailing list? > > Best Regards > Christoph Russow > > Am 19.09.2016 um 12:04 schrieb Christoph Russow: >> Hi, >> >> i've got a question for Seven Du. >> >> I was very impressed by your dangerous prototype on ClueCon 2016 and i'm >> wondering if you would share some more details about it. >> >> For example some background about the UI and how you executed the >> generated code within Freeswitch. >> >> Best Regards >> Christoph Russow >> > > -- > ________________________________________________________________ > > EMTEX GmbH > Christoph Russow > Software Engineer > > Bischof-Otto-Weg 9 > D-91086 Aurachtal > Gesch?ftsf?hrer: Markus Enzinger > Tel. +49 9132 7490 0 Sitz der Gesellschaft: 91086 Aurachtal > Fax. +49 9132 7490 900 Amtsgericht F?rth: HRB6804 > ________________________________________________________________ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/027a50c4/attachment.html From dujinfang at gmail.com Tue Sep 27 07:38:48 2016 From: dujinfang at gmail.com (Seven Du) Date: Tue, 27 Sep 2016 11:38:48 +0800 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> <2406A807-7E85-429A-AC9C-E5D0374AB35D@jerris.com> Message-ID: <5ADAAC47-DA2C-41A4-845F-03E19A0E2B18@gmail.com> I made that mod and we can make it work if get enough interests/sponsors. > On Sep 21, 2016, at 5:52 AM, Anthony Minessale wrote: > > Correct, that module is the closest to having video support but needs some major work. > The opal one might be possible from the opal authors if you ask/hire them. > > > On Tue, Sep 20, 2016 at 4:35 PM, Serge Yuriev > wrote: > AFAIR there is mod_ooh323 in separate branch and it supports video. > But module need patches for general usage. > > On 15 Sep 2016, at 17:06, Brian West > wrote: > >> There is no video support in any H323 modules in tree currently. Nobody has done the work to make them video capable. Maybe someone can sponsor that work. >> >> >> On Thu, Sep 15, 2016 at 12:31 AM, J?rgen Wendler > wrote: >> And what about mod_h323 ? Video support here included or are the video capabilitys only for SIP? >> >> >> >> Mit freundlichen Gr??en >> >> >> >> J?rgen Wendler >> >> -Technik- >> >> >> >> Vision Consulting Deutschland GmbH >> >> Bremsstr. 17, >> >> D-50969 K?ln (Cologne) >> >> Fon: +49-221-995574-20 >> Fax: +49-221-995574-99 >> jw at vision-gmbh.de >> http://www.vision-gmbh.de >> >> >> Gesch?ftsf?hrer: Dipl.-Inf. Stephan Krafft >> >> Register: HRB 61562 - Amtsgericht K?ln >> >> >> >> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] Im Auftrag von Michael Jerris >> Gesendet: Mittwoch, 14. September 2016 19:19 >> >> >> An: FreeSWITCH Users Help > >> Betreff: Re: [Freeswitch-users] Enable H264 Video >> >> >> >> I can confirm that module does not currently have video support. >> >> >> >> On Sep 14, 2016, at 11:20 AM, Brian West > wrote: >> >> >> >> If you code it probably, or find someone to code it. :) >> >> >> >> On Wed, Sep 14, 2016 at 1:12 AM, J?rgen Wendler > wrote: >> >> Well, i thought since Version 1.6 freeswitch is capable of Video support. So there is no chance to get video with h323 listener, mod_opal or mod_h323 ? >> >> >> >> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] Im Auftrag von Brian West >> Gesendet: Dienstag, 13. September 2016 17:22 >> An: FreeSWITCH Users Help > >> Betreff: Re: [Freeswitch-users] Enable H264 Video >> >> >> >> mod_opal doesn't support video in FreeSWITCH last I knew. >> >> >> >> On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler > wrote: >> >> Hello everyone, >> >> >> >> i?ve found some amazaing articles about FS and so i thought i can give it a try. >> >> So I followed instructions in confluenca and got a simple running fs server with mod_verto which is capable of some basic webrtc. Really nice. >> >> >> >> Now I want to join this room (which is the basic 3500 room with the default video-mcu-profile) with some external h323 device. So I compiled ptlib and opalvoip and finally mod_opal and created a h323 listener. >> >> When I call the ip + room number with an external device (polycom, sony) via h323 I get voice only connections, log says the following: >> >> >> >> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-2000 at 90000 (pt=121) to an OPAL media format. >> >> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-1998 at 90000 (pt=115) to an OPAL media format. >> >> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP8 at 90000 (pt=99) to an OPAL media format. >> >> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP9 at 90000 (pt=99) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263 at 90000 (pt=34) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec LPC at 8000 (pt=7) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec PROXY-VID at 90000 (pt=31) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H261 at 90000 (pt=31) to an OPAL media format. >> >> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H264 at 90000 (pt=97) to an OPAL media format. >> >> >> >> So I thought I should have a look about the compiled codecs. I activated mod_opal and mod_h26x in modules.conf but no succes. Log always says: >> >> >> >> 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal Answer:12170,0000000000001} H323 SetLocalCapabilities: GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf >> >> >> >> I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? in dialplan/default.xml but I think I am missing something. >> >> Could anyone point me in the right direction where I can ?enable? h263++ or h264 video capabilitys for an external h323 device / call via mod_opal? >> >> System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. >> >> >> >> Best regards, >> >> Juergen >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> -- >> Brian West >> brian at freeswitch.org >> >> Twitter: @FreeSWITCH , @briankwest >> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >> https://www.gofundme.com/freeswitch_ubuntu >> Got Bugs? Report them here ! | Reddit: /r/freeswitch >> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) >> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > -- > Serge S. Yuriev > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/eba108eb/attachment-0001.html From me at nevian.org Tue Sep 27 15:36:06 2016 From: me at nevian.org (Serge Yuriev) Date: Tue, 27 Sep 2016 14:36:06 +0300 Subject: [Freeswitch-users] Enable H264 Video In-Reply-To: <5ADAAC47-DA2C-41A4-845F-03E19A0E2B18@gmail.com> References: <032a649d78474c319815255e7c8e6037@vision-gmbh.de> <213471c5f51f4bf5a894c60559e2cac6@vision-gmbh.de> <2406A807-7E85-429A-AC9C-E5D0374AB35D@jerris.com> <5ADAAC47-DA2C-41A4-845F-03E19A0E2B18@gmail.com> Message-ID: Hello, I?m interested but only as my pet project so no sponsoring sorry :( I have made little patch to get network_addr filled and now stuck on passing correct cause codes - it?s always Normal clearing(10). And getting Caller_id_name will be a bonus :) On 27 Sep 2016, at 06:38, Seven Du wrote: > I made that mod and we can make it work if get enough interests/sponsors. > > >> On Sep 21, 2016, at 5:52 AM, Anthony Minessale wrote: >> >> Correct, that module is the closest to having video support but needs some major work. >> The opal one might be possible from the opal authors if you ask/hire them. >> >> >> On Tue, Sep 20, 2016 at 4:35 PM, Serge Yuriev wrote: >> AFAIR there is mod_ooh323 in separate branch and it supports video. >> But module need patches for general usage. >> >> On 15 Sep 2016, at 17:06, Brian West wrote: >> >>> There is no video support in any H323 modules in tree currently. Nobody has done the work to make them video capable. Maybe someone can sponsor that work. >>> >>> >>> On Thu, Sep 15, 2016 at 12:31 AM, J?rgen Wendler wrote: >>> And what about mod_h323 ? Video support here included or are the video capabilitys only for SIP? >>> >>> >>> >>> Mit freundlichen Gr??en >>> >>> >>> >>> J?rgen Wendler >>> >>> -Technik- >>> >>> >>> >>> Vision Consulting Deutschland GmbH >>> >>> Bremsstr. 17, >>> >>> D-50969 K?ln (Cologne) >>> >>> Fon: +49-221-995574-20 >>> >>> Fax: +49-221-995574-99 >>> >>> jw at vision-gmbh.de >>> >>> http://www.vision-gmbh.de >>> >>> >>> >>> Gesch?ftsf?hrer: Dipl.-Inf. Stephan Krafft >>> >>> Register: HRB 61562 - Amtsgericht K?ln >>> >>> >>> >>> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Michael Jerris >>> Gesendet: Mittwoch, 14. September 2016 19:19 >>> >>> >>> An: FreeSWITCH Users Help >>> Betreff: Re: [Freeswitch-users] Enable H264 Video >>> >>> >>> >>> I can confirm that module does not currently have video support. >>> >>> >>> >>> On Sep 14, 2016, at 11:20 AM, Brian West wrote: >>> >>> >>> >>> If you code it probably, or find someone to code it. :) >>> >>> >>> >>> On Wed, Sep 14, 2016 at 1:12 AM, J?rgen Wendler wrote: >>> >>> Well, i thought since Version 1.6 freeswitch is capable of Video support. So there is no chance to get video with h323 listener, mod_opal or mod_h323 ? >>> >>> >>> >>> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Brian West >>> Gesendet: Dienstag, 13. September 2016 17:22 >>> An: FreeSWITCH Users Help >>> Betreff: Re: [Freeswitch-users] Enable H264 Video >>> >>> >>> >>> mod_opal doesn't support video in FreeSWITCH last I knew. >>> >>> >>> >>> On Mon, Sep 12, 2016 at 8:18 AM, J?rgen Wendler wrote: >>> >>> Hello everyone, >>> >>> >>> >>> i?ve found some amazaing articles about FS and so i thought i can give it a try. >>> >>> So I followed instructions in confluenca and got a simple running fs server with mod_verto which is capable of some basic webrtc. Really nice. >>> >>> >>> >>> Now I want to join this room (which is the basic 3500 room with the default video-mcu-profile) with some external h323 device. So I compiled ptlib and opalvoip and finally mod_opal and created a h323 listener. >>> >>> When I call the ip + room number with an external device (polycom, sony) via h323 I get voice only connections, log says the following: >>> >>> >>> >>> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-2000 at 90000 (pt=121) to an OPAL media format. >>> >>> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263-1998 at 90000 (pt=115) to an OPAL media format. >>> >>> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP8 at 90000 (pt=99) to an OPAL media format. >>> >>> 2016-09-12 12:26:17.140849 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec VP9 at 90000 (pt=99) to an OPAL media format. >>> >>> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H263 at 90000 (pt=34) to an OPAL media format. >>> >>> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec LPC at 8000 (pt=7) to an OPAL media format. >>> >>> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec PROXY-VID at 90000 (pt=31) to an OPAL media format. >>> >>> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H261 at 90000 (pt=31) to an OPAL media format. >>> >>> 2016-09-12 12:26:17.160836 [WARNING] mod_opal.cpp:750 {Opal Answer:12170,0000000000001} mod_opal Could not match FS codec H264 at 90000 (pt=97) to an OPAL media format. >>> >>> >>> >>> So I thought I should have a look about the compiled codecs. I activated mod_opal and mod_h26x in modules.conf but no succes. Log always says: >>> >>> >>> >>> 2016-09-12 12:26:17.160836 [INFO] h323.cxx:3996 {Opal Answer:12170,0000000000001} H323 SetLocalCapabilities: GSM-AMR,G.723.1,G.729,GSM-06.10,G.711-uLaw-64k,G.711-ALaw-64k,T.38,UserInput/hookflash,UserInput/basicString,UserInput/dtmf >>> >>> >>> >>> I?ve tried to change profile or the conference / dialplan, event set ?absolute_codec_string? in dialplan/default.xml but I think I am missing something. >>> >>> Could anyone point me in the right direction where I can ?enable? h263++ or h264 video capabilitys for an external h323 device / call via mod_opal? >>> >>> System is debian 8, FS and ptlib / mod_opal are checked out from git / cvs. >>> >>> >>> >>> Best regards, >>> >>> Juergen >>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >>> -- >>> Brian West >>> brian at freeswitch.org >>> >>> >>> >>> Twitter: @FreeSWITCH , @briankwest >>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) >>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) >>> https://www.gofundme.com/freeswitch_ubuntu >>> >>> Got Bugs? Report them here! | Reddit: /r/freeswitch >>> >>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378) >>> iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >> >> -- >> Serge S. Yuriev >> >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Serge S. Yuriev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/10772a7c/attachment-0001.html From qasimakhan at gmail.com Tue Sep 27 14:14:31 2016 From: qasimakhan at gmail.com (qasimakhan at gmail.com) Date: Tue, 27 Sep 2016 15:14:31 +0500 Subject: [Freeswitch-users] gRPC module. Message-ID: Hi, Just wanted to know anyupdates on google's gRPC modules. I only see one thread from "Leonardo Ribeiro" but there were no updates posted. Regards, Qasim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/269c10a9/attachment.html From alexdruzhilov at gmail.com Tue Sep 27 13:09:47 2016 From: alexdruzhilov at gmail.com (=?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCU0YDRg9C20LjQu9C+0LI=?=) Date: Tue, 27 Sep 2016 12:09:47 +0300 Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: ????????? ???????? Date: 2016-09-26 14:31 GMT+03:00 Subject: Freeswitch uses wrong ICE candidate to establish connection To: freeswitch-users at lists.freeswitch.org *The short description of problem* We are using Freeswitch for conference calls through webRTC. Chrome collects ICE candidates (from two net interfaces: ethernet and wifi), sends them to Freeswitch and Freeswitch accepts one of this candidates. After that Freeswitch tries to make DTLS handshake, but Chrome ignores it and sends STUN pings over and over again. But if I disable one of this network interfaces, then everything works fine. From my point of view the problem is that Freeswitch uses wrong ICE candidate (it takes this candidate from STUN pings, but there is no exactly such candidate in SDP). I also admit that may be the root of the problem is inside Chrome (because Firefox works properly in this case), but I interested in possible explanations an may be solutions from the Freeswitch side. *Versions* Freeswitch 1.6.9, 1.6.10 Chrome 52, 53, 54 Server OS: CentOS 7.2.1511 Client OS: Ubuntu 16.04 *IP addresses* 1) 172.15.1.1 - local VM (VirtualBox) 2) 192.168.22.57 - local ethernet interface 3) 192.168.41.185 - local wi-fi interface 4) 52.202.171.116 - Freeswitch IP *Succsess case* Chrome sends offer with this candidates (Ethernet and WI-FI addresses) a=candidate:988003974 1 udp 2122260223 192.168.22.57 56687 typ host generation 0 network-id 1 a=candidate:3404510875 1 udp 2122194687 192.168.41.185 57467 typ host generation 0 network-id 4 network-cost 10 a=candidate:988003974 2 udp 2122260222 192.168.22.57 60099 typ host generation 0 network-id 1 a=candidate:3404510875 2 udp 2122194686 192.168.41.185 54887 typ host generation 0 network-id 4 network-cost 10 a=candidate:3148593202 1 udp 1686052607 80.254.60.17 56687 typ srflx raddr 192.168.22.57 rport 56687 generation 0 network-id 1 a=candidate:3148593202 2 udp 1686052606 80.254.60.17 60099 typ srflx raddr 192.168.22.57 rport 60099 generation 0 network-id 1 Freeswitch choose srflx candidate 2016-09-26 10:54:28.337897 [DEBUG] switch_core_media.c:6434 AUDIO RTP [sofia/external576460752303423473 at wrike] 172.16.106.100 port 17052 -> 80.254.60.17 port 56687 codec: 111 ms: 20 Receives STUN pings from this interface and everything goes as expected - media stream established. *Failure case (add one interface (VirtualBox) or disable one of existing interfaces)* Chrome sends offer with one additional interface (VirtualBox). a=candidate:1861086701 1 udp 2122260223 172.15.1.1 43367 typ host generation 0 network-id 3 a=candidate:988003974 1 udp 2122194687 192.168.22.57 54230 typ host generation 0 network-id 1 a=candidate:3404510875 1 udp 2122129151 192.168.41.185 42752 typ host generation 0 network-id 4 network-cost 10 a=candidate:1861086701 2 udp 2122260222 172.15.1.1 55301 typ host generation 0 network-id 3 a=candidate:988003974 2 udp 2122194686 192.168.22.57 44112 typ host generation 0 network-id 1 a=candidate:3404510875 2 udp 2122129150 192.168.41.185 46978 typ host generation 0 network-id 4 network-cost 10 a=candidate:3148593202 1 udp 1685987071 80.254.60.17 54230 typ srflx raddr 192.168.22.57 rport 54230 generation 0 network-id 1 a=candidate:3148593202 2 udp 1685987070 80.254.60.17 44112 typ srflx raddr 192.168.22.57 rport 44112 generation 0 network-id 1 Freeswitch choose VirtualBox interface as main candidate 2016-09-26 11:03:40.513295 [DEBUG] switch_core_media.c:6434 AUDIO RTP [sofia/external/576460752303423471 at wrike] 172.16.106.100 port 17000 -> 172.15.1.1 port 42374 codec: 111 ms: 20 After a few STUN pings Freeswitch changes his main candidate to the public address of my Wi-Fi interface (but it was not included in SDP by chrome and I don't know exactly why). 2016-09-26 11:03:40.912987 [NOTICE] switch_rtp.c:1258 Auto Changing video stun/rtp/dtls port from 172.15.1.1:43367 to 80.254.60.17:42752 Freeswitch tries to make DTLS handshake with this candidate, but fails because Chrome ingores this "Client Hello" request. All necessary data attached for success and failure cases (freeswitch logs, wireshark dump made on client, SDP). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/155d7530/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: failure.zip Type: application/zip Size: 1390885 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/155d7530/attachment-0002.zip -------------- next part -------------- A non-text attachment was scrubbed... Name: success.zip Type: application/zip Size: 392671 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/155d7530/attachment-0003.zip From mirkobrankovic at gmail.com Tue Sep 27 17:27:32 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 27 Sep 2016 15:27:32 +0200 Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection In-Reply-To: References: Message-ID: Are you using mod_sofia with sip or mod_verto ? can you try with varto-communicator and mod_verto wss port ? On Tue, Sep 27, 2016 at 11:09 AM, ????????? ???????? < alexdruzhilov at gmail.com> wrote: > > ---------- Forwarded message ---------- > From: ????????? ???????? > Date: 2016-09-26 14:31 GMT+03:00 > Subject: Freeswitch uses wrong ICE candidate to establish connection > To: freeswitch-users at lists.freeswitch.org > > > *The short description of problem* > We are using Freeswitch for conference calls through webRTC. Chrome > collects ICE candidates (from two net interfaces: ethernet and wifi), sends > them to Freeswitch and Freeswitch accepts one of this candidates. After > that Freeswitch tries to make DTLS handshake, but Chrome ignores it and > sends STUN pings over and over again. But if I disable one of this network > interfaces, then everything works fine. From my point of view the problem > is that Freeswitch uses wrong ICE candidate (it takes this candidate from > STUN pings, but there is no exactly such candidate in SDP). I also admit > that may be the root of the problem is inside Chrome (because Firefox works > properly in this case), but I interested in possible explanations an may be > solutions from the Freeswitch side. > > *Versions* > Freeswitch 1.6.9, 1.6.10 > Chrome 52, 53, 54 > Server OS: CentOS 7.2.1511 > Client OS: Ubuntu 16.04 > > *IP addresses* > 1) 172.15.1.1 - local VM (VirtualBox) > 2) 192.168.22.57 - local ethernet interface > 3) 192.168.41.185 - local wi-fi interface > 4) 52.202.171.116 - Freeswitch IP > > *Succsess case* > Chrome sends offer with this candidates (Ethernet and WI-FI addresses) > a=candidate:988003974 1 udp 2122260223 192.168.22.57 56687 typ host > generation 0 network-id 1 > a=candidate:3404510875 1 udp 2122194687 192.168.41.185 57467 typ host > generation 0 network-id 4 network-cost 10 > a=candidate:988003974 2 udp 2122260222 192.168.22.57 60099 typ host > generation 0 network-id 1 > a=candidate:3404510875 2 udp 2122194686 192.168.41.185 54887 typ host > generation 0 network-id 4 network-cost 10 > a=candidate:3148593202 1 udp 1686052607 80.254.60.17 56687 typ srflx raddr > 192.168.22.57 rport 56687 generation 0 network-id 1 > a=candidate:3148593202 2 udp 1686052606 80.254.60.17 60099 typ srflx raddr > 192.168.22.57 rport 60099 generation 0 network-id 1 > > Freeswitch choose srflx candidate > 2016-09-26 10:54:28.337897 [DEBUG] switch_core_media.c:6434 AUDIO RTP > [sofia/external576460752303423473 at wrike] 172.16.106.100 port 17052 -> > 80.254.60.17 port 56687 codec: 111 ms: 20 > Receives STUN pings from this interface and everything goes as expected - > media stream established. > > *Failure case (add one interface (VirtualBox) or disable one of existing > interfaces)* > Chrome sends offer with one additional interface (VirtualBox). > a=candidate:1861086701 1 udp 2122260223 172.15.1.1 43367 typ host > generation 0 network-id 3 > a=candidate:988003974 1 udp 2122194687 192.168.22.57 54230 typ host > generation 0 network-id 1 > a=candidate:3404510875 1 udp 2122129151 192.168.41.185 42752 typ host > generation 0 network-id 4 network-cost 10 > a=candidate:1861086701 2 udp 2122260222 172.15.1.1 55301 typ host > generation 0 network-id 3 > a=candidate:988003974 2 udp 2122194686 192.168.22.57 44112 typ host > generation 0 network-id 1 > a=candidate:3404510875 2 udp 2122129150 192.168.41.185 46978 typ host > generation 0 network-id 4 network-cost 10 > a=candidate:3148593202 1 udp 1685987071 80.254.60.17 54230 typ srflx raddr > 192.168.22.57 rport 54230 generation 0 network-id 1 > a=candidate:3148593202 2 udp 1685987070 80.254.60.17 44112 typ srflx raddr > 192.168.22.57 rport 44112 generation 0 network-id 1 > > Freeswitch choose VirtualBox interface as main candidate > 2016-09-26 11:03:40.513295 [DEBUG] switch_core_media.c:6434 AUDIO RTP > [sofia/external/576460752303423471 at wrike] 172.16.106.100 port 17000 -> > 172.15.1.1 port 42374 codec: 111 ms: 20 > > After a few STUN pings Freeswitch changes his main candidate to the public > address of my Wi-Fi interface (but it was not included in SDP by chrome and > I don't know exactly why). > 2016-09-26 11:03:40.912987 [NOTICE] switch_rtp.c:1258 Auto Changing video > stun/rtp/dtls port from 172.15.1.1:43367 to 80.254.60.17:42752 > > Freeswitch tries to make DTLS handshake with this candidate, but fails > because Chrome ingores this "Client Hello" request. > > All necessary data attached for success and failure cases (freeswitch > logs, wireshark dump made on client, SDP). > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/cc89fa93/attachment.html From caioebassis at hotmail.com Tue Sep 27 17:29:55 2016 From: caioebassis at hotmail.com (Caio Assis) Date: Tue, 27 Sep 2016 13:29:55 +0000 Subject: [Freeswitch-users] Playback within condition In-Reply-To: References: <9149456D-C25F-4E38-A4D4-CD1A186D1531@jerris.com> , Message-ID: Thank you for your help. The example you gave helped me a lot. I was able to do what I intended. Thanks a lot. ________________________________ From: freeswitch-users-bounces at lists.freeswitch.org on behalf of Branden Jordan Sent: Friday, September 23, 2016 6:28 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Playback within condition Yeah without the console logs we are not going to be able to really help you. If you are trying to do your conditionals right after your play and get digits or read that is not going to work without transferring. Remember the dialplan has two steps, the evaluation period to figure out what to run, and then the execute phase where it executes the steps. If you create the variable during the execute phase you cannot use the variable further down in a conditional in the same execution because during the evaluation period it was null. This works when I test it. Maybe this will help you get on the right path to solving your issue. Thanks, Branden Jordan From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Friday, September 23, 2016 1:52 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Playback within condition Like said before you need to look into logs to figure it out or paste the console logs here. On 23 September 2016 at 22:18, Caio Assis > wrote: Actually, i might have figured it out. What I intend to do is an IVR-like application. Which means I want this to happen Call 1212 Application="read" gets my input if digit == 1 do this if digit == 2 do that Each option has it's own set of structions, so I think it should be within a condition. But I can't seem to validate the condition. Look at the following construction. ${dg} is the variable that stores the input digit. So, if ${dg} == 0, play beep.gsm, else play audio.gsm. The expression is never true, but i put 0 always. Instead of playing beep.gsm, it plays audio.gsm. I got the same example from Freeswitch 1.2 book, Nested Conditions section. ________________________________ From: freeswitch-users-bounces at lists.freeswitch.org > on behalf of Michael Jerris > Sent: Thursday, September 22, 2016 6:57 PM To: FreeSWITCH Users Help Cc: comercial at ypytecnologia.com.br Subject: Re: [Freeswitch-users] Playback within condition look at the log generated by calling this. What order do the dial plan apps show up? Does the playback show up? what do the logs show it doing when it executes that playback? On Sep 22, 2016, at 1:06 PM, Caio Assis > wrote: Hi. Here's what I'm trying to do. I want to play a sound if a certain condition is true. The sound 1 doesn't play, but I knew the condition was true because I can see the INFO LOG on the console. The sound 2, outside the condition, was played normally. Both PLAYBACK and READ applications don't work on nested conditions. Can anyone help me? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/bfb6a9a4/attachment-0001.html From krice at freeswitch.org Tue Sep 27 17:35:22 2016 From: krice at freeswitch.org (Ken Rice) Date: Tue, 27 Sep 2016 08:35:22 -0500 Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection In-Reply-To: References: Message-ID: <233101d218c4$002b9ac0$0082d040$@freeswitch.org> Bugs get reported to Jira @ https://freeswitch.org/jira so they don?t fall thru the cracks From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of ????????? ???????? Sent: Tuesday, September 27, 2016 4:10 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection ---------- Forwarded message ---------- From: ????????? ???????? > Date: 2016-09-26 14:31 GMT+03:00 Subject: Freeswitch uses wrong ICE candidate to establish connection To: freeswitch-users at lists.freeswitch.org The short description of problem We are using Freeswitch for conference calls through webRTC. Chrome collects ICE candidates (from two net interfaces: ethernet and wifi), sends them to Freeswitch and Freeswitch accepts one of this candidates. After that Freeswitch tries to make DTLS handshake, but Chrome ignores it and sends STUN pings over and over again. But if I disable one of this network interfaces, then everything works fine. From my point of view the problem is that Freeswitch uses wrong ICE candidate (it takes this candidate from STUN pings, but there is no exactly such candidate in SDP). I also admit that may be the root of the problem is inside Chrome (because Firefox works properly in this case), but I interested in possible explanations an may be solutions from the Freeswitch side. Versions Freeswitch 1.6.9, 1.6.10 Chrome 52, 53, 54 Server OS: CentOS 7.2.1511 Client OS: Ubuntu 16.04 IP addresses 1) 172.15.1.1 - local VM (VirtualBox) 2) 192.168.22.57 - local ethernet interface 3) 192.168.41.185 - local wi-fi interface 4) 52.202.171.116 - Freeswitch IP Succsess case Chrome sends offer with this candidates (Ethernet and WI-FI addresses) a=candidate:988003974 1 udp 2122260223 192.168.22.57 56687 typ host generation 0 network-id 1 a=candidate:3404510875 1 udp 2122194687 192.168.41.185 57467 typ host generation 0 network-id 4 network-cost 10 a=candidate:988003974 2 udp 2122260222 192.168.22.57 60099 typ host generation 0 network-id 1 a=candidate:3404510875 2 udp 2122194686 192.168.41.185 54887 typ host generation 0 network-id 4 network-cost 10 a=candidate:3148593202 1 udp 1686052607 80.254.60.17 56687 typ srflx raddr 192.168.22.57 rport 56687 generation 0 network-id 1 a=candidate:3148593202 2 udp 1686052606 80.254.60.17 60099 typ srflx raddr 192.168.22.57 rport 60099 generation 0 network-id 1 Freeswitch choose srflx candidate 2016-09-26 10:54:28.337897 [DEBUG] switch_core_media.c:6434 AUDIO RTP [sofia/external576460752303423473 at wrike] 172.16.106.100 port 17052 -> 80.254.60.17 port 56687 codec: 111 ms: 20 Receives STUN pings from this interface and everything goes as expected - media stream established. Failure case (add one interface (VirtualBox) or disable one of existing interfaces) Chrome sends offer with one additional interface (VirtualBox). a=candidate:1861086701 1 udp 2122260223 172.15.1.1 43367 typ host generation 0 network-id 3 a=candidate:988003974 1 udp 2122194687 192.168.22.57 54230 typ host generation 0 network-id 1 a=candidate:3404510875 1 udp 2122129151 192.168.41.185 42752 typ host generation 0 network-id 4 network-cost 10 a=candidate:1861086701 2 udp 2122260222 172.15.1.1 55301 typ host generation 0 network-id 3 a=candidate:988003974 2 udp 2122194686 192.168.22.57 44112 typ host generation 0 network-id 1 a=candidate:3404510875 2 udp 2122129150 192.168.41.185 46978 typ host generation 0 network-id 4 network-cost 10 a=candidate:3148593202 1 udp 1685987071 80.254.60.17 54230 typ srflx raddr 192.168.22.57 rport 54230 generation 0 network-id 1 a=candidate:3148593202 2 udp 1685987070 80.254.60.17 44112 typ srflx raddr 192.168.22.57 rport 44112 generation 0 network-id 1 Freeswitch choose VirtualBox interface as main candidate 2016-09-26 11:03:40.513295 [DEBUG] switch_core_media.c:6434 AUDIO RTP [sofia/external/576460752303423471 at wrike] 172.16.106.100 port 17000 -> 172.15.1.1 port 42374 codec: 111 ms: 20 After a few STUN pings Freeswitch changes his main candidate to the public address of my Wi-Fi interface (but it was not included in SDP by chrome and I don't know exactly why). 2016-09-26 11:03:40.912987 [NOTICE] switch_rtp.c:1258 Auto Changing video stun/rtp/dtls port from 172.15.1.1:43367 to 80.254.60.17:42752 Freeswitch tries to make DTLS handshake with this candidate, but fails because Chrome ingores this "Client Hello" request. All necessary data attached for success and failure cases (freeswitch logs, wireshark dump made on client, SDP). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/9490d2e0/attachment.html From brian at freeswitch.org Tue Sep 27 17:59:39 2016 From: brian at freeswitch.org (Brian West) Date: Tue, 27 Sep 2016 06:59:39 -0700 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: THIS is exactly why things need to be reported in JIRA, Reporting them on the mailing list they'll get overlooked and not fixed, Please file a JIRA ASAP. /b On Mon, Sep 26, 2016 at 6:09 PM, Jai Rangi wrote: > Reopening this thread. > > Tested again with the latest, > FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is ready > > > Seems like this is an old bug which was never fixed, > http://lists.freeswitch.org/pipermail/freeswitch-users/ > 2012-December/090285.html > > This can be reproduced even now. > > > > > On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris wrote: > >> a crash is always a bug. Reproduce on master, get a backtrace, file a >> jira >> >> >> On Tuesday, July 26, 2016, Jai Rangi wrote: >> >>> This is perfect, but if I press too many keys, freeswitch crashes :( >>> Any idea? >>> >>> -Jai >>> >>> *Jai Rangi* >>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>> >>> >>> >>> >>> >>> >>> On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris >>> wrote: >>> >>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/br >>>> owse/scripts/lua/callback.lua >>>> >>>> On Jul 26, 2016, at 1:28 PM, Jai Rangi wrote: >>>> >>>> Thanks, but need little more hint. Got the DTMF, how playback >>>> application will react on the dtmf? >>>> >>>> -Jai >>>> >>>> *Jai Rangi* >>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris >>>> wrote: >>>> >>>>> You can do so via embedded scripting languages for sure using the >>>>> callbacks for dtmf and their return values. >>>>> >>>>> > On Jul 26, 2016, at 12:37 PM, Jai Rangi wrote: >>>>> > >>>>> > Checking to see if it is possible to have controls on audio files >>>>> played with playback or filestream. Expected controls are keys to rewind, >>>>> forward, fast-forward, pause, play. >>>>> >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/4f62a5e7/attachment-0001.html From olegstolyar at gmail.com Tue Sep 27 18:23:37 2016 From: olegstolyar at gmail.com (Oleg Stolyar) Date: Tue, 27 Sep 2016 07:23:37 -0700 Subject: [Freeswitch-users] Verto response headers Message-ID: Hello, In SIP we can add custom headers to the response which the calling client can examine. Is there a way to do something like this in Verto? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/38f24a46/attachment.html From alexdruzhilov at gmail.com Tue Sep 27 17:57:45 2016 From: alexdruzhilov at gmail.com (=?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCU0YDRg9C20LjQu9C+0LI=?=) Date: Tue, 27 Sep 2016 16:57:45 +0300 Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection In-Reply-To: <233101d218c4$002b9ac0$0082d040$@freeswitch.org> References: <233101d218c4$002b9ac0$0082d040$@freeswitch.org> Message-ID: "Are you using mod_sofia with sip or mod_verto ?" We are using mod_sofia. "can you try with varto-communicator and mod_verto wss port ?" Can you please explain how it could be helpful in case of this problem? I have already reported issue in Jira ( https://freeswitch.org/jira/browse/FS-9570). 2016-09-27 16:35 GMT+03:00 Ken Rice : > Bugs get reported to Jira @ https://freeswitch.org/jira so they don?t > fall thru the cracks > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *????????? > ???????? > *Sent:* Tuesday, September 27, 2016 4:10 AM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to > establish connection > > > > > > ---------- Forwarded message ---------- > From: *????????? ????????* > Date: 2016-09-26 14:31 GMT+03:00 > Subject: Freeswitch uses wrong ICE candidate to establish connection > To: freeswitch-users at lists.freeswitch.org > > *The short description of problem* > > We are using Freeswitch for conference calls through webRTC. Chrome > collects ICE candidates (from two net interfaces: ethernet and wifi), sends > them to Freeswitch and Freeswitch accepts one of this candidates. After > that Freeswitch tries to make DTLS handshake, but Chrome ignores it and > sends STUN pings over and over again. But if I disable one of this network > interfaces, then everything works fine. From my point of view the problem > is that Freeswitch uses wrong ICE candidate (it takes this candidate from > STUN pings, but there is no exactly such candidate in SDP). I also admit > that may be the root of the problem is inside Chrome (because Firefox works > properly in this case), but I interested in possible explanations an may be > solutions from the Freeswitch side. > > > > *Versions* > Freeswitch 1.6.9, 1.6.10 > Chrome 52, 53, 54 > > Server OS: CentOS 7.2.1511 > Client OS: Ubuntu 16.04 > > > > *IP addresses* > > 1) 172.15.1.1 - local VM (VirtualBox) > 2) 192.168.22.57 - local ethernet interface > 3) 192.168.41.185 - local wi-fi interface > > 4) 52.202.171.116 - Freeswitch IP > > *Succsess case* > > Chrome sends offer with this candidates (Ethernet and WI-FI addresses) > > a=candidate:988003974 1 udp 2122260223 192.168.22.57 56687 typ host > generation 0 network-id 1 > > a=candidate:3404510875 1 udp 2122194687 192.168.41.185 57467 typ host > generation 0 network-id 4 network-cost 10 > > a=candidate:988003974 2 udp 2122260222 192.168.22.57 60099 typ host > generation 0 network-id 1 > > a=candidate:3404510875 2 udp 2122194686 192.168.41.185 54887 typ host > generation 0 network-id 4 network-cost 10 > > a=candidate:3148593202 1 udp 1686052607 80.254.60.17 56687 typ srflx raddr > 192.168.22.57 rport 56687 generation 0 network-id 1 > > a=candidate:3148593202 2 udp 1686052606 80.254.60.17 60099 typ srflx raddr > 192.168.22.57 rport 60099 generation 0 network-id 1 > > > > Freeswitch choose srflx candidate > 2016-09-26 10:54:28.337897 [DEBUG] switch_core_media.c:6434 AUDIO RTP > [sofia/external576460752303423473 at wrike] 172.16.106.100 port 17052 -> > 80.254.60.17 port 56687 codec: 111 ms: 20 > > Receives STUN pings from this interface and everything goes as expected - > media stream established. > > *Failure case (add one interface (VirtualBox) or disable one of existing > interfaces)* > > Chrome sends offer with one additional interface (VirtualBox). > > a=candidate:1861086701 1 udp 2122260223 172.15.1.1 43367 typ host > generation 0 network-id 3 > > a=candidate:988003974 1 udp 2122194687 192.168.22.57 54230 typ host > generation 0 network-id 1 > > a=candidate:3404510875 1 udp 2122129151 192.168.41.185 42752 typ host > generation 0 network-id 4 network-cost 10 > > a=candidate:1861086701 2 udp 2122260222 172.15.1.1 55301 typ host > generation 0 network-id 3 > > a=candidate:988003974 2 udp 2122194686 192.168.22.57 44112 typ host > generation 0 network-id 1 > > a=candidate:3404510875 2 udp 2122129150 192.168.41.185 46978 typ host > generation 0 network-id 4 network-cost 10 > > a=candidate:3148593202 1 udp 1685987071 80.254.60.17 54230 typ srflx raddr > 192.168.22.57 rport 54230 generation 0 network-id 1 > > a=candidate:3148593202 2 udp 1685987070 80.254.60.17 44112 typ srflx raddr > 192.168.22.57 rport 44112 generation 0 network-id 1 > > > > Freeswitch choose VirtualBox interface as main candidate > > 2016-09-26 11:03:40.513295 [DEBUG] switch_core_media.c:6434 AUDIO RTP > [sofia/external/576460752303423471 at wrike] 172.16.106.100 port 17000 -> > 172.15.1.1 port 42374 codec: 111 ms: 20 > > > > After a few STUN pings Freeswitch changes his main candidate to the public > address of my Wi-Fi interface (but it was not included in SDP by chrome and > I don't know exactly why). > > 2016-09-26 11:03:40.912987 [NOTICE] switch_rtp.c:1258 Auto Changing video > stun/rtp/dtls port from 172.15.1.1:43367 to 80.254.60.17:42752 > > Freeswitch tries to make DTLS handshake with this candidate, but fails > because Chrome ingores this "Client Hello" request. > > > > All necessary data attached for success and failure cases (freeswitch > logs, wireshark dump made on client, SDP). > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/dc673c63/attachment.html From krice at freeswitch.org Tue Sep 27 18:34:13 2016 From: krice at freeswitch.org (Ken Rice) Date: Tue, 27 Sep 2016 09:34:13 -0500 Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection In-Reply-To: References: <233101d218c4$002b9ac0$0082d040$@freeswitch.org> Message-ID: <259501d218cc$38b42210$aa1c6630$@freeswitch.org> If you have already reported this on Jira, that?s the best place to hold discussions of the ticket? that way it doesn?t get lost among all the messages flying around on the mailing list From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of ????????? ???????? Sent: Tuesday, September 27, 2016 8:58 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection "Are you using mod_sofia with sip or mod_verto ?" We are using mod_sofia. "can you try with varto-communicator and mod_verto wss port ?" Can you please explain how it could be helpful in case of this problem? I have already reported issue in Jira (https://freeswitch.org/jira/browse/FS-9570). 2016-09-27 16:35 GMT+03:00 Ken Rice >: Bugs get reported to Jira @ https://freeswitch.org/jira so they don?t fall thru the cracks From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of ????????? ???????? Sent: Tuesday, September 27, 2016 4:10 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection ---------- Forwarded message ---------- From: ????????? ???????? > Date: 2016-09-26 14:31 GMT+03:00 Subject: Freeswitch uses wrong ICE candidate to establish connection To: freeswitch-users at lists.freeswitch.org The short description of problem We are using Freeswitch for conference calls through webRTC. Chrome collects ICE candidates (from two net interfaces: ethernet and wifi), sends them to Freeswitch and Freeswitch accepts one of this candidates. After that Freeswitch tries to make DTLS handshake, but Chrome ignores it and sends STUN pings over and over again. But if I disable one of this network interfaces, then everything works fine. From my point of view the problem is that Freeswitch uses wrong ICE candidate (it takes this candidate from STUN pings, but there is no exactly such candidate in SDP). I also admit that may be the root of the problem is inside Chrome (because Firefox works properly in this case), but I interested in possible explanations an may be solutions from the Freeswitch side. Versions Freeswitch 1.6.9, 1.6.10 Chrome 52, 53, 54 Server OS: CentOS 7.2.1511 Client OS: Ubuntu 16.04 IP addresses 1) 172.15.1.1 - local VM (VirtualBox) 2) 192.168.22.57 - local ethernet interface 3) 192.168.41.185 - local wi-fi interface 4) 52.202.171.116 - Freeswitch IP Succsess case Chrome sends offer with this candidates (Ethernet and WI-FI addresses) a=candidate:988003974 1 udp 2122260223 192.168.22.57 56687 typ host generation 0 network-id 1 a=candidate:3404510875 1 udp 2122194687 192.168.41.185 57467 typ host generation 0 network-id 4 network-cost 10 a=candidate:988003974 2 udp 2122260222 192.168.22.57 60099 typ host generation 0 network-id 1 a=candidate:3404510875 2 udp 2122194686 192.168.41.185 54887 typ host generation 0 network-id 4 network-cost 10 a=candidate:3148593202 1 udp 1686052607 80.254.60.17 56687 typ srflx raddr 192.168.22.57 rport 56687 generation 0 network-id 1 a=candidate:3148593202 2 udp 1686052606 80.254.60.17 60099 typ srflx raddr 192.168.22.57 rport 60099 generation 0 network-id 1 Freeswitch choose srflx candidate 2016-09-26 10:54:28.337897 [DEBUG] switch_core_media.c:6434 AUDIO RTP [sofia/external576460752303423473 at wrike] 172.16.106.100 port 17052 -> 80.254.60.17 port 56687 codec: 111 ms: 20 Receives STUN pings from this interface and everything goes as expected - media stream established. Failure case (add one interface (VirtualBox) or disable one of existing interfaces) Chrome sends offer with one additional interface (VirtualBox). a=candidate:1861086701 1 udp 2122260223 172.15.1.1 43367 typ host generation 0 network-id 3 a=candidate:988003974 1 udp 2122194687 192.168.22.57 54230 typ host generation 0 network-id 1 a=candidate:3404510875 1 udp 2122129151 192.168.41.185 42752 typ host generation 0 network-id 4 network-cost 10 a=candidate:1861086701 2 udp 2122260222 172.15.1.1 55301 typ host generation 0 network-id 3 a=candidate:988003974 2 udp 2122194686 192.168.22.57 44112 typ host generation 0 network-id 1 a=candidate:3404510875 2 udp 2122129150 192.168.41.185 46978 typ host generation 0 network-id 4 network-cost 10 a=candidate:3148593202 1 udp 1685987071 80.254.60.17 54230 typ srflx raddr 192.168.22.57 rport 54230 generation 0 network-id 1 a=candidate:3148593202 2 udp 1685987070 80.254.60.17 44112 typ srflx raddr 192.168.22.57 rport 44112 generation 0 network-id 1 Freeswitch choose VirtualBox interface as main candidate 2016-09-26 11:03:40.513295 [DEBUG] switch_core_media.c:6434 AUDIO RTP [sofia/external/576460752303423471 at wrike] 172.16.106.100 port 17000 -> 172.15.1.1 port 42374 codec: 111 ms: 20 After a few STUN pings Freeswitch changes his main candidate to the public address of my Wi-Fi interface (but it was not included in SDP by chrome and I don't know exactly why). 2016-09-26 11:03:40.912987 [NOTICE] switch_rtp.c:1258 Auto Changing video stun/rtp/dtls port from 172.15.1.1:43367 to 80.254.60.17:42752 Freeswitch tries to make DTLS handshake with this candidate, but fails because Chrome ingores this "Client Hello" request. All necessary data attached for success and failure cases (freeswitch logs, wireshark dump made on client, SDP). _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/422ef2ef/attachment-0001.html From mirkobrankovic at gmail.com Tue Sep 27 18:48:09 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 27 Sep 2016 16:48:09 +0200 Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection In-Reply-To: References: <233101d218c4$002b9ac0$0082d040$@freeswitch.org> Message-ID: Well I was using mod_verto and I have local on laptop, lan, wifi, virbr0 (virtualbox), docker0 with local IP and had no issues so far On Tue, Sep 27, 2016 at 3:57 PM, ????????? ???????? wrote: > "Are you using mod_sofia with sip or mod_verto ?" > We are using mod_sofia. > > "can you try with varto-communicator and mod_verto wss port ?" > Can you please explain how it could be helpful in case of this problem? > > I have already reported issue in Jira (https://freeswitch.org/jira/ > browse/FS-9570). > > 2016-09-27 16:35 GMT+03:00 Ken Rice : > >> Bugs get reported to Jira @ https://freeswitch.org/jira so they don?t >> fall thru the cracks >> >> >> >> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *????????? >> ???????? >> *Sent:* Tuesday, September 27, 2016 4:10 AM >> *To:* freeswitch-users at lists.freeswitch.org >> *Subject:* [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate >> to establish connection >> >> >> >> >> >> ---------- Forwarded message ---------- >> From: *????????? ????????* >> Date: 2016-09-26 14:31 GMT+03:00 >> Subject: Freeswitch uses wrong ICE candidate to establish connection >> To: freeswitch-users at lists.freeswitch.org >> >> *The short description of problem* >> >> We are using Freeswitch for conference calls through webRTC. Chrome >> collects ICE candidates (from two net interfaces: ethernet and wifi), sends >> them to Freeswitch and Freeswitch accepts one of this candidates. After >> that Freeswitch tries to make DTLS handshake, but Chrome ignores it and >> sends STUN pings over and over again. But if I disable one of this network >> interfaces, then everything works fine. From my point of view the problem >> is that Freeswitch uses wrong ICE candidate (it takes this candidate from >> STUN pings, but there is no exactly such candidate in SDP). I also admit >> that may be the root of the problem is inside Chrome (because Firefox works >> properly in this case), but I interested in possible explanations an may be >> solutions from the Freeswitch side. >> >> >> >> *Versions* >> Freeswitch 1.6.9, 1.6.10 >> Chrome 52, 53, 54 >> >> Server OS: CentOS 7.2.1511 >> Client OS: Ubuntu 16.04 >> >> >> >> *IP addresses* >> >> 1) 172.15.1.1 - local VM (VirtualBox) >> 2) 192.168.22.57 - local ethernet interface >> 3) 192.168.41.185 - local wi-fi interface >> >> 4) 52.202.171.116 - Freeswitch IP >> >> *Succsess case* >> >> Chrome sends offer with this candidates (Ethernet and WI-FI addresses) >> >> a=candidate:988003974 1 udp 2122260223 192.168.22.57 56687 typ host >> generation 0 network-id 1 >> >> a=candidate:3404510875 1 udp 2122194687 192.168.41.185 57467 typ host >> generation 0 network-id 4 network-cost 10 >> >> a=candidate:988003974 2 udp 2122260222 192.168.22.57 60099 typ host >> generation 0 network-id 1 >> >> a=candidate:3404510875 2 udp 2122194686 192.168.41.185 54887 typ host >> generation 0 network-id 4 network-cost 10 >> >> a=candidate:3148593202 1 udp 1686052607 80.254.60.17 56687 typ srflx >> raddr 192.168.22.57 rport 56687 generation 0 network-id 1 >> >> a=candidate:3148593202 2 udp 1686052606 80.254.60.17 60099 typ srflx >> raddr 192.168.22.57 rport 60099 generation 0 network-id 1 >> >> >> >> Freeswitch choose srflx candidate >> 2016-09-26 10:54:28.337897 [DEBUG] switch_core_media.c:6434 AUDIO RTP >> [sofia/external576460752303423473 at wrike] 172.16.106.100 port 17052 -> >> 80.254.60.17 port 56687 codec: 111 ms: 20 >> >> Receives STUN pings from this interface and everything goes as expected - >> media stream established. >> >> *Failure case (add one interface (VirtualBox) or disable one of existing >> interfaces)* >> >> Chrome sends offer with one additional interface (VirtualBox). >> >> a=candidate:1861086701 1 udp 2122260223 172.15.1.1 43367 typ host >> generation 0 network-id 3 >> >> a=candidate:988003974 1 udp 2122194687 192.168.22.57 54230 typ host >> generation 0 network-id 1 >> >> a=candidate:3404510875 1 udp 2122129151 192.168.41.185 42752 typ host >> generation 0 network-id 4 network-cost 10 >> >> a=candidate:1861086701 2 udp 2122260222 172.15.1.1 55301 typ host >> generation 0 network-id 3 >> >> a=candidate:988003974 2 udp 2122194686 192.168.22.57 44112 typ host >> generation 0 network-id 1 >> >> a=candidate:3404510875 2 udp 2122129150 192.168.41.185 46978 typ host >> generation 0 network-id 4 network-cost 10 >> >> a=candidate:3148593202 1 udp 1685987071 80.254.60.17 54230 typ srflx >> raddr 192.168.22.57 rport 54230 generation 0 network-id 1 >> >> a=candidate:3148593202 2 udp 1685987070 80.254.60.17 44112 typ srflx >> raddr 192.168.22.57 rport 44112 generation 0 network-id 1 >> >> >> >> Freeswitch choose VirtualBox interface as main candidate >> >> 2016-09-26 11:03:40.513295 [DEBUG] switch_core_media.c:6434 AUDIO RTP >> [sofia/external/576460752303423471 at wrike] 172.16.106.100 port 17000 -> >> 172.15.1.1 port 42374 codec: 111 ms: 20 >> >> >> >> After a few STUN pings Freeswitch changes his main candidate to the >> public address of my Wi-Fi interface (but it was not included in SDP by >> chrome and I don't know exactly why). >> >> 2016-09-26 11:03:40.912987 [NOTICE] switch_rtp.c:1258 Auto Changing video >> stun/rtp/dtls port from 172.15.1.1:43367 to 80.254.60.17:42752 >> >> Freeswitch tries to make DTLS handshake with this candidate, but fails >> because Chrome ingores this "Client Hello" request. >> >> >> >> All necessary data attached for success and failure cases (freeswitch >> logs, wireshark dump made on client, SDP). >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/e978705a/attachment.html From mirkobrankovic at gmail.com Tue Sep 27 18:55:20 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Tue, 27 Sep 2016 16:55:20 +0200 Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection In-Reply-To: References: <233101d218c4$002b9ac0$0082d040$@freeswitch.org> Message-ID: actuallly i forgot kvm, so I have 3 virtual and one real local IP: ifconfig | grep inet inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 inet addr:10.0.0.112 Bcast:10.0.1.255 Mask:255.255.254.0 inet addr:127.0.0.1 Mask:255.0.0.0 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 On Tue, Sep 27, 2016 at 4:48 PM, Mirko Brankovic wrote: > Well I was using mod_verto and I have local on laptop, lan, wifi, virbr0 > (virtualbox), docker0 with local IP and had no issues so far > > On Tue, Sep 27, 2016 at 3:57 PM, ????????? ???????? < > alexdruzhilov at gmail.com> wrote: > >> "Are you using mod_sofia with sip or mod_verto ?" >> We are using mod_sofia. >> >> "can you try with varto-communicator and mod_verto wss port ?" >> Can you please explain how it could be helpful in case of this problem? >> >> I have already reported issue in Jira (https://freeswitch.org/jira/b >> rowse/FS-9570). >> >> 2016-09-27 16:35 GMT+03:00 Ken Rice : >> >>> Bugs get reported to Jira @ https://freeswitch.org/jira so they don?t >>> fall thru the cracks >>> >>> >>> >>> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: >>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *????????? >>> ???????? >>> *Sent:* Tuesday, September 27, 2016 4:10 AM >>> *To:* freeswitch-users at lists.freeswitch.org >>> *Subject:* [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate >>> to establish connection >>> >>> >>> >>> >>> >>> ---------- Forwarded message ---------- >>> From: *????????? ????????* >>> Date: 2016-09-26 14:31 GMT+03:00 >>> Subject: Freeswitch uses wrong ICE candidate to establish connection >>> To: freeswitch-users at lists.freeswitch.org >>> >>> *The short description of problem* >>> >>> We are using Freeswitch for conference calls through webRTC. Chrome >>> collects ICE candidates (from two net interfaces: ethernet and wifi), sends >>> them to Freeswitch and Freeswitch accepts one of this candidates. After >>> that Freeswitch tries to make DTLS handshake, but Chrome ignores it and >>> sends STUN pings over and over again. But if I disable one of this network >>> interfaces, then everything works fine. From my point of view the problem >>> is that Freeswitch uses wrong ICE candidate (it takes this candidate from >>> STUN pings, but there is no exactly such candidate in SDP). I also admit >>> that may be the root of the problem is inside Chrome (because Firefox works >>> properly in this case), but I interested in possible explanations an may be >>> solutions from the Freeswitch side. >>> >>> >>> >>> *Versions* >>> Freeswitch 1.6.9, 1.6.10 >>> Chrome 52, 53, 54 >>> >>> Server OS: CentOS 7.2.1511 >>> Client OS: Ubuntu 16.04 >>> >>> >>> >>> *IP addresses* >>> >>> 1) 172.15.1.1 - local VM (VirtualBox) >>> 2) 192.168.22.57 - local ethernet interface >>> 3) 192.168.41.185 - local wi-fi interface >>> >>> 4) 52.202.171.116 - Freeswitch IP >>> >>> *Succsess case* >>> >>> Chrome sends offer with this candidates (Ethernet and WI-FI addresses) >>> >>> a=candidate:988003974 1 udp 2122260223 192.168.22.57 56687 typ host >>> generation 0 network-id 1 >>> >>> a=candidate:3404510875 1 udp 2122194687 192.168.41.185 57467 typ host >>> generation 0 network-id 4 network-cost 10 >>> >>> a=candidate:988003974 2 udp 2122260222 192.168.22.57 60099 typ host >>> generation 0 network-id 1 >>> >>> a=candidate:3404510875 2 udp 2122194686 192.168.41.185 54887 typ host >>> generation 0 network-id 4 network-cost 10 >>> >>> a=candidate:3148593202 1 udp 1686052607 80.254.60.17 56687 typ srflx >>> raddr 192.168.22.57 rport 56687 generation 0 network-id 1 >>> >>> a=candidate:3148593202 2 udp 1686052606 80.254.60.17 60099 typ srflx >>> raddr 192.168.22.57 rport 60099 generation 0 network-id 1 >>> >>> >>> >>> Freeswitch choose srflx candidate >>> 2016-09-26 10:54:28.337897 [DEBUG] switch_core_media.c:6434 AUDIO RTP >>> [sofia/external576460752303423473 at wrike] 172.16.106.100 port 17052 -> >>> 80.254.60.17 port 56687 codec: 111 ms: 20 >>> >>> Receives STUN pings from this interface and everything goes as expected >>> - media stream established. >>> >>> *Failure case (add one interface (VirtualBox) or disable one of existing >>> interfaces)* >>> >>> Chrome sends offer with one additional interface (VirtualBox). >>> >>> a=candidate:1861086701 1 udp 2122260223 172.15.1.1 43367 typ host >>> generation 0 network-id 3 >>> >>> a=candidate:988003974 1 udp 2122194687 192.168.22.57 54230 typ host >>> generation 0 network-id 1 >>> >>> a=candidate:3404510875 1 udp 2122129151 192.168.41.185 42752 typ host >>> generation 0 network-id 4 network-cost 10 >>> >>> a=candidate:1861086701 2 udp 2122260222 172.15.1.1 55301 typ host >>> generation 0 network-id 3 >>> >>> a=candidate:988003974 2 udp 2122194686 192.168.22.57 44112 typ host >>> generation 0 network-id 1 >>> >>> a=candidate:3404510875 2 udp 2122129150 192.168.41.185 46978 typ host >>> generation 0 network-id 4 network-cost 10 >>> >>> a=candidate:3148593202 1 udp 1685987071 80.254.60.17 54230 typ srflx >>> raddr 192.168.22.57 rport 54230 generation 0 network-id 1 >>> >>> a=candidate:3148593202 2 udp 1685987070 80.254.60.17 44112 typ srflx >>> raddr 192.168.22.57 rport 44112 generation 0 network-id 1 >>> >>> >>> >>> Freeswitch choose VirtualBox interface as main candidate >>> >>> 2016-09-26 11:03:40.513295 [DEBUG] switch_core_media.c:6434 AUDIO RTP >>> [sofia/external/576460752303423471 at wrike] 172.16.106.100 port 17000 -> >>> 172.15.1.1 port 42374 codec: 111 ms: 20 >>> >>> >>> >>> After a few STUN pings Freeswitch changes his main candidate to the >>> public address of my Wi-Fi interface (but it was not included in SDP by >>> chrome and I don't know exactly why). >>> >>> 2016-09-26 11:03:40.912987 [NOTICE] switch_rtp.c:1258 Auto Changing >>> video stun/rtp/dtls port from 172.15.1.1:43367 to 80.254.60.17:42752 >>> >>> Freeswitch tries to make DTLS handshake with this candidate, but fails >>> because Chrome ingores this "Client Hello" request. >>> >>> >>> >>> All necessary data attached for success and failure cases (freeswitch >>> logs, wireshark dump made on client, SDP). >>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > > ?\_(?)_/? > > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/f21ff05d/attachment-0001.html From mike at jerris.com Tue Sep 27 20:38:49 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 27 Sep 2016 12:38:49 -0400 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: Thats not latest. I mapped out exactly what needs to be done below in order to get this looked at. ?Reproduce on master, get a backtrace, file a jira? Please follow these steps so we can dig into what exactly is going on. Reporting bugs to the mailing list will result in no action. > On Sep 26, 2016, at 9:09 PM, Jai Rangi wrote: > > Reopening this thread. > > Tested again with the latest, > FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is ready > > > Seems like this is an old bug which was never fixed, > http://lists.freeswitch.org/pipermail/freeswitch-users/2012-December/090285.html > > This can be reproduced even now. > > > > > On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris > wrote: > a crash is always a bug. Reproduce on master, get a backtrace, file a jira > > > On Tuesday, July 26, 2016, Jai Rangi > wrote: > This is perfect, but if I press too many keys, freeswitch crashes :( Any idea? > > -Jai > > Jai Rangi > Cebod Technologies LLC dba DIDforSale/Cebod Telecom > O 949-471-0102 | C 949-419-7634 | F 949-269-0449 / 949-232-1410 <> | jprangi at didforsale.com <> www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | > > > > > > > On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris > wrote: > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/scripts/lua/callback.lua > >> On Jul 26, 2016, at 1:28 PM, Jai Rangi > wrote: >> >> Thanks, but need little more hint. Got the DTMF, how playback application will react on the dtmf? >> >> -Jai >> >> Jai Rangi >> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >> O 949-471-0102 | C 949-419-7634 | F 949-269-0449 / 949-232-1410 <> | jprangi at didforsale.com <> www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >> >> >> >> >> >> >> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris > wrote: >> You can do so via embedded scripting languages for sure using the callbacks for dtmf and their return values. >> >> > On Jul 26, 2016, at 12:37 PM, Jai Rangi > wrote: >> > >> > Checking to see if it is possible to have controls on audio files played with playback or filestream. Expected controls are keys to rewind, forward, fast-forward, pause, play. >> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/8bb4f16e/attachment.html From mike at jerris.com Tue Sep 27 20:41:45 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 27 Sep 2016 12:41:45 -0400 Subject: [Freeswitch-users] Freeswitch uses wrong ICE candidate to establish connection In-Reply-To: References: <233101d218c4$002b9ac0$0082d040$@freeswitch.org> Message-ID: <97D53B0A-2BE3-4364-AC89-9C85C2D09AAB@jerris.com> If its on Jira, lets put the relevant info there. Putting info here separate from the bug only makes it more likely we will miss a critical deal. > On Sep 27, 2016, at 10:55 AM, Mirko Brankovic wrote: > > actuallly i forgot kvm, so I have 3 virtual and one real local IP: > ifconfig | grep inet > inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 > inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 > inet addr:10.0.0.112 Bcast:10.0.1.255 Mask:255.255.254.0 > inet addr:127.0.0.1 Mask:255.0.0.0 > inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 > > > On Tue, Sep 27, 2016 at 4:48 PM, Mirko Brankovic > wrote: > Well I was using mod_verto and I have local on laptop, lan, wifi, virbr0 (virtualbox), docker0 with local IP and had no issues so far > > On Tue, Sep 27, 2016 at 3:57 PM, ????????? ???????? > wrote: > "Are you using mod_sofia with sip or mod_verto ?" > We are using mod_sofia. > > "can you try with varto-communicator and mod_verto wss port ?" > Can you please explain how it could be helpful in case of this problem? > > I have already reported issue in Jira (https://freeswitch.org/jira/browse/FS-9570 ). > > 2016-09-27 16:35 GMT+03:00 Ken Rice >: > Bugs get reported to Jira @ https://freeswitch.org/jira so they don?t fall thru the cracks > > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of ????????? ???????? > Sent: Tuesday, September 27, 2016 4:10 AM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Fwd: Freeswitch uses wrong ICE candidate to establish connection > > > > > > ---------- Forwarded message ---------- > From: ????????? ???????? > > Date: 2016-09-26 14:31 GMT+03:00 > Subject: Freeswitch uses wrong ICE candidate to establish connection > To: freeswitch-users at lists.freeswitch.org > > The short description of problem > > We are using Freeswitch for conference calls through webRTC. Chrome collects ICE candidates (from two net interfaces: ethernet and wifi), sends them to Freeswitch and Freeswitch accepts one of this candidates. After that Freeswitch tries to make DTLS handshake, but Chrome ignores it and sends STUN pings over and over again. But if I disable one of this network interfaces, then everything works fine. From my point of view the problem is that Freeswitch uses wrong ICE candidate (it takes this candidate from STUN pings, but there is no exactly such candidate in SDP). I also admit that may be the root of the problem is inside Chrome (because Firefox works properly in this case), but I interested in possible explanations an may be solutions from the Freeswitch side. > > > > Versions > Freeswitch 1.6.9, 1.6.10 > Chrome 52, 53, 54 > > Server OS: CentOS 7.2.1511 > Client OS: Ubuntu 16.04 > > > > IP addresses > > 1) 172.15.1.1 - local VM (VirtualBox) > 2) 192.168.22.57 - local ethernet interface > 3) 192.168.41.185 - local wi-fi interface > > 4) 52.202.171.116 - Freeswitch IP > > Succsess case > > Chrome sends offer with this candidates (Ethernet and WI-FI addresses) > > a=candidate:988003974 1 udp 2122260223 192.168.22.57 56687 typ host generation 0 network-id 1 > > a=candidate:3404510875 1 udp 2122194687 192.168.41.185 57467 typ host generation 0 network-id 4 network-cost 10 > > a=candidate:988003974 2 udp 2122260222 192.168.22.57 60099 typ host generation 0 network-id 1 > > a=candidate:3404510875 2 udp 2122194686 192.168.41.185 54887 typ host generation 0 network-id 4 network-cost 10 > > a=candidate:3148593202 1 udp 1686052607 80.254.60.17 56687 typ srflx raddr 192.168.22.57 rport 56687 generation 0 network-id 1 > > a=candidate:3148593202 2 udp 1686052606 80.254.60.17 60099 typ srflx raddr 192.168.22.57 rport 60099 generation 0 network-id 1 > > > > Freeswitch choose srflx candidate > 2016-09-26 10:54:28.337897 [DEBUG] switch_core_media.c:6434 AUDIO RTP [sofia/external576460752303423473 at wrike] 172.16.106.100 port 17052 -> 80.254.60.17 port 56687 codec: 111 ms: 20 > > Receives STUN pings from this interface and everything goes as expected - media stream established. > > Failure case (add one interface (VirtualBox) or disable one of existing interfaces) > > Chrome sends offer with one additional interface (VirtualBox). > > a=candidate:1861086701 1 udp 2122260223 172.15.1.1 43367 typ host generation 0 network-id 3 > > a=candidate:988003974 1 udp 2122194687 192.168.22.57 54230 typ host generation 0 network-id 1 > > a=candidate:3404510875 1 udp 2122129151 192.168.41.185 42752 typ host generation 0 network-id 4 network-cost 10 > > a=candidate:1861086701 2 udp 2122260222 172.15.1.1 55301 typ host generation 0 network-id 3 > > a=candidate:988003974 2 udp 2122194686 192.168.22.57 44112 typ host generation 0 network-id 1 > > a=candidate:3404510875 2 udp 2122129150 192.168.41.185 46978 typ host generation 0 network-id 4 network-cost 10 > > a=candidate:3148593202 1 udp 1685987071 80.254.60.17 54230 typ srflx raddr 192.168.22.57 rport 54230 generation 0 network-id 1 > > a=candidate:3148593202 2 udp 1685987070 80.254.60.17 44112 typ srflx raddr 192.168.22.57 rport 44112 generation 0 network-id 1 > > > > Freeswitch choose VirtualBox interface as main candidate > > 2016-09-26 11:03:40.513295 [DEBUG] switch_core_media.c:6434 AUDIO RTP [sofia/external/576460752303423471 at wrike] 172.16.106.100 port 17000 -> 172.15.1.1 port 42374 codec: 111 ms: 20 > > > > After a few STUN pings Freeswitch changes his main candidate to the public address of my Wi-Fi interface (but it was not included in SDP by chrome and I don't know exactly why). > > 2016-09-26 11:03:40.912987 [NOTICE] switch_rtp.c:1258 Auto Changing video stun/rtp/dtls port from 172.15.1.1:43367 to 80.254.60.17:42752 > > Freeswitch tries to make DTLS handshake with this candidate, but fails because Chrome ingores this "Client Hello" request. > > > > All necessary data attached for success and failure cases (freeswitch logs, wireshark dump made on client, SDP). > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Regards, > Mirko > ?\_(?)_/? > > > > > -- > Regards, > Mirko > ?\_(?)_/? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/dae79091/attachment-0001.html From jprangi at didforsale.com Tue Sep 27 21:47:58 2016 From: jprangi at didforsale.com (Jai Rangi) Date: Tue, 27 Sep 2016 10:47:58 -0700 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: This was reported first time in 2013, Then I reported few week ago on 1.6.6, I was told to do on the latest. Few week ago, I downloaded latest stable which was this one. This has been ongoing, if nothing was done then probably It will be there on lastest too. I will try to reproduce on the latest from master. *Jai Rangi* Cebod Technologies LLC dba DIDforSale/Cebod Telecom O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | On Tue, Sep 27, 2016 at 9:38 AM, Michael Jerris wrote: > Thats not latest. I mapped out exactly what needs to be done below in > order to get this looked at. ?Reproduce on master, get a backtrace, file a > jira? > > Please follow these steps so we can dig into what exactly is going on. > Reporting bugs to the mailing list will result in no action. > > > On Sep 26, 2016, at 9:09 PM, Jai Rangi wrote: > > Reopening this thread. > > Tested again with the latest, > FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is ready > > > Seems like this is an old bug which was never fixed, > http://lists.freeswitch.org/pipermail/freeswitch-users/ > 2012-December/090285.html > > This can be reproduced even now. > > > > > On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris wrote: > >> a crash is always a bug. Reproduce on master, get a backtrace, file a >> jira >> >> >> On Tuesday, July 26, 2016, Jai Rangi wrote: >> >>> This is perfect, but if I press too many keys, freeswitch crashes :( >>> Any idea? >>> >>> -Jai >>> >>> *Jai Rangi* >>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>> >>> >>> >>> >>> >>> >>> On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris >>> wrote: >>> >>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/br >>>> owse/scripts/lua/callback.lua >>>> >>>> On Jul 26, 2016, at 1:28 PM, Jai Rangi wrote: >>>> >>>> Thanks, but need little more hint. Got the DTMF, how playback >>>> application will react on the dtmf? >>>> >>>> -Jai >>>> >>>> *Jai Rangi* >>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris >>>> wrote: >>>> >>>>> You can do so via embedded scripting languages for sure using the >>>>> callbacks for dtmf and their return values. >>>>> >>>>> > On Jul 26, 2016, at 12:37 PM, Jai Rangi wrote: >>>>> > >>>>> > Checking to see if it is possible to have controls on audio files >>>>> played with playback or filestream. Expected controls are keys to rewind, >>>>> forward, fast-forward, pause, play. >>>>> >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/2b551c98/attachment.html From victor.medina at cibersys.com Tue Sep 27 22:10:57 2016 From: victor.medina at cibersys.com (Victor Medina) Date: Tue, 27 Sep 2016 13:40:57 -0430 Subject: [Freeswitch-users] unmet dependency on FS 1.6 on Ubuntu 16.04 Message-ID: Hello guys! I decided to give FS a try on Ubuntu LTS 16.04. It's a clean all vanilla install. .- Added repository .- Updated, and ran aptitude install -y freeswitch-all root at ubuntu:/home/administrador# aptitude install -y freeswitch-all The following NEW packages will be installed: adwaita-icon-theme{a} at-spi2-core{a} ca-certificates-java{a} colord{a} colord-data{a} dconf-gsettings-backend{a} dconf-service{a} default-jre-headless{a} emacsen-common{a} erlang{a} erlang-asn1{a} erlang-base{a} erlang-common-test{a} erlang-corba{a} erlang-crypto{a} erlang-debugger{a} erlang-dev{a} erlang-dialyzer{a} erlang-diameter{a} erlang-edoc{a} erlang-eldap{a} erlang-erl-docgen{a} erlang-et{a} erlang-eunit{a} erlang-examples{a} erlang-gs{a} erlang-ic{a} erlang-ic-java{a} erlang-inets{a} erlang-jinterface{a} erlang-megaco{a} erlang-mnesia{a} erlang-mode{a} erlang-observer{a} erlang-odbc{a} erlang-os-mon{a} erlang-parsetools{a} erlang-percept{a} erlang-public-key{a} erlang-reltool{a} erlang-runtime-tools{a} erlang-snmp{a} erlang-src{a} erlang-ssh{a} erlang-ssl{a} erlang-syntax-tools{a} erlang-test-server{a} erlang-tools{a} erlang-typer{a} erlang-webtool{a} erlang-wx{a} erlang-xmerl{a} flac{a} fontconfig{a} fontconfig-config{a} fonts-dejavu-core{a} freeswitch{a} freeswitch-all freeswitch-conf-curl{a} freeswitch-conf-insideout{a} freeswitch-conf-sbc{a} freeswitch-conf-softphone{a} freeswitch-conf-vanilla{a} freeswitch-lang{a} freeswitch-lang-de{a} freeswitch-lang-en{a} freeswitch-lang-es{a} freeswitch-lang-fr{a} freeswitch-lang-he{a} freeswitch-lang-pt{a} freeswitch-lang-ru{a} freeswitch-meta-all{ab} freeswitch-meta-codecs{a} freeswitch-meta-conf{a} freeswitch-meta-lang{a} freeswitch-meta-mod-say{a} freeswitch-mod-abstraction{a} freeswitch-mod-amr{a} freeswitch-mod-amrwb{a} freeswitch-mod-av{a} freeswitch-mod-avmd{a} freeswitch-mod-b64{a} freeswitch-mod-blacklist{a} freeswitch-mod-bv{a} freeswitch-mod-callcenter{a} freeswitch-mod-cdr-csv{a} freeswitch-mod-cdr-mongodb{a} freeswitch-mod-cdr-sqlite{a} freeswitch-mod-cidlookup{a} freeswitch-mod-codec2{a} freeswitch-mod-commands{a} freeswitch-mod-conference{a} freeswitch-mod-console{a} freeswitch-mod-curl{a} freeswitch-mod-dahdi-codec{a} freeswitch-mod-db{a} freeswitch-mod-dialplan-asterisk{a} freeswitch-mod-dialplan-directory{a} freeswitch-mod-dialplan-xml{a} freeswitch-mod-dingaling{a} freeswitch-mod-directory{a} freeswitch-mod-distributor{a} freeswitch-mod-dptools{a} freeswitch-mod-easyroute{a} freeswitch-mod-enum{a} freeswitch-mod-erlang-event{a} freeswitch-mod-esf{a} freeswitch-mod-esl{a} freeswitch-mod-event-multicast{a} freeswitch-mod-event-socket{a} freeswitch-mod-expr{a} freeswitch-mod-fifo{a} freeswitch-mod-fsk{a} freeswitch-mod-fsv{a} freeswitch-mod-g723-1{a} freeswitch-mod-g729{a} freeswitch-mod-h26x{a} freeswitch-mod-hash{a} freeswitch-mod-httapi{a} freeswitch-mod-http-cache{a} freeswitch-mod-isac{a} freeswitch-mod-java{a} freeswitch-mod-json-cdr{a} freeswitch-mod-kazoo{a} freeswitch-mod-lcr{a} freeswitch-mod-ldap{a} freeswitch-mod-local-stream{a} freeswitch-mod-logfile{a} freeswitch-mod-loopback{a} freeswitch-mod-lua{a} freeswitch-mod-memcache{a} freeswitch-mod-mp4v{a} freeswitch-mod-native-file{a} freeswitch-mod-nibblebill{a} freeswitch-mod-opus{a} freeswitch-mod-oreka{a} freeswitch-mod-perl{a} freeswitch-mod-png{a} freeswitch-mod-pocketsphinx{a} freeswitch-mod-portaudio{a} freeswitch-mod-portaudio-stream{a} freeswitch-mod-posix-timer{a} freeswitch-mod-python{a} freeswitch-mod-redis{a} freeswitch-mod-rss{a} freeswitch-mod-rtc{a} freeswitch-mod-rtmp{a} freeswitch-mod-say-de{a} freeswitch-mod-say-en{a} freeswitch-mod-say-es{a} freeswitch-mod-say-fa{a} freeswitch-mod-say-fr{a} freeswitch-mod-say-he{a} freeswitch-mod-say-hr{a} freeswitch-mod-say-hu{a} freeswitch-mod-say-it{a} freeswitch-mod-say-ja{a} freeswitch-mod-say-nl{a} freeswitch-mod-say-pl{a} freeswitch-mod-say-pt{a} freeswitch-mod-say-ru{a} freeswitch-mod-say-th{a} freeswitch-mod-say-zh{a} freeswitch-mod-shell-stream{a} freeswitch-mod-silk{a} freeswitch-mod-skinny{a} freeswitch-mod-skypopen{a} freeswitch-mod-sms{a} freeswitch-mod-snapshot{a} freeswitch-mod-sndfile{a} freeswitch-mod-snmp{a} freeswitch-mod-snom{a} freeswitch-mod-sofia{a} freeswitch-mod-sonar{a} freeswitch-mod-soundtouch{a} freeswitch-mod-spandsp{a} freeswitch-mod-spy{a} freeswitch-mod-stress{a} freeswitch-mod-syslog{a} freeswitch-mod-theora{a} freeswitch-mod-timerfd{a} freeswitch-mod-tone-stream{a} freeswitch-mod-translate{a} freeswitch-mod-tts-commandline{a} freeswitch-mod-unimrcp{a} freeswitch-mod-valet-parking{a} freeswitch-mod-verto{a} freeswitch-mod-voicemail{a} freeswitch-mod-voicemail-ivr{a} freeswitch-mod-xml-cdr{a} freeswitch-mod-xml-curl{a} freeswitch-mod-xml-rpc{a} freeswitch-mod-xml-scgi{a} freeswitch-mod-yaml{a} freeswitch-music-default{a} freeswitch-sounds-en-us-callie{a} freeswitch-sysvinit{a} freeswitch-timezones{a} glib-networking{a} glib-networking-common{a} glib-networking-services{a} gsettings-desktop-schemas{a} hicolor-icon-theme{a} humanity-icon-theme{a} i965-va-driver{a} java-common{a} javascript-common{a} libaacs0{a} libasound2{a} libasound2-data{a} libatk-bridge2.0-0{a} libatk1.0-0{a} libatk1.0-data{a} libatspi2.0-0{a} libavahi-client3{a} libavahi-common-data{a} libavahi-common3{a} libavcodec-ffmpeg56{a} libavformat-ffmpeg56{a} libavresample-ffmpeg2{a} libavutil-ffmpeg54{a} libbdplus0{a} libbluray1{a} libboost-filesystem1.58.0{a} libboost-system1.58.0{a} libbroadvoice1{a} libcairo-gobject2{a} libcairo2{a} libcodec21{a} libcolord2{a} libcolorhug2{a} libcroco3{a} libcrystalhd3{a} libcups2{a} libcurl3{a} libdatrie1{a} libdconf1{a} libdrm-amdgpu1{a} libdrm-intel1{a} libdrm-nouveau2{a} libdrm-radeon1{a} libegl1-mesa{a} libepoxy0{a} libexif12{a} libflac8{a} libfontconfig1{a} libfontenc1{a} libfreeswitch1{a} libgbm1{a} libgd3{a} libgdk-pixbuf2.0-0{a} libgdk-pixbuf2.0-common{a} libgl1-mesa-dri{a} libgl1-mesa-glx{a} libglapi-mesa{a} libglu1-mesa{a} libgme0{a} libgomp1{a} libgphoto2-6{a} libgphoto2-l10n{a} libgphoto2-port12{a} libgraphite2-3{a} libgsm1{a} libgtk-3-0{a} libgtk-3-bin{a} libgtk-3-common{a} libgtk2.0-0{a} libgtk2.0-bin{a} libgtk2.0-common{a} libgudev-1.0-0{a} libgusb2{a} libharfbuzz0b{a} libice6{a} libieee1284-3{a} libjack-jackd2-0{a} libjbig0{a} libjpeg-turbo8{a} libjpeg8{a} libjs-jquery{a} libjs-jquery-metadata{a} libjs-jquery-tablesorter{a} libjson-glib-1.0-0{a} libjson-glib-1.0-common{a} liblcms2-2{a} libldns1{a} libllvm3.8{a} libltdl7{a} liblua5.2-0{a} libmemcached11{a} libmirclient9{a} libmircommon5{a} libmirprotobuf3{a} libmodplug1{a} libmp3lame0{a} libnotify4{a} libnspr4{a} libnss3{a} libnss3-nssdb{a} libodbc1{a} libogg0{a} libopencore-amrnb0{a} libopencore-amrwb0{a} libopenjpeg5{a} libopus0{a} liborc-0.4-0{a} libpango-1.0-0{a} libpangocairo-1.0-0{a} libpangoft2-1.0-0{a} libpciaccess0{a} libpixman-1-0{a} libportaudio2{a} libpq5{a} libprotobuf-lite9v5{a} libproxy1v5{a} libpython2.7{a} librest-0.7-0{a} librsvg2-2{a} librsvg2-common{a} libsamplerate0{a} libsane{a} libsane-common{a} libschroedinger-1.0-0{a} libsctp1{a} libsensors4{a} libshine3{a} libsilk1{a} libsm6{a} libsnappy1v5{a} libsndfile1{a} libsnmp-base{a} libsnmp30{a} libsoundtouch1{a} libsoup-gnome2.4-1{a} libsoup2.4-1{a} libsox-fmt-alsa{a} libsox-fmt-base{a} libsox2{a} libsoxr0{a} libspeex1{a} libspeexdsp1{a} libssh-gcrypt-4{a} libswresample-ffmpeg1{a} libswscale-ffmpeg3{a} libtcl8.6{a} libthai-data{a} libthai0{a} libtheora0{a} libtiff5{a} libtk8.6{a} libtwolame0{a} libtxc-dxtn-s2tc0{a} libva1{a} libvdpau1{a} libvorbis0a{a} libvorbisenc2{a} libvorbisfile3{a} libvpx3{a} libwavpack1{a} libwayland-client0{a} libwayland-cursor0{a} libwayland-egl1-mesa{a} libwayland-server0{a} libwebp5{a} libwxbase3.0-0v5{a} libwxgtk3.0-0v5{a} libx11-xcb1{a} libx264-148{a} libx265-79{a} libxaw7{a} libxcb-dri2-0{a} libxcb-dri3-0{a} libxcb-glx0{a} libxcb-present0{a} libxcb-render0{a} libxcb-shape0{a} libxcb-shm0{a} libxcb-sync1{a} libxcb-xfixes0{a} libxcomposite1{a} libxcursor1{a} libxdamage1{a} libxfixes3{a} libxft2{a} libxi6{a} libxinerama1{a} libxkbcommon0{a} libxmu6{a} libxpm4{a} libxrandr2{a} libxrender1{a} libxshmfence1{a} libxss1{a} libxt6{a} libxtst6{a} libxv1{a} libxvidcore4{a} libxxf86dga1{a} libxxf86vm1{a} libyaml-0-2{a} libzvbi-common{a} libzvbi0{a} mesa-vdpau-drivers{a} notification-daemon{a} openjdk-8-jre-headless{a} sox{a} tcl{a} tcl8.6{a} tk{a} tk8.6{a} ubuntu-mono{a} va-driver-all{a} vdpau-driver-all{a} vdpau-va-driver{a} x11-common{a} x11-utils{a} xbitmaps{a} xterm{a} yasm{a} 0 packages upgraded, 418 newly installed, 0 to remove and 2 not upgraded. Need to get 231 MB of archives. After unpacking 735 MB will be used. The following packages have unmet dependencies: freeswitch-meta-all : Depends: freeswitch-mod-flite (= 1.7.0~64~d6bf670-1~xenial+1) which is a virtual package and is not provided by any available package. The following actions will resolve these dependencies: Keep the following packages at their current version: 1) freeswitch-all [Not Installed] 2) freeswitch-meta-all [Not Installed] -- V?ctor E. Medina M. Platform Architect / Chief Infrastructure +58424 291 4561 BB #79A8AFA2 @VMCibersys -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/04a0e5a9/attachment-0001.html From mike at jerris.com Tue Sep 27 22:15:09 2016 From: mike at jerris.com (Michael Jerris) Date: Tue, 27 Sep 2016 14:15:09 -0400 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: We can?t do anything with the information you provided. The information we need is what i requested you provide in the steps below. Until we get that information we have no way of knowing what is going on, thats why I replied with the exact details of how to move this forward. We care about segfaults quite a bit, but require this information in order to be able to reproduce, troubleshoot and fix the issue. Specifically i asked for a backtrace of the crash, when reproduced on master, and to file this in our bug tracking system so it can be properly reproduced, tested, and fixed. > On Sep 27, 2016, at 1:47 PM, Jai Rangi wrote: > > This was reported first time in 2013, Then I reported few week ago on 1.6.6, I was told to do on the latest. Few week ago, I downloaded latest stable which was this one. This has been ongoing, if nothing was done then probably It will be there on lastest too. I will try to reproduce on the latest from master. > > > > > Jai Rangi > Cebod Technologies LLC dba DIDforSale/Cebod Telecom > O 949-471-0102 | C 949-419-7634 | F 949-269-0449 / 949-232-1410 <> | jprangi at didforsale.com www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | > > > > > > > On Tue, Sep 27, 2016 at 9:38 AM, Michael Jerris > wrote: > Thats not latest. I mapped out exactly what needs to be done below in order to get this looked at. ?Reproduce on master, get a backtrace, file a jira? > > Please follow these steps so we can dig into what exactly is going on. Reporting bugs to the mailing list will result in no action. > > >> On Sep 26, 2016, at 9:09 PM, Jai Rangi > wrote: >> >> Reopening this thread. >> >> Tested again with the latest, >> FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is ready >> >> >> Seems like this is an old bug which was never fixed, >> http://lists.freeswitch.org/pipermail/freeswitch-users/2012-December/090285.html >> >> This can be reproduced even now. >> >> >> >> >> On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris > wrote: >> a crash is always a bug. Reproduce on master, get a backtrace, file a jira >> >> >> On Tuesday, July 26, 2016, Jai Rangi > wrote: >> This is perfect, but if I press too many keys, freeswitch crashes :( Any idea? >> >> -Jai >> >> Jai Rangi >> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >> O 949-471-0102 | C 949-419-7634 | F 949-269-0449 / 949-232-1410 <> | jprangi at didforsale.com <> www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >> >> >> >> >> >> >> On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris > wrote: >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/scripts/lua/callback.lua >> >>> On Jul 26, 2016, at 1:28 PM, Jai Rangi > wrote: >>> >>> Thanks, but need little more hint. Got the DTMF, how playback application will react on the dtmf? >>> >>> -Jai >>> >>> Jai Rangi >>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>> O 949-471-0102 | C 949-419-7634 | F 949-269-0449 / 949-232-1410 <> | jprangi at didforsale.com <> www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>> >>> >>> >>> >>> >>> >>> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris > wrote: >>> You can do so via embedded scripting languages for sure using the callbacks for dtmf and their return values. >>> >>> > On Jul 26, 2016, at 12:37 PM, Jai Rangi > wrote: >>> > >>> > Checking to see if it is possible to have controls on audio files played with playback or filestream. Expected controls are keys to rewind, forward, fast-forward, pause, play. >>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/18706cdf/attachment-0001.html From jprangi at didforsale.com Tue Sep 27 22:28:22 2016 From: jprangi at didforsale.com (Jai Rangi) Date: Tue, 27 Sep 2016 11:28:22 -0700 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: Understandable, working on that right now. On Tuesday, September 27, 2016, Michael Jerris wrote: > We can?t do anything with the information you provided. The information > we need is what i requested you provide in the steps below. Until we get > that information we have no way of knowing what is going on, thats why I > replied with the exact details of how to move this forward. We care about > segfaults quite a bit, but require this information in order to be able to > reproduce, troubleshoot and fix the issue. Specifically i asked for a > backtrace of the crash, when reproduced on master, and to file this in our > bug tracking system so it can be properly reproduced, tested, and fixed. > > > On Sep 27, 2016, at 1:47 PM, Jai Rangi > wrote: > > This was reported first time in 2013, Then I reported few week ago on > 1.6.6, I was told to do on the latest. Few week ago, I downloaded latest > stable which was this one. This has been ongoing, if nothing was done then > probably It will be there on lastest too. I will try to reproduce on the > latest from master. > > > > > *Jai Rangi* > Cebod Technologies LLC dba DIDforSale/Cebod Telecom > O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / > 949-232-1410 | jprangi at didforsale.com > www.cebod.com | > www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | > > > > > > > On Tue, Sep 27, 2016 at 9:38 AM, Michael Jerris > wrote: > >> Thats not latest. I mapped out exactly what needs to be done below in >> order to get this looked at. ?Reproduce on master, get a backtrace, file a >> jira? >> >> Please follow these steps so we can dig into what exactly is going on. >> Reporting bugs to the mailing list will result in no action. >> >> >> On Sep 26, 2016, at 9:09 PM, Jai Rangi > > wrote: >> >> Reopening this thread. >> >> Tested again with the latest, >> FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is ready >> >> >> Seems like this is an old bug which was never fixed, >> http://lists.freeswitch.org/pipermail/freeswitch-users/2012- >> December/090285.html >> >> This can be reproduced even now. >> >> >> >> >> On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris > > wrote: >> >>> a crash is always a bug. Reproduce on master, get a backtrace, file a >>> jira >>> >>> >>> On Tuesday, July 26, 2016, Jai Rangi >> > wrote: >>> >>>> This is perfect, but if I press too many keys, freeswitch crashes :( >>>> Any idea? >>>> >>>> -Jai >>>> >>>> *Jai Rangi* >>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris >>>> wrote: >>>> >>>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/br >>>>> owse/scripts/lua/callback.lua >>>>> >>>>> On Jul 26, 2016, at 1:28 PM, Jai Rangi wrote: >>>>> >>>>> Thanks, but need little more hint. Got the DTMF, how playback >>>>> application will react on the dtmf? >>>>> >>>>> -Jai >>>>> >>>>> *Jai Rangi* >>>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 >>>>> | >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris >>>>> wrote: >>>>> >>>>>> You can do so via embedded scripting languages for sure using the >>>>>> callbacks for dtmf and their return values. >>>>>> >>>>>> > On Jul 26, 2016, at 12:37 PM, Jai Rangi wrote: >>>>>> > >>>>>> > Checking to see if it is possible to have controls on audio files >>>>>> played with playback or filestream. Expected controls are keys to rewind, >>>>>> forward, fast-forward, pause, play. >>>>>> >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > -- *Jai Rangi* Cebod Technologies LLC dba DIDforSale/Cebod Telecom O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/70f38118/attachment-0001.html From jprangi at gmail.com Wed Sep 28 02:30:30 2016 From: jprangi at gmail.com (Jai Rangi) Date: Tue, 27 Sep 2016 15:30:30 -0700 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: This is strange, For this issue Freeswitch crashes but does not generate coredump. In switch.conf I have status UP 0 years, 0 days, 0 hours, 2 minutes, 58 seconds, 960 milliseconds, 387 microseconds FreeSWITCH (Version 1.7.0 git 93591e2 2016-09-27 17:08:00Z 64bit) is ready 0 session(s) since startup 0 session(s) - peak 0, last 5min 0 0 session(s) per Sec out of max 30, peak 0, last 5min 0 1000 session(s) max min idle cpu 0.00/99.90 Current Stack Size/Max 240K/8192K ulimit -c unlimited What I might be missing. On Tue, Sep 27, 2016 at 11:28 AM, Jai Rangi wrote: > Understandable, working on that right now. > > > > On Tuesday, September 27, 2016, Michael Jerris wrote: > >> We can?t do anything with the information you provided. The information >> we need is what i requested you provide in the steps below. Until we get >> that information we have no way of knowing what is going on, thats why I >> replied with the exact details of how to move this forward. We care about >> segfaults quite a bit, but require this information in order to be able to >> reproduce, troubleshoot and fix the issue. Specifically i asked for a >> backtrace of the crash, when reproduced on master, and to file this in our >> bug tracking system so it can be properly reproduced, tested, and fixed. >> >> >> On Sep 27, 2016, at 1:47 PM, Jai Rangi wrote: >> >> This was reported first time in 2013, Then I reported few week ago on >> 1.6.6, I was told to do on the latest. Few week ago, I downloaded latest >> stable which was this one. This has been ongoing, if nothing was done then >> probably It will be there on lastest too. I will try to reproduce on the >> latest from master. >> >> >> >> >> *Jai Rangi* >> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >> >> >> >> >> >> >> On Tue, Sep 27, 2016 at 9:38 AM, Michael Jerris wrote: >> >>> Thats not latest. I mapped out exactly what needs to be done below in >>> order to get this looked at. ?Reproduce on master, get a backtrace, file a >>> jira? >>> >>> Please follow these steps so we can dig into what exactly is going on. >>> Reporting bugs to the mailing list will result in no action. >>> >>> >>> On Sep 26, 2016, at 9:09 PM, Jai Rangi wrote: >>> >>> Reopening this thread. >>> >>> Tested again with the latest, >>> FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is >>> ready >>> >>> >>> Seems like this is an old bug which was never fixed, >>> http://lists.freeswitch.org/pipermail/freeswitch-users/2012- >>> December/090285.html >>> >>> This can be reproduced even now. >>> >>> >>> >>> >>> On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris wrote: >>> >>>> a crash is always a bug. Reproduce on master, get a backtrace, file a >>>> jira >>>> >>>> >>>> On Tuesday, July 26, 2016, Jai Rangi wrote: >>>> >>>>> This is perfect, but if I press too many keys, freeswitch crashes :( >>>>> Any idea? >>>>> >>>>> -Jai >>>>> >>>>> *Jai Rangi* >>>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 >>>>> | >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris >>>>> wrote: >>>>> >>>>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/br >>>>>> owse/scripts/lua/callback.lua >>>>>> >>>>>> On Jul 26, 2016, at 1:28 PM, Jai Rangi >>>>>> wrote: >>>>>> >>>>>> Thanks, but need little more hint. Got the DTMF, how playback >>>>>> application will react on the dtmf? >>>>>> >>>>>> -Jai >>>>>> >>>>>> *Jai Rangi* >>>>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 >>>>>> | >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris >>>>>> wrote: >>>>>> >>>>>>> You can do so via embedded scripting languages for sure using the >>>>>>> callbacks for dtmf and their return values. >>>>>>> >>>>>>> > On Jul 26, 2016, at 12:37 PM, Jai Rangi wrote: >>>>>>> > >>>>>>> > Checking to see if it is possible to have controls on audio files >>>>>>> played with playback or filestream. Expected controls are keys to rewind, >>>>>>> forward, fast-forward, pause, play. >>>>>>> >>>>>>> >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> > > -- > *Jai Rangi* > Cebod Technologies LLC dba DIDforSale/Cebod Telecom > O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / > 949-232-1410 | jprangi at didforsale.com www.cebod.com | www.didforsale.com > |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/08561ff6/attachment-0001.html From BJordan at E-Teleco.com Wed Sep 28 02:40:11 2016 From: BJordan at E-Teleco.com (Branden Jordan) Date: Tue, 27 Sep 2016 22:40:11 +0000 Subject: [Freeswitch-users] Playback within condition In-Reply-To: References: <9149456D-C25F-4E38-A4D4-CD1A186D1531@jerris.com> , Message-ID: Awesome glad to hear it helped! From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Caio Assis Sent: Tuesday, September 27, 2016 6:30 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Playback within condition Thank you for your help. The example you gave helped me a lot. I was able to do what I intended. Thanks a lot. ________________________________ From: freeswitch-users-bounces at lists.freeswitch.org > on behalf of Branden Jordan > Sent: Friday, September 23, 2016 6:28 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Playback within condition Yeah without the console logs we are not going to be able to really help you. If you are trying to do your conditionals right after your play and get digits or read that is not going to work without transferring. Remember the dialplan has two steps, the evaluation period to figure out what to run, and then the execute phase where it executes the steps. If you create the variable during the execute phase you cannot use the variable further down in a conditional in the same execution because during the evaluation period it was null. This works when I test it. Maybe this will help you get on the right path to solving your issue. Thanks, Branden Jordan From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Aqs Younas Sent: Friday, September 23, 2016 1:52 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Playback within condition Like said before you need to look into logs to figure it out or paste the console logs here. On 23 September 2016 at 22:18, Caio Assis > wrote: Actually, i might have figured it out. What I intend to do is an IVR-like application. Which means I want this to happen Call 1212 Application="read" gets my input if digit == 1 do this if digit == 2 do that Each option has it's own set of structions, so I think it should be within a condition. But I can't seem to validate the condition. Look at the following construction. ${dg} is the variable that stores the input digit. So, if ${dg} == 0, play beep.gsm, else play audio.gsm. The expression is never true, but i put 0 always. Instead of playing beep.gsm, it plays audio.gsm. I got the same example from Freeswitch 1.2 book, Nested Conditions section. ________________________________ From: freeswitch-users-bounces at lists.freeswitch.org > on behalf of Michael Jerris > Sent: Thursday, September 22, 2016 6:57 PM To: FreeSWITCH Users Help Cc: comercial at ypytecnologia.com.br Subject: Re: [Freeswitch-users] Playback within condition look at the log generated by calling this. What order do the dial plan apps show up? Does the playback show up? what do the logs show it doing when it executes that playback? On Sep 22, 2016, at 1:06 PM, Caio Assis > wrote: Hi. Here's what I'm trying to do. I want to play a sound if a certain condition is true. The sound 1 doesn't play, but I knew the condition was true because I can see the INFO LOG on the console. The sound 2, outside the condition, was played normally. Both PLAYBACK and READ applications don't work on nested conditions. Can anyone help me? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/493b4c36/attachment-0001.html From anthony.minessale at gmail.com Wed Sep 28 02:43:11 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Tue, 27 Sep 2016 17:43:11 -0500 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: If you are running as an unprivileged user, you may not have perms to write core files. try sysctl kernel.core_pattern you might want to do this to write to tmp assuming you have world write there. sysctl -w kernel.core_pattern=/tmp/core.%p On Tue, Sep 27, 2016 at 5:30 PM, Jai Rangi wrote: > This is strange, For this issue Freeswitch crashes but does not generate > coredump. In switch.conf I have > > > > > status > UP 0 years, 0 days, 0 hours, 2 minutes, 58 seconds, 960 milliseconds, 387 > microseconds > FreeSWITCH (Version 1.7.0 git 93591e2 2016-09-27 17:08:00Z 64bit) is ready > 0 session(s) since startup > 0 session(s) - peak 0, last 5min 0 > 0 session(s) per Sec out of max 30, peak 0, last 5min 0 > 1000 session(s) max > min idle cpu 0.00/99.90 > Current Stack Size/Max 240K/8192K > > ulimit -c > unlimited > > What I might be missing. > > > On Tue, Sep 27, 2016 at 11:28 AM, Jai Rangi > wrote: > >> Understandable, working on that right now. >> >> >> >> On Tuesday, September 27, 2016, Michael Jerris wrote: >> >>> We can?t do anything with the information you provided. The information >>> we need is what i requested you provide in the steps below. Until we get >>> that information we have no way of knowing what is going on, thats why I >>> replied with the exact details of how to move this forward. We care about >>> segfaults quite a bit, but require this information in order to be able to >>> reproduce, troubleshoot and fix the issue. Specifically i asked for a >>> backtrace of the crash, when reproduced on master, and to file this in our >>> bug tracking system so it can be properly reproduced, tested, and fixed. >>> >>> >>> On Sep 27, 2016, at 1:47 PM, Jai Rangi wrote: >>> >>> This was reported first time in 2013, Then I reported few week ago on >>> 1.6.6, I was told to do on the latest. Few week ago, I downloaded latest >>> stable which was this one. This has been ongoing, if nothing was done then >>> probably It will be there on lastest too. I will try to reproduce on the >>> latest from master. >>> >>> >>> >>> >>> *Jai Rangi* >>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>> >>> >>> >>> >>> >>> >>> On Tue, Sep 27, 2016 at 9:38 AM, Michael Jerris wrote: >>> >>>> Thats not latest. I mapped out exactly what needs to be done below in >>>> order to get this looked at. ?Reproduce on master, get a backtrace, file a >>>> jira? >>>> >>>> Please follow these steps so we can dig into what exactly is going on. >>>> Reporting bugs to the mailing list will result in no action. >>>> >>>> >>>> On Sep 26, 2016, at 9:09 PM, Jai Rangi wrote: >>>> >>>> Reopening this thread. >>>> >>>> Tested again with the latest, >>>> FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is >>>> ready >>>> >>>> >>>> Seems like this is an old bug which was never fixed, >>>> http://lists.freeswitch.org/pipermail/freeswitch-users/2012- >>>> December/090285.html >>>> >>>> This can be reproduced even now. >>>> >>>> >>>> >>>> >>>> On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris >>>> wrote: >>>> >>>>> a crash is always a bug. Reproduce on master, get a backtrace, file a >>>>> jira >>>>> >>>>> >>>>> On Tuesday, July 26, 2016, Jai Rangi wrote: >>>>> >>>>>> This is perfect, but if I press too many keys, freeswitch crashes :( >>>>>> Any idea? >>>>>> >>>>>> -Jai >>>>>> >>>>>> *Jai Rangi* >>>>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 >>>>>> | >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris >>>>>> wrote: >>>>>> >>>>>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/br >>>>>>> owse/scripts/lua/callback.lua >>>>>>> >>>>>>> On Jul 26, 2016, at 1:28 PM, Jai Rangi >>>>>>> wrote: >>>>>>> >>>>>>> Thanks, but need little more hint. Got the DTMF, how playback >>>>>>> application will react on the dtmf? >>>>>>> >>>>>>> -Jai >>>>>>> >>>>>>> *Jai Rangi* >>>>>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>>>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>>>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>>>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA >>>>>>> 92626 | >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris >>>>>>> wrote: >>>>>>> >>>>>>>> You can do so via embedded scripting languages for sure using the >>>>>>>> callbacks for dtmf and their return values. >>>>>>>> >>>>>>>> > On Jul 26, 2016, at 12:37 PM, Jai Rangi >>>>>>>> wrote: >>>>>>>> > >>>>>>>> > Checking to see if it is possible to have controls on audio files >>>>>>>> played with playback or filestream. Expected controls are keys to rewind, >>>>>>>> forward, fast-forward, pause, play. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >>> >>> >> >> -- >> *Jai Rangi* >> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >> >> >> >> >> >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/bc5c9f7d/attachment-0001.html From jprangi at didforsale.com Wed Sep 28 03:06:16 2016 From: jprangi at didforsale.com (Jai Rangi) Date: Tue, 27 Sep 2016 16:06:16 -0700 Subject: [Freeswitch-users] Audio Control on mp3/wav In-Reply-To: References: <6C347BC7-EF19-4825-A59F-3FFFF30C2BDA@jerris.com> <2795236D-BD0B-4F70-AEC7-4BF1624A3601@jerris.com> Message-ID: No luck, All I see is this 2016-09-27 16:03:30.721797 [INFO] switch_cpp.cpp:1288 digit: [3] duration: [720] 2016-09-27 16:03:30.721797 [DEBUG] switch_ivr.c:3997 seek to position 114720 2016-09-27 16:03:31.461786 [DEBUG] switch_rtp.c:6966 RTP RECV DTMF 1:720 2016-09-27 16:03:31.461786 [INFO] switch_channel.c:515 RECV DTMF 1:720 2016-09-27 16:03:31.461786 [INFO] switch_cpp.cpp:1288 type: dtmf 2016-09-27 16:03:31.461786 [INFO] switch_cpp.cpp:1288 digit: [1] duration: [720] 2016-09-27 16:03:31.461786 [DEBUG] switch_ivr.c:3997 seek to position 48640 freeswitch at bast6> freeswitch at bast6> freeswitch at bast6> freeswitch at bast6> freeswitch at bast6> status Socket interrupted, bye! Freeswitch running as root. update kernel core_pattern sysctl kernel.core_pattern kernel.core_pattern = /tmp/core.freeswitch *Jai Rangi* Cebod Technologies LLC dba DIDforSale/Cebod Telecom O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / 949-232-1410 | jprangi at didforsale.com www.cebod.com | www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | On Tue, Sep 27, 2016 at 3:43 PM, Anthony Minessale < anthony.minessale at gmail.com> wrote: > If you are running as an unprivileged user, you may not have perms to > write core files. > > try sysctl kernel.core_pattern > > you might want to do this to write to tmp assuming you have world write > there. > > sysctl -w kernel.core_pattern=/tmp/core.%p > > > > On Tue, Sep 27, 2016 at 5:30 PM, Jai Rangi wrote: > >> This is strange, For this issue Freeswitch crashes but does not generate >> coredump. In switch.conf I have >> >> >> >> >> status >> UP 0 years, 0 days, 0 hours, 2 minutes, 58 seconds, 960 milliseconds, 387 >> microseconds >> FreeSWITCH (Version 1.7.0 git 93591e2 2016-09-27 17:08:00Z 64bit) is ready >> 0 session(s) since startup >> 0 session(s) - peak 0, last 5min 0 >> 0 session(s) per Sec out of max 30, peak 0, last 5min 0 >> 1000 session(s) max >> min idle cpu 0.00/99.90 >> Current Stack Size/Max 240K/8192K >> >> ulimit -c >> unlimited >> >> What I might be missing. >> >> >> On Tue, Sep 27, 2016 at 11:28 AM, Jai Rangi >> wrote: >> >>> Understandable, working on that right now. >>> >>> >>> >>> On Tuesday, September 27, 2016, Michael Jerris wrote: >>> >>>> We can?t do anything with the information you provided. The >>>> information we need is what i requested you provide in the steps below. >>>> Until we get that information we have no way of knowing what is going on, >>>> thats why I replied with the exact details of how to move this forward. We >>>> care about segfaults quite a bit, but require this information in order to >>>> be able to reproduce, troubleshoot and fix the issue. Specifically i asked >>>> for a backtrace of the crash, when reproduced on master, and to file this >>>> in our bug tracking system so it can be properly reproduced, tested, and >>>> fixed. >>>> >>>> >>>> On Sep 27, 2016, at 1:47 PM, Jai Rangi wrote: >>>> >>>> This was reported first time in 2013, Then I reported few week ago on >>>> 1.6.6, I was told to do on the latest. Few week ago, I downloaded latest >>>> stable which was this one. This has been ongoing, if nothing was done then >>>> probably It will be there on lastest too. I will try to reproduce on the >>>> latest from master. >>>> >>>> >>>> >>>> >>>> *Jai Rangi* >>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Sep 27, 2016 at 9:38 AM, Michael Jerris >>>> wrote: >>>> >>>>> Thats not latest. I mapped out exactly what needs to be done below in >>>>> order to get this looked at. ?Reproduce on master, get a backtrace, file a >>>>> jira? >>>>> >>>>> Please follow these steps so we can dig into what exactly is going >>>>> on. Reporting bugs to the mailing list will result in no action. >>>>> >>>>> >>>>> On Sep 26, 2016, at 9:09 PM, Jai Rangi wrote: >>>>> >>>>> Reopening this thread. >>>>> >>>>> Tested again with the latest, >>>>> FreeSWITCH (Version 1.6.9 git d574870 2016-06-13 18:10:44Z 64bit) is >>>>> ready >>>>> >>>>> >>>>> Seems like this is an old bug which was never fixed, >>>>> http://lists.freeswitch.org/pipermail/freeswitch-users/2012- >>>>> December/090285.html >>>>> >>>>> This can be reproduced even now. >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Jul 26, 2016 at 3:38 PM, Michael Jerris >>>>> wrote: >>>>> >>>>>> a crash is always a bug. Reproduce on master, get a backtrace, file >>>>>> a jira >>>>>> >>>>>> >>>>>> On Tuesday, July 26, 2016, Jai Rangi wrote: >>>>>> >>>>>>> This is perfect, but if I press too many keys, freeswitch crashes >>>>>>> :( Any idea? >>>>>>> >>>>>>> -Jai >>>>>>> >>>>>>> *Jai Rangi* >>>>>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>>>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>>>>>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>>>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA >>>>>>> 92626 | >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Jul 26, 2016 at 10:54 AM, Michael Jerris >>>>>>> wrote: >>>>>>> >>>>>>>> https://freeswitch.org/stash/projects/FS/repos/freeswitch/br >>>>>>>> owse/scripts/lua/callback.lua >>>>>>>> >>>>>>>> On Jul 26, 2016, at 1:28 PM, Jai Rangi >>>>>>>> wrote: >>>>>>>> >>>>>>>> Thanks, but need little more hint. Got the DTMF, how playback >>>>>>>> application will react on the dtmf? >>>>>>>> >>>>>>>> -Jai >>>>>>>> >>>>>>>> *Jai Rangi* >>>>>>>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>>>>>>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 >>>>>>>> / 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>>>>>>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA >>>>>>>> 92626 | >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Jul 26, 2016 at 10:24 AM, Michael Jerris >>>>>>>> wrote: >>>>>>>> >>>>>>>>> You can do so via embedded scripting languages for sure using the >>>>>>>>> callbacks for dtmf and their return values. >>>>>>>>> >>>>>>>>> > On Jul 26, 2016, at 12:37 PM, Jai Rangi >>>>>>>>> wrote: >>>>>>>>> > >>>>>>>>> > Checking to see if it is possible to have controls on audio >>>>>>>>> files played with playback or filestream. Expected controls are keys to >>>>>>>>> rewind, forward, fast-forward, pause, play. >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> ____________________________________________________________ >>>>>>>> _____________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>> >>> -- >>> *Jai Rangi* >>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom >>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 / >>> 949-232-1410 | jprangi at didforsale.com www.cebod.com | >>> www.didforsale.com |3200 Bristol St Suite 615, Costa Mesa, CA 92626 | >>> >>> >>> >>> >>> >>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160927/94c87170/attachment-0001.html From devang.nathwani31589 at gmail.com Wed Sep 28 11:21:15 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Wed, 28 Sep 2016 12:51:15 +0530 Subject: [Freeswitch-users] 'no audio' while call established, can hear the ring back Message-ID: Hello, Below is the call flow i am trying to achieve and getting 'no audio' while call established, i can hear the ring back tone though client registration through public ip [SERVER A], nat rule to route the request to local ip [SERVER A's CONTAINER A1] --> getting the request to local ip through Profile1; this is a freeswitch server using mod_distributor to balance the load between two freeswitch servers [SERVER A's CONTAINER A1]--> getting the request to local ip through Profile2; this is a freeswitch server1 [SERVER B's CONTAINER B1] --> sending back the response to [SERVER A's CONTAINER A1] using Profile3, nat rule is there to route the traffic to public ip [SERVER A]/to the caller sip signaling works as it should having issues with media signaling though, 'no audio' on call while call get established, let me share some params value of respective profiles regarding media on Profile1, inbound-bypass-media = false inbound-proxy-media = true on Profile2, inbound-bypass-media = true inbound-proxy-media = true on Profile3, inbound-bypass-media = true inbound-proxy-media = false Below is the file containing sip logs from [SERVER A's CONTAINER A1] http://pastebin.com/zpzT81dL Below is the file containing sip logs from [SERVER B's CONTAINER B1] http://pastebin.com/aMAQB45i caller's ip -> 182.72.122.102 public ip to register -> 51.21.91.151 [SERVER A's CONTAINER A1 eth0] -> 10.93.53.126 [SERVER A's CONTAINER A1 eth1] -> 172.16.1.2 [SERVER B's CONTAINER B1 eth1] -> 172.16.3.2 carrier/provider/gateway/termination ip -> 216.56.6.6 (Above are not the real ips, they are changed;)) What am i missig here? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/44c45753/attachment.html From lists at telefaks.de Wed Sep 28 12:07:48 2016 From: lists at telefaks.de (Peter Steinbach) Date: Wed, 28 Sep 2016 10:07:48 +0200 Subject: [Freeswitch-users] How to pass variable to Loopback Channel with loopback_export? Message-ID: <57EB7A54.8060707@telefaks.de> Hello, I would like to do initiate a call the following way: {variable1=xxx,variable2=yyy}sofia/gateway/number &bridge(loopback/number2) Variables are not passed to the loopback channel, as expected. So I tried the loopback_export the following way. {variable1=xxx,variable2=yyy,loopback_export=variable1}sofia/gateway/number &bridge(loopback/number2) However, variables are not passed to the loopback channel. Anybody knows how to pass variables to the loopback channel? -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de From fanx07 at gmail.com Wed Sep 28 16:28:45 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Wed, 28 Sep 2016 15:28:45 +0300 Subject: [Freeswitch-users] High Availability questions Message-ID: Hi, [1] tells how one can achieve HA with Freeswitch. However, the setup is an active-passive one and for each active needs one passive. I have 2 questions: a) Currently, is there a way to achieve an active-active setup? b) Currently, is there a way to achieve a setup like this one: a group of i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When one of the 5 breaks, the passive 1 becomes active and restores the sessions for the broken one. Regards, Stefan [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/5d43d824/attachment.html From jhenriqu at hotmail.com Wed Sep 28 16:35:26 2016 From: jhenriqu at hotmail.com (Joaquin Henriquez Alzola) Date: Wed, 28 Sep 2016 12:35:26 +0000 Subject: [Freeswitch-users] FreeSwitch and Docker (with swarm) In-Reply-To: References: Message-ID: Hi list, Has somebody try to encapsulate the freeswitch into Docker and use swarm to autodiscovery? How did you do the docker image? With Dockerfile or DockerCompose or manually? I am thinking of doing it this way since it will allow me to rapidly scale the solution. BR Joaquin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/3abe6979/attachment.html From devang.nathwani31589 at gmail.com Wed Sep 28 16:56:19 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Wed, 28 Sep 2016 18:26:19 +0530 Subject: [Freeswitch-users] How to delete entry from sip_regisration table? Message-ID: We connect freeswitch using odbc connection for device registration on server. Now the problem occur when Freeswitch crashed,down or restart uncertainly that time the entry does not removed from sip_registration table and next time user are not able to make the call. Then we have to manually delete that entry from database to make it working. OS : Debian8 FS version : FreeSWITCH Version 1.6.6~64bit ( 64bit) can anybody help us to resolve this issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/000cf347/attachment.html From phenix at vfemail.net Wed Sep 28 17:21:20 2016 From: phenix at vfemail.net (Tanguy) Date: Wed, 28 Sep 2016 15:21:20 +0200 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: Hello, For active-active without a single point of failure, you may use DNS-SRV. But i don't think that you will be able to restore session without using a shared ip address ( so active/passive ) On 28/09/2016 14:28, Anonim Stefan wrote: > Hi, > > [1] tells how one can achieve HA with Freeswitch. However, the setup > is an active-passive one and for each active needs one passive. I have > 2 questions: > > a) Currently, is there a way to achieve an active-active setup? > > b) Currently, is there a way to achieve a setup like this one: a group > of i.e. 5 active Freeswitches and a group of i.e. 1 passive > Freeswitch. When one of the 5 breaks, the passive 1 becomes active and > restores the sessions for the broken one. > > Regards, > Stefan > > [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/1fabae36/attachment.html From s.safarov at gmail.com Wed Sep 28 17:26:14 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 28 Sep 2016 13:26:14 +0000 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: You can configure two or more FreeSwitch server in kazoo cluster. In this configuration all server is active-active. But calls on failed hosts is canceled and requred establish new call. ??, 28 ????. 2016 ?. ? 16:22, Tanguy : > Hello, > > For active-active without a single point of failure, you may use DNS-SRV. > But i don't think that you will be able to restore session without using a > shared ip address ( so active/passive ) > > > On 28/09/2016 14:28, Anonim Stefan wrote: > > Hi, > > [1] tells how one can achieve HA with Freeswitch. However, the setup is an > active-passive one and for each active needs one passive. I have 2 > questions: > > a) Currently, is there a way to achieve an active-active setup? > > b) Currently, is there a way to achieve a setup like this one: a group of > i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When > one of the 5 breaks, the passive 1 becomes active and restores the sessions > for the broken one. > > Regards, > Stefan > > [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/496db4e1/attachment-0001.html From benjamin.cropley at gmail.com Wed Sep 28 17:28:25 2016 From: benjamin.cropley at gmail.com (Benjamin Cropley) Date: Wed, 28 Sep 2016 14:28:25 +0100 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: I find the answer to this question changes depending on what you're looking to do.. eg.. Is FS acting as a b2b? voicemail server? presence server? Perhaps you could describe a few scenarios. Ben On Wed, Sep 28, 2016 at 1:28 PM, Anonim Stefan wrote: > Hi, > > [1] tells how one can achieve HA with Freeswitch. However, the setup is an > active-passive one and for each active needs one passive. I have 2 > questions: > > a) Currently, is there a way to achieve an active-active setup? > > b) Currently, is there a way to achieve a setup like this one: a group of > i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When > one of the 5 breaks, the passive 1 becomes active and restores the sessions > for the broken one. > > Regards, > Stefan > > [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- All the best, Ben Cropley 07539 366 905 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/4bc6087b/attachment.html From fanx07 at gmail.com Wed Sep 28 18:00:52 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Wed, 28 Sep 2016 17:00:52 +0300 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: In my setup, FS has a private SIP IP and public RTP IP. FS is mainly handling conference calls, bridge calls and streaming. It also originates calls, not only receives calls. Thanks, Stefan On Wed, Sep 28, 2016 at 4:28 PM, Benjamin Cropley < benjamin.cropley at gmail.com> wrote: > I find the answer to this question changes depending on what you're > looking to do.. > > eg.. Is FS acting as a b2b? voicemail server? presence server? > > Perhaps you could describe a few scenarios. > > Ben > > On Wed, Sep 28, 2016 at 1:28 PM, Anonim Stefan wrote: > >> Hi, >> >> [1] tells how one can achieve HA with Freeswitch. However, the setup is >> an active-passive one and for each active needs one passive. I have 2 >> questions: >> >> a) Currently, is there a way to achieve an active-active setup? >> >> b) Currently, is there a way to achieve a setup like this one: a group of >> i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When >> one of the 5 breaks, the passive 1 becomes active and restores the sessions >> for the broken one. >> >> Regards, >> Stefan >> >> [1] https://freeswitch.org/confluence/display/FREESWITCH/High+ >> Availability >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > All the best, > Ben Cropley > 07539 366 905 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/95303791/attachment.html From fanx07 at gmail.com Wed Sep 28 18:03:45 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Wed, 28 Sep 2016 17:03:45 +0300 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: On Wed, Sep 28, 2016 at 4:26 PM, Sergey Safarov wrote: > You can configure two or more FreeSwitch server in kazoo cluster. > In this configuration all server is active-active. But calls on failed > hosts is canceled and requred establish new call. > So all the ongoing calls on the failed host will drop and the end users need to re-invite call, right? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/dd718f51/attachment.html From hawkins at hawkinsegroup.com Wed Sep 28 18:37:26 2016 From: hawkins at hawkinsegroup.com (Don Hawkins) Date: Wed, 28 Sep 2016 09:37:26 -0500 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: Figured I throw in simple load balancing as an option. Assuming you've "cloned' your primary FS server and all configurations are either the same or being served from a different server (ideal option). On Wed, Sep 28, 2016 at 8:28 AM, Benjamin Cropley < benjamin.cropley at gmail.com> wrote: > I find the answer to this question changes depending on what you're > looking to do.. > > eg.. Is FS acting as a b2b? voicemail server? presence server? > > Perhaps you could describe a few scenarios. > > Ben > > On Wed, Sep 28, 2016 at 1:28 PM, Anonim Stefan wrote: > >> Hi, >> >> [1] tells how one can achieve HA with Freeswitch. However, the setup is >> an active-passive one and for each active needs one passive. I have 2 >> questions: >> >> a) Currently, is there a way to achieve an active-active setup? >> >> b) Currently, is there a way to achieve a setup like this one: a group of >> i.e. 5 active Freeswitches and a group of i.e. 1 passive Freeswitch. When >> one of the 5 breaks, the passive 1 becomes active and restores the sessions >> for the broken one. >> >> Regards, >> Stefan >> >> [1] https://freeswitch.org/confluence/display/FREESWITCH/High+ >> Availability >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > All the best, > Ben Cropley > 07539 366 905 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Sincerely,* Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT : push2don P: 469-214-5044 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/35586808/attachment-0001.html From thesipguy at gmail.com Wed Sep 28 14:32:24 2016 From: thesipguy at gmail.com (Schneur Rosenberg) Date: Wed, 28 Sep 2016 13:32:24 +0300 Subject: [Freeswitch-users] Opensips integration questions Message-ID: Hi, I'm pretty new to Freeswitch, I built a complete solution using OpenSIPS/Asterisk and I'm in the process of replacing Asterisk with Freeswitch. My current system is built that OpenSIPS act as a registrar and as a load balancer, the rest is done on a cluster of Asterisk machines, which as I said before is being rewritten to Freeswitch, in Freeswitch I'm using xml_curl for my dialplan and call routing, I'm using Intralanman project to handle the sip users. With Asterisk I had OpensSIPS as a trunk and I know that everything coming from that trunk, is either a DID or a authenticated outgoing call, Asterisk and OpenSIPS shared the user table, Asterisk recognized the sip user name from the FROM field and used all the variables etc from its own sip user table as if the user has registered directly to itself, I had some issues with blind transfers but I was able to do some manipulations and DB queries to handle it fine. I tried doing the same with Freeswitch, I let the ACL allow the ip from Freeswitch, but Freeswitch would not use the variables from the user like Asterisk did, for example accountcode, user_context etc, I was able to partially fix that by having my web server do a db query and then using the "set" application set all the variables, but I'm not sure if its the proper solution, does anyone have a better solution? will setting my OpenSIPS as a gateway instead of merely allowing it in with ACL work better? right now I'm using the application "execute_extension" to send it to the proper context that I've pulled from the DB, I dont like the hack and if there is a better solution I would like to know. One more major problem that I have is NAT related, when I place a outgoing call for example from a phone which is behind a NAT (all of our customers phones are behind NAT) the call connects and audio works 2 ways, but when the called party hangs up, the carrier sends the BYE to Freeswitch, freeswitch then sends it to my OpenSIPS which is supposed to send it to my clients phone, but Freeswich writes the RURI with the natted address, the RURI is BYE sip:101 at 192.168.0.11:5062 SIP/2.0. and my OpenSIPS does not know what to do with it and ignores it, my Asterisk replaced the RURI with the received address in the VIA, so same RURI would be BYE sip:101 at 64.69.47.175:5062 SIP/2.0. which worked fine, same problem happens with all subsequent requests if user does not hang up, I need a solution for this major issue. thank you S. Rosenberg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/b87238cf/attachment.html From russow at emtex.de Wed Sep 28 18:19:36 2016 From: russow at emtex.de (Christoph Russow) Date: Wed, 28 Sep 2016 16:19:36 +0200 Subject: [Freeswitch-users] Dangerous prototype question for Seven Du In-Reply-To: References: <49695d11-93a9-3dd4-e0c5-280d17907ece@emtex.de> Message-ID: Hi Seven, awesome i really looking forward to see the code online. Take your time as i'm not in a hurry. Best Regards and have a nice holiday. Christoph Am 27.09.2016 um 05:28 schrieb Seven Du: > Hi Chris, > > Sorry I don?t follow this list in a timely manner. > > I created an empty page https://github.com/seven1240/xui > > I think I can share code and try to write some docs in October after our > National holiday. > > And we can merge some of all the code into the fs repo it it works well. > > > Thanks. > > > >> On Sep 26, 2016, at 3:35 PM, Christoph Russow > > wrote: >> >> Hi, >> >> is Seven on vacation or does he not read the mailing list? >> >> May be somebody who knows him be so kind and forward this mail if he >> does not read the mailing list? >> >> Best Regards >> Christoph Russow >> >> Am 19.09.2016 um 12:04 schrieb Christoph Russow: >>> Hi, >>> >>> i've got a question for Seven Du. >>> >>> I was very impressed by your dangerous prototype on ClueCon 2016 and i'm >>> wondering if you would share some more details about it. >>> >>> For example some background about the UI and how you executed the >>> generated code within Freeswitch. >>> >>> Best Regards >>> Christoph Russow >>> >> >> -- >> ________________________________________________________________ >> >> EMTEX GmbH >> Christoph Russow >> Software Engineer >> >> Bischof-Otto-Weg 9 >> D-91086 Aurachtal >> Gesch?ftsf?hrer: Markus Enzinger >> Tel. +49 9132 7490 0 Sitz der Gesellschaft: 91086 Aurachtal >> Fax. +49 9132 7490 900 Amtsgericht F?rth: HRB6804 >> ________________________________________________________________ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ________________________________________________________________ EMTEX GmbH Christoph Russow Software Engineer Bischof-Otto-Weg 9 D-91086 Aurachtal Gesch?ftsf?hrer: Markus Enzinger Tel. +49 9132 7490 0 Sitz der Gesellschaft: 91086 Aurachtal Fax. +49 9132 7490 900 Amtsgericht F?rth: HRB6804 ________________________________________________________________ From rd-disc at gmx.net Wed Sep 28 16:22:19 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Wed, 28 Sep 2016 14:22:19 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client Message-ID: <57EBB5FB.7060702@gmx.net> Hello, this is my problem: I would like to use Freeswitch as a gateway between our Hipath PBX and an external SIP provider. For that I created a Hipath SIP account that is working (tested with X-lite). Now I would like to let Freeswitch act as a client using this SIP account. Whenever there is an incoming call Freeswitch should act on it and forward this call to an external SIP provider. Is this possible? Does that make sense? Are there alternatives? At the moment I'm stuck to configure Freeswitch as a client. I added the Hipath SIP account as a gateway. When I compare the SIP traffic of X-lite and Freeswitch using Wireshark I found out that Freeswitch dows not offer the 'Subscribe' option. Is this the reason why it fails? Can you help me? Thanks in advance. Dieter From fanx07 at gmail.com Wed Sep 28 19:18:13 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Wed, 28 Sep 2016 18:18:13 +0300 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: On Wed, Sep 28, 2016 at 5:37 PM, Don Hawkins wrote: > Figured I throw in simple load balancing as an option. Assuming you've > "cloned' your primary FS server and all configurations are either the same > or being served from a different server (ideal option). > What I'm actually aiming for, when setting the FS HA is the following: When one FS machine fails, all the calls on that machine to keep going, such as the user needs not to invite again. Reading [1], this is possible with the expense of 1 backup, passive machine for each active machine. Scaling this up would be an issue, hence my a), b) questions above. [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability Thanks, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/de535939/attachment.html From lists at telefaks.de Wed Sep 28 19:24:02 2016 From: lists at telefaks.de (Peter Steinbach) Date: Wed, 28 Sep 2016 17:24:02 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57EBB5FB.7060702@gmx.net> References: <57EBB5FB.7060702@gmx.net> Message-ID: <57EBE092.8000107@telefaks.de> Hello Dieter, sure this should work. Registering a Freeswitch as a SIP client to an external SIP server can be done through a gateway definition, as you pointed out. The first step is to see, if the gateway is registered to the Hipath ("sofia status" should show REGED for the gateway). If yes, you're almost done. (I assume, you have to register to the Hipath, right?) I think, that Freeswitch does not offer Subscribes in the external profile, only in the default internal profile. Do you receive an INVITE from the Hipath? Also note, that Freeswitch's external profile is on Port 5080 instead of 5060, so Hipath has to send to 5080. On Linux, you may use ngrep to grep the SIP traffic: "ngrep -d any port 5080 -W byline"). Best regards Peter On 09/28/16 14:22, Scholz, Dieter wrote: > Hello, > > this is my problem: > > I would like to use Freeswitch as a gateway between our Hipath PBX and > an external SIP provider. > > For that I created a Hipath SIP account that is working (tested with > X-lite). Now I would like to let Freeswitch act as a client using this > SIP account. Whenever there is an incoming call Freeswitch should act on > it and forward this call to an external SIP provider. > > Is this possible? Does that make sense? Are there alternatives? > > At the moment I'm stuck to configure Freeswitch as a client. I added the > Hipath SIP account as a gateway. When I compare the SIP traffic of > X-lite and Freeswitch using Wireshark I found out that Freeswitch dows > not offer the 'Subscribe' option. Is this the reason why it fails? > > Can you help me? > > Thanks in advance. > > Dieter > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de From ssinyagin at gmail.com Wed Sep 28 19:25:01 2016 From: ssinyagin at gmail.com (Stanislav Sinyagin) Date: Wed, 28 Sep 2016 17:25:01 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57EBB5FB.7060702@gmx.net> References: <57EBB5FB.7060702@gmx.net> Message-ID: you need to create one more gateway that will communicate to your SIP provider. This gateway can be configured with username and password if the ITSP requires authentication. Then, you will need to create the dialplan that accepts calls from each of these gateways and routes them to the other gateway. It's quite trivial once you figure out how SIP profiles and dialplan contexts work together. Hopefully this will provide you some hints: https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter wrote: > Hello, > > this is my problem: > > I would like to use Freeswitch as a gateway between our Hipath PBX and > an external SIP provider. > > For that I created a Hipath SIP account that is working (tested with > X-lite). Now I would like to let Freeswitch act as a client using this > SIP account. Whenever there is an incoming call Freeswitch should act on > it and forward this call to an external SIP provider. > > Is this possible? Does that make sense? Are there alternatives? > > At the moment I'm stuck to configure Freeswitch as a client. I added the > Hipath SIP account as a gateway. When I compare the SIP traffic of > X-lite and Freeswitch using Wireshark I found out that Freeswitch dows > not offer the 'Subscribe' option. Is this the reason why it fails? > > Can you help me? > > Thanks in advance. > > Dieter > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From devang.nathwani31589 at gmail.com Wed Sep 28 19:33:28 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Wed, 28 Sep 2016 21:03:28 +0530 Subject: [Freeswitch-users] installation of specific modules using apt-get commands Message-ID: Hello, I have installed freeswitch using apt-get on my debian 8 sersver from https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie block under title 'latest release branch:' Now what if i want to install some module which are not in default vanilla setup. Specifically, I need to install mod_sangoma_codec, mod_lua, mod_json_cdr. Where can i find the apt-get command for these modules or is there any other way to install them in my freeswitch? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/dd012170/attachment.html From giacomo.vacca at gmail.com Wed Sep 28 19:39:05 2016 From: giacomo.vacca at gmail.com (Giacomo Vacca) Date: Wed, 28 Sep 2016 17:39:05 +0200 Subject: [Freeswitch-users] installation of specific modules using apt-get commands In-Reply-To: References: Message-ID: apt-get update && apt-cache search freeswitch Select the additional packages and install with apt install. On 28 September 2016 at 17:33, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Hello, > > I have installed freeswitch using apt-get on my debian 8 sersver from > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > block under title 'latest release branch:' > > Now what if i want to install some module which are not in default vanilla > setup. > Specifically, I need to install mod_sangoma_codec, mod_lua, mod_json_cdr. > > Where can i find the apt-get command for these modules or is there any > other way to install them in my freeswitch? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/a4f9cc7a/attachment.html From fanx07 at gmail.com Wed Sep 28 20:09:45 2016 From: fanx07 at gmail.com (Anonim Stefan) Date: Wed, 28 Sep 2016 19:09:45 +0300 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: Do you think that [1] can be extended to achieve setup [2]? Have someone tried [2] before, or something simmilar? At least in theory, should [2] be possible? [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability [2] https://postimg.org/image/7575twlvt/ Regards, Stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/ab866051/attachment.html From mike at jerris.com Wed Sep 28 20:13:15 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 28 Sep 2016 12:13:15 -0400 Subject: [Freeswitch-users] How to delete entry from sip_regisration table? In-Reply-To: References: Message-ID: You shouldn?t have to manually delete them, they should expire naturally on their normal expiration, its more interesting that after restart the reg?s don?t work. In typical setups, you should be able to restart FreeSWITCH and use the regs from before restart to reach a party. Why are they not working? https://freeswitch.org/confluence/display/FREESWITCH/Sofia+SIP+Stack#SofiaSIPStack-Flushingandrebootingregisteredendpoints > On Sep 28, 2016, at 8:56 AM, devang nathwani wrote: > > We connect freeswitch using odbc connection for device registration on server. > > Now the problem occur when Freeswitch crashed,down or restart uncertainly that time the entry does not removed from sip_registration table and next time user are not able to make the call. > > Then we have to manually delete that entry from database to make it working. > > OS : Debian8 > FS version : FreeSWITCH Version 1.6.6~64bit ( 64bit) > > can anybody help us to resolve this issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/90a5707e/attachment.html From flokrrr at gmail.com Wed Sep 28 20:46:48 2016 From: flokrrr at gmail.com (Florent Krieg) Date: Wed, 28 Sep 2016 18:46:48 +0200 Subject: [Freeswitch-users] How to delete entry from sip_regisration table? In-Reply-To: References: Message-ID: Same thought as Michael, in our case we are able to use the regs already presents in the db after a crash (FS is restarted thanks to its watchdog, -reincarnate option). 2016-09-28 18:13 GMT+02:00 Michael Jerris : > You shouldn?t have to manually delete them, they should expire naturally > on their normal expiration, its more interesting that after restart the > reg?s don?t work. In typical setups, you should be able to restart > FreeSWITCH and use the regs from before restart to reach a party. Why are > they not working? > > https://freeswitch.org/confluence/display/FREESWITCH/ > Sofia+SIP+Stack#SofiaSIPStack-Flushingandrebootingregisteredendpoints > > > On Sep 28, 2016, at 8:56 AM, devang nathwani com> wrote: > > We connect freeswitch using odbc connection for device registration on > server. > > Now the problem occur when Freeswitch crashed,down or restart uncertainly > that time the entry does not removed from sip_registration table and next > time user are not able to make the call. > > Then we have to manually delete that entry from database to make it > working. > > OS : Debian8 > FS version : FreeSWITCH Version 1.6.6~64bit ( 64bit) > > can anybody help us to resolve this issue? > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/19d019fb/attachment.html From caioebassis at hotmail.com Wed Sep 28 22:03:44 2016 From: caioebassis at hotmail.com (Caio Assis) Date: Wed, 28 Sep 2016 18:03:44 +0000 Subject: [Freeswitch-users] Bridging calls to other server Message-ID: Good afternoon. The situation I'm facing is this: I have a server that has 2 network interfaces (eth0 and eth1), the former with an external static IP set, and the ladder with a internal IP set. I have one more server on my private network that bridges calls to my gsm gateway (which means it's set with a internal IP as well), and I have a VoIP account to bridge other calls. The problem I'm facing is: when I try to bridge a call to my gateway, in my private network, the IP freeswitch is sending is the external IP, so the call is denied by my gateway. With the VoIP I don't have any problem, since the IP external meets my voip's external IP. Just to give you an example, it's like this. Main Server (eth0: 192.168.1.50, eth1: 123.123.123.123) Main Server bridges calls to Gateway (192.168.1.255). The gateway recieves an request coming from 123.123.123.123, and it's set to decline external IP, so the call gets a forbidden signal. Main Server bridges calls to VoIP provider(177.177.177.177). VoIP accepts my calls, since the request it receives is coming from the external IP. I need Freeswitch to send the call to the gateway using the internal IP and voip using external IP. I use asterisk, and i set a parameter brindaddr=0.0.0.0 to accept request coming from both internal and external IPs. All of my asterisk configurations work fine. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/40cf39a5/attachment-0001.html From mirkobrankovic at gmail.com Wed Sep 28 22:04:14 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Wed, 28 Sep 2016 20:04:14 +0200 Subject: [Freeswitch-users] How to delete entry from sip_regisration table? In-Reply-To: References: Message-ID: You could add action in init script to truncate that table.... Just a thought On Sep 28, 2016 2:57 PM, "devang nathwani" wrote: > We connect freeswitch using odbc connection for device registration on > server. > > Now the problem occur when Freeswitch crashed,down or restart uncertainly > that time the entry does not removed from sip_registration table and next > time user are not able to make the call. > > Then we have to manually delete that entry from database to make it > working. > > OS : Debian8 > FS version : FreeSWITCH Version 1.6.6~64bit ( 64bit) > > can anybody help us to resolve this issue? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/7ffa4e71/attachment.html From anthony.minessale at gmail.com Wed Sep 28 22:15:56 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Wed, 28 Sep 2016 13:15:56 -0500 Subject: [Freeswitch-users] How to delete entry from sip_regisration table? In-Reply-To: References: Message-ID: It intentionally does not delete udp registrations because they are still valid after a restart. On Wed, Sep 28, 2016 at 1:04 PM, Mirko Brankovic wrote: > You could add action in init script to truncate that table.... Just a > thought > > On Sep 28, 2016 2:57 PM, "devang nathwani" > wrote: > >> We connect freeswitch using odbc connection for device registration on >> server. >> >> Now the problem occur when Freeswitch crashed,down or restart uncertainly >> that time the entry does not removed from sip_registration table and next >> time user are not able to make the call. >> >> Then we have to manually delete that entry from database to make it >> working. >> >> OS : Debian8 >> FS version : FreeSWITCH Version 1.6.6~64bit ( 64bit) >> >> can anybody help us to resolve this issue? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/c76eea6d/attachment.html From daveh at beachdognet.com Thu Sep 29 02:16:04 2016 From: daveh at beachdognet.com (Dave Horton) Date: Wed, 28 Sep 2016 18:16:04 -0400 Subject: [Freeswitch-users] unable to set up a call using speex Message-ID: I am trying to connect an incoming call to freeswitch using speech wideband, but freeswitch is returning a 488 Not Acceptable here. It seems like freeswitch, which is using dynamic payload 99 for speex is unable to match that up to the fact that the remote side (client) is using payload 84. If so, this would seem to be a bug. Relevant log snippets / details: 1. Freeswitch version FreeSWITCH Version 1.6.9+git~20160613T181044Z~d574870720~64bit (git d574870 2016-06-13 18:10:44Z 64bit) 2. speex seems to be enabled... > show codecs type,name,ikey ? codec,Speex,CORE_SPEEX_MODULE ? 3. Log snippets from call 2016-09-28 18:09:56.592985 [DEBUG] sofia.c:6943 Remote SDP: v=0 o=- 1475100596518739 1 IN IP4 10.0.1.7 s=Bria 4 release 4.4.0 stamp 79957 c=IN IP4 10.0.1.7 t=0 0 m=audio 50218 RTP/AVP 84 101 a=rtpmap:84 speex/16000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 EXECUTE sofia/internal/1000 at srf-qa-02.drachtio.org answer() 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[opus:116:48000:20:0:1] 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[G722:9:8000:20:64000:1] 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[SPEEX:99:16000:20:42200:1] 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[PCMU:0:8000:20:64000:1] 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[PCMA:8:8000:20:64000:1] 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4281 Set telephone-event payload to 101 at 8000 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4693 sofia/internal/1000 at srf-qa-02.drachtio.org Set 2833 dtmf send payload to 101 recv payload to 101 2016-09-28 18:09:56.592985 [NOTICE] switch_channel.c:3809 Hangup sofia/internal/1000 at srf-qa-02.drachtio.org [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]' send 949 bytes to tcp/[198.0.151.126]:39915 at 18:09:56.612541: ------------------------------------------------------------------------ SIP/2.0 488 Not Acceptable Here From mike at jerris.com Thu Sep 29 02:35:46 2016 From: mike at jerris.com (Michael Jerris) Date: Wed, 28 Sep 2016 18:35:46 -0400 Subject: [Freeswitch-users] unable to set up a call using speex In-Reply-To: References: Message-ID: <2578439D-E96B-4407-8DED-87822F98E918@jerris.com> Dynamic payload range is 96-127. Codecs below 96 are assigned to specific codecs so would only match if 84 is assigned to speex, which it is not. See the IANA assignments for pt here: http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-1 > On Sep 28, 2016, at 6:16 PM, Dave Horton wrote: > > I am trying to connect an incoming call to freeswitch using speech wideband, but freeswitch is returning a 488 Not Acceptable here. It seems like freeswitch, which is using dynamic payload 99 for speex is unable to match that up to the fact that the remote side (client) is using payload 84. If so, this would seem to be a bug. > > Relevant log snippets / details: > > 1. Freeswitch version > FreeSWITCH Version 1.6.9+git~20160613T181044Z~d574870720~64bit (git d574870 2016-06-13 18:10:44Z 64bit) > > 2. speex seems to be enabled... > >> show codecs > > type,name,ikey > ? > codec,Speex,CORE_SPEEX_MODULE > ? > > 3. Log snippets from call > > 2016-09-28 18:09:56.592985 [DEBUG] sofia.c:6943 Remote SDP: > v=0 > o=- 1475100596518739 1 IN IP4 10.0.1.7 > s=Bria 4 release 4.4.0 stamp 79957 > c=IN IP4 10.0.1.7 > t=0 0 > m=audio 50218 RTP/AVP 84 101 > a=rtpmap:84 speex/16000 > a=rtpmap:101 telephone-event/8000 > a=fmtp:101 0-15 > > EXECUTE sofia/internal/1000 at srf-qa-02.drachtio.org answer() > 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[opus:116:48000:20:0:1] > 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[G722:9:8000:20:64000:1] > 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[SPEEX:99:16000:20:42200:1] > 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[PCMU:0:8000:20:64000:1] > 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4365 Audio Codec Compare [speex:84:16000:20:0:1]/[PCMA:8:8000:20:64000:1] > 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4281 Set telephone-event payload to 101 at 8000 > 2016-09-28 18:09:56.592985 [DEBUG] switch_core_media.c:4693 sofia/internal/1000 at srf-qa-02.drachtio.org Set 2833 dtmf send payload to 101 recv payload to 101 > 2016-09-28 18:09:56.592985 [NOTICE] switch_channel.c:3809 Hangup sofia/internal/1000 at srf-qa-02.drachtio.org [CS_EXECUTE] [INCOMPATIBLE_DESTINATION]' > > send 949 bytes to tcp/[198.0.151.126]:39915 at 18:09:56.612541: > ------------------------------------------------------------------------ > SIP/2.0 488 Not Acceptable Here > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/c11c62cc/attachment-0001.html From devang.nathwani31589 at gmail.com Thu Sep 29 08:42:53 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 29 Sep 2016 10:12:53 +0530 Subject: [Freeswitch-users] installation of specific modules using apt-get commands In-Reply-To: References: Message-ID: Thanks On Sep 28, 2016 9:09 PM, "Giacomo Vacca" wrote: > apt-get update && apt-cache search freeswitch > > Select the additional packages and install with apt install. > > On 28 September 2016 at 17:33, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Hello, >> >> I have installed freeswitch using apt-get on my debian 8 sersver from >> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >> block under title 'latest release branch:' >> >> Now what if i want to install some module which are not in default >> vanilla setup. >> Specifically, I need to install mod_sangoma_codec, mod_lua, mod_json_cdr. >> >> Where can i find the apt-get command for these modules or is there any >> other way to install them in my freeswitch? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/df96c2c3/attachment.html From rd-disc at gmx.net Thu Sep 29 11:36:52 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Thu, 29 Sep 2016 09:36:52 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57EBE092.8000107@telefaks.de> References: <57EBB5FB.7060702@gmx.net> <57EBE092.8000107@telefaks.de> Message-ID: <57ECC494.4000200@gmx.net> Hello, thanks for your comment. Perhaps I was a little unspecific. So here are some more details: I'm a beginner concerning VOIP (I reached a state where I am able to connect VOIP endpoints, develop a dialplan and connect to an external provider) but a very experienced network and Linux user. Because I would like to learn Freeswitch from scratch I started with the minimal configuration of the Jessie distribution. I added a gateway definition to the external profile (tried the internal profile, too - same behaviour): When I start Freeswitch a connaction attempt is made. A REGISTER is send to the HIPATH, a TRYING and then I receive an answer 404 NOTFOUND. If I use X-lite and connect to the HIPATH the connection attempt is successful. So the SIP account of the HIPATH seems to work. My sofia.conf.xml is: And my external.xml is: The console says: Failed registration. Any hints on what is missing? I looked up the vanilla configuration but there seems to be no promising additional options. Thanks. Dieter Am 28.09.2016 um 17:24 schrieb Peter Steinbach: > Hello Dieter, > > sure this should work. Registering a Freeswitch as a SIP client to an > external SIP server can be done through a gateway definition, as you > pointed out. The first step is to see, if the gateway is registered to > the Hipath ("sofia status" should show REGED for the gateway). If yes, > you're almost done. (I assume, you have to register to the Hipath, right?) > I think, that Freeswitch does not offer Subscribes in the external > profile, only in the default internal profile. > Do you receive an INVITE from the Hipath? Also note, that Freeswitch's > external profile is on Port 5080 instead of 5060, so Hipath has to send > to 5080. > On Linux, you may use ngrep to grep the SIP traffic: "ngrep -d any port > 5080 -W byline"). > > Best regards > Peter > > On 09/28/16 14:22, Scholz, Dieter wrote: >> Hello, >> >> this is my problem: >> >> I would like to use Freeswitch as a gateway between our Hipath PBX and >> an external SIP provider. >> >> For that I created a Hipath SIP account that is working (tested with >> X-lite). Now I would like to let Freeswitch act as a client using this >> SIP account. Whenever there is an incoming call Freeswitch should act on >> it and forward this call to an external SIP provider. >> >> Is this possible? Does that make sense? Are there alternatives? >> >> At the moment I'm stuck to configure Freeswitch as a client. I added the >> Hipath SIP account as a gateway. When I compare the SIP traffic of >> X-lite and Freeswitch using Wireshark I found out that Freeswitch dows >> not offer the 'Subscribe' option. Is this the reason why it fails? >> >> Can you help me? >> >> Thanks in advance. >> >> Dieter >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > From rd-disc at gmx.net Thu Sep 29 11:40:59 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Thu, 29 Sep 2016 09:40:59 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: References: <57EBB5FB.7060702@gmx.net> Message-ID: <57ECC58B.4070103@gmx.net> Hello, thanks for your comment. The URL you mentioned will be helpful, when I reach the dialplan stage. But at the moment I have problems connecting to the HIPATH maschine. I gave some more details in another post. Dieter Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: > you need to create one more gateway that will communicate to your SIP > provider. This gateway can be configured with username and password if > the ITSP requires authentication. > > Then, you will need to create the dialplan that accepts calls from > each of these gateways and routes them to the other gateway. > > It's quite trivial once you figure out how SIP profiles and dialplan > contexts work together. > > Hopefully this will provide you some hints: > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example > > > > > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter wrote: >> Hello, >> >> this is my problem: >> >> I would like to use Freeswitch as a gateway between our Hipath PBX and >> an external SIP provider. >> >> For that I created a Hipath SIP account that is working (tested with >> X-lite). Now I would like to let Freeswitch act as a client using this >> SIP account. Whenever there is an incoming call Freeswitch should act on >> it and forward this call to an external SIP provider. >> >> Is this possible? Does that make sense? Are there alternatives? >> >> At the moment I'm stuck to configure Freeswitch as a client. I added the >> Hipath SIP account as a gateway. When I compare the SIP traffic of >> X-lite and Freeswitch using Wireshark I found out that Freeswitch dows >> not offer the 'Subscribe' option. Is this the reason why it fails? >> >> Can you help me? >> >> Thanks in advance. >> >> Dieter >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From david.villasmil.work at gmail.com Thu Sep 29 13:31:18 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 11:31:18 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ECC58B.4070103@gmx.net> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> Message-ID: this is what my gateway look like: This should work... If you get Not Found, try looking at your server's log. you also should create an outgoing gateway, even if you're not registering, like: assuming the outgoing gateway will not auth-challenge you: Adding it to the external is a good idea, so the final config will be: Once this is working and you see it REGED, calls will be coming in (as per "context") on the public dialplan... the you just need to bridge it like: I hope I was able to help.. Enjoy freeSWITCH, it's fantastic! David On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter wrote: > Hello, > > thanks for your comment. The URL you mentioned will be helpful, when I > reach the dialplan stage. > > But at the moment I have problems connecting to the HIPATH maschine. I > gave some more details in another post. > > Dieter > > > Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: > > you need to create one more gateway that will communicate to your SIP > > provider. This gateway can be configured with username and password if > > the ITSP requires authentication. > > > > Then, you will need to create the dialplan that accepts calls from > > each of these gateways and routes them to the other gateway. > > > > It's quite trivial once you figure out how SIP profiles and dialplan > > contexts work together. > > > > Hopefully this will provide you some hints: > > https://freeswitch.org/confluence/display/FREESWITCH/ > FreeSWITCH+PBX+Example > > > > > > > > > > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter wrote: > >> Hello, > >> > >> this is my problem: > >> > >> I would like to use Freeswitch as a gateway between our Hipath PBX and > >> an external SIP provider. > >> > >> For that I created a Hipath SIP account that is working (tested with > >> X-lite). Now I would like to let Freeswitch act as a client using this > >> SIP account. Whenever there is an incoming call Freeswitch should act on > >> it and forward this call to an external SIP provider. > >> > >> Is this possible? Does that make sense? Are there alternatives? > >> > >> At the moment I'm stuck to configure Freeswitch as a client. I added the > >> Hipath SIP account as a gateway. When I compare the SIP traffic of > >> X-lite and Freeswitch using Wireshark I found out that Freeswitch dows > >> not offer the 'Subscribe' option. Is this the reason why it fails? > >> > >> Can you help me? > >> > >> Thanks in advance. > >> > >> Dieter > >> > >> ____________________________________________________________ > _____________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/3e287a20/attachment-0001.html From steveayre at gmail.com Thu Sep 29 13:40:50 2016 From: steveayre at gmail.com (Steven Ayre) Date: Thu, 29 Sep 2016 10:40:50 +0100 Subject: [Freeswitch-users] installation of specific modules using apt-get commands In-Reply-To: References: Message-ID: Generally mod_abc_xyz would be in the freeswitch-mod-abc-xyz package. mod_sangoma_codec in freeswitch-mod-sangoma-codec mod_lua in freeswitch-mod-lua mod_json_cdr in freeswitch-mod-json-cdr On 29 September 2016 at 05:42, devang nathwani wrote: > Thanks > > On Sep 28, 2016 9:09 PM, "Giacomo Vacca" wrote: > >> apt-get update && apt-cache search freeswitch >> >> Select the additional packages and install with apt install. >> >> On 28 September 2016 at 17:33, devang nathwani < >> devang.nathwani31589 at gmail.com> wrote: >> >>> Hello, >>> >>> I have installed freeswitch using apt-get on my debian 8 sersver from >>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >>> block under title 'latest release branch:' >>> >>> Now what if i want to install some module which are not in default >>> vanilla setup. >>> Specifically, I need to install mod_sangoma_codec, mod_lua, >>> mod_json_cdr. >>> >>> Where can i find the apt-get command for these modules or is there any >>> other way to install them in my freeswitch? >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/db66d590/attachment.html From mirkobrankovic at gmail.com Thu Sep 29 13:44:26 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 29 Sep 2016 11:44:26 +0200 Subject: [Freeswitch-users] installation of specific modules using apt-get commands In-Reply-To: References: Message-ID: just do sudo apt-cache search freeswitch and you will get the full list of names On Thu, Sep 29, 2016 at 11:40 AM, Steven Ayre wrote: > Generally mod_abc_xyz would be in the freeswitch-mod-abc-xyz package. > > mod_sangoma_codec in freeswitch-mod-sangoma-codec > mod_lua in freeswitch-mod-lua > mod_json_cdr in freeswitch-mod-json-cdr > > > > On 29 September 2016 at 05:42, devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Thanks >> >> On Sep 28, 2016 9:09 PM, "Giacomo Vacca" wrote: >> >>> apt-get update && apt-cache search freeswitch >>> >>> Select the additional packages and install with apt install. >>> >>> On 28 September 2016 at 17:33, devang nathwani < >>> devang.nathwani31589 at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> I have installed freeswitch using apt-get on my debian 8 sersver from >>>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >>>> block under title 'latest release branch:' >>>> >>>> Now what if i want to install some module which are not in default >>>> vanilla setup. >>>> Specifically, I need to install mod_sangoma_codec, mod_lua, >>>> mod_json_cdr. >>>> >>>> Where can i find the apt-get command for these modules or is there any >>>> other way to install them in my freeswitch? >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/13fc646a/attachment.html From rd-disc at gmx.net Thu Sep 29 13:50:46 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Thu, 29 Sep 2016 11:50:46 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> Message-ID: <57ECE3F6.90105@gmx.net> Hello, thanks for your answer. I posted my sofia config in another mail today. I think that my config matches yours more or less. But when I start freeswitch the status of the connection is FAIL_WAIT. In the Wireshark log I saw that a REGISTER is send to the HIPATH but the answer is a 404. Any ideas what to test. Are there any sophia.conf.xml settings that are important? Dieter Am 29.09.2016 um 11:31 schrieb David Villasmil: > this is what my gateway look like: > > > > > > > > > > > > > > > > This should work... If you get Not Found, try looking at your server's > log. > > you also should create an outgoing gateway, even if you're not > registering, like: > > assuming the outgoing gateway will not auth-challenge you: > > > > > > > > > > > > > Adding it to the external is a good idea, so the final config will be: > > > > > > > > > > > > > > > > > > value="does_not_matter_will_not_be used_but_must_be_set"/> > > value="does_not_matter_will_not_be used_but_must_be_set"/> > > > > > > > > > > > Once this is working and you see it REGED, calls will be coming in (as > per "context") on the public dialplan... the you just need to bridge > it like: > > > > > > > > > > I hope I was able to help.. > > Enjoy freeSWITCH, it's fantastic! > > David > > On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter > wrote: > > Hello, > > thanks for your comment. The URL you mentioned will be helpful, when I > reach the dialplan stage. > > But at the moment I have problems connecting to the HIPATH maschine. I > gave some more details in another post. > > Dieter > > > Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: > > you need to create one more gateway that will communicate to > your SIP > > provider. This gateway can be configured with username and > password if > > the ITSP requires authentication. > > > > Then, you will need to create the dialplan that accepts calls from > > each of these gateways and routes them to the other gateway. > > > > It's quite trivial once you figure out how SIP profiles and dialplan > > contexts work together. > > > > Hopefully this will provide you some hints: > > > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example > > > > > > > > > > > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter > wrote: > >> Hello, > >> > >> this is my problem: > >> > >> I would like to use Freeswitch as a gateway between our Hipath > PBX and > >> an external SIP provider. > >> > >> For that I created a Hipath SIP account that is working (tested > with > >> X-lite). Now I would like to let Freeswitch act as a client > using this > >> SIP account. Whenever there is an incoming call Freeswitch > should act on > >> it and forward this call to an external SIP provider. > >> > >> Is this possible? Does that make sense? Are there alternatives? > >> > >> At the moment I'm stuck to configure Freeswitch as a client. I > added the > >> Hipath SIP account as a gateway. When I compare the SIP traffic of > >> X-lite and Freeswitch using Wireshark I found out that > Freeswitch dows > >> not offer the 'Subscribe' option. Is this the reason why it fails? > >> > >> Can you help me? > >> > >> Thanks in advance. > >> > >> Dieter > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From david.villasmil.work at gmail.com Thu Sep 29 13:59:08 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 11:59:08 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ECE3F6.90105@gmx.net> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> Message-ID: Hello, Maybe the password is wrong, *check the realm you have to use,* configure your xlite exactly like fs, that includes realm and domain/proxy. Check the user actually exists, and also (again) check HIPATH's logs, there must be something in the logs as to why it sends a "Not Found" On Thu, Sep 29, 2016 at 11:50 AM, Scholz, Dieter wrote: > Hello, > > thanks for your answer. > > I posted my sofia config in another mail today. I think that my config > matches yours more or less. But when I start freeswitch the status of > the connection is FAIL_WAIT. In the Wireshark log I saw that a REGISTER > is send to the HIPATH but the answer is a 404. Any ideas what to test. > Are there any sophia.conf.xml settings that are important? > > Dieter > > Am 29.09.2016 um 11:31 schrieb David Villasmil: > > this is what my gateway look like: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > This should work... If you get Not Found, try looking at your server's > > log. > > > > you also should create an outgoing gateway, even if you're not > > registering, like: > > > > assuming the outgoing gateway will not auth-challenge you: > > > > > > > > > > > > > > > > > > > > > > > > > > Adding it to the external is a good idea, so the final config will be: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > value="does_not_matter_will_not_be used_but_must_be_set"/> > > > > > value="does_not_matter_will_not_be used_but_must_be_set"/> > > > > > > > > > > > > > > > > > > > > > > Once this is working and you see it REGED, calls will be coming in (as > > per "context") on the public dialplan... the you just need to bridge > > it like: > > > > > > > > > > > > > > > > > > > > I hope I was able to help.. > > > > Enjoy freeSWITCH, it's fantastic! > > > > David > > > > On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter > > wrote: > > > > Hello, > > > > thanks for your comment. The URL you mentioned will be helpful, when > I > > reach the dialplan stage. > > > > But at the moment I have problems connecting to the HIPATH maschine. > I > > gave some more details in another post. > > > > Dieter > > > > > > Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: > > > you need to create one more gateway that will communicate to > > your SIP > > > provider. This gateway can be configured with username and > > password if > > > the ITSP requires authentication. > > > > > > Then, you will need to create the dialplan that accepts calls from > > > each of these gateways and routes them to the other gateway. > > > > > > It's quite trivial once you figure out how SIP profiles and > dialplan > > > contexts work together. > > > > > > Hopefully this will provide you some hints: > > > > > https://freeswitch.org/confluence/display/FREESWITCH/ > FreeSWITCH+PBX+Example > > FreeSWITCH+PBX+Example> > > > > > > > > > > > > > > > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter > > wrote: > > >> Hello, > > >> > > >> this is my problem: > > >> > > >> I would like to use Freeswitch as a gateway between our Hipath > > PBX and > > >> an external SIP provider. > > >> > > >> For that I created a Hipath SIP account that is working (tested > > with > > >> X-lite). Now I would like to let Freeswitch act as a client > > using this > > >> SIP account. Whenever there is an incoming call Freeswitch > > should act on > > >> it and forward this call to an external SIP provider. > > >> > > >> Is this possible? Does that make sense? Are there alternatives? > > >> > > >> At the moment I'm stuck to configure Freeswitch as a client. I > > added the > > >> Hipath SIP account as a gateway. When I compare the SIP traffic of > > >> X-lite and Freeswitch using Wireshark I found out that > > Freeswitch dows > > >> not offer the 'Subscribe' option. Is this the reason why it fails? > > >> > > >> Can you help me? > > >> > > >> Thanks in advance. > > >> > > >> Dieter > > >> > > >> > > ____________________________________________________________ > _____________ > > >> Professional FreeSWITCH Consulting Services: > > >> consulting at freeswitch.org > > >> http://www.freeswitchsolutions.com > > > > >> > > >> Official FreeSWITCH Sites > > >> http://www.freeswitch.org > > >> http://confluence.freeswitch.org org> > > >> http://www.cluecon.com > > >> > > >> FreeSWITCH-users mailing list > > >> FreeSWITCH-users at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/ab8fd162/attachment-0001.html From lists at telefaks.de Thu Sep 29 14:04:39 2016 From: lists at telefaks.de (Peter Steinbach) Date: Thu, 29 Sep 2016 12:04:39 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ECE3F6.90105@gmx.net> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> Message-ID: <57ECE737.1010505@telefaks.de> Can you post the SIP messages going to and from the Hipath? See my previous mail about ngrep. On 09/29/16 11:50, Scholz, Dieter wrote: > Hello, > > thanks for your answer. > > I posted my sofia config in another mail today. I think that my config > matches yours more or less. But when I start freeswitch the status of > the connection is FAIL_WAIT. In the Wireshark log I saw that a REGISTER > is send to the HIPATH but the answer is a 404. Any ideas what to test. > Are there any sophia.conf.xml settings that are important? > > Dieter > > Am 29.09.2016 um 11:31 schrieb David Villasmil: >> this is what my gateway look like: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> This should work... If you get Not Found, try looking at your server's >> log. >> >> you also should create an outgoing gateway, even if you're not >> registering, like: >> >> assuming the outgoing gateway will not auth-challenge you: >> >> >> >> >> >> >> >> >> >> >> >> >> Adding it to the external is a good idea, so the final config will be: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > value="does_not_matter_will_not_be used_but_must_be_set"/> >> >> > value="does_not_matter_will_not_be used_but_must_be_set"/> >> >> >> >> >> >> >> >> >> >> >> Once this is working and you see it REGED, calls will be coming in (as >> per "context") on the public dialplan... the you just need to bridge >> it like: >> >> >> >> >> >> >> >> >> >> I hope I was able to help.. >> >> Enjoy freeSWITCH, it's fantastic! >> >> David >> >> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter > > wrote: >> >> Hello, >> >> thanks for your comment. The URL you mentioned will be helpful, when I >> reach the dialplan stage. >> >> But at the moment I have problems connecting to the HIPATH maschine. I >> gave some more details in another post. >> >> Dieter >> >> >> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: >> > you need to create one more gateway that will communicate to >> your SIP >> > provider. This gateway can be configured with username and >> password if >> > the ITSP requires authentication. >> > >> > Then, you will need to create the dialplan that accepts calls from >> > each of these gateways and routes them to the other gateway. >> > >> > It's quite trivial once you figure out how SIP profiles and dialplan >> > contexts work together. >> > >> > Hopefully this will provide you some hints: >> > >> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example >> >> > >> > >> > >> > >> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter > > wrote: >> >> Hello, >> >> >> >> this is my problem: >> >> >> >> I would like to use Freeswitch as a gateway between our Hipath >> PBX and >> >> an external SIP provider. >> >> >> >> For that I created a Hipath SIP account that is working (tested >> with >> >> X-lite). Now I would like to let Freeswitch act as a client >> using this >> >> SIP account. Whenever there is an incoming call Freeswitch >> should act on >> >> it and forward this call to an external SIP provider. >> >> >> >> Is this possible? Does that make sense? Are there alternatives? >> >> >> >> At the moment I'm stuck to configure Freeswitch as a client. I >> added the >> >> Hipath SIP account as a gateway. When I compare the SIP traffic of >> >> X-lite and Freeswitch using Wireshark I found out that >> Freeswitch dows >> >> not offer the 'Subscribe' option. Is this the reason why it fails? >> >> >> >> Can you help me? >> >> >> >> Thanks in advance. >> >> >> >> Dieter >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de From thesipguy at gmail.com Thu Sep 29 14:09:32 2016 From: thesipguy at gmail.com (Schneur Rosenberg) Date: Thu, 29 Sep 2016 13:09:32 +0300 Subject: [Freeswitch-users] Opensips integration questions In-Reply-To: References: Message-ID: **UPDATE** I looked into my sip traces and found the NAT problem, Freeswitch sends a UPDATE request to set the P-Asserted-Identity to "Outbound Call", the problem was my OpenSIPS was not set to t_on_reply to go to my reply route that fixes nat, so it never did the fix_nated_contact() therefore all sequential requests used the bad contact from the reply of the update, on the other hand my asterisk box never sent that UPDATE therefore is used the "contact" from the initial INVITE which was fixed by OpenSIPS, I configured OpenSIPS to process the correct reply route for the UPDATE and problem was solved. I'm still looking for a answer to my first question. thank you S. Rosenberg On Wed, Sep 28, 2016 at 1:32 PM, Schneur Rosenberg wrote: > Hi, I'm pretty new to Freeswitch, I built a complete solution using > OpenSIPS/Asterisk and I'm in the process of replacing Asterisk with > Freeswitch. > > My current system is built that OpenSIPS act as a registrar and as a load > balancer, the rest is done on a cluster of Asterisk machines, which as I > said before is being rewritten to Freeswitch, in Freeswitch I'm using > xml_curl for my dialplan and call routing, I'm using Intralanman project to > handle the sip users. > > With Asterisk I had OpensSIPS as a trunk and I know that everything coming > from that trunk, is either a DID or a authenticated outgoing call, Asterisk > and OpenSIPS shared the user table, Asterisk recognized the sip user name > from the FROM field and used all the variables etc from its own sip user > table as if the user has registered directly to itself, I had some issues > with blind transfers but I was able to do some manipulations and DB queries > to handle it fine. > > I tried doing the same with Freeswitch, I let the ACL allow the ip from > Freeswitch, but Freeswitch would not use the variables from the user like > Asterisk did, for example accountcode, user_context etc, I was able to > partially fix that by having my web server do a db query and then using the > "set" application set all the variables, but I'm not sure if its the proper > solution, does anyone have a better solution? will setting my OpenSIPS as a > gateway instead of merely allowing it in with ACL work better? right now > I'm using the application "execute_extension" to send it to the proper > context that I've pulled from the DB, I dont like the hack and if there is > a better solution I would like to know. > > One more major problem that I have is NAT related, when I place a outgoing > call for example from a phone which is behind a NAT (all of our customers > phones are behind NAT) the call connects and audio works 2 ways, but when > the called party hangs up, the carrier sends the BYE to Freeswitch, > freeswitch then sends it to my OpenSIPS which is supposed to send it to my > clients phone, but Freeswich writes the RURI with the natted address, the > RURI is BYE sip:101 at 192.168.0.11:5062 SIP/2.0. and my OpenSIPS does not > know what to do with it and ignores it, my Asterisk replaced the RURI with > the received address in the VIA, so same RURI would be BYE > sip:101 at 64.69.47.175:5062 SIP/2.0. which worked fine, same problem > happens with all subsequent requests if user does not hang up, I need a > solution for this major issue. > > thank you > S. Rosenberg > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/4a25fffc/attachment.html From rd-disc at gmx.net Thu Sep 29 14:34:36 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Thu, 29 Sep 2016 12:34:36 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ECE737.1010505@telefaks.de> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> Message-ID: <57ECEE3C.1050604@gmx.net> Hello, here is the output of ngrep: -------------------------------------------------- U 172.21.235.80:5080 -> 172.16.40.49:5060 REGISTER sip:172.16.40.49;transport=udp SIP/2.0. Via: SIP/2.0/UDP 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. Max-Forwards: 70. From: ;tag=v3cSHNK1cUKtm. To: . Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. CSeq: 97236318 REGISTER. Contact: . Expires: 3600. User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY. Supported: timer, path, replaces. Content-Length: 0. . # U 172.16.40.49:5060 -> 172.21.235.80:5080 SIP/2.0 100 Trying. Via: SIP/2.0/UDP 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. From: ;tag=v3cSHNK1cUKtm. To: . Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. CSeq: 97236318 REGISTER. Server: OpenScape 4000 - HiPath 4000 SoftGate. Content-Length: 0. . # U 172.16.40.49:5060 -> 172.21.235.80:5080 SIP/2.0 404 Not Found. Via: SIP/2.0/UDP 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. From: ;tag=v3cSHNK1cUKtm. To: ;tag=160135440. Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. CSeq: 97236318 REGISTER. Server: OpenScape 4000 - HiPath 4000 SoftGate. Content-Length: 0. -------------------------------------------------- I will see if I findd entries in the HIPATH log files (I'm not the admin of the HIPATH system). As realm I use the IP address of the HIPATH. I attached a picture with the relevant parts of the Wireshark log of the X-lite session. Dieter Am 29.09.2016 um 12:04 schrieb Peter Steinbach: > Can you post the SIP messages going to and from the Hipath? See my > previous mail about ngrep. > > > On 09/29/16 11:50, Scholz, Dieter wrote: >> Hello, >> >> thanks for your answer. >> >> I posted my sofia config in another mail today. I think that my config >> matches yours more or less. But when I start freeswitch the status of >> the connection is FAIL_WAIT. In the Wireshark log I saw that a REGISTER >> is send to the HIPATH but the answer is a 404. Any ideas what to test. >> Are there any sophia.conf.xml settings that are important? >> >> Dieter >> >> Am 29.09.2016 um 11:31 schrieb David Villasmil: >>> this is what my gateway look like: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> This should work... If you get Not Found, try looking at your server's >>> log. >>> >>> you also should create an outgoing gateway, even if you're not >>> registering, like: >>> >>> assuming the outgoing gateway will not auth-challenge you: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Adding it to the external is a good idea, so the final config will be: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> value="does_not_matter_will_not_be used_but_must_be_set"/> >>> >>> >> value="does_not_matter_will_not_be used_but_must_be_set"/> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Once this is working and you see it REGED, calls will be coming in (as >>> per "context") on the public dialplan... the you just need to bridge >>> it like: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> I hope I was able to help.. >>> >>> Enjoy freeSWITCH, it's fantastic! >>> >>> David >>> >>> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter >> > wrote: >>> >>> Hello, >>> >>> thanks for your comment. The URL you mentioned will be helpful, when I >>> reach the dialplan stage. >>> >>> But at the moment I have problems connecting to the HIPATH maschine. I >>> gave some more details in another post. >>> >>> Dieter >>> >>> >>> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: >>> > you need to create one more gateway that will communicate to >>> your SIP >>> > provider. This gateway can be configured with username and >>> password if >>> > the ITSP requires authentication. >>> > >>> > Then, you will need to create the dialplan that accepts calls from >>> > each of these gateways and routes them to the other gateway. >>> > >>> > It's quite trivial once you figure out how SIP profiles and dialplan >>> > contexts work together. >>> > >>> > Hopefully this will provide you some hints: >>> > >>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example >>> >>> > >>> > >>> > >>> > >>> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter >> > wrote: >>> >> Hello, >>> >> >>> >> this is my problem: >>> >> >>> >> I would like to use Freeswitch as a gateway between our Hipath >>> PBX and >>> >> an external SIP provider. >>> >> >>> >> For that I created a Hipath SIP account that is working (tested >>> with >>> >> X-lite). Now I would like to let Freeswitch act as a client >>> using this >>> >> SIP account. Whenever there is an incoming call Freeswitch >>> should act on >>> >> it and forward this call to an external SIP provider. >>> >> >>> >> Is this possible? Does that make sense? Are there alternatives? >>> >> >>> >> At the moment I'm stuck to configure Freeswitch as a client. I >>> added the >>> >> Hipath SIP account as a gateway. When I compare the SIP traffic of >>> >> X-lite and Freeswitch using Wireshark I found out that >>> Freeswitch dows >>> >> not offer the 'Subscribe' option. Is this the reason why it fails? >>> >> >>> >> Can you help me? >>> >> >>> >> Thanks in advance. >>> >> >>> >> Dieter >>> >> >>> >> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: xlite.png Type: image/png Size: 19647 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/fdeafcdb/attachment-0001.png From david.villasmil.work at gmail.com Thu Sep 29 14:40:38 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 12:40:38 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ECEE3C.1050604@gmx.net> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> Message-ID: You didn't say anything about redirects :( Also, you're not even receiving a challenge... for redirects look at https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect Though i've never used redirects before with FS... Sorry On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter wrote: > Hello, > > here is the output of ngrep: > -------------------------------------------------- > U 172.21.235.80:5080 -> 172.16.40.49:5060 > REGISTER sip:172.16.40.49;transport=udp SIP/2.0. > Via: SIP/2.0/UDP 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. > Max-Forwards: 70. > From: ;tag=v3cSHNK1cUKtm. > To: . > Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. > CSeq: 97236318 REGISTER. > Contact: . > Expires: 3600. > User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, > REFER, NOTIFY. > Supported: timer, path, replaces. > Content-Length: 0. > . > > # > U 172.16.40.49:5060 -> 172.21.235.80:5080 > SIP/2.0 100 Trying. > Via: SIP/2.0/UDP 172.21.235.80:5080;rport=5080; > branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. > From: ;tag=v3cSHNK1cUKtm. > To: . > Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. > CSeq: 97236318 REGISTER. > Server: OpenScape 4000 - HiPath 4000 SoftGate. > Content-Length: 0. > . > > # > U 172.16.40.49:5060 -> 172.21.235.80:5080 > SIP/2.0 404 Not Found. > Via: SIP/2.0/UDP 172.21.235.80:5080;rport=5080; > branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. > From: ;tag=v3cSHNK1cUKtm. > To: ;tag=160135440. > Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. > CSeq: 97236318 REGISTER. > Server: OpenScape 4000 - HiPath 4000 SoftGate. > Content-Length: 0. > -------------------------------------------------- > > I will see if I findd entries in the HIPATH log files (I'm not the admin > of the HIPATH system). As realm I use the IP address of the HIPATH. I > attached a picture with the relevant parts of the Wireshark log of the > X-lite session. > > Dieter > > > Am 29.09.2016 um 12:04 schrieb Peter Steinbach: > >> Can you post the SIP messages going to and from the Hipath? See my >> previous mail about ngrep. >> >> >> On 09/29/16 11:50, Scholz, Dieter wrote: >> >>> Hello, >>> >>> thanks for your answer. >>> >>> I posted my sofia config in another mail today. I think that my config >>> matches yours more or less. But when I start freeswitch the status of >>> the connection is FAIL_WAIT. In the Wireshark log I saw that a REGISTER >>> is send to the HIPATH but the answer is a 404. Any ideas what to test. >>> Are there any sophia.conf.xml settings that are important? >>> >>> Dieter >>> >>> Am 29.09.2016 um 11:31 schrieb David Villasmil: >>> >>>> this is what my gateway look like: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> This should work... If you get Not Found, try looking at your server's >>>> log. >>>> >>>> you also should create an outgoing gateway, even if you're not >>>> registering, like: >>>> >>>> assuming the outgoing gateway will not auth-challenge you: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Adding it to the external is a good idea, so the final config will be: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>> >>>> >>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Once this is working and you see it REGED, calls will be coming in (as >>>> per "context") on the public dialplan... the you just need to bridge >>>> it like: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> I hope I was able to help.. >>>> >>>> Enjoy freeSWITCH, it's fantastic! >>>> >>>> David >>>> >>>> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter >>> > wrote: >>>> >>>> Hello, >>>> >>>> thanks for your comment. The URL you mentioned will be helpful, >>>> when I >>>> reach the dialplan stage. >>>> >>>> But at the moment I have problems connecting to the HIPATH >>>> maschine. I >>>> gave some more details in another post. >>>> >>>> Dieter >>>> >>>> >>>> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: >>>> > you need to create one more gateway that will communicate to >>>> your SIP >>>> > provider. This gateway can be configured with username and >>>> password if >>>> > the ITSP requires authentication. >>>> > >>>> > Then, you will need to create the dialplan that accepts calls >>>> from >>>> > each of these gateways and routes them to the other gateway. >>>> > >>>> > It's quite trivial once you figure out how SIP profiles and >>>> dialplan >>>> > contexts work together. >>>> > >>>> > Hopefully this will provide you some hints: >>>> > >>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSW >>>> ITCH+PBX+Example >>>> >>> WITCH+PBX+Example> >>>> > >>>> > >>>> > >>>> > >>>> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter >>> > wrote: >>>> >> Hello, >>>> >> >>>> >> this is my problem: >>>> >> >>>> >> I would like to use Freeswitch as a gateway between our Hipath >>>> PBX and >>>> >> an external SIP provider. >>>> >> >>>> >> For that I created a Hipath SIP account that is working (tested >>>> with >>>> >> X-lite). Now I would like to let Freeswitch act as a client >>>> using this >>>> >> SIP account. Whenever there is an incoming call Freeswitch >>>> should act on >>>> >> it and forward this call to an external SIP provider. >>>> >> >>>> >> Is this possible? Does that make sense? Are there alternatives? >>>> >> >>>> >> At the moment I'm stuck to configure Freeswitch as a client. I >>>> added the >>>> >> Hipath SIP account as a gateway. When I compare the SIP traffic >>>> of >>>> >> X-lite and Freeswitch using Wireshark I found out that >>>> Freeswitch dows >>>> >> not offer the 'Subscribe' option. Is this the reason why it >>>> fails? >>>> >> >>>> >> Can you help me? >>>> >> >>>> >> Thanks in advance. >>>> >> >>>> >> Dieter >>>> >> >>>> >> >>>> ___________________________________________________________ >>>> ______________ >>>> >> Professional FreeSWITCH Consulting Services: >>>> >> consulting at freeswitch.org >>>> >> http://www.freeswitchsolutions.com >>>> >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> http://www.freeswitch.org >>>> >> http://confluence.freeswitch.org >>> org> >>>> >> http://www.cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at 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 at freeswitch.org >>>> > http://www.freeswitchsolutions.com >>>> >>>> > >>>> > Official FreeSWITCH Sites >>>> > http://www.freeswitch.org >>>> > http://confluence.freeswitch.org >>> org> >>>> > http://www.cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/3e8b550c/attachment-0001.html From rd-disc at gmx.net Thu Sep 29 14:53:15 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Thu, 29 Sep 2016 12:53:15 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> Message-ID: <57ECF29B.1030701@gmx.net> Hello, sorry for my stupid newbie questions. :-( I'm just starting with the whole VOIP stuff. The redirect in the picture probably is caused by our internal routing. There's a more direct way from my workstation to the HIPATH (-1 hop). But this is the connection that works!!! In the freeswitch part i do not see any redirects (the routing is different). Do you think the HIPATH is terminating the connection or does Freeswitch not send the challenge? What do I need to adapt if Freeswitch sends incomplete data? Why can register with X-lite but not with Freeswitch? What could be the difference? Dieter Am 29.09.2016 um 12:40 schrieb David Villasmil: > You didn't say anything about redirects :( > Also, you're not even receiving a challenge... > > for redirects look at > https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect > > Though i've never used redirects before with FS... > > Sorry > > On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter > wrote: > > Hello, > > here is the output of ngrep: > -------------------------------------------------- > U 172.21.235.80:5080 -> > 172.16.40.49:5060 > REGISTER sip:172.16.40.49;transport=udp SIP/2.0. > Via: SIP/2.0/UDP 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. > Max-Forwards: 70. > From: >;tag=v3cSHNK1cUKtm. > To: >. > Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. > CSeq: 97236318 REGISTER. > Contact: :5080;transport=udp;gw=rudolf>. > Expires: 3600. > User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, > REGISTER, REFER, NOTIFY. > Supported: timer, path, replaces. > Content-Length: 0. > . > > # > U 172.16.40.49:5060 -> > 172.21.235.80:5080 > SIP/2.0 100 Trying. > Via: SIP/2.0/UDP > 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. > From: >;tag=v3cSHNK1cUKtm. > To: >. > Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. > CSeq: 97236318 REGISTER. > Server: OpenScape 4000 - HiPath 4000 SoftGate. > Content-Length: 0. > . > > # > U 172.16.40.49:5060 -> > 172.21.235.80:5080 > SIP/2.0 404 Not Found. > Via: SIP/2.0/UDP > 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. > From: >;tag=v3cSHNK1cUKtm. > To: >;tag=160135440. > Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. > CSeq: 97236318 REGISTER. > Server: OpenScape 4000 - HiPath 4000 SoftGate. > Content-Length: 0. > -------------------------------------------------- > > I will see if I findd entries in the HIPATH log files (I'm not the > admin of the HIPATH system). As realm I use the IP address of the > HIPATH. I attached a picture with the relevant parts of the > Wireshark log of the X-lite session. > > Dieter > > > Am 29.09.2016 um 12:04 schrieb Peter Steinbach: > > Can you post the SIP messages going to and from the Hipath? See my > previous mail about ngrep. > > > On 09/29/16 11:50, Scholz, Dieter wrote: > > Hello, > > thanks for your answer. > > I posted my sofia config in another mail today. I think > that my config > matches yours more or less. But when I start freeswitch > the status of > the connection is FAIL_WAIT. In the Wireshark log I saw > that a REGISTER > is send to the HIPATH but the answer is a 404. Any ideas > what to test. > Are there any sophia.conf.xml settings that are important? > > Dieter > > Am 29.09.2016 um 11:31 schrieb David Villasmil: > > this is what my gateway look like: > > > > > > > value="auto_to_user"/> > > > > value="tcp (or udp)"/> > > > > > This should work... If you get Not Found, try looking > at your server's > log. > > you also should create an outgoing gateway, even if > you're not > registering, like: > > assuming the outgoing gateway will not auth-challenge you: > > > > > > > > > value="tcp (or udp)"/> > > > > Adding it to the external is a good idea, so the final > config will be: > > > > > > > > > value="auto_to_user"/> > > > > value="tcp (or udp)"/> > > > > > value="does_not_matter_will_not_be used_but_must_be_set"/> > > value="does_not_matter_will_not_be used_but_must_be_set"/> > > > > value="tcp (or udp)"/> > > > > > > > Once this is working and you see it REGED, calls will > be coming in (as > per "context") on the public dialplan... the you just > need to bridge > it like: > > > expression="^(whatever your > regexp is)$"> > > data="sofia/gateway/outgoing_gw/$1"/> > > > > > I hope I was able to help.. > > Enjoy freeSWITCH, it's fantastic! > > David > > On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter > > >> wrote: > > Hello, > > thanks for your comment. The URL you mentioned > will be helpful, when I > reach the dialplan stage. > > But at the moment I have problems connecting to > the HIPATH maschine. I > gave some more details in another post. > > Dieter > > > Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: > > you need to create one more gateway that will > communicate to > your SIP > > provider. This gateway can be configured with > username and > password if > > the ITSP requires authentication. > > > > Then, you will need to create the dialplan that > accepts calls from > > each of these gateways and routes them to the > other gateway. > > > > It's quite trivial once you figure out how SIP > profiles and dialplan > > contexts work together. > > > > Hopefully this will provide you some hints: > > > https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example > > > > > > > > > > > > > > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter > > >> wrote: > >> Hello, > >> > >> this is my problem: > >> > >> I would like to use Freeswitch as a gateway > between our Hipath > PBX and > >> an external SIP provider. > >> > >> For that I created a Hipath SIP account that > is working (tested > with > >> X-lite). Now I would like to let Freeswitch > act as a client > using this > >> SIP account. Whenever there is an incoming > call Freeswitch > should act on > >> it and forward this call to an external SIP > provider. > >> > >> Is this possible? Does that make sense? Are > there alternatives? > >> > >> At the moment I'm stuck to configure > Freeswitch as a client. I > added the > >> Hipath SIP account as a gateway. When I > compare the SIP traffic of > >> X-lite and Freeswitch using Wireshark I found > out that > Freeswitch dows > >> not offer the 'Subscribe' option. Is this the > reason why it fails? > >> > >> Can you help me? > >> > >> Thanks in advance. > >> > >> Dieter > >> > >> > > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/6b1908bc/attachment-0001.html From lists at telefaks.de Thu Sep 29 15:27:12 2016 From: lists at telefaks.de (Peter Steinbach) Date: Thu, 29 Sep 2016 13:27:12 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ECF29B.1030701@gmx.net> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> <57ECF29B.1030701@gmx.net> Message-ID: <57ECFA90.9080204@telefaks.de> Seems that Hipath does not know about the number 3999 or 3999 at 172.16.40.49. Maybe it must be 3999@? Or maybe Hipath needs to have a challeange password in the initial invite? How do you register with your X-Lite? Best regards Peter On 09/29/16 12:53, Scholz, Dieter wrote: > Hello, > > sorry for my stupid newbie questions. :-( I'm just starting with the > whole VOIP stuff. > > The redirect in the picture probably is caused by our internal > routing. There's a more direct way from my workstation to the HIPATH > (-1 hop). But this is the connection that works!!! > > In the freeswitch part i do not see any redirects (the routing is > different). > > Do you think the HIPATH is terminating the connection or does > Freeswitch not send the challenge? What do I need to adapt if > Freeswitch sends incomplete data? Why can register with X-lite but not > with Freeswitch? What could be the difference? > > Dieter > > Am 29.09.2016 um 12:40 schrieb David Villasmil: >> You didn't say anything about redirects :( >> Also, you're not even receiving a challenge... >> >> for redirects look >> at https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect >> >> Though i've never used redirects before with FS... >> >> Sorry >> >> On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter > > wrote: >> >> Hello, >> >> here is the output of ngrep: >> -------------------------------------------------- >> U 172.21.235.80:5080 -> >> 172.16.40.49:5060 >> REGISTER sip:172.16.40.49;transport=udp SIP/2.0. >> Via: SIP/2.0/UDP >> 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. >> Max-Forwards: 70. >> From: > >;tag=v3cSHNK1cUKtm. >> To: >. >> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >> CSeq: 97236318 REGISTER. >> Contact: > :5080;transport=udp;gw=rudolf>. >> Expires: 3600. >> User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY. >> Supported: timer, path, replaces. >> Content-Length: 0. >> . >> >> # >> U 172.16.40.49:5060 -> >> 172.21.235.80:5080 >> SIP/2.0 100 Trying. >> Via: SIP/2.0/UDP >> 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >> From: > >;tag=v3cSHNK1cUKtm. >> To: >. >> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >> CSeq: 97236318 REGISTER. >> Server: OpenScape 4000 - HiPath 4000 SoftGate. >> Content-Length: 0. >> . >> >> # >> U 172.16.40.49:5060 -> >> 172.21.235.80:5080 >> SIP/2.0 404 Not Found. >> Via: SIP/2.0/UDP >> 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >> From: > >;tag=v3cSHNK1cUKtm. >> To: > >;tag=160135440. >> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >> CSeq: 97236318 REGISTER. >> Server: OpenScape 4000 - HiPath 4000 SoftGate. >> Content-Length: 0. >> -------------------------------------------------- >> >> I will see if I findd entries in the HIPATH log files (I'm not >> the admin of the HIPATH system). As realm I use the IP address of >> the HIPATH. I attached a picture with the relevant parts of the >> Wireshark log of the X-lite session. >> >> Dieter >> >> >> Am 29.09.2016 um 12:04 schrieb Peter Steinbach: >> >> Can you post the SIP messages going to and from the Hipath? >> See my >> previous mail about ngrep. >> >> >> On 09/29/16 11:50, Scholz, Dieter wrote: >> >> Hello, >> >> thanks for your answer. >> >> I posted my sofia config in another mail today. I think >> that my config >> matches yours more or less. But when I start freeswitch >> the status of >> the connection is FAIL_WAIT. In the Wireshark log I saw >> that a REGISTER >> is send to the HIPATH but the answer is a 404. Any ideas >> what to test. >> Are there any sophia.conf.xml settings that are important? >> >> Dieter >> >> Am 29.09.2016 um 11:31 schrieb David Villasmil: >> >> this is what my gateway look like: >> >> >> >> >> >> > value="password"/> >> > value="auto_to_user"/> >> >> >> >> > value="tcp (or udp)"/> >> >> >> >> >> This should work... If you get Not Found, try looking >> at your server's >> log. >> >> you also should create an outgoing gateway, even if >> you're not >> registering, like: >> >> assuming the outgoing gateway will not auth-challenge >> you: >> >> >> >> >> >> >> >> >> > value="tcp (or udp)"/> >> >> >> >> Adding it to the external is a good idea, so the >> final config will be: >> >> >> >> >> >> >> >> > value="password"/> >> > value="auto_to_user"/> >> >> >> >> > value="tcp (or udp)"/> >> >> >> >> >> > value="does_not_matter_will_not_be >> used_but_must_be_set"/> >> >> > value="does_not_matter_will_not_be >> used_but_must_be_set"/> >> >> >> >> > value="tcp (or udp)"/> >> >> >> >> >> >> >> Once this is working and you see it REGED, calls will >> be coming in (as >> per "context") on the public dialplan... the you just >> need to bridge >> it like: >> >> >> > expression="^(whatever your >> regexp is)$"> >> >> > data="sofia/gateway/outgoing_gw/$1"/> >> >> >> >> >> I hope I was able to help.. >> >> Enjoy freeSWITCH, it's fantastic! >> >> David >> >> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter >> >> >> wrote: >> >> Hello, >> >> thanks for your comment. The URL you mentioned >> will be helpful, when I >> reach the dialplan stage. >> >> But at the moment I have problems connecting to >> the HIPATH maschine. I >> gave some more details in another post. >> >> Dieter >> >> >> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: >> > you need to create one more gateway that will >> communicate to >> your SIP >> > provider. This gateway can be configured with >> username and >> password if >> > the ITSP requires authentication. >> > >> > Then, you will need to create the dialplan >> that accepts calls from >> > each of these gateways and routes them to the >> other gateway. >> > >> > It's quite trivial once you figure out how SIP >> profiles and dialplan >> > contexts work together. >> > >> > Hopefully this will provide you some hints: >> > >> >> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example >> >> >> > > >> > >> > >> > >> > >> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, >> Dieter >> > >> wrote: >> >> Hello, >> >> >> >> this is my problem: >> >> >> >> I would like to use Freeswitch as a gateway >> between our Hipath >> PBX and >> >> an external SIP provider. >> >> >> >> For that I created a Hipath SIP account that >> is working (tested >> with >> >> X-lite). Now I would like to let Freeswitch >> act as a client >> using this >> >> SIP account. Whenever there is an incoming >> call Freeswitch >> should act on >> >> it and forward this call to an external SIP >> provider. >> >> >> >> Is this possible? Does that make sense? Are >> there alternatives? >> >> >> >> At the moment I'm stuck to configure >> Freeswitch as a client. I >> added the >> >> Hipath SIP account as a gateway. When I >> compare the SIP traffic of >> >> X-lite and Freeswitch using Wireshark I found >> out that >> Freeswitch dows >> >> not offer the 'Subscribe' option. Is this the >> reason why it fails? >> >> >> >> Can you help me? >> >> >> >> Thanks in advance. >> >> >> >> Dieter >> >> >> >> >> >> _________________________________________________________________________ >> >> Professional FreeSWITCH Consulting Services: >> >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/304193a3/attachment-0001.html From david.villasmil.work at gmail.com Thu Sep 29 15:32:22 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 13:32:22 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ECFA90.9080204@telefaks.de> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> <57ECF29B.1030701@gmx.net> <57ECFA90.9080204@telefaks.de> Message-ID: Can you post the sip authetication from xlite? As far as challenge is concerned, after FS sends the REGISTER, HIPATH is supposed to send a 401, to which FS should respond with the authentication details... but you're not even getting that 401.. that's why I asked you to look at xlite's config, make sure that you have the exact same realm in FS. Also post your xlite config (minus user/pass) On Thu, Sep 29, 2016 at 1:27 PM, Peter Steinbach wrote: > Seems that Hipath does not know about the number 3999 or 3999 at 172.16.40.49. > Maybe it must be 3999@? Or maybe Hipath needs to have > a challeange password in the initial invite? > How do you register with your X-Lite? > > Best regards > Peter > > > > On 09/29/16 12:53, Scholz, Dieter wrote: > > Hello, > > sorry for my stupid newbie questions. :-( I'm just starting with the whole > VOIP stuff. > > The redirect in the picture probably is caused by our internal routing. > There's a more direct way from my workstation to the HIPATH (-1 hop). But > this is the connection that works!!! > > In the freeswitch part i do not see any redirects (the routing is > different). > > Do you think the HIPATH is terminating the connection or does Freeswitch > not send the challenge? What do I need to adapt if Freeswitch sends > incomplete data? Why can register with X-lite but not with Freeswitch? What > could be the difference? > > Dieter > > Am 29.09.2016 um 12:40 schrieb David Villasmil: > > You didn't say anything about redirects :( > Also, you're not even receiving a challenge... > > for redirects look at https://wiki.freeswitch.org/wiki/Dialplan_Handling_ > Incoming_Redirect > > Though i've never used redirects before with FS... > > Sorry > > On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter wrote: > >> Hello, >> >> here is the output of ngrep: >> -------------------------------------------------- >> U 172.21.235.80:5080 -> 172.16.40.49:5060 >> REGISTER sip:172.16.40.49;transport=udp SIP/2.0. >> Via: SIP/2.0/UDP 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. >> Max-Forwards: 70. >> From: ;tag=v3cSHNK1cUKtm. >> To: . >> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >> CSeq: 97236318 REGISTER. >> Contact: . >> Expires: 3600. >> User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. >> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >> REGISTER, REFER, NOTIFY. >> Supported: timer, path, replaces. >> Content-Length: 0. >> . >> >> # >> U 172.16.40.49:5060 -> 172.21.235.80:5080 >> SIP/2.0 100 Trying. >> Via: SIP/2.0/UDP 172.21.235.80:5080;rport=5080; >> branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >> From: ;tag=v3cSHNK1cUKtm. >> To: . >> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >> CSeq: 97236318 REGISTER. >> Server: OpenScape 4000 - HiPath 4000 SoftGate. >> Content-Length: 0. >> . >> >> # >> U 172.16.40.49:5060 -> 172.21.235.80:5080 >> SIP/2.0 404 Not Found. >> Via: SIP/2.0/UDP 172.21.235.80:5080;rport=5080; >> branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >> From: ;tag=v3cSHNK1cUKtm. >> To: ;tag=160135440. >> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >> CSeq: 97236318 REGISTER. >> Server: OpenScape 4000 - HiPath 4000 SoftGate. >> Content-Length: 0. >> -------------------------------------------------- >> >> I will see if I findd entries in the HIPATH log files (I'm not the admin >> of the HIPATH system). As realm I use the IP address of the HIPATH. I >> attached a picture with the relevant parts of the Wireshark log of the >> X-lite session. >> >> Dieter >> >> >> Am 29.09.2016 um 12:04 schrieb Peter Steinbach: >> >>> Can you post the SIP messages going to and from the Hipath? See my >>> previous mail about ngrep. >>> >>> >>> On 09/29/16 11:50, Scholz, Dieter wrote: >>> >>>> Hello, >>>> >>>> thanks for your answer. >>>> >>>> I posted my sofia config in another mail today. I think that my config >>>> matches yours more or less. But when I start freeswitch the status of >>>> the connection is FAIL_WAIT. In the Wireshark log I saw that a REGISTER >>>> is send to the HIPATH but the answer is a 404. Any ideas what to test. >>>> Are there any sophia.conf.xml settings that are important? >>>> >>>> Dieter >>>> >>>> Am 29.09.2016 um 11:31 schrieb David Villasmil: >>>> >>>>> this is what my gateway look like: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> This should work... If you get Not Found, try looking at your server's >>>>> log. >>>>> >>>>> you also should create an outgoing gateway, even if you're not >>>>> registering, like: >>>>> >>>>> assuming the outgoing gateway will not auth-challenge you: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Adding it to the external is a good idea, so the final config will be: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>>> >>>>> >>>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Once this is working and you see it REGED, calls will be coming in (as >>>>> per "context") on the public dialplan... the you just need to bridge >>>>> it like: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> I hope I was able to help.. >>>>> >>>>> Enjoy freeSWITCH, it's fantastic! >>>>> >>>>> David >>>>> >>>>> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter >>>> > wrote: >>>>> >>>>> Hello, >>>>> >>>>> thanks for your comment. The URL you mentioned will be helpful, >>>>> when I >>>>> reach the dialplan stage. >>>>> >>>>> But at the moment I have problems connecting to the HIPATH >>>>> maschine. I >>>>> gave some more details in another post. >>>>> >>>>> Dieter >>>>> >>>>> >>>>> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: >>>>> > you need to create one more gateway that will communicate to >>>>> your SIP >>>>> > provider. This gateway can be configured with username and >>>>> password if >>>>> > the ITSP requires authentication. >>>>> > >>>>> > Then, you will need to create the dialplan that accepts calls >>>>> from >>>>> > each of these gateways and routes them to the other gateway. >>>>> > >>>>> > It's quite trivial once you figure out how SIP profiles and >>>>> dialplan >>>>> > contexts work together. >>>>> > >>>>> > Hopefully this will provide you some hints: >>>>> > >>>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSW >>>>> ITCH+PBX+Example >>>>> >>>> WITCH+PBX+Example> >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter < >>>>> rd-disc at gmx.net >>>>> > wrote: >>>>> >> Hello, >>>>> >> >>>>> >> this is my problem: >>>>> >> >>>>> >> I would like to use Freeswitch as a gateway between our Hipath >>>>> PBX and >>>>> >> an external SIP provider. >>>>> >> >>>>> >> For that I created a Hipath SIP account that is working (tested >>>>> with >>>>> >> X-lite). Now I would like to let Freeswitch act as a client >>>>> using this >>>>> >> SIP account. Whenever there is an incoming call Freeswitch >>>>> should act on >>>>> >> it and forward this call to an external SIP provider. >>>>> >> >>>>> >> Is this possible? Does that make sense? Are there alternatives? >>>>> >> >>>>> >> At the moment I'm stuck to configure Freeswitch as a client. I >>>>> added the >>>>> >> Hipath SIP account as a gateway. When I compare the SIP >>>>> traffic of >>>>> >> X-lite and Freeswitch using Wireshark I found out that >>>>> Freeswitch dows >>>>> >> not offer the 'Subscribe' option. Is this the reason why it >>>>> fails? >>>>> >> >>>>> >> Can you help me? >>>>> >> >>>>> >> Thanks in advance. >>>>> >> >>>>> >> Dieter >>>>> >> >>>>> >> >>>>> ___________________________________________________________ >>>>> ______________ >>>>> >> Professional FreeSWITCH Consulting Services: >>>>> >> consulting at freeswitch.org >>>>> >> http://www.freeswitchsolutions.com >>>>> >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> http://www.freeswitch.org >>>>> >> http://confluence.freeswitch.org < >>>>> http://confluence.freeswitch.org> >>>>> >> http://www.cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> >> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>> eswitch-users >>>>> >>>>> >> http://www.freeswitch.org >>>>> > >>>>> ___________________________________________________________ >>>>> ______________ >>>>> > Professional FreeSWITCH Consulting Services: >>>>> > consulting at freeswitch.org >>>>> > http://www.freeswitchsolutions.com >>>>> >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > http://www.freeswitch.org >>>>> > http://confluence.freeswitch.org >>>> org> >>>>> > http://www.cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> > >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>> eswitch-users >>>>> >>>>> > http://www.freeswitch.org >>>>> >>>>> >>>>> ___________________________________________________________ >>>>> ______________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at freeswitch.org >>>>> http://www.freeswitchsolutions.com >>>>> >>>>> >>>>> Official FreeSWITCH Sites >>>>> http://www.freeswitch.org >>>>> http://confluence.freeswitch.org >>>> org> >>>>> http://www.cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>> eswitch-users >>>>> >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbHmailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/4408a602/attachment-0001.html From luis.daniel.lucio at gmail.com Wed Sep 28 20:04:05 2016 From: luis.daniel.lucio at gmail.com (Luis Daniel Lucio Quiroz) Date: Wed, 28 Sep 2016 12:04:05 -0400 Subject: [Freeswitch-users] High Availability questions In-Reply-To: References: Message-ID: What I understand is you are looking for Load Balancing with HA, you will need at least 4 servers for that and a smart DNS that handles the balancing (SRV are static, you might have balancing issues) -- Luis Daniel Lucio Quiroz CISSP, CISM, CISA Linux, VoIP and much more fun www.okay.com.mx Need LCR? Check out LCR for FusionPBX with FreeSWITCH Need Billing? Check out Billing for FusionPBX with FreeSWITCH On Wed, Sep 28, 2016 at 11:18 AM, Anonim Stefan wrote: > On Wed, Sep 28, 2016 at 5:37 PM, Don Hawkins > wrote: > >> Figured I throw in simple load balancing as an option. Assuming you've >> "cloned' your primary FS server and all configurations are either the same >> or being served from a different server (ideal option). >> > > What I'm actually aiming for, when setting the FS HA is the following: > When one FS machine fails, all the calls on that machine to keep going, > such as the user needs not to invite again. > > Reading [1], this is possible with the expense of 1 backup, passive > machine for each active machine. Scaling this up would be an issue, hence > my a), b) questions above. > > [1] https://freeswitch.org/confluence/display/FREESWITCH/High+Availability > > Thanks, > Stefan > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160928/4ff6f7bc/attachment-0001.html From service at ivc.nnov.ru Thu Sep 29 10:49:53 2016 From: service at ivc.nnov.ru (Mikhail Demekhov) Date: Thu, 29 Sep 2016 09:49:53 +0300 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load Message-ID: <57ECB991.70805@ivc.nnov.ru> Hello! I have installed freeswitch using apt-get on my debian 8 sersver from https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie block under title 'latest release branch:' My server hardware: 2xCPU AMD Opteron(tm) Processor 6262 HE 64 GB RAM I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on both leg A and leg B core.db in TMPFS Through my server takes about 125 simultaneous calls CPU load about 125%! It is very high in my opinion. How to fix it? top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13587 freeswi+ 39 19 485252 200020 16284 S 110,1 0,3 3062:38 freeswitch top -H PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13589 freeswi+ 39 19 485252 200692 16284 S 3,0 0,3 55:08.10 freeswitch 13820 freeswi+ 39 19 485252 200692 16284 S 1,6 0,3 0:00.21 freeswitch 13606 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 27:11.91 freeswitch 12817 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:05.72 freeswitch 12858 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:06.25 freeswitch 10917 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:16.64 freeswitch 11059 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:15.60 freeswitch 11651 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:12.20 freeswitch 11868 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.82 freeswitch 11940 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.56 freeswitch 12066 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:10.54 freeswitch 12851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.78 freeswitch 12852 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.53 freeswitch 13153 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.76 freeswitch 13155 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.65 freeswitch 13226 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.45 freeswitch 13423 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.24 freeswitch 13431 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.47 freeswitch 13549 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:01.67 freeswitch 13702 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.99 freeswitch 13719 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.77 freeswitch 13763 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.56 freeswitch 13783 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.52 freeswitch 13821 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.27 freeswitch 13822 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.17 freeswitch 13851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.07 freeswitch 13834 root 20 0 26172 3488 2528 R 1,0 0,0 0:00.36 top 3 root 20 0 0 0 0 S 0,7 0,0 18:40.94 ksoftirqd/0 8 root 20 0 0 0 0 S 0,7 0,0 57:06.30 rcu_sched 13599 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 27:53.60 freeswitch 13602 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 10:13.13 freeswitch 10297 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:20.80 freeswitch 10613 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:18.69 freeswitch 10838 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:17.52 freeswitch 11192 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.49 freeswitch 11409 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.54 freeswitch 11450 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.57 freeswitch 11474 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.26 .......... Rgards, Demekhov Mikhail From v.zakhozhai at gmail.com Thu Sep 29 12:41:17 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Thu, 29 Sep 2016 08:41:17 +0000 Subject: [Freeswitch-users] Dialplan expression matching Message-ID: Hi, I've mentioned that pattern matching in my dialplan works incorrectly but I can't figure out the main reason. For example I have the following dialplan: Some action Some action Some action 1. Call to "echo" - OK (echo_test) 2. Call to some extension with custom header X-Exten-Type - OK (is_internal_call) 3. Call to 5930000 - OK (ua_local) 4. Call to 0930000000 - FAILED to match ua_mobile extension. The last call matches ua_local. But why? The result of regex dp_tool freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ true freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ false So, everything is correct. I can't understand why almost everyting goes to ua_local extension. I appreciate you help. -- Best regards, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/fada0283/attachment-0001.html From v.zakhozhai at gmail.com Thu Sep 29 14:46:52 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Thu, 29 Sep 2016 10:46:52 +0000 Subject: [Freeswitch-users] Bridging calls to other server In-Reply-To: References: Message-ID: Hi, I think that splitting internal and external VoIP traffic with sofia profiles would solve your problem. I.e. external sofia profile with external IP address and external VoIP gateways (ITSP) internal sofia profile with internal IP address and gsm gateway definition. On Wed, Sep 28, 2016 at 9:05 PM Caio Assis wrote: > Good afternoon. > > > The situation I'm facing is this: I have a server that has 2 network > interfaces (eth0 and eth1), the former with an external static IP set, and > the ladder with a internal IP set. I have one more server on my private > network that bridges calls to my gsm gateway (which means it's set with a > internal IP as well), and I have a VoIP account to bridge other calls. The > problem I'm facing is: when I try to bridge a call to my gateway, in my > private network, the IP freeswitch is sending is the external IP, so the > call is denied by my gateway. With the VoIP I don't have any problem, since > the IP external meets my voip's external IP. Just to give you an example, > it's like this. > > > Main Server (eth0: 192.168.1.50, eth1: 123.123.123.123) > > Main Server bridges calls to Gateway (192.168.1.255). The gateway recieves > an request coming from 123.123.123.123, and it's set to decline external > IP, so the call gets a forbidden signal. > > Main Server bridges calls to VoIP provider(177.177.177.177). VoIP accepts > my calls, since the request it receives is coming from the external IP. > > > I need Freeswitch to send the call to the gateway using the internal IP > and voip using external IP. I use asterisk, and i set a parameter > brindaddr=0.0.0.0 to accept request coming from both internal and external > IPs. All of my asterisk configurations work fine. > > > Thanks. > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/384375d6/attachment-0001.html From david.villasmil.work at gmail.com Thu Sep 29 16:02:48 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 14:02:48 +0200 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: you're hitting internal before 09 Some action try removing " " On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai wrote: > Hi, > > I've mentioned that pattern matching in my dialplan works incorrectly but > I can't figure out the main reason. > > For example I have the following dialplan: > > > > Some action > > > > > > Some action > > > > experession="^[2-5][0-9]{6}$"> > Some action > > > > > > > > > 1. Call to "echo" - OK (echo_test) > 2. Call to some extension with custom header X-Exten-Type - OK > (is_internal_call) > 3. Call to 5930000 - OK (ua_local) > 4. Call to 0930000000 - FAILED to match ua_mobile extension. > > The last call matches ua_local. But why? > > The result of regex dp_tool > freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ > true > freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ > false > > So, everything is correct. I can't understand why almost everyting goes to > ua_local extension. > > I appreciate you help. > > > -- > Best regards, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/1af12b90/attachment.html From krice at freeswitch.org Thu Sep 29 16:03:59 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 29 Sep 2016 07:03:59 -0500 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <57ECB991.70805@ivc.nnov.ru> References: <57ECB991.70805@ivc.nnov.ru> Message-ID: <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> Keep in mind that top showing 125% is VERY misleading... lets say you have a 10 core system for the sake of example, 125% in top means you are using roughly 12.5% of the total CPU Power of your system. This is because TOP takes the individual core percentages and adds them up... -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mikhail Demekhov Sent: Thursday, September 29, 2016 1:50 AM To: freeswitch-users at lists.freeswitch.org Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load Hello! I have installed freeswitch using apt-get on my debian 8 sersver from https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie block under title 'latest release branch:' My server hardware: 2xCPU AMD Opteron(tm) Processor 6262 HE 64 GB RAM I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on both leg A and leg B core.db in TMPFS Through my server takes about 125 simultaneous calls CPU load about 125%! It is very high in my opinion. How to fix it? top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13587 freeswi+ 39 19 485252 200020 16284 S 110,1 0,3 3062:38 freeswitch top -H PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13589 freeswi+ 39 19 485252 200692 16284 S 3,0 0,3 55:08.10 freeswitch 13820 freeswi+ 39 19 485252 200692 16284 S 1,6 0,3 0:00.21 freeswitch 13606 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 27:11.91 freeswitch 12817 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:05.72 freeswitch 12858 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:06.25 freeswitch 10917 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:16.64 freeswitch 11059 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:15.60 freeswitch 11651 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:12.20 freeswitch 11868 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.82 freeswitch 11940 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.56 freeswitch 12066 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:10.54 freeswitch 12851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.78 freeswitch 12852 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.53 freeswitch 13153 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.76 freeswitch 13155 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.65 freeswitch 13226 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.45 freeswitch 13423 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.24 freeswitch 13431 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.47 freeswitch 13549 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:01.67 freeswitch 13702 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.99 freeswitch 13719 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.77 freeswitch 13763 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.56 freeswitch 13783 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.52 freeswitch 13821 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.27 freeswitch 13822 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.17 freeswitch 13851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.07 freeswitch 13834 root 20 0 26172 3488 2528 R 1,0 0,0 0:00.36 top 3 root 20 0 0 0 0 S 0,7 0,0 18:40.94 ksoftirqd/0 8 root 20 0 0 0 0 S 0,7 0,0 57:06.30 rcu_sched 13599 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 27:53.60 freeswitch 13602 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 10:13.13 freeswitch 10297 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:20.80 freeswitch 10613 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:18.69 freeswitch 10838 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:17.52 freeswitch 11192 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.49 freeswitch 11409 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.54 freeswitch 11450 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.57 freeswitch 11474 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.26 .......... Rgards, Demekhov Mikhail _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From rd-disc at gmx.net Thu Sep 29 16:19:45 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Thu, 29 Sep 2016 14:19:45 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> <57ECF29B.1030701@gmx.net> <57ECFA90.9080204@telefaks.de> Message-ID: <57ED06E1.40806@gmx.net> Hello, in X-lite I just entered the Domain (IP address of HIPATH), user and password - that's all. I attached the pcap files of the freeswitch and the xlite sessions. It's really hard to find apropriate logging infos on the HIPATH :-( Dieter Am 29.09.2016 um 13:32 schrieb David Villasmil: > Can you post the sip authetication from xlite? > As far as challenge is concerned, after FS sends the REGISTER, HIPATH > is supposed to send a 401, to which FS should respond with the > authentication details... but you're not even getting that 401.. > that's why I asked you to look at xlite's config, make sure that you > have the exact same realm in FS. > Also post your xlite config (minus user/pass) > > On Thu, Sep 29, 2016 at 1:27 PM, Peter Steinbach > wrote: > > Seems that Hipath does not know about the number 3999 or > 3999 at 172.16.40.49 . Maybe it must be > 3999@? Or maybe Hipath needs to have a > challeange password in the initial invite? > How do you register with your X-Lite? > > Best regards > Peter > > > > On 09/29/16 12:53, Scholz, Dieter wrote: >> Hello, >> >> sorry for my stupid newbie questions. :-( I'm just starting with >> the whole VOIP stuff. >> >> The redirect in the picture probably is caused by our internal >> routing. There's a more direct way from my workstation to the >> HIPATH (-1 hop). But this is the connection that works!!! >> >> In the freeswitch part i do not see any redirects (the routing is >> different). >> >> Do you think the HIPATH is terminating the connection or does >> Freeswitch not send the challenge? What do I need to adapt if >> Freeswitch sends incomplete data? Why can register with X-lite >> but not with Freeswitch? What could be the difference? >> >> Dieter >> >> Am 29.09.2016 um 12:40 schrieb David Villasmil: >>> You didn't say anything about redirects :( >>> Also, you're not even receiving a challenge... >>> >>> for redirects look at >>> https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect >>> >>> >>> Though i've never used redirects before with FS... >>> >>> Sorry >>> >>> On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter >>> > wrote: >>> >>> Hello, >>> >>> here is the output of ngrep: >>> -------------------------------------------------- >>> U 172.21.235.80:5080 -> >>> 172.16.40.49:5060 >>> REGISTER sip:172.16.40.49;transport=udp SIP/2.0. >>> Via: SIP/2.0/UDP >>> 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. >>> Max-Forwards: 70. >>> From: >> >;tag=v3cSHNK1cUKtm. >>> To: >. >>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>> CSeq: 97236318 REGISTER. >>> Contact: >> :5080;transport=udp;gw=rudolf>. >>> Expires: 3600. >>> User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. >>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, >>> UPDATE, REGISTER, REFER, NOTIFY. >>> Supported: timer, path, replaces. >>> Content-Length: 0. >>> . >>> >>> # >>> U 172.16.40.49:5060 -> >>> 172.21.235.80:5080 >>> SIP/2.0 100 Trying. >>> Via: SIP/2.0/UDP >>> 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>> From: >> >;tag=v3cSHNK1cUKtm. >>> To: >. >>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>> CSeq: 97236318 REGISTER. >>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>> Content-Length: 0. >>> . >>> >>> # >>> U 172.16.40.49:5060 -> >>> 172.21.235.80:5080 >>> SIP/2.0 404 Not Found. >>> Via: SIP/2.0/UDP >>> 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>> From: >> >;tag=v3cSHNK1cUKtm. >>> To: >> >;tag=160135440. >>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>> CSeq: 97236318 REGISTER. >>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>> Content-Length: 0. >>> -------------------------------------------------- >>> >>> I will see if I findd entries in the HIPATH log files (I'm >>> not the admin of the HIPATH system). As realm I use the IP >>> address of the HIPATH. I attached a picture with the >>> relevant parts of the Wireshark log of the X-lite session. >>> >>> Dieter >>> >>> >>> Am 29.09.2016 um 12:04 schrieb Peter Steinbach: >>> >>> Can you post the SIP messages going to and from the >>> Hipath? See my >>> previous mail about ngrep. >>> >>> >>> On 09/29/16 11:50, Scholz, Dieter wrote: >>> >>> Hello, >>> >>> thanks for your answer. >>> >>> I posted my sofia config in another mail today. I >>> think that my config >>> matches yours more or less. But when I start >>> freeswitch the status of >>> the connection is FAIL_WAIT. In the Wireshark log I >>> saw that a REGISTER >>> is send to the HIPATH but the answer is a 404. Any >>> ideas what to test. >>> Are there any sophia.conf.xml settings that are >>> important? >>> >>> Dieter >>> >>> Am 29.09.2016 um 11:31 schrieb David Villasmil: >>> >>> this is what my gateway look like: >>> >>> >>> >>> >> value="1001"/> >>> >>> >> value="password"/> >>> >> value="auto_to_user"/> >>> >> value="public"/> >>> >>> >> value="true"/> >>> >> name="register-transport" value="tcp (or udp)"/> >>> >> value="15"/> >>> >>> >>> >>> This should work... If you get Not Found, try >>> looking at your server's >>> log. >>> >>> you also should create an outgoing gateway, even >>> if you're not >>> registering, like: >>> >>> assuming the outgoing gateway will not >>> auth-challenge you: >>> >>> >>> >> value="none"/> >>> >> value="whatever"/> >>> >> value="none"/> >>> >> value="public"/> >>> >>> >> value="false"/> >>> >> name="register-transport" value="tcp (or udp)"/> >>> >> value="15"/> >>> >>> >>> Adding it to the external is a good idea, so the >>> final config will be: >>> >>> >>> >>> >>> >>> >> value="1001"/> >>> >>> >> value="password"/> >>> >> value="auto_to_user"/> >>> >> value="public"/> >>> >>> >> value="true"/> >>> >> name="register-transport" value="tcp (or udp)"/> >>> >> value="15"/> >>> >>> >>> >>> >> value="does_not_matter_will_not_be >>> used_but_must_be_set"/> >>> >>> >> value="does_not_matter_will_not_be >>> used_but_must_be_set"/> >>> >> value="public"/> >>> >>> >> value="false"/> >>> >> name="register-transport" value="tcp (or udp)"/> >>> >> value="15"/> >>> >>> >>> >>> >>> >>> Once this is working and you see it REGED, calls >>> will be coming in (as >>> per "context") on the public dialplan... the you >>> just need to bridge >>> it like: >>> >>> >>> >> expression="^(whatever your >>> regexp is)$"> >>> >>> >> data="sofia/gateway/outgoing_gw/$1"/> >>> >>> >>> >>> >>> I hope I was able to help.. >>> >>> Enjoy freeSWITCH, it's fantastic! >>> >>> David >>> >>> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter >>> >>> >> >> wrote: >>> >>> Hello, >>> >>> thanks for your comment. The URL you >>> mentioned will be helpful, when I >>> reach the dialplan stage. >>> >>> But at the moment I have problems >>> connecting to the HIPATH maschine. I >>> gave some more details in another post. >>> >>> Dieter >>> >>> >>> Am 28.09.2016 um 17:25 schrieb Stanislav >>> Sinyagin: >>> > you need to create one more gateway that >>> will communicate to >>> your SIP >>> > provider. This gateway can be configured >>> with username and >>> password if >>> > the ITSP requires authentication. >>> > >>> > Then, you will need to create the >>> dialplan that accepts calls from >>> > each of these gateways and routes them to >>> the other gateway. >>> > >>> > It's quite trivial once you figure out >>> how SIP profiles and dialplan >>> > contexts work together. >>> > >>> > Hopefully this will provide you some hints: >>> > >>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example >>> >>> >>> >> > >>> > >>> > >>> > >>> > >>> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, >>> Dieter >>> >> >> wrote: >>> >> Hello, >>> >> >>> >> this is my problem: >>> >> >>> >> I would like to use Freeswitch as a >>> gateway between our Hipath >>> PBX and >>> >> an external SIP provider. >>> >> >>> >> For that I created a Hipath SIP account >>> that is working (tested >>> with >>> >> X-lite). Now I would like to let >>> Freeswitch act as a client >>> using this >>> >> SIP account. Whenever there is an >>> incoming call Freeswitch >>> should act on >>> >> it and forward this call to an external >>> SIP provider. >>> >> >>> >> Is this possible? Does that make sense? >>> Are there alternatives? >>> >> >>> >> At the moment I'm stuck to configure >>> Freeswitch as a client. I >>> added the >>> >> Hipath SIP account as a gateway. When I >>> compare the SIP traffic of >>> >> X-lite and Freeswitch using Wireshark I >>> found out that >>> Freeswitch dows >>> >> not offer the 'Subscribe' option. Is >>> this the reason why it fails? >>> >> >>> >> Can you help me? >>> >> >>> >> Thanks in advance. >>> >> >>> >> Dieter >>> >> >>> >> >>> >>> _________________________________________________________________________ >>> >> Professional FreeSWITCH Consulting Services: >>> >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> http://www.freeswitch.org > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbH > mailto:lists (att)telefaks.de > Internet:www.telefaks.de > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/a615e0d7/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: freeswitch.pcap.gz Type: application/gzip Size: 697 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/a615e0d7/attachment-0002.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: x-lite.pcap.gz Type: application/gzip Size: 4292 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/a615e0d7/attachment-0003.bin From david.villasmil.work at gmail.com Thu Sep 29 16:30:58 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 14:30:58 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ED06E1.40806@gmx.net> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> <57ECF29B.1030701@gmx.net> <57ECFA90.9080204@telefaks.de> <57ED06E1.40806@gmx.net> Message-ID: Right now i can only think HIPATH is forbidding FS's ip from registering... On Thu, Sep 29, 2016 at 2:19 PM, Scholz, Dieter wrote: > Hello, > > in X-lite I just entered the Domain (IP address of HIPATH), user and > password - that's all. I attached the pcap files of the freeswitch and the > xlite sessions. > > It's really hard to find apropriate logging infos on the HIPATH :-( > > Dieter > > > Am 29.09.2016 um 13:32 schrieb David Villasmil: > > Can you post the sip authetication from xlite? > As far as challenge is concerned, after FS sends the REGISTER, HIPATH is > supposed to send a 401, to which FS should respond with the authentication > details... but you're not even getting that 401.. that's why I asked you to > look at xlite's config, make sure that you have the exact same realm in FS. > Also post your xlite config (minus user/pass) > > On Thu, Sep 29, 2016 at 1:27 PM, Peter Steinbach > wrote: > >> Seems that Hipath does not know about the number 3999 or >> 3999 at 172.16.40.49. Maybe it must be 3999@? Or maybe >> Hipath needs to have a challeange password in the initial invite? >> How do you register with your X-Lite? >> >> Best regards >> Peter >> >> >> >> On 09/29/16 12:53, Scholz, Dieter wrote: >> >> Hello, >> >> sorry for my stupid newbie questions. :-( I'm just starting with the >> whole VOIP stuff. >> >> The redirect in the picture probably is caused by our internal routing. >> There's a more direct way from my workstation to the HIPATH (-1 hop). But >> this is the connection that works!!! >> >> In the freeswitch part i do not see any redirects (the routing is >> different). >> >> Do you think the HIPATH is terminating the connection or does Freeswitch >> not send the challenge? What do I need to adapt if Freeswitch sends >> incomplete data? Why can register with X-lite but not with Freeswitch? What >> could be the difference? >> >> Dieter >> >> Am 29.09.2016 um 12:40 schrieb David Villasmil: >> >> You didn't say anything about redirects :( >> Also, you're not even receiving a challenge... >> >> for redirects look at >> >> https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect >> >> Though i've never used redirects before with FS... >> >> Sorry >> >> On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter < >> rd-disc at gmx.net> wrote: >> >>> Hello, >>> >>> here is the output of ngrep: >>> -------------------------------------------------- >>> U 172.21.235.80:5080 -> 172.16.40.49:5060 >>> REGISTER sip:172.16.40.49;transport=udp SIP/2.0. >>> Via: SIP/2.0/UDP 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. >>> Max-Forwards: 70. >>> From: ;tag=v3cSHNK1cUKtm. >>> To: . >>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>> CSeq: 97236318 REGISTER. >>> Contact: . >>> Expires: 3600. >>> User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. >>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>> REGISTER, REFER, NOTIFY. >>> Supported: timer, path, replaces. >>> Content-Length: 0. >>> . >>> >>> # >>> U 172.16.40.49:5060 -> 172.21.235.80:5080 >>> SIP/2.0 100 Trying. >>> Via: SIP/2.0/UDP 172.21.235.80:5080;rport=5080; >>> branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>> From: ;tag=v3cSHNK1cUKtm. >>> To: . >>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>> CSeq: 97236318 REGISTER. >>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>> Content-Length: 0. >>> . >>> >>> # >>> U 172.16.40.49:5060 -> 172.21.235.80:5080 >>> SIP/2.0 404 Not Found. >>> Via: SIP/2.0/UDP 172.21.235.80:5080;rport=5080; >>> branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>> From: ;tag=v3cSHNK1cUKtm. >>> To: ;tag=160135440. >>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>> CSeq: 97236318 REGISTER. >>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>> Content-Length: 0. >>> -------------------------------------------------- >>> >>> I will see if I findd entries in the HIPATH log files (I'm not the admin >>> of the HIPATH system). As realm I use the IP address of the HIPATH. I >>> attached a picture with the relevant parts of the Wireshark log of the >>> X-lite session. >>> >>> Dieter >>> >>> >>> Am 29.09.2016 um 12:04 schrieb Peter Steinbach: >>> >>>> Can you post the SIP messages going to and from the Hipath? See my >>>> previous mail about ngrep. >>>> >>>> >>>> On 09/29/16 11:50, Scholz, Dieter wrote: >>>> >>>>> Hello, >>>>> >>>>> thanks for your answer. >>>>> >>>>> I posted my sofia config in another mail today. I think that my config >>>>> matches yours more or less. But when I start freeswitch the status of >>>>> the connection is FAIL_WAIT. In the Wireshark log I saw that a REGISTER >>>>> is send to the HIPATH but the answer is a 404. Any ideas what to test. >>>>> Are there any sophia.conf.xml settings that are important? >>>>> >>>>> Dieter >>>>> >>>>> Am 29.09.2016 um 11:31 schrieb David Villasmil: >>>>> >>>>>> this is what my gateway look like: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> This should work... If you get Not Found, try looking at your server's >>>>>> log. >>>>>> >>>>>> you also should create an outgoing gateway, even if you're not >>>>>> registering, like: >>>>>> >>>>>> assuming the outgoing gateway will not auth-challenge you: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Adding it to the external is a good idea, so the final config will be: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>>>> >>>>>> >>>>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Once this is working and you see it REGED, calls will be coming in (as >>>>>> per "context") on the public dialplan... the you just need to bridge >>>>>> it like: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> I hope I was able to help.. >>>>>> >>>>>> Enjoy freeSWITCH, it's fantastic! >>>>>> >>>>>> David >>>>>> >>>>>> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter < >>>>>> rd-disc at gmx.net >>>>>> rd-disc at gmx.net>> wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>> thanks for your comment. The URL you mentioned will be helpful, >>>>>> when I >>>>>> reach the dialplan stage. >>>>>> >>>>>> But at the moment I have problems connecting to the HIPATH >>>>>> maschine. I >>>>>> gave some more details in another post. >>>>>> >>>>>> Dieter >>>>>> >>>>>> >>>>>> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: >>>>>> > you need to create one more gateway that will communicate to >>>>>> your SIP >>>>>> > provider. This gateway can be configured with username and >>>>>> password if >>>>>> > the ITSP requires authentication. >>>>>> > >>>>>> > Then, you will need to create the dialplan that accepts calls >>>>>> from >>>>>> > each of these gateways and routes them to the other gateway. >>>>>> > >>>>>> > It's quite trivial once you figure out how SIP profiles and >>>>>> dialplan >>>>>> > contexts work together. >>>>>> > >>>>>> > Hopefully this will provide you some hints: >>>>>> > >>>>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSW >>>>>> ITCH+PBX+Example >>>>>> >>>>> WITCH+PBX+Example> >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter < >>>>>> rd-disc at gmx.net >>>>>> rd-disc at gmx.net>> wrote: >>>>>> >> Hello, >>>>>> >> >>>>>> >> this is my problem: >>>>>> >> >>>>>> >> I would like to use Freeswitch as a gateway between our Hipath >>>>>> PBX and >>>>>> >> an external SIP provider. >>>>>> >> >>>>>> >> For that I created a Hipath SIP account that is working >>>>>> (tested >>>>>> with >>>>>> >> X-lite). Now I would like to let Freeswitch act as a client >>>>>> using this >>>>>> >> SIP account. Whenever there is an incoming call Freeswitch >>>>>> should act on >>>>>> >> it and forward this call to an external SIP provider. >>>>>> >> >>>>>> >> Is this possible? Does that make sense? Are there >>>>>> alternatives? >>>>>> >> >>>>>> >> At the moment I'm stuck to configure Freeswitch as a client. I >>>>>> added the >>>>>> >> Hipath SIP account as a gateway. When I compare the SIP >>>>>> traffic of >>>>>> >> X-lite and Freeswitch using Wireshark I found out that >>>>>> Freeswitch dows >>>>>> >> not offer the 'Subscribe' option. Is this the reason why it >>>>>> fails? >>>>>> >> >>>>>> >> Can you help me? >>>>>> >> >>>>>> >> Thanks in advance. >>>>>> >> >>>>>> >> Dieter >>>>>> >> >>>>>> >> >>>>>> ___________________________________________________________ >>>>>> ______________ >>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>> >> consulting at freeswitch.org >>>>> consulting at 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 at 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 at freeswitch.org >>>>> consulting at 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 at 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 at freeswitch.org >>>>>> http://www.freeswitchsolutions.com >>>>>> >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> http://www.freeswitch.org >>>>>> http://confluence.freeswitch.org >>>>> org> >>>>>> http://www.cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at 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 at 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 at 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 at 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 at 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 at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> -- >> With kind regards >> Peter Steinbach >> >> Telefaks Services GmbHmailto:lists (att) telefaks.de >> Internet: www.telefaks.de >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/ma >> ilman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.frees >> witch.org/mailman/options/freeswitch-users http://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/fe8cedb8/attachment-0001.html From v.zakhozhai at gmail.com Thu Sep 29 17:04:45 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Thu, 29 Sep 2016 13:04:45 +0000 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: David, thank you for your answer. I've mentioned that I have no problems with extension is_local_call. It will be matched only if SIP message has custom header X-Exten-Type=internal. If SIP message has no this header and To user is 0930000000 it does not match ua_mobile, but ua_local for some reason. When I'd remove is_local_call all numeric destinations are matched against ua_local. Here is part of FS log: Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->is_internal_call] continue=false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) I've removed extension is_local_call and have: Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) I can't understand why expression in log for ua_local is empty Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > you're hitting internal before 09 > > > > > Some action > > > > > > data="sofia/gateway/golden/${destination_number}"/> > > > > try removing " expression=".*"/>" > > On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > >> Hi, >> >> I've mentioned that pattern matching in my dialplan works incorrectly but >> I can't figure out the main reason. >> >> For example I have the following dialplan: >> >> >> >> Some action >> >> >> >> >> >> Some action >> >> >> >> > experession="^[2-5][0-9]{6}$"> >> Some action >> > >> >> >> > data="sofia/gateway/golden/${destination_number}"/> >> >> >> >> >> 1. Call to "echo" - OK (echo_test) >> 2. Call to some extension with custom header X-Exten-Type - OK >> (is_internal_call) >> 3. Call to 5930000 - OK (ua_local) >> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >> >> The last call matches ua_local. But why? >> >> The result of regex dp_tool >> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >> true >> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >> false >> >> So, everything is correct. I can't understand why almost everyting goes >> to ua_local extension. >> >> I appreciate you help. >> >> >> -- >> Best regards, >> Vladyslav Zakhozhai >> email: v.zakhozhai at gmail.com >> tel.: +380(93) 757-21-61 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/61520698/attachment.html From david.villasmil.work at gmail.com Thu Sep 29 17:11:04 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 13:11:04 +0000 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: Look into "continue=true", i think that you need to add it. On Thu, Sep 29, 2016 at 3:07 PM Vladyslav Zakhozhai wrote: > David, thank you for your answer. > > I've mentioned that I have no problems with extension is_local_call. It > will be matched only if SIP message has custom header X-Exten-Type=internal. > > If SIP message has no this header and To user is 0930000000 it does not > match ua_mobile, but ua_local for some reason. > > When I'd remove is_local_call all numeric destinations are matched against > ua_local. > > Here is part of FS log: > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->echo_test] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->is_internal_call] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_local] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_local] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > > I've removed extension is_local_call and have: > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->echo_test] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_local] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_local] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > > I can't understand why expression in log for ua_local is empty > > Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > > > > On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> you're hitting internal before 09 >> >> >> >> >> Some action >> >> >> >> >> >> > data="sofia/gateway/golden/${destination_number}"/> >> >> >> >> try removing " > expression=".*"/>" >> >> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> >>> Hi, >>> >>> I've mentioned that pattern matching in my dialplan works incorrectly >>> but I can't figure out the main reason. >>> >>> For example I have the following dialplan: >>> >>> >>> >>> Some action >>> >>> >>> >>> >>> >>> Some action >>> >>> >>> >>> >> experession="^[2-5][0-9]{6}$"> >>> Some action >>> >> >>> >>> >>> >> data="sofia/gateway/golden/${destination_number}"/> >>> >>> >>> >>> >>> 1. Call to "echo" - OK (echo_test) >>> 2. Call to some extension with custom header X-Exten-Type - OK >>> (is_internal_call) >>> 3. Call to 5930000 - OK (ua_local) >>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>> >>> The last call matches ua_local. But why? >>> >>> The result of regex dp_tool >>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>> true >>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>> false >>> >>> So, everything is correct. I can't understand why almost everyting goes >>> to ua_local extension. >>> >>> I appreciate you help. >>> >>> >>> -- >>> Best regards, >>> Vladyslav Zakhozhai >>> email: v.zakhozhai at gmail.com >>> tel.: +380(93) 757-21-61 >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/aa1929dd/attachment-0001.html From mirkobrankovic at gmail.com Thu Sep 29 17:31:58 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Thu, 29 Sep 2016 15:31:58 +0200 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: You need to close both conditions. Correct this one: Some action with this one/or remove one: Some action On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai wrote: > David, thank you for your answer. > > I've mentioned that I have no problems with extension is_local_call. It > will be matched only if SIP message has custom header X-Exten-Type=internal. > > If SIP message has no this header and To user is 0930000000 it does not > match ua_mobile, but ua_local for some reason. > > When I'd remove is_local_call all numeric destinations are matched against > ua_local. > > Here is part of FS log: > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->echo_test] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->is_internal_call] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_local] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_local] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > > I've removed extension is_local_call and have: > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->echo_test] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_local] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_local] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > > I can't understand why expression in log for ua_local is empty > > Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > > > > On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> you're hitting internal before 09 >> >> >> >> >> Some action >> >> >> >> >> >> >> >> >> >> try removing " > expression=".*"/>" >> >> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> >>> Hi, >>> >>> I've mentioned that pattern matching in my dialplan works incorrectly >>> but I can't figure out the main reason. >>> >>> For example I have the following dialplan: >>> >>> >>> >>> Some action >>> >>> >>> >>> >>> >>> Some action >>> >>> >>> >>> >> experession="^[2-5][0-9]{6}$"> >>> Some action >>> >> >>> >>> >>> >>> >>> >>> >>> >>> 1. Call to "echo" - OK (echo_test) >>> 2. Call to some extension with custom header X-Exten-Type - OK >>> (is_internal_call) >>> 3. Call to 5930000 - OK (ua_local) >>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>> >>> The last call matches ua_local. But why? >>> >>> The result of regex dp_tool >>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>> true >>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>> false >>> >>> So, everything is correct. I can't understand why almost everyting goes >>> to ua_local extension. >>> >>> I appreciate you help. >>> >>> >>> -- >>> Best regards, >>> Vladyslav Zakhozhai >>> email: v.zakhozhai at gmail.com >>> tel.: +380(93) 757-21-61 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/a41e2b72/attachment.html From rd-disc at gmx.net Thu Sep 29 17:38:07 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Thu, 29 Sep 2016 15:38:07 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> <57ECF29B.1030701@gmx.net> <57ECFA90.9080204@telefaks.de> <57ED06E1.40806@gmx.net> Message-ID: <57ED193F.1010609@gmx.net> Hello, puh - this will be really hard to debug. X-lite and Freeswitch are in the same subnet. But thanks for your help. Dieter Am 29.09.2016 um 14:30 schrieb David Villasmil: > Right now i can only think HIPATH is forbidding FS's ip from > registering... > > On Thu, Sep 29, 2016 at 2:19 PM, Scholz, Dieter > wrote: > > Hello, > > in X-lite I just entered the Domain (IP address of HIPATH), user > and password - that's all. I attached the pcap files of the > freeswitch and the xlite sessions. > > It's really hard to find apropriate logging infos on the HIPATH :-( > > Dieter > > > Am 29.09.2016 um 13:32 schrieb David Villasmil: >> Can you post the sip authetication from xlite? >> As far as challenge is concerned, after FS sends the REGISTER, >> HIPATH is supposed to send a 401, to which FS should respond with >> the authentication details... but you're not even getting that >> 401.. that's why I asked you to look at xlite's config, make sure >> that you have the exact same realm in FS. >> Also post your xlite config (minus user/pass) >> >> On Thu, Sep 29, 2016 at 1:27 PM, Peter Steinbach >> > wrote: >> >> Seems that Hipath does not know about the number 3999 or >> 3999 at 172.16.40.49 . Maybe it must >> be 3999@? Or maybe Hipath needs to have a >> challeange password in the initial invite? >> How do you register with your X-Lite? >> >> Best regards >> Peter >> >> >> >> On 09/29/16 12:53, Scholz, Dieter wrote: >>> Hello, >>> >>> sorry for my stupid newbie questions. :-( I'm just starting >>> with the whole VOIP stuff. >>> >>> The redirect in the picture probably is caused by our >>> internal routing. There's a more direct way from my >>> workstation to the HIPATH (-1 hop). But this is the >>> connection that works!!! >>> >>> In the freeswitch part i do not see any redirects (the >>> routing is different). >>> >>> Do you think the HIPATH is terminating the connection or >>> does Freeswitch not send the challenge? What do I need to >>> adapt if Freeswitch sends incomplete data? Why can register >>> with X-lite but not with Freeswitch? What could be the >>> difference? >>> >>> Dieter >>> >>> Am 29.09.2016 um 12:40 schrieb David Villasmil: >>>> You didn't say anything about redirects :( >>>> Also, you're not even receiving a challenge... >>>> >>>> for redirects look at >>>> https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect >>>> >>>> Though i've never used redirects before with FS... >>>> >>>> Sorry >>>> >>>> On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter >>>> > wrote: >>>> >>>> Hello, >>>> >>>> here is the output of ngrep: >>>> -------------------------------------------------- >>>> U 172.21.235.80:5080 -> >>>> 172.16.40.49:5060 >>>> REGISTER sip:172.16.40.49;transport=udp SIP/2.0. >>>> Via: SIP/2.0/UDP >>>> 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. >>>> Max-Forwards: 70. >>>> From: >>> >;tag=v3cSHNK1cUKtm. >>>> To: >>> >. >>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>> CSeq: 97236318 REGISTER. >>>> Contact: >>> :5080;transport=udp;gw=rudolf>. >>>> Expires: 3600. >>>> User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. >>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, >>>> INFO, UPDATE, REGISTER, REFER, NOTIFY. >>>> Supported: timer, path, replaces. >>>> Content-Length: 0. >>>> . >>>> >>>> # >>>> U 172.16.40.49:5060 -> >>>> 172.21.235.80:5080 >>>> SIP/2.0 100 Trying. >>>> Via: SIP/2.0/UDP >>>> 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>>> From: >>> >;tag=v3cSHNK1cUKtm. >>>> To: >>> >. >>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>> CSeq: 97236318 REGISTER. >>>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>>> Content-Length: 0. >>>> . >>>> >>>> # >>>> U 172.16.40.49:5060 -> >>>> 172.21.235.80:5080 >>>> SIP/2.0 404 Not Found. >>>> Via: SIP/2.0/UDP >>>> 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>>> From: >>> >;tag=v3cSHNK1cUKtm. >>>> To: >>> >;tag=160135440. >>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>> CSeq: 97236318 REGISTER. >>>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>>> Content-Length: 0. >>>> -------------------------------------------------- >>>> >>>> I will see if I findd entries in the HIPATH log files >>>> (I'm not the admin of the HIPATH system). As realm I >>>> use the IP address of the HIPATH. I attached a picture >>>> with the relevant parts of the Wireshark log of the >>>> X-lite session. >>>> >>>> Dieter >>>> >>>> >>>> Am 29.09.2016 um 12:04 schrieb Peter Steinbach: >>>> >>>> Can you post the SIP messages going to and from the >>>> Hipath? See my >>>> previous mail about ngrep. >>>> >>>> >>>> On 09/29/16 11:50, Scholz, Dieter wrote: >>>> >>>> Hello, >>>> >>>> thanks for your answer. >>>> >>>> I posted my sofia config in another mail today. >>>> I think that my config >>>> matches yours more or less. But when I start >>>> freeswitch the status of >>>> the connection is FAIL_WAIT. In the Wireshark >>>> log I saw that a REGISTER >>>> is send to the HIPATH but the answer is a 404. >>>> Any ideas what to test. >>>> Are there any sophia.conf.xml settings that are >>>> important? >>>> >>>> Dieter >>>> >>>> Am 29.09.2016 um 11:31 schrieb David Villasmil: >>>> >>>> this is what my gateway look like: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="tcp (or udp)"/> >>>> >>>> >>>> >>>> >>>> This should work... If you get Not Found, >>>> try looking at your server's >>>> log. >>>> >>>> you also should create an outgoing gateway, >>>> even if you're not >>>> registering, like: >>>> >>>> assuming the outgoing gateway will not >>>> auth-challenge you: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="tcp (or udp)"/> >>>> >>>> >>>> >>>> Adding it to the external is a good idea, >>>> so the final config will be: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> value="tcp (or udp)"/> >>>> >>>> >>>> >>>> >>>> >>> value="does_not_matter_will_not_be >>>> used_but_must_be_set"/> >>>> >>>> >>> value="does_not_matter_will_not_be >>>> used_but_must_be_set"/> >>>> >>>> >>>> >>>> >>> value="tcp (or udp)"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Once this is working and you see it REGED, >>>> calls will be coming in (as >>>> per "context") on the public dialplan... >>>> the you just need to bridge >>>> it like: >>>> >>>> >>>> >>> expression="^(whatever your >>>> regexp is)$"> >>>> >>>> >>> data="sofia/gateway/outgoing_gw/$1"/> >>>> >>>> >>>> >>>> >>>> I hope I was able to help.. >>>> >>>> Enjoy freeSWITCH, it's fantastic! >>>> >>>> David >>>> >>>> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, >>>> Dieter >>> >>>> >>> >> wrote: >>>> >>>> Hello, >>>> >>>> thanks for your comment. The URL you >>>> mentioned will be helpful, when I >>>> reach the dialplan stage. >>>> >>>> But at the moment I have problems >>>> connecting to the HIPATH maschine. I >>>> gave some more details in another post. >>>> >>>> Dieter >>>> >>>> >>>> Am 28.09.2016 um 17:25 schrieb >>>> Stanislav Sinyagin: >>>> > you need to create one more gateway >>>> that will communicate to >>>> your SIP >>>> > provider. This gateway can be >>>> configured with username and >>>> password if >>>> > the ITSP requires authentication. >>>> > >>>> > Then, you will need to create the >>>> dialplan that accepts calls from >>>> > each of these gateways and routes >>>> them to the other gateway. >>>> > >>>> > It's quite trivial once you figure >>>> out how SIP profiles and dialplan >>>> > contexts work together. >>>> > >>>> > Hopefully this will provide you some >>>> hints: >>>> > >>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example >>>> >>>> >>>> >>> > >>>> > >>>> > >>>> > >>>> > >>>> > On Wed, Sep 28, 2016 at 2:22 PM, >>>> Scholz, Dieter >>> >>>> >>> >> wrote: >>>> >> Hello, >>>> >> >>>> >> this is my problem: >>>> >> >>>> >> I would like to use Freeswitch as a >>>> gateway between our Hipath >>>> PBX and >>>> >> an external SIP provider. >>>> >> >>>> >> For that I created a Hipath SIP >>>> account that is working (tested >>>> with >>>> >> X-lite). Now I would like to let >>>> Freeswitch act as a client >>>> using this >>>> >> SIP account. Whenever there is an >>>> incoming call Freeswitch >>>> should act on >>>> >> it and forward this call to an >>>> external SIP provider. >>>> >> >>>> >> Is this possible? Does that make >>>> sense? Are there alternatives? >>>> >> >>>> >> At the moment I'm stuck to >>>> configure Freeswitch as a client. I >>>> added the >>>> >> Hipath SIP account as a gateway. >>>> When I compare the SIP traffic of >>>> >> X-lite and Freeswitch using >>>> Wireshark I found out that >>>> Freeswitch dows >>>> >> not offer the 'Subscribe' option. >>>> Is this the reason why it fails? >>>> >> >>>> >> Can you help me? >>>> >> >>>> >> Thanks in advance. >>>> >> >>>> >> Dieter >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> Professional FreeSWITCH Consulting >>>> Services: >>>> >> consulting at 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 at lists.freeswi >>>> tch.org >>>> >>>> >>>> >>> > >>>> >> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> >>> > >>>> >> >>>> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>> eswitch-users >>>> >>>> >>> > >>>> >> http://www.freeswitch.org >>>> > >>>> _________________________________________________________________________ >>>> > Professional FreeSWITCH Consulting >>>> Services: >>>> > consulting at 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 at lists.freeswi >>>> tch.org >>>> >>>> >>>> >>> > >>>> > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> >>> > >>>> > >>>> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>> eswitch-users >>>> >>>> >>> > >>>> > http://www.freeswitch.org >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting >>>> Services: >>>> consulting at 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 at lists.freeswitch.org >>>> >>>> >>>> >>> > >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> >>>> >>> > >>>> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>> eswitch-users >>>> >>>> >>> > >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>> switch-users >>>> http://www.freeswitch.org >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >> >> -- >> With kind regards >> Peter Steinbach >> >> Telefaks Services GmbH >> mailto:lists (att)telefaks.de >> Internet:www.telefaks.de >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/afaee40b/attachment-0001.html From david.villasmil.work at gmail.com Thu Sep 29 17:41:36 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 13:41:36 +0000 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ED193F.1010609@gmx.net> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> <57ECF29B.1030701@gmx.net> <57ECFA90.9080204@telefaks.de> <57ED06E1.40806@gmx.net> <57ED193F.1010609@gmx.net> Message-ID: But really, i doubt this is related to freeswitch per se. HIPATH should be sending a 401 and it's not. Are you registered with xlite WHILE attempting to register with FS? Maybe HIPATH won't allow multiple user locations. Try unregistering from xlite before attempting from fs... On Thu, Sep 29, 2016 at 3:38 PM Scholz, Dieter wrote: > Hello, > > puh - this will be really hard to debug. X-lite and Freeswitch are in the > same subnet. > > But thanks for your help. > > > Dieter > > > Am 29.09.2016 um 14:30 schrieb David Villasmil: > > Right now i can only think HIPATH is forbidding FS's ip from registering... > > On Thu, Sep 29, 2016 at 2:19 PM, Scholz, Dieter wrote: > >> Hello, >> >> in X-lite I just entered the Domain (IP address of HIPATH), user and >> password - that's all. I attached the pcap files of the freeswitch and the >> xlite sessions. >> >> It's really hard to find apropriate logging infos on the HIPATH :-( >> >> Dieter >> >> >> Am 29.09.2016 um 13:32 schrieb David Villasmil: >> >> Can you post the sip authetication from xlite? >> As far as challenge is concerned, after FS sends the REGISTER, HIPATH is >> supposed to send a 401, to which FS should respond with the authentication >> details... but you're not even getting that 401.. that's why I asked you to >> look at xlite's config, make sure that you have the exact same realm in FS. >> Also post your xlite config (minus user/pass) >> >> On Thu, Sep 29, 2016 at 1:27 PM, Peter Steinbach >> wrote: >> >>> Seems that Hipath does not know about the number 3999 or >>> 3999 at 172.16.40.49. Maybe it must be 3999@? Or maybe >>> Hipath needs to have a challeange password in the initial invite? >>> How do you register with your X-Lite? >>> >>> Best regards >>> Peter >>> >>> >>> >>> On 09/29/16 12:53, Scholz, Dieter wrote: >>> >>> Hello, >>> >>> sorry for my stupid newbie questions. :-( I'm just starting with the >>> whole VOIP stuff. >>> >>> The redirect in the picture probably is caused by our internal routing. >>> There's a more direct way from my workstation to the HIPATH (-1 hop). But >>> this is the connection that works!!! >>> >>> In the freeswitch part i do not see any redirects (the routing is >>> different). >>> >>> Do you think the HIPATH is terminating the connection or does Freeswitch >>> not send the challenge? What do I need to adapt if Freeswitch sends >>> incomplete data? Why can register with X-lite but not with Freeswitch? What >>> could be the difference? >>> >>> Dieter >>> >>> Am 29.09.2016 um 12:40 schrieb David Villasmil: >>> >>> You didn't say anything about redirects :( >>> Also, you're not even receiving a challenge... >>> >>> for redirects look at https://wiki.freeswitch >>> .org/wiki/Dialplan_Handling_Incoming_Redirect >>> >>> Though i've never used redirects before with FS... >>> >>> Sorry >>> >>> On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter >>> wrote: >>> >>>> Hello, >>>> >>>> here is the output of ngrep: >>>> -------------------------------------------------- >>>> U 172.21.235.80:5080 -> 172.16.40.49:5060 >>>> REGISTER sip:172.16.40.49;transport=udp SIP/2.0. >>>> Via: SIP/2.0/UDP 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. >>>> Max-Forwards: 70. >>>> From: ;tag=v3cSHNK1cUKtm. >>>> To: . >>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>> CSeq: 97236318 REGISTER. >>>> Contact: . >>>> Expires: 3600. >>>> User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. >>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>> REGISTER, REFER, NOTIFY. >>>> Supported: timer, path, replaces. >>>> Content-Length: 0. >>>> . >>>> >>>> # >>>> U 172.16.40.49:5060 -> 172.21.235.80:5080 >>>> SIP/2.0 100 Trying. >>>> Via: SIP/2.0/UDP 172.21.235.80:5080 >>>> ;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>>> From: ;tag=v3cSHNK1cUKtm. >>>> To: . >>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>> CSeq: 97236318 REGISTER. >>>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>>> Content-Length: 0. >>>> . >>>> >>>> # >>>> U 172.16.40.49:5060 -> 172.21.235.80:5080 >>>> SIP/2.0 404 Not Found. >>>> Via: SIP/2.0/UDP 172.21.235.80:5080 >>>> ;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>>> From: ;tag=v3cSHNK1cUKtm. >>>> To: ;tag=160135440. >>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>> CSeq: 97236318 REGISTER. >>>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>>> Content-Length: 0. >>>> -------------------------------------------------- >>>> >>>> I will see if I findd entries in the HIPATH log files (I'm not the >>>> admin of the HIPATH system). As realm I use the IP address of the HIPATH. I >>>> attached a picture with the relevant parts of the Wireshark log of the >>>> X-lite session. >>>> >>>> Dieter >>>> >>>> >>>> Am 29.09.2016 um 12:04 schrieb Peter Steinbach: >>>> >>>>> Can you post the SIP messages going to and from the Hipath? See my >>>>> previous mail about ngrep. >>>>> >>>>> >>>>> On 09/29/16 11:50, Scholz, Dieter wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> thanks for your answer. >>>>>> >>>>>> I posted my sofia config in another mail today. I think that my config >>>>>> matches yours more or less. But when I start freeswitch the status of >>>>>> the connection is FAIL_WAIT. In the Wireshark log I saw that a >>>>>> REGISTER >>>>>> is send to the HIPATH but the answer is a 404. Any ideas what to test. >>>>>> Are there any sophia.conf.xml settings that are important? >>>>>> >>>>>> Dieter >>>>>> >>>>>> Am 29.09.2016 um 11:31 schrieb David Villasmil: >>>>>> >>>>>>> this is what my gateway look like: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> This should work... If you get Not Found, try looking at your >>>>>>> server's >>>>>>> log. >>>>>>> >>>>>>> you also should create an outgoing gateway, even if you're not >>>>>>> registering, like: >>>>>>> >>>>>>> assuming the outgoing gateway will not auth-challenge you: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Adding it to the external is a good idea, so the final config will >>>>>>> be: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>>>>> >>>>>>> >>>>>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Once this is working and you see it REGED, calls will be coming in >>>>>>> (as >>>>>>> per "context") on the public dialplan... the you just need to bridge >>>>>>> it like: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> I hope I was able to help.. >>>>>>> >>>>>>> Enjoy freeSWITCH, it's fantastic! >>>>>>> >>>>>>> David >>>>>>> >>>>>>> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter >>>>>> > wrote: >>>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> thanks for your comment. The URL you mentioned will be helpful, >>>>>>> when I >>>>>>> reach the dialplan stage. >>>>>>> >>>>>>> But at the moment I have problems connecting to the HIPATH >>>>>>> maschine. I >>>>>>> gave some more details in another post. >>>>>>> >>>>>>> Dieter >>>>>>> >>>>>>> >>>>>>> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: >>>>>>> > you need to create one more gateway that will communicate to >>>>>>> your SIP >>>>>>> > provider. This gateway can be configured with username and >>>>>>> password if >>>>>>> > the ITSP requires authentication. >>>>>>> > >>>>>>> > Then, you will need to create the dialplan that accepts calls >>>>>>> from >>>>>>> > each of these gateways and routes them to the other gateway. >>>>>>> > >>>>>>> > It's quite trivial once you figure out how SIP profiles and >>>>>>> dialplan >>>>>>> > contexts work together. >>>>>>> > >>>>>>> > Hopefully this will provide you some hints: >>>>>>> > >>>>>>> https://freeswitch.org/conflu >>>>>>> ence/display/FREESWITCH/FreeSWITCH+PBX+Example >>>>>>> >>>>>> uence/display/FREESWITCH/FreeSWITCH+PBX+Example> >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter < >>>>>>> rd-disc at gmx.net >>>>>>> > wrote: >>>>>>> >> Hello, >>>>>>> >> >>>>>>> >> this is my problem: >>>>>>> >> >>>>>>> >> I would like to use Freeswitch as a gateway between our >>>>>>> Hipath >>>>>>> PBX and >>>>>>> >> an external SIP provider. >>>>>>> >> >>>>>>> >> For that I created a Hipath SIP account that is working >>>>>>> (tested >>>>>>> with >>>>>>> >> X-lite). Now I would like to let Freeswitch act as a client >>>>>>> using this >>>>>>> >> SIP account. Whenever there is an incoming call Freeswitch >>>>>>> should act on >>>>>>> >> it and forward this call to an external SIP provider. >>>>>>> >> >>>>>>> >> Is this possible? Does that make sense? Are there >>>>>>> alternatives? >>>>>>> >> >>>>>>> >> At the moment I'm stuck to configure Freeswitch as a client. >>>>>>> I >>>>>>> added the >>>>>>> >> Hipath SIP account as a gateway. When I compare the SIP >>>>>>> traffic of >>>>>>> >> X-lite and Freeswitch using Wireshark I found out that >>>>>>> Freeswitch dows >>>>>>> >> not offer the 'Subscribe' option. Is this the reason why it >>>>>>> fails? >>>>>>> >> >>>>>>> >> Can you help me? >>>>>>> >> >>>>>>> >> Thanks in advance. >>>>>>> >> >>>>>>> >> Dieter >>>>>>> >> >>>>>>> >> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>> >> consulting at freeswitch.org >>>>>>> >> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> >> >>>>>>> >> Official FreeSWITCH Sites >>>>>>> >> http://www.freeswitch.org >>>>>>> >> http://confluence.freeswitch.org < >>>>>>> http://confluence.freeswitch.org> >>>>>>> >> http://www.cluecon.com >>>>>>> >> >>>>>>> >> FreeSWITCH-users mailing list >>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>>>>> >> http://lists.freeswitch.org/ma >>>>>>> ilman/listinfo/freeswitch-users >>>>>>> >>>>>>> >> >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>>>> eswitch-users >>>>>>> >>>>>>> >> http://www.freeswitch.org >>>>>>> > >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>> > consulting at freeswitch.org >>>>>>> > http://www.freeswitchsolutions.com >>>>>>> >>>>>>> > >>>>>>> > Official FreeSWITCH Sites >>>>>>> > http://www.freeswitch.org >>>>>>> > http://confluence.freeswitch.org < >>>>>>> http://confluence.freeswitch.org> >>>>>>> > http://www.cluecon.com >>>>>>> > >>>>>>> > FreeSWITCH-users mailing list >>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>>>>> > >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>>>> eswitch-users >>>>>>> >>>>>>> > http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at freeswitch.org >>>>>>> http://www.freeswitchsolutions.com >>>>>>> >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> http://www.freeswitch.org >>>>>>> http://confluence.freeswitch.org >>>>>> .org> >>>>>>> http://www.cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>>>> eswitch-users >>>>>>> >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>> switch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>>> >>>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.frees >>>> witch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> -- >>> With kind regards >>> Peter Steinbach >>> >>> Telefaks Services GmbHmailto:lists (att) telefaks.de >>> Internet: www.telefaks.de >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >> >> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com > > Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/00ccfb87/attachment-0001.html From kworm at sofnet.com Thu Sep 29 17:58:45 2016 From: kworm at sofnet.com (Kevin Wormington) Date: Thu, 29 Sep 2016 08:58:45 -0500 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> Message-ID: <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> If you press ?1? while in top it should display the usage of individual CPUs so you can see Ken?s point. > On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: > > Keep in mind that top showing 125% is VERY misleading... lets say you have a > 10 core system for the sake of example, 125% in top means you are using > roughly 12.5% of the total CPU Power of your system. This is because TOP > takes the individual core percentages and adds them up... > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mikhail > Demekhov > Sent: Thursday, September 29, 2016 1:50 AM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU > load > > Hello! > > I have installed freeswitch using apt-get on my debian 8 sersver from > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > block under title 'latest release branch:' > > My server hardware: > 2xCPU AMD Opteron(tm) Processor 6262 HE > 64 GB RAM > > I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on both > leg A and leg B core.db in TMPFS > > Through my server takes about 125 simultaneous calls > > CPU load about 125%! It is very high in my opinion. > > How to fix it? > > > top > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 13587 freeswi+ 39 19 485252 200020 16284 S 110,1 0,3 3062:38 > freeswitch > > top -H > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 13589 freeswi+ 39 19 485252 200692 16284 S 3,0 0,3 55:08.10 > freeswitch > 13820 freeswi+ 39 19 485252 200692 16284 S 1,6 0,3 0:00.21 > freeswitch > 13606 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 27:11.91 > freeswitch > 12817 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:05.72 > freeswitch > 12858 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:06.25 > freeswitch > 10917 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:16.64 > freeswitch > 11059 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:15.60 > freeswitch > 11651 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:12.20 > freeswitch > 11868 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.82 > freeswitch > 11940 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.56 > freeswitch > 12066 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:10.54 > freeswitch > 12851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.78 > freeswitch > 12852 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.53 > freeswitch > 13153 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.76 > freeswitch > 13155 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.65 > freeswitch > 13226 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.45 > freeswitch > 13423 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.24 > freeswitch > 13431 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.47 > freeswitch > 13549 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:01.67 > freeswitch > 13702 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.99 > freeswitch > 13719 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.77 > freeswitch > 13763 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.56 > freeswitch > 13783 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.52 > freeswitch > 13821 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.27 > freeswitch > 13822 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.17 > freeswitch > 13851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.07 > freeswitch > 13834 root 20 0 26172 3488 2528 R 1,0 0,0 0:00.36 top > 3 root 20 0 0 0 0 S 0,7 0,0 18:40.94 > ksoftirqd/0 > 8 root 20 0 0 0 0 S 0,7 0,0 57:06.30 > rcu_sched > 13599 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 27:53.60 > freeswitch > 13602 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 10:13.13 > freeswitch > 10297 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:20.80 > freeswitch > 10613 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:18.69 > freeswitch > 10838 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:17.52 > freeswitch > 11192 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.49 > freeswitch > 11409 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.54 > freeswitch > 11450 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.57 > freeswitch > 11474 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.26 > .......... > > Rgards, > Demekhov Mikhail > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > From krice at freeswitch.org Thu Sep 29 18:12:46 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 29 Sep 2016 09:12:46 -0500 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> Message-ID: <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> Better to just use htop and you can not only see that but pretty graphs heh -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Kevin Wormington Sent: Thursday, September 29, 2016 8:59 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load If you press ?1? while in top it should display the usage of individual CPUs so you can see Ken?s point. > On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: > > Keep in mind that top showing 125% is VERY misleading... lets say you > have a > 10 core system for the sake of example, 125% in top means you are > using roughly 12.5% of the total CPU Power of your system. This is > because TOP takes the individual core percentages and adds them up... > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Mikhail Demekhov > Sent: Thursday, September 29, 2016 1:50 AM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high > CPU load > > Hello! > > I have installed freeswitch using apt-get on my debian 8 sersver from > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > block under title 'latest release branch:' > > My server hardware: > 2xCPU AMD Opteron(tm) Processor 6262 HE > 64 GB RAM > > I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on > both leg A and leg B core.db in TMPFS > > Through my server takes about 125 simultaneous calls > > CPU load about 125%! It is very high in my opinion. > > How to fix it? > > > top > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 13587 freeswi+ 39 19 485252 200020 16284 S 110,1 0,3 3062:38 > freeswitch > > top -H > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 13589 freeswi+ 39 19 485252 200692 16284 S 3,0 0,3 55:08.10 > freeswitch > 13820 freeswi+ 39 19 485252 200692 16284 S 1,6 0,3 0:00.21 > freeswitch > 13606 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 27:11.91 > freeswitch > 12817 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:05.72 > freeswitch > 12858 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:06.25 > freeswitch > 10917 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:16.64 > freeswitch > 11059 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:15.60 > freeswitch > 11651 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:12.20 > freeswitch > 11868 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.82 > freeswitch > 11940 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.56 > freeswitch > 12066 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:10.54 > freeswitch > 12851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.78 > freeswitch > 12852 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.53 > freeswitch > 13153 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.76 > freeswitch > 13155 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.65 > freeswitch > 13226 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.45 > freeswitch > 13423 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.24 > freeswitch > 13431 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.47 > freeswitch > 13549 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:01.67 > freeswitch > 13702 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.99 > freeswitch > 13719 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.77 > freeswitch > 13763 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.56 > freeswitch > 13783 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.52 > freeswitch > 13821 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.27 > freeswitch > 13822 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.17 > freeswitch > 13851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.07 > freeswitch > 13834 root 20 0 26172 3488 2528 R 1,0 0,0 0:00.36 top > 3 root 20 0 0 0 0 S 0,7 0,0 18:40.94 > ksoftirqd/0 > 8 root 20 0 0 0 0 S 0,7 0,0 57:06.30 > rcu_sched > 13599 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 27:53.60 > freeswitch > 13602 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 10:13.13 > freeswitch > 10297 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:20.80 > freeswitch > 10613 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:18.69 > freeswitch > 10838 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:17.52 > freeswitch > 11192 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.49 > freeswitch > 11409 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.54 > freeswitch > 11450 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.57 > freeswitch > 11474 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.26 > .......... > > Rgards, > Demekhov Mikhail > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org > > > ______________________________________________________________________ > ___ Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > http://www.freeswitch.org > _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From anthony.minessale at gmail.com Thu Sep 29 18:16:31 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 29 Sep 2016 09:16:31 -0500 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> Message-ID: Also to single out cpu usage of each FS thread, top -p -H On Thu, Sep 29, 2016 at 9:12 AM, Ken Rice wrote: > Better to just use htop and you can not only see that but pretty graphs heh > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Kevin > Wormington > Sent: Thursday, September 29, 2016 8:59 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high > CPU load > > If you press ?1? while in top it should display the usage of individual > CPUs so you can see Ken?s point. > > > > On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: > > > > Keep in mind that top showing 125% is VERY misleading... lets say you > > have a > > 10 core system for the sake of example, 125% in top means you are > > using roughly 12.5% of the total CPU Power of your system. This is > > because TOP takes the individual core percentages and adds them up... > > > > -----Original Message----- > > From: freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > > Mikhail Demekhov > > Sent: Thursday, September 29, 2016 1:50 AM > > To: freeswitch-users at lists.freeswitch.org > > Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high > > CPU load > > > > Hello! > > > > I have installed freeswitch using apt-get on my debian 8 sersver from > > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > > block under title 'latest release branch:' > > > > My server hardware: > > 2xCPU AMD Opteron(tm) Processor 6262 HE > > 64 GB RAM > > > > I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on > > both leg A and leg B core.db in TMPFS > > > > Through my server takes about 125 simultaneous calls > > > > CPU load about 125%! It is very high in my opinion. > > > > How to fix it? > > > > > > top > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ > COMMAND > > 13587 freeswi+ 39 19 485252 200020 16284 S 110,1 0,3 3062:38 > > freeswitch > > > > top -H > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 13589 freeswi+ 39 19 485252 200692 16284 S 3,0 0,3 55:08.10 > > freeswitch > > 13820 freeswi+ 39 19 485252 200692 16284 S 1,6 0,3 0:00.21 > > freeswitch > > 13606 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 27:11.91 > > freeswitch > > 12817 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:05.72 > > freeswitch > > 12858 freeswi+ 39 19 485252 200692 16284 S 1,3 0,3 0:06.25 > > freeswitch > > 10917 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:16.64 > > freeswitch > > 11059 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:15.60 > > freeswitch > > 11651 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:12.20 > > freeswitch > > 11868 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.82 > > freeswitch > > 11940 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:11.56 > > freeswitch > > 12066 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:10.54 > > freeswitch > > 12851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.78 > > freeswitch > > 12852 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:05.53 > > freeswitch > > 13153 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.76 > > freeswitch > > 13155 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.65 > > freeswitch > > 13226 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:03.45 > > freeswitch > > 13423 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.24 > > freeswitch > > 13431 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:02.47 > > freeswitch > > 13549 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:01.67 > > freeswitch > > 13702 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.99 > > freeswitch > > 13719 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.77 > > freeswitch > > 13763 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.56 > > freeswitch > > 13783 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.52 > > freeswitch > > 13821 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.27 > > freeswitch > > 13822 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.17 > > freeswitch > > 13851 freeswi+ 39 19 485252 200692 16284 S 1,0 0,3 0:00.07 > > freeswitch > > 13834 root 20 0 26172 3488 2528 R 1,0 0,0 0:00.36 top > > 3 root 20 0 0 0 0 S 0,7 0,0 18:40.94 > > ksoftirqd/0 > > 8 root 20 0 0 0 0 S 0,7 0,0 57:06.30 > > rcu_sched > > 13599 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 27:53.60 > > freeswitch > > 13602 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 10:13.13 > > freeswitch > > 10297 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:20.80 > > freeswitch > > 10613 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:18.69 > > freeswitch > > 10838 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:17.52 > > freeswitch > > 11192 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.49 > > freeswitch > > 11409 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.54 > > freeswitch > > 11450 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.57 > > freeswitch > > 11474 freeswi+ 39 19 485252 200692 16284 S 0,7 0,3 0:14.26 > > .......... > > > > Rgards, > > Demekhov Mikhail > > > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > http://www.freeswitch.org > > > > > > ______________________________________________________________________ > > ___ Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > > rs > > http://www.freeswitch.org > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/2b5e7029/attachment-0001.html From service at ivc.nnov.ru Thu Sep 29 17:37:46 2016 From: service at ivc.nnov.ru (Mikhail Demekhov) Date: Thu, 29 Sep 2016 16:37:46 +0300 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> Message-ID: <57ED192A.9010800@ivc.nnov.ru> > Keep in mind that top showing 125% is VERY misleading... lets say you have a > 10 core system for the sake of example, 125% in top means you are using > roughly 12.5% of the total CPU Power of your system. This is because TOP > takes the individual core percentages and adds them up... I see. I would not have noticed it if not for two problems. When I want to use FS with registration will on another server, the registration works properly only when my FS is in idle mode. When the CPU load on the FS is increased to 70-100%, the registration is lost and not recovered (State FAIL_WAIT). In addition, there is a strange load on Etnernet. Every 10 minutes, the traffic fails. The number of calls is not changed. I have attached a picture. > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mikhail > Demekhov > Sent: Thursday, September 29, 2016 1:50 AM > To: freeswitch-users at lists.freeswitch.org > Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU > load > > Hello! > > I have installed freeswitch using apt-get on my debian 8 sersver from > https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > block under title 'latest release branch:' > > My server hardware: > 2xCPU AMD Opteron(tm) Processor 6262 HE > 64 GB RAM > > I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on both > leg A and leg B core.db in TMPFS > > Through my server takes about 125 simultaneous calls > > CPU load about 125%! It is very high in my opinion. > > How to fix it? > > > top > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > 13587 freeswi+ 39 19 485252 200020 16284 S 110,1 0,3 3062:38 > freeswitch > -------------- next part -------------- A non-text attachment was scrubbed... Name: traffic_fs.jpg Type: image/jpeg Size: 27784 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/7dba0d20/attachment-0001.jpg From rd-disc at gmx.net Thu Sep 29 18:51:06 2016 From: rd-disc at gmx.net (Scholz, Dieter) Date: Thu, 29 Sep 2016 16:51:06 +0200 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> <57ECF29B.1030701@gmx.net> <57ECFA90.9080204@telefaks.de> <57ED06E1.40806@gmx.net> <57ED193F.1010609@gmx.net> Message-ID: <57ED2A5A.5000809@gmx.net> Hello, no the SIP client is normally not active. I will try to put the freeswitch maschine in the same subnet than the HIPATH. Perhaps some IP filtering or routing issue is causing the problem. By the way - does it matter which sophia settings i put in my config file? Dieter Am 29.09.2016 um 15:41 schrieb David Villasmil: > But really, i doubt this is related to freeswitch per se. HIPATH > should be sending a 401 and it's not. > Are you registered with xlite WHILE attempting to register with FS? > Maybe HIPATH won't allow multiple user locations. Try unregistering > from xlite before attempting from fs... > On Thu, Sep 29, 2016 at 3:38 PM Scholz, Dieter > wrote: > > Hello, > > puh - this will be really hard to debug. X-lite and Freeswitch are > in the same subnet. > > But thanks for your help. > > > Dieter > > > Am 29.09.2016 um 14:30 schrieb David Villasmil: >> Right now i can only think HIPATH is forbidding FS's ip from >> registering... >> >> On Thu, Sep 29, 2016 at 2:19 PM, Scholz, Dieter > > wrote: >> >> Hello, >> >> in X-lite I just entered the Domain (IP address of HIPATH), >> user and password - that's all. I attached the pcap files of >> the freeswitch and the xlite sessions. >> >> It's really hard to find apropriate logging infos on the >> HIPATH :-( >> >> Dieter >> >> >> Am 29.09.2016 um 13:32 schrieb David Villasmil: >>> Can you post the sip authetication from xlite? >>> As far as challenge is concerned, after FS sends the >>> REGISTER, HIPATH is supposed to send a 401, to which FS >>> should respond with the authentication details... but you're >>> not even getting that 401.. that's why I asked you to look >>> at xlite's config, make sure that you have the exact same >>> realm in FS. >>> Also post your xlite config (minus user/pass) >>> >>> On Thu, Sep 29, 2016 at 1:27 PM, Peter Steinbach >>> > wrote: >>> >>> Seems that Hipath does not know about the number 3999 or >>> 3999 at 172.16.40.49 . Maybe it >>> must be 3999@? Or maybe Hipath needs >>> to have a challeange password in the initial invite? >>> How do you register with your X-Lite? >>> >>> Best regards >>> Peter >>> >>> >>> >>> On 09/29/16 12:53, Scholz, Dieter wrote: >>>> Hello, >>>> >>>> sorry for my stupid newbie questions. :-( I'm just >>>> starting with the whole VOIP stuff. >>>> >>>> The redirect in the picture probably is caused by our >>>> internal routing. There's a more direct way from my >>>> workstation to the HIPATH (-1 hop). But this is the >>>> connection that works!!! >>>> >>>> In the freeswitch part i do not see any redirects (the >>>> routing is different). >>>> >>>> Do you think the HIPATH is terminating the connection >>>> or does Freeswitch not send the challenge? What do I >>>> need to adapt if Freeswitch sends incomplete data? Why >>>> can register with X-lite but not with Freeswitch? What >>>> could be the difference? >>>> >>>> Dieter >>>> >>>> Am 29.09.2016 um 12:40 schrieb David Villasmil: >>>>> You didn't say anything about redirects :( >>>>> Also, you're not even receiving a challenge... >>>>> >>>>> for redirects look at >>>>> https://wiki.freeswitch.org/wiki/Dialplan_Handling_Incoming_Redirect >>>>> >>>>> Though i've never used redirects before with FS... >>>>> >>>>> Sorry >>>>> >>>>> On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter >>>>> > wrote: >>>>> >>>>> Hello, >>>>> >>>>> here is the output of ngrep: >>>>> -------------------------------------------------- >>>>> U 172.21.235.80:5080 >>>>> -> 172.16.40.49:5060 >>>>> REGISTER sip:172.16.40.49;transport=udp SIP/2.0. >>>>> Via: SIP/2.0/UDP >>>>> 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. >>>>> Max-Forwards: 70. >>>>> From: ;tag=v3cSHNK1cUKtm. >>>>> To: . >>>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>>> CSeq: 97236318 REGISTER. >>>>> Contact: >>>>> . >>>>> Expires: 3600. >>>>> User-Agent: >>>>> FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. >>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, >>>>> INFO, UPDATE, REGISTER, REFER, NOTIFY. >>>>> Supported: timer, path, replaces. >>>>> Content-Length: 0. >>>>> . >>>>> >>>>> # >>>>> U 172.16.40.49:5060 -> >>>>> 172.21.235.80:5080 >>>>> SIP/2.0 100 Trying. >>>>> Via: SIP/2.0/UDP >>>>> 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>>>> From: ;tag=v3cSHNK1cUKtm. >>>>> To: . >>>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>>> CSeq: 97236318 REGISTER. >>>>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>>>> Content-Length: 0. >>>>> . >>>>> >>>>> # >>>>> U 172.16.40.49:5060 -> >>>>> 172.21.235.80:5080 >>>>> SIP/2.0 404 Not Found. >>>>> Via: SIP/2.0/UDP >>>>> 172.21.235.80:5080;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>>>> From: ;tag=v3cSHNK1cUKtm. >>>>> To: ;tag=160135440. >>>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>>> CSeq: 97236318 REGISTER. >>>>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>>>> Content-Length: 0. >>>>> -------------------------------------------------- >>>>> >>>>> I will see if I findd entries in the HIPATH log >>>>> files (I'm not the admin of the HIPATH system). As >>>>> realm I use the IP address of the HIPATH. I >>>>> attached a picture with the relevant parts of the >>>>> Wireshark log of the X-lite session. >>>>> >>>>> Dieter >>>>> >>>>> >>>>> Am 29.09.2016 um 12:04 schrieb Peter Steinbach: >>>>> >>>>> Can you post the SIP messages going to and >>>>> from the Hipath? See my >>>>> previous mail about ngrep. >>>>> >>>>> >>>>> On 09/29/16 11:50, Scholz, Dieter wrote: >>>>> >>>>> Hello, >>>>> >>>>> thanks for your answer. >>>>> >>>>> I posted my sofia config in another mail >>>>> today. I think that my config >>>>> matches yours more or less. But when I >>>>> start freeswitch the status of >>>>> the connection is FAIL_WAIT. In the >>>>> Wireshark log I saw that a REGISTER >>>>> is send to the HIPATH but the answer is a >>>>> 404. Any ideas what to test. >>>>> Are there any sophia.conf.xml settings >>>>> that are important? >>>>> >>>>> Dieter >>>>> >>>>> Am 29.09.2016 um 11:31 schrieb David >>>>> Villasmil: >>>>> >>>>> this is what my gateway look like: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="password"/> >>>>> >>>> value="auto_to_user"/> >>>>> >>>>> >>>>> >>>>> >>>> value="tcp (or udp)"/> >>>>> >>>> value="15"/> >>>>> >>>>> >>>>> >>>>> This should work... If you get Not >>>>> Found, try looking at your server's >>>>> log. >>>>> >>>>> you also should create an outgoing >>>>> gateway, even if you're not >>>>> registering, like: >>>>> >>>>> assuming the outgoing gateway will not >>>>> auth-challenge you: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="tcp (or udp)"/> >>>>> >>>> value="15"/> >>>>> >>>>> >>>>> Adding it to the external is a good >>>>> idea, so the final config will be: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> value="password"/> >>>>> >>>> value="auto_to_user"/> >>>>> >>>>> >>>>> >>>>> >>>> value="tcp (or udp)"/> >>>>> >>>> value="15"/> >>>>> >>>>> >>>>> >>>>> >>>> value="does_not_matter_will_not_be >>>>> used_but_must_be_set"/> >>>>> >>>>> >>>> value="does_not_matter_will_not_be >>>>> used_but_must_be_set"/> >>>>> >>>>> >>>>> >>>>> >>>> value="tcp (or udp)"/> >>>>> >>>> value="15"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Once this is working and you see it >>>>> REGED, calls will be coming in (as >>>>> per "context") on the public >>>>> dialplan... the you just need to bridge >>>>> it like: >>>>> >>>>> >>>>> >>>> expression="^(whatever your >>>>> regexp is)$"> >>>>> >>>>> >>>> data="sofia/gateway/outgoing_gw/$1"/> >>>>> >>>>> >>>>> >>>>> >>>>> I hope I was able to help.. >>>>> >>>>> Enjoy freeSWITCH, it's fantastic! >>>>> >>>>> David >>>>> >>>>> On Thu, Sep 29, 2016 at 9:40 AM, >>>>> Scholz, Dieter >>>> >>>>> >>>> >> wrote: >>>>> >>>>> Hello, >>>>> >>>>> thanks for your comment. The URL >>>>> you mentioned will be helpful, when I >>>>> reach the dialplan stage. >>>>> >>>>> But at the moment I have problems >>>>> connecting to the HIPATH maschine. I >>>>> gave some more details in another >>>>> post. >>>>> >>>>> Dieter >>>>> >>>>> >>>>> Am 28.09.2016 um 17:25 schrieb >>>>> Stanislav Sinyagin: >>>>> > you need to create one more >>>>> gateway that will communicate to >>>>> your SIP >>>>> > provider. This gateway can be >>>>> configured with username and >>>>> password if >>>>> > the ITSP requires authentication. >>>>> > >>>>> > Then, you will need to create >>>>> the dialplan that accepts calls from >>>>> > each of these gateways and >>>>> routes them to the other gateway. >>>>> > >>>>> > It's quite trivial once you >>>>> figure out how SIP profiles and dialplan >>>>> > contexts work together. >>>>> > >>>>> > Hopefully this will provide you >>>>> some hints: >>>>> > >>>>> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+PBX+Example >>>>> >>>>> >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > On Wed, Sep 28, 2016 at 2:22 >>>>> PM, Scholz, Dieter >>>> >>>>> >>>> >> wrote: >>>>> >> Hello, >>>>> >> >>>>> >> this is my problem: >>>>> >> >>>>> >> I would like to use Freeswitch >>>>> as a gateway between our Hipath >>>>> PBX and >>>>> >> an external SIP provider. >>>>> >> >>>>> >> For that I created a Hipath >>>>> SIP account that is working (tested >>>>> with >>>>> >> X-lite). Now I would like to >>>>> let Freeswitch act as a client >>>>> using this >>>>> >> SIP account. Whenever there is >>>>> an incoming call Freeswitch >>>>> should act on >>>>> >> it and forward this call to an >>>>> external SIP provider. >>>>> >> >>>>> >> Is this possible? Does that >>>>> make sense? Are there alternatives? >>>>> >> >>>>> >> At the moment I'm stuck to >>>>> configure Freeswitch as a client. I >>>>> added the >>>>> >> Hipath SIP account as a >>>>> gateway. When I compare the SIP traffic of >>>>> >> X-lite and Freeswitch using >>>>> Wireshark I found out that >>>>> Freeswitch dows >>>>> >> not offer the 'Subscribe' >>>>> option. Is this the reason why it fails? >>>>> >> >>>>> >> Can you help me? >>>>> >> >>>>> >> Thanks in advance. >>>>> >> >>>>> >> Dieter >>>>> >> >>>>> >> >>>>> _________________________________________________________________________ >>>>> >> Professional FreeSWITCH >>>>> Consulting Services: >>>>> >> consulting at 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 at lists.freeswi >>>>> tch.org >>>>> >>>>> >>>> > >>>>> >> >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> >>>>> >> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>> eswitch-users >>>>> >>>>> >>>>> >> http://www.freeswitch.org >>>>> > >>>>> _________________________________________________________________________ >>>>> > Professional FreeSWITCH >>>>> Consulting Services: >>>>> > consulting at 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 at lists.freeswi >>>>> tch.org >>>>> >>>>> >>>> > >>>>> > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> >>>>> > >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>> eswitch-users >>>>> >>>>> >>>>> > http://www.freeswitch.org >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting >>>>> Services: >>>>> consulting at 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 at lists.freesw >>>>> itch.org >>>>> >>>> > >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >>>>> >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>> eswitch-users >>>>> >>>>> >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting >>>>> Services: >>>>> consulting at 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 at lists.freeswi >>>>> tch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswi >>>>> tch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>> switch-users >>>>> http://www.freeswitch.org >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org >>>> >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>> >>> -- >>> With kind regards >>> Peter Steinbach >>> >>> Telefaks Services GmbH >>> mailto:lists (att)telefaks.de >>> Internet:www.telefaks.de >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/83058d32/attachment-0001.html From v.zakhozhai at gmail.com Thu Sep 29 18:54:12 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Thu, 29 Sep 2016 14:54:12 +0000 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: Mirko, thank you for your answer. Your information is very useful for me (I did not think that I need to close every condition but nevermind). But it is not actually my problem. Let me put it this way: I've added some verbosity with logging extension name. Logs says that ua_mobile passed pattern check. But ua_local also passed the check. And ua_local is to be executed. But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see empty pattern against ua_local and ua_mobile: In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false In case ua_local and ua_mobile: destination_number(0930000000) =~ // break=on-false I'm pretty confused :) And FS log: 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing vlakas ->0930000000 in context internal Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=true Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_local) Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_mobile] continue=true Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_mobile] destination_number(0930000000) =~ // break=on-false Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_mobile) Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> CS_EXECUTE 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change CS_EXECUTE 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/ vlakas at unitrans.tull.pp.ua SOFIA EXECUTE 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension ua_local) 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua bridge(sofia/gateway/golden/0930000000) On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic wrote: > You need to close both conditions. > Correct this one: > > > > Some action > > > > with this one/or remove one: > > > > > Some action > > > > > On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > >> David, thank you for your answer. >> >> I've mentioned that I have no problems with extension is_local_call. It >> will be matched only if SIP message has custom header X-Exten-Type=internal. >> >> If SIP message has no this header and To user is 0930000000 it does not >> match ua_mobile, but ua_local for some reason. >> >> When I'd remove is_local_call all numeric destinations are matched >> against ua_local. >> >> Here is part of FS log: >> >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->echo_test] continue=false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->is_internal_call] continue=false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >> [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->ua_local] continue=false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [ua_local] destination_number(0930000000) =~ // break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> bridge(sofia/gateway/golden/${destination_number}) >> >> I've removed extension is_local_call and have: >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->echo_test] continue=false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->ua_local] continue=false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [ua_local] destination_number(0930000000) =~ // break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> bridge(sofia/gateway/golden/${destination_number}) >> >> I can't understand why expression in log for ua_local is empty >> >> Regex (PASS) [ua_local] destination_number(0930000000) =~ // >> break=on-false >> >> >> >> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >>> you're hitting internal before 09 >>> >>> >>> >>> >>> Some action >>> >>> >>> >>> >>> >>> >> data="sofia/gateway/golden/${destination_number}"/> >>> >>> >>> >>> try removing " >> expression=".*"/>" >>> >>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >>> v.zakhozhai at gmail.com> wrote: >>> >>>> Hi, >>>> >>>> I've mentioned that pattern matching in my dialplan works incorrectly >>>> but I can't figure out the main reason. >>>> >>>> For example I have the following dialplan: >>>> >>>> >>>> >>> expression="^(echo|9999)$"> >>>> Some action >>>> >>>> >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> >>> experession="^[2-5][0-9]{6}$"> >>>> Some action >>>> >>> >>>> >>>> >>>> >>> data="sofia/gateway/golden/${destination_number}"/> >>>> >>>> >>>> >>>> >>>> 1. Call to "echo" - OK (echo_test) >>>> 2. Call to some extension with custom header X-Exten-Type - OK >>>> (is_internal_call) >>>> 3. Call to 5930000 - OK (ua_local) >>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>> >>>> The last call matches ua_local. But why? >>>> >>>> The result of regex dp_tool >>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>> true >>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>> false >>>> >>>> So, everything is correct. I can't understand why almost everyting goes >>>> to ua_local extension. >>>> >>>> I appreciate you help. >>>> >>>> >>>> -- >>>> Best regards, >>>> Vladyslav Zakhozhai >>>> email: v.zakhozhai at gmail.com >>>> tel.: +380(93) 757-21-61 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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 at 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 at 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, >> Vladyslav Zakhozhai >> email: v.zakhozhai at gmail.com >> tel.: +380(93) 757-21-61 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > ?\_(?)_/? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/bc50464a/attachment-0001.html From kworm at sofnet.com Thu Sep 29 19:03:20 2016 From: kworm at sofnet.com (Kevin Wormington) Date: Thu, 29 Sep 2016 10:03:20 -0500 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: <3D197259-9BAE-40F8-B297-876D1CF32EAD@sofnet.com> expression is spelled wrong on ua_local and ua_mobile > On Sep 29, 2016, at 9:54 AM, Vladyslav Zakhozhai wrote: > > Mirko, thank you for your answer. > Your information is very useful for me (I did not think that I need to close every condition but nevermind). > > But it is not actually my problem. Let me put it this way: > > > > > > > > > > > > > > > > > > > > > > > > > > I've added some verbosity with logging extension name. > Logs says that ua_mobile passed pattern check. But ua_local also passed the check. And ua_local is to be executed. > > But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see empty pattern against ua_local and ua_mobile: > > In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > In case ua_local and ua_mobile: destination_number(0930000000) =~ // break=on-false > > I'm pretty confused :) > > And FS log: > > 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing vlakas ->0930000000 in context internal > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=true > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_local) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_mobile] continue=true > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_mobile] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_mobile) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> CS_EXECUTE > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change CS_EXECUTE > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE > 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/vlakas at unitrans.tull.pp.ua SOFIA EXECUTE > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension ua_local) > 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua bridge(sofia/gateway/golden/0930000000) > > > On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic wrote: > You need to close both conditions. > Correct this one: > > > > Some action > > > > with this one/or remove one: > > > > > Some action > > > > > On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai wrote: > David, thank you for your answer. > > I've mentioned that I have no problems with extension is_local_call. It will be matched only if SIP message has custom header X-Exten-Type=internal. > > If SIP message has no this header and To user is 0930000000 it does not match ua_mobile, but ua_local for some reason. > > When I'd remove is_local_call all numeric destinations are matched against ua_local. > > Here is part of FS log: > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->is_internal_call] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) > > I've removed extension is_local_call and have: > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) > > I can't understand why expression in log for ua_local is empty > > Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > > > > On Thu, Sep 29, 2016 at 3:03 PM David Villasmil wrote: > you're hitting internal before 09 > > > > > Some action > > > > > > > > > > try removing " " > > On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai wrote: > Hi, > > I've mentioned that pattern matching in my dialplan works incorrectly but I can't figure out the main reason. > > For example I have the following dialplan: > > > > Some action > > > > > > Some action > > > > > Some action > > > > > > > > > 1. Call to "echo" - OK (echo_test) > 2. Call to some extension with custom header X-Exten-Type - OK (is_internal_call) > 3. Call to 5930000 - OK (ua_local) > 4. Call to 0930000000 - FAILED to match ua_mobile extension. > > The last call matches ua_local. But why? > > The result of regex dp_tool > freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ > true > freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ > false > > So, everything is correct. I can't understand why almost everyting goes to ua_local extension. > > I appreciate you help. > > > -- > Best regards, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Regards, > Mirko > ?\_(?)_/? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From v.kovalyshyn at gmail.com Thu Sep 29 19:15:29 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Thu, 29 Sep 2016 18:15:29 +0300 Subject: [Freeswitch-users] New Chrome Extension for mod_verto Message-ID: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Hi there! We've made the Chrome Extension & Application for FreeSWITCH mod-verto. It supports: Audio & Video calls via mod_verto Screen sharing Click-to-call in any web-page Address book Multiline Be free to download and test it: https://chrome.google.com/webstore/search/webitel Best regards, Vitaly Kovalyshyn http://kovalyshyn.pp.ua/ Twitter: @kovalyshyn http://???????.???/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/e1449220/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3701 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/e1449220/attachment.bin From david.villasmil.work at gmail.com Thu Sep 29 19:18:01 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 15:18:01 +0000 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: <3D197259-9BAE-40F8-B297-876D1CF32EAD@sofnet.com> References: <3D197259-9BAE-40F8-B297-876D1CF32EAD@sofnet.com> Message-ID: Lol! It's usually these things! Good catch! On Thu, Sep 29, 2016 at 5:04 PM Kevin Wormington wrote: > expression is spelled wrong on ua_local and ua_mobile > > > On Sep 29, 2016, at 9:54 AM, Vladyslav Zakhozhai > wrote: > > > > Mirko, thank you for your answer. > > Your information is very useful for me (I did not think that I need to > close every condition but nevermind). > > > > But it is not actually my problem. Let me put it this way: > > > > > > > > > > > > > > > > > > > > > > > > > > > > data="sofia/gateway/golden/${destination_number}"/> > > > > > > > > > > > > > > data="sofia/gateway/golden/${destination_number}"/> > > > > > > > > > > I've added some verbosity with logging extension name. > > Logs says that ua_mobile passed pattern check. But ua_local also passed > the check. And ua_local is to be executed. > > > > But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see > empty pattern against ua_local and ua_mobile: > > > > In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ > break=on-false > > In case ua_local and ua_mobile: destination_number(0930000000) =~ // > break=on-false > > > > I'm pretty confused :) > > > > And FS log: > > > > 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing > vlakas ->0930000000 in context internal > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->echo_test] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_local] continue=true > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_local] destination_number(0930000000) =~ // break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO > Extension ua_local) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_mobile] continue=true > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_mobile] destination_number(0930000000) =~ // break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO > Extension ua_mobile) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 > (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> > CS_EXECUTE > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 > (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 > (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change > CS_EXECUTE > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 > (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE > > 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/ > vlakas at unitrans.tull.pp.ua SOFIA EXECUTE > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 > sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE > > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension > ua_local) > > 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local > > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua > bridge(sofia/gateway/golden/0930000000) > > > > > > On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic < > mirkobrankovic at gmail.com> wrote: > > You need to close both conditions. > > Correct this one: > > > > > > > > Some action > > > > > > > > with this one/or remove one: > > > > > > > > > > Some action > > > > > > > > > > On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > > David, thank you for your answer. > > > > I've mentioned that I have no problems with extension is_local_call. It > will be matched only if SIP message has custom header X-Exten-Type=internal. > > > > If SIP message has no this header and To user is 0930000000 it does not > match ua_mobile, but ua_local for some reason. > > > > When I'd remove is_local_call all numeric destinations are matched > against ua_local. > > > > Here is part of FS log: > > > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->echo_test] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->is_internal_call] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_local] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_local] destination_number(0930000000) =~ // break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > > > > I've removed extension is_local_call and have: > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->echo_test] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_local] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_local] destination_number(0930000000) =~ // break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > > > > I can't understand why expression in log for ua_local is empty > > > > Regex (PASS) [ua_local] destination_number(0930000000) =~ // > break=on-false > > > > > > > > On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > > you're hitting internal before 09 > > > > > > > > > > Some action > > > > > > > > > > > > data="sofia/gateway/golden/${destination_number}"/> > > > > > > > > try removing " expression=".*"/>" > > > > On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > > Hi, > > > > I've mentioned that pattern matching in my dialplan works incorrectly > but I can't figure out the main reason. > > > > For example I have the following dialplan: > > > > > > > > Some action > > > > > > > > > > > > Some action > > > > > > > > experession="^[2-5][0-9]{6}$"> > > Some action > > > > > > > > > data="sofia/gateway/golden/${destination_number}"/> > > > > > > > > > > 1. Call to "echo" - OK (echo_test) > > 2. Call to some extension with custom header X-Exten-Type - OK > (is_internal_call) > > 3. Call to 5930000 - OK (ua_local) > > 4. Call to 0930000000 - FAILED to match ua_mobile extension. > > > > The last call matches ua_local. But why? > > > > The result of regex dp_tool > > freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ > > true > > freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ > > false > > > > So, everything is correct. I can't understand why almost everyting goes > to ua_local extension. > > > > I appreciate you help. > > > > > > -- > > Best regards, > > Vladyslav Zakhozhai > > email: v.zakhozhai at gmail.com > > tel.: +380(93) 757-21-61 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at 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, > > Vladyslav Zakhozhai > > email: v.zakhozhai at gmail.com > > tel.: +380(93) 757-21-61 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > -- > > Regards, > > Mirko > > ?\_(?)_/? > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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, > > Vladyslav Zakhozhai > > email: v.zakhozhai at gmail.com > > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/b8ac97e5/attachment-0001.html From kworm at sofnet.com Thu Sep 29 19:24:27 2016 From: kworm at sofnet.com (Kevin Wormington) Date: Thu, 29 Sep 2016 10:24:27 -0500 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: <3D197259-9BAE-40F8-B297-876D1CF32EAD@sofnet.com> Message-ID: Lol?I wish everything were this easy. I guess the real question is if this is a bug in FS?should it have thrown an error parsing the dial plan? > On Sep 29, 2016, at 10:18 AM, David Villasmil wrote: > > Lol! It's usually these things! Good catch! > On Thu, Sep 29, 2016 at 5:04 PM Kevin Wormington wrote: > expression is spelled wrong on ua_local and ua_mobile > > > On Sep 29, 2016, at 9:54 AM, Vladyslav Zakhozhai wrote: > > > > Mirko, thank you for your answer. > > Your information is very useful for me (I did not think that I need to close every condition but nevermind). > > > > But it is not actually my problem. Let me put it this way: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I've added some verbosity with logging extension name. > > Logs says that ua_mobile passed pattern check. But ua_local also passed the check. And ua_local is to be executed. > > > > But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see empty pattern against ua_local and ua_mobile: > > > > In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > > In case ua_local and ua_mobile: destination_number(0930000000) =~ // break=on-false > > > > I'm pretty confused :) > > > > And FS log: > > > > 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing vlakas ->0930000000 in context internal > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=true > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_local) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_mobile] continue=true > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_mobile] destination_number(0930000000) =~ // break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_mobile) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> CS_EXECUTE > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change CS_EXECUTE > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE > > 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/vlakas at unitrans.tull.pp.ua SOFIA EXECUTE > > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE > > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension ua_local) > > 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local > > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua bridge(sofia/gateway/golden/0930000000) > > > > > > On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic wrote: > > You need to close both conditions. > > Correct this one: > > > > > > > > Some action > > > > > > > > with this one/or remove one: > > > > > > > > > > Some action > > > > > > > > > > On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai wrote: > > David, thank you for your answer. > > > > I've mentioned that I have no problems with extension is_local_call. It will be matched only if SIP message has custom header X-Exten-Type=internal. > > > > If SIP message has no this header and To user is 0930000000 it does not match ua_mobile, but ua_local for some reason. > > > > When I'd remove is_local_call all numeric destinations are matched against ua_local. > > > > Here is part of FS log: > > > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->is_internal_call] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) > > > > I've removed extension is_local_call and have: > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) > > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) > > > > I can't understand why expression in log for ua_local is empty > > > > Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false > > > > > > > > On Thu, Sep 29, 2016 at 3:03 PM David Villasmil wrote: > > you're hitting internal before 09 > > > > > > > > > > Some action > > > > > > > > > > > > > > > > > > > > try removing " " > > > > On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai wrote: > > Hi, > > > > I've mentioned that pattern matching in my dialplan works incorrectly but I can't figure out the main reason. > > > > For example I have the following dialplan: > > > > > > > > Some action > > > > > > > > > > > > Some action > > > > > > > > > > Some action > > > > > > > > > > > > > > > > > > > 1. Call to "echo" - OK (echo_test) > > 2. Call to some extension with custom header X-Exten-Type - OK (is_internal_call) > > 3. Call to 5930000 - OK (ua_local) > > 4. Call to 0930000000 - FAILED to match ua_mobile extension. > > > > The last call matches ua_local. But why? > > > > The result of regex dp_tool > > freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ > > true > > freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ > > false > > > > So, everything is correct. I can't understand why almost everyting goes to ua_local extension. > > > > I appreciate you help. > > > > > > -- > > Best regards, > > Vladyslav Zakhozhai > > email: v.zakhozhai at gmail.com > > tel.: +380(93) 757-21-61 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at 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, > > Vladyslav Zakhozhai > > email: v.zakhozhai at gmail.com > > tel.: +380(93) 757-21-61 > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > -- > > Regards, > > Mirko > > ?\_(?)_/? > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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, > > Vladyslav Zakhozhai > > email: v.zakhozhai at gmail.com > > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From v.zakhozhai at gmail.com Thu Sep 29 19:25:13 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Thu, 29 Sep 2016 15:25:13 +0000 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: <3D197259-9BAE-40F8-B297-876D1CF32EAD@sofnet.com> Message-ID: Oh, my God. So silly. Kevin, thank you. I've focused on logic more than on simple things and did not pay attention on misspelling :) On Thu, Sep 29, 2016 at 6:18 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > Lol! It's usually these things! Good catch! > On Thu, Sep 29, 2016 at 5:04 PM Kevin Wormington wrote: > >> expression is spelled wrong on ua_local and ua_mobile >> >> > On Sep 29, 2016, at 9:54 AM, Vladyslav Zakhozhai >> wrote: >> > >> > Mirko, thank you for your answer. >> > Your information is very useful for me (I did not think that I need to >> close every condition but nevermind). >> > >> > But it is not actually my problem. Let me put it this way: >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > data="sofia/gateway/golden/${destination_number}"/> >> > >> > >> > >> > >> > >> > >> > > data="sofia/gateway/golden/${destination_number}"/> >> > >> > >> > >> > >> > I've added some verbosity with logging extension name. >> > Logs says that ua_mobile passed pattern check. But ua_local also passed >> the check. And ua_local is to be executed. >> > >> > But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see >> empty pattern against ua_local and ua_mobile: >> > >> > In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ >> break=on-false >> > In case ua_local and ua_mobile: destination_number(0930000000) =~ // >> break=on-false >> > >> > I'm pretty confused :) >> > >> > And FS log: >> > >> > 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing >> vlakas ->0930000000 in context internal >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->echo_test] continue=false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->ua_local] continue=true >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [ua_local] destination_number(0930000000) =~ // break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >> Extension ua_local) >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> bridge(sofia/gateway/golden/${destination_number}) >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->ua_mobile] continue=true >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [ua_mobile] destination_number(0930000000) =~ // break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >> Extension ua_mobile) >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> bridge(sofia/gateway/golden/${destination_number}) >> > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 >> (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> >> CS_EXECUTE >> > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 >> (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep >> > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 >> (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change >> CS_EXECUTE >> > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 >> (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >> > 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/ >> vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >> > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 >> sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >> > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension >> ua_local) >> > 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local >> > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua >> bridge(sofia/gateway/golden/0930000000) >> > >> > >> > On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic < >> mirkobrankovic at gmail.com> wrote: >> > You need to close both conditions. >> > Correct this one: >> > >> > >> > >> > Some action >> > >> > >> > >> > with this one/or remove one: >> > >> > >> > >> > >> > Some action >> > >> > >> > >> > >> > On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> > David, thank you for your answer. >> > >> > I've mentioned that I have no problems with extension is_local_call. It >> will be matched only if SIP message has custom header X-Exten-Type=internal. >> > >> > If SIP message has no this header and To user is 0930000000 it does not >> match ua_mobile, but ua_local for some reason. >> > >> > When I'd remove is_local_call all numeric destinations are matched >> against ua_local. >> > >> > Here is part of FS log: >> > >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->echo_test] continue=false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->is_internal_call] continue=false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >> [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->ua_local] continue=false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [ua_local] destination_number(0930000000) =~ // break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> bridge(sofia/gateway/golden/${destination_number}) >> > >> > I've removed extension is_local_call and have: >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->echo_test] continue=false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->ua_local] continue=false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [ua_local] destination_number(0930000000) =~ // break=on-false >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >> > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> bridge(sofia/gateway/golden/${destination_number}) >> > >> > I can't understand why expression in log for ua_local is empty >> > >> > Regex (PASS) [ua_local] destination_number(0930000000) =~ // >> break=on-false >> > >> > >> > >> > On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> > you're hitting internal before 09 >> > >> > >> > >> > >> > Some action >> > >> > >> > >> > >> > >> > > data="sofia/gateway/golden/${destination_number}"/> >> > >> > >> > >> > try removing " > expression=".*"/>" >> > >> > On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> > Hi, >> > >> > I've mentioned that pattern matching in my dialplan works incorrectly >> but I can't figure out the main reason. >> > >> > For example I have the following dialplan: >> > >> > >> > > expression="^(echo|9999)$"> >> > Some action >> > >> > >> > >> > >> > >> > Some action >> > >> > >> > >> > > experession="^[2-5][0-9]{6}$"> >> > Some action >> > > > >> > >> > >> > > data="sofia/gateway/golden/${destination_number}"/> >> > >> > >> > >> > >> > 1. Call to "echo" - OK (echo_test) >> > 2. Call to some extension with custom header X-Exten-Type - OK >> (is_internal_call) >> > 3. Call to 5930000 - OK (ua_local) >> > 4. Call to 0930000000 - FAILED to match ua_mobile extension. >> > >> > The last call matches ua_local. But why? >> > >> > The result of regex dp_tool >> > freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >> > true >> > freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >> > false >> > >> > So, everything is correct. I can't understand why almost everyting goes >> to ua_local extension. >> > >> > I appreciate you help. >> > >> > >> > -- >> > Best regards, >> > Vladyslav Zakhozhai >> > email: v.zakhozhai at gmail.com >> > tel.: +380(93) 757-21-61 >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at 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 at 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 at 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, >> > Vladyslav Zakhozhai >> > email: v.zakhozhai at gmail.com >> > tel.: +380(93) 757-21-61 >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > http://www.freeswitch.org >> > >> > >> > >> > -- >> > Regards, >> > Mirko >> > ?\_(?)_/? >> > >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at 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, >> > Vladyslav Zakhozhai >> > email: v.zakhozhai at gmail.com >> > tel.: +380(93) 757-21-61 >> > >> _________________________________________________________________________ >> > Professional FreeSWITCH Consulting Services: >> > consulting at 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 at 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 at 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 at 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 at 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 at 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, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/c0b0082c/attachment-0001.html From gmaruzz at gmail.com Thu Sep 29 19:41:54 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 29 Sep 2016 17:41:54 +0200 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: Hi Vitaly, congratulations! And thanks for sharing! Can you please add some little documentation on how to use it? After some trial I succeeded in login on my server (using a wss uri) but then I tried to call an extension and the call was back to myself (in the chrome app). So, I made some kind of error. Can you add some little docs on how to use it to login and use a standard freeswitch/verto server? Congrats again, -giovanni On 29 September 2016 at 17:15, Vitaly Kovalyshyn wrote: > Hi there! > > We've made the Chrome Extension & Application for FreeSWITCH *mod-verto*. > > It supports: > > > - Audio & Video calls via mod_verto > - Screen sharing > - Click-to-call in any web-page > - Address book > - Multiline > > > Be free to download and test it: https://chrome.google.com/ > webstore/search/webitel > > > Best regards, > Vitaly Kovalyshyn > > http://kovalyshyn.pp.ua/ > Twitter: @kovalyshyn > > http://???????.???/ > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/22512515/attachment.html From v.kovalyshyn at gmail.com Thu Sep 29 19:51:21 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Thu, 29 Sep 2016 18:51:21 +0300 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: I think, I can do it... Best regards, Vitaly Kovalyshyn > On Sep 29, 2016, at 6:41 PM, Giovanni Maruzzelli wrote: > > Hi Vitaly, > > congratulations! And thanks for sharing! > > Can you please add some little documentation on how to use it? > > After some trial I succeeded in login on my server (using a wss uri) but then I tried to call an extension and the call was back to myself (in the chrome app). > > So, I made some kind of error. > > Can you add some little docs on how to use it to login and use a standard freeswitch/verto server? > > Congrats again, > > -giovanni > > > > On 29 September 2016 at 17:15, Vitaly Kovalyshyn > wrote: > Hi there! > > We've made the Chrome Extension & Application for FreeSWITCH mod-verto. > > It supports: > > Audio & Video calls via mod_verto > Screen sharing > Click-to-call in any web-page > Address book > Multiline > > Be free to download and test it: https://chrome.google.com/webstore/search/webitel > > Best regards, > Vitaly Kovalyshyn > > http://kovalyshyn.pp.ua/ > Twitter: @kovalyshyn > > http://???????.???/ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/7cff5808/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3701 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/7cff5808/attachment.bin From anthony.minessale at gmail.com Thu Sep 29 19:53:25 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 29 Sep 2016 10:53:25 -0500 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: Hi, 1) You should pass iceServers: true to your verto handle constructor or have a param to toggle it. Without enabling stun in chrome you can't get any srvflex candidates which will cause nat issues. 2) You should not only have fields for login and pass but also for caller id name and number. 3) The server tab does not make it clear that it wants a wss url. Maybe just ask for server and port and generate the wss url. On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn wrote: > Hi there! > > We've made the Chrome Extension & Application for FreeSWITCH *mod-verto*. > > It supports: > > > - Audio & Video calls via mod_verto > - Screen sharing > - Click-to-call in any web-page > - Address book > - Multiline > > > Be free to download and test it: https://chrome.google.com/ > webstore/search/webitel > > > Best regards, > Vitaly Kovalyshyn > > http://kovalyshyn.pp.ua/ > Twitter: @kovalyshyn > > http://???????.???/ > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/7a3a923e/attachment-0001.html From mike at jerris.com Thu Sep 29 19:55:09 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 29 Sep 2016 11:55:09 -0400 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: <3D197259-9BAE-40F8-B297-876D1CF32EAD@sofnet.com> Message-ID: <94161C6D-08CD-4B99-8F3E-75F247C67531@jerris.com> We have intentionally decided not to use a validating xml parser for operational efficiency. The unfortunate downside of this is we won?t catch errors like this. Its not a bug, but coming up with scripts to validate this stuff would be really nice. There was some work on that a few years back by some members of the community but I don?t think it got very far. Mike > On Sep 29, 2016, at 11:24 AM, Kevin Wormington wrote: > > Lol?I wish everything were this easy. I guess the real question is if this is a bug in FS?should it have thrown an error parsing the dial plan? > >> On Sep 29, 2016, at 10:18 AM, David Villasmil wrote: >> >> Lol! It's usually these things! Good catch! >> On Thu, Sep 29, 2016 at 5:04 PM Kevin Wormington wrote: >> expression is spelled wrong on ua_local and ua_mobile >> >>> On Sep 29, 2016, at 9:54 AM, Vladyslav Zakhozhai wrote: >>> >>> Mirko, thank you for your answer. >>> Your information is very useful for me (I did not think that I need to close every condition but nevermind). >>> >>> But it is not actually my problem. Let me put it this way: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> I've added some verbosity with logging extension name. >>> Logs says that ua_mobile passed pattern check. But ua_local also passed the check. And ua_local is to be executed. >>> >>> But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see empty pattern against ua_local and ua_mobile: >>> >>> In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>> In case ua_local and ua_mobile: destination_number(0930000000) =~ // break=on-false >>> >>> I'm pretty confused :) >>> >>> And FS log: >>> >>> 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing vlakas ->0930000000 in context internal >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=true >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_local) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_mobile] continue=true >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_mobile] destination_number(0930000000) =~ // break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_mobile) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> CS_EXECUTE >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change CS_EXECUTE >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >>> 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension ua_local) >>> 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local >>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua bridge(sofia/gateway/golden/0930000000) >>> >>> >>> On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic wrote: >>> You need to close both conditions. >>> Correct this one: >>> >>> >>> >>> Some action >>> >>> >>> >>> with this one/or remove one: >>> >>> >>> >>> >>> Some action >>> >>> >>> >>> >>> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai wrote: >>> David, thank you for your answer. >>> >>> I've mentioned that I have no problems with extension is_local_call. It will be matched only if SIP message has custom header X-Exten-Type=internal. >>> >>> If SIP message has no this header and To user is 0930000000 it does not match ua_mobile, but ua_local for some reason. >>> >>> When I'd remove is_local_call all numeric destinations are matched against ua_local. >>> >>> Here is part of FS log: >>> >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->is_internal_call] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>> >>> I've removed extension is_local_call and have: >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>> >>> I can't understand why expression in log for ua_local is empty >>> >>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>> >>> >>> >>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil wrote: >>> you're hitting internal before 09 >>> >>> >>> >>> >>> Some action >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> try removing " " >>> >>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai wrote: >>> Hi, >>> >>> I've mentioned that pattern matching in my dialplan works incorrectly but I can't figure out the main reason. >>> >>> For example I have the following dialplan: >>> >>> >>> >>> Some action >>> >>> >>> >>> >>> >>> Some action >>> >>> >>> >>> >>> Some action >>> >> >>> >>> >>> >>> >>> >>> >>> >>> 1. Call to "echo" - OK (echo_test) >>> 2. Call to some extension with custom header X-Exten-Type - OK (is_internal_call) >>> 3. Call to 5930000 - OK (ua_local) >>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>> >>> The last call matches ua_local. But why? >>> >>> The result of regex dp_tool >>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>> true >>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>> false >>> >>> So, everything is correct. I can't understand why almost everyting goes to ua_local extension. >>> >>> I appreciate you help. >>> From v.kovalyshyn at gmail.com Thu Sep 29 19:58:18 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Thu, 29 Sep 2016 18:58:18 +0300 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: <56CF1E21-D522-4419-BDEC-4C4573EED64E@gmail.com> Hi, 1) Accepted 2) Accepted 3) We'll do an example in this field. Just server and port is not enough, we use nginx as a web socket proxy with virtual directory... Best regards, Vitaly Kovalyshyn > On Sep 29, 2016, at 6:53 PM, Anthony Minessale wrote: > > Hi, > > 1) You should pass > iceServers: true > > to your verto handle constructor or have a param to toggle it. Without enabling stun in chrome you can't get any srvflex candidates which will cause nat issues. > > > > 2) You should not only have fields for login and pass but also for caller id name and number. > > > > 3) The server tab does not make it clear that it wants a wss url. Maybe just ask for server and port and generate the wss url. > > > > > On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn > wrote: > Hi there! > > We've made the Chrome Extension & Application for FreeSWITCH mod-verto. > > It supports: > > Audio & Video calls via mod_verto > Screen sharing > Click-to-call in any web-page > Address book > Multiline > > Be free to download and test it: https://chrome.google.com/webstore/search/webitel > > Best regards, > Vitaly Kovalyshyn > > http://kovalyshyn.pp.ua/ > Twitter: @kovalyshyn > > http://???????.???/ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/9bc53d85/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3701 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/9bc53d85/attachment-0001.bin From v.kovalyshyn at gmail.com Thu Sep 29 20:17:53 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Thu, 29 Sep 2016 19:17:53 +0300 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: Short how-to: http://kovalyshyn.pp.ua/1249.html Best regards, Vitaly Kovalyshyn > On Sep 29, 2016, at 6:51 PM, Vitaly Kovalyshyn wrote: > > I think, I can do it... > > > Best regards, > Vitaly Kovalyshyn > > >> On Sep 29, 2016, at 6:41 PM, Giovanni Maruzzelli > wrote: >> >> Hi Vitaly, >> >> congratulations! And thanks for sharing! >> >> Can you please add some little documentation on how to use it? >> >> After some trial I succeeded in login on my server (using a wss uri) but then I tried to call an extension and the call was back to myself (in the chrome app). >> >> So, I made some kind of error. >> >> Can you add some little docs on how to use it to login and use a standard freeswitch/verto server? >> >> Congrats again, >> >> -giovanni >> >> >> >> On 29 September 2016 at 17:15, Vitaly Kovalyshyn > wrote: >> Hi there! >> >> We've made the Chrome Extension & Application for FreeSWITCH mod-verto. >> >> It supports: >> >> Audio & Video calls via mod_verto >> Screen sharing >> Click-to-call in any web-page >> Address book >> Multiline >> >> Be free to download and test it: https://chrome.google.com/webstore/search/webitel >> >> Best regards, >> Vitaly Kovalyshyn >> >> http://kovalyshyn.pp.ua/ >> Twitter: @kovalyshyn >> >> http://???????.???/ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/d0ad62b8/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3701 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/d0ad62b8/attachment.bin From asilva at wirelessmundi.com Thu Sep 29 20:29:41 2016 From: asilva at wirelessmundi.com (Antonio Silva) Date: Thu, 29 Sep 2016 18:29:41 +0200 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: +1 Very nice!! thanks for sharing On 09/29/2016 06:17 PM, Vitaly Kovalyshyn wrote: > Short how-to: http://kovalyshyn.pp.ua/1249.html > > > Best regards, > Vitaly Kovalyshyn > > > >> On Sep 29, 2016, at 6:51 PM, Vitaly Kovalyshyn >> > wrote: >> >> I think, I can do it... >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> >>> On Sep 29, 2016, at 6:41 PM, Giovanni Maruzzelli >> > wrote: >>> >>> Hi Vitaly, >>> >>> congratulations! And thanks for sharing! >>> >>> Can you please add some little documentation on how to use it? >>> >>> After some trial I succeeded in login on my server (using a wss uri) >>> but then I tried to call an extension and the call was back to >>> myself (in the chrome app). >>> >>> So, I made some kind of error. >>> >>> Can you add some little docs on how to use it to login and use a >>> standard freeswitch/verto server? >>> >>> Congrats again, >>> >>> -giovanni >>> >>> >>> >>> On 29 September 2016 at 17:15, Vitaly Kovalyshyn >>> > wrote: >>> >>> Hi there! >>> >>> We've made the Chrome Extension & Application for FreeSWITCH >>> *mod-verto*. >>> >>> It supports: >>> >>> * Audio & Video calls via mod_verto >>> * Screen sharing >>> * Click-to-call in any web-page >>> * Address book >>> * Multiline >>> >>> >>> Be free to download and test it: >>> https://chrome.google.com/webstore/search/webitel >>> >>> >>> >>> Best regards, >>> Vitaly Kovalyshyn >>> >>> http://kovalyshyn.pp.ua/ >>> Twitter: @kovalyshyn >>> >>> http://???????.???/ >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >>> http://www.freeswitch.org >>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Saludos / Regards / Cumprimentos, Ant?nio silva -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/abfe17d0/attachment-0001.html From kworm at sofnet.com Thu Sep 29 20:48:55 2016 From: kworm at sofnet.com (Kevin Wormington) Date: Thu, 29 Sep 2016 11:48:55 -0500 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: <94161C6D-08CD-4B99-8F3E-75F247C67531@jerris.com> References: <3D197259-9BAE-40F8-B297-876D1CF32EAD@sofnet.com> <94161C6D-08CD-4B99-8F3E-75F247C67531@jerris.com> Message-ID: <653F7635-3F11-4304-91E1-C588F6569B3A@sofnet.com> I have not delved into the xml internals of FS but if you have DTD/schemas then the xmllint (part of libxml2) tool can validate it I think. I don?t have the time to work on it, but if so it wouldn?t be too big a deal to have a script call it with the appropriate parameters to check the FS config. > On Sep 29, 2016, at 10:55 AM, Michael Jerris wrote: > > We have intentionally decided not to use a validating xml parser for operational efficiency. The unfortunate downside of this is we won?t catch errors like this. Its not a bug, but coming up with scripts to validate this stuff would be really nice. There was some work on that a few years back by some members of the community but I don?t think it got very far. > > Mike > > > >> On Sep 29, 2016, at 11:24 AM, Kevin Wormington wrote: >> >> Lol?I wish everything were this easy. I guess the real question is if this is a bug in FS?should it have thrown an error parsing the dial plan? >> >>> On Sep 29, 2016, at 10:18 AM, David Villasmil wrote: >>> >>> Lol! It's usually these things! Good catch! >>> On Thu, Sep 29, 2016 at 5:04 PM Kevin Wormington wrote: >>> expression is spelled wrong on ua_local and ua_mobile >>> >>>> On Sep 29, 2016, at 9:54 AM, Vladyslav Zakhozhai wrote: >>>> >>>> Mirko, thank you for your answer. >>>> Your information is very useful for me (I did not think that I need to close every condition but nevermind). >>>> >>>> But it is not actually my problem. Let me put it this way: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> I've added some verbosity with logging extension name. >>>> Logs says that ua_mobile passed pattern check. But ua_local also passed the check. And ua_local is to be executed. >>>> >>>> But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see empty pattern against ua_local and ua_mobile: >>>> >>>> In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>> In case ua_local and ua_mobile: destination_number(0930000000) =~ // break=on-false >>>> >>>> I'm pretty confused :) >>>> >>>> And FS log: >>>> >>>> 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing vlakas ->0930000000 in context internal >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=true >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_local) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_mobile] continue=true >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_mobile] destination_number(0930000000) =~ // break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_mobile) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> CS_EXECUTE >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change CS_EXECUTE >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >>>> 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension ua_local) >>>> 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local >>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua bridge(sofia/gateway/golden/0930000000) >>>> >>>> >>>> On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic wrote: >>>> You need to close both conditions. >>>> Correct this one: >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> with this one/or remove one: >>>> >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> >>>> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai wrote: >>>> David, thank you for your answer. >>>> >>>> I've mentioned that I have no problems with extension is_local_call. It will be matched only if SIP message has custom header X-Exten-Type=internal. >>>> >>>> If SIP message has no this header and To user is 0930000000 it does not match ua_mobile, but ua_local for some reason. >>>> >>>> When I'd remove is_local_call all numeric destinations are matched against ua_local. >>>> >>>> Here is part of FS log: >>>> >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->is_internal_call] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>>> >>>> I've removed extension is_local_call and have: >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>>> >>>> I can't understand why expression in log for ua_local is empty >>>> >>>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>>> >>>> >>>> >>>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil wrote: >>>> you're hitting internal before 09 >>>> >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> try removing " " >>>> >>>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai wrote: >>>> Hi, >>>> >>>> I've mentioned that pattern matching in my dialplan works incorrectly but I can't figure out the main reason. >>>> >>>> For example I have the following dialplan: >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> >>>> Some action >>>> >>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> 1. Call to "echo" - OK (echo_test) >>>> 2. Call to some extension with custom header X-Exten-Type - OK (is_internal_call) >>>> 3. Call to 5930000 - OK (ua_local) >>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>> >>>> The last call matches ua_local. But why? >>>> >>>> The result of regex dp_tool >>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>> true >>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>> false >>>> >>>> So, everything is correct. I can't understand why almost everyting goes to ua_local extension. >>>> >>>> I appreciate you help. >>>> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From mike at jerris.com Thu Sep 29 20:58:33 2016 From: mike at jerris.com (Michael Jerris) Date: Thu, 29 Sep 2016 12:58:33 -0400 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: <653F7635-3F11-4304-91E1-C588F6569B3A@sofnet.com> References: <3D197259-9BAE-40F8-B297-876D1CF32EAD@sofnet.com> <94161C6D-08CD-4B99-8F3E-75F247C67531@jerris.com> <653F7635-3F11-4304-91E1-C588F6569B3A@sofnet.com> Message-ID: <99516B50-4DD9-4099-9274-6B14FA857139@jerris.com> it still can?t validate everything.. certainly which variables are valid are an example as that is data, the value side, that schema validation can?t handle. There is a dtd floating around somewhere, i don?t know how complete it is. > On Sep 29, 2016, at 12:48 PM, Kevin Wormington wrote: > > I have not delved into the xml internals of FS but if you have DTD/schemas then the xmllint (part of libxml2) tool can validate it I think. I don?t have the time to work on it, but if so it wouldn?t be too big a deal to have a script call it with the appropriate parameters to check the FS config. > >> On Sep 29, 2016, at 10:55 AM, Michael Jerris wrote: >> >> We have intentionally decided not to use a validating xml parser for operational efficiency. The unfortunate downside of this is we won?t catch errors like this. Its not a bug, but coming up with scripts to validate this stuff would be really nice. There was some work on that a few years back by some members of the community but I don?t think it got very far. >> >> Mike >> >> >> >>> On Sep 29, 2016, at 11:24 AM, Kevin Wormington wrote: >>> >>> Lol?I wish everything were this easy. I guess the real question is if this is a bug in FS?should it have thrown an error parsing the dial plan? >>> >>>> On Sep 29, 2016, at 10:18 AM, David Villasmil wrote: >>>> >>>> Lol! It's usually these things! Good catch! >>>> On Thu, Sep 29, 2016 at 5:04 PM Kevin Wormington wrote: >>>> expression is spelled wrong on ua_local and ua_mobile >>>> >>>>> On Sep 29, 2016, at 9:54 AM, Vladyslav Zakhozhai wrote: >>>>> >>>>> Mirko, thank you for your answer. >>>>> Your information is very useful for me (I did not think that I need to close every condition but nevermind). >>>>> >>>>> But it is not actually my problem. Let me put it this way: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> I've added some verbosity with logging extension name. >>>>> Logs says that ua_mobile passed pattern check. But ua_local also passed the check. And ua_local is to be executed. >>>>> >>>>> But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see empty pattern against ua_local and ua_mobile: >>>>> >>>>> In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>> In case ua_local and ua_mobile: destination_number(0930000000) =~ // break=on-false >>>>> >>>>> I'm pretty confused :) >>>>> >>>>> And FS log: >>>>> >>>>> 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing vlakas ->0930000000 in context internal >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=true >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_local) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_mobile] continue=true >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_mobile] destination_number(0930000000) =~ // break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO Extension ua_mobile) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> CS_EXECUTE >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change CS_EXECUTE >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >>>>> 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >>>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension ua_local) >>>>> 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local >>>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua bridge(sofia/gateway/golden/0930000000) >>>>> >>>>> >>>>> On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic wrote: >>>>> You need to close both conditions. >>>>> Correct this one: >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> with this one/or remove one: >>>>> >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> >>>>> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai wrote: >>>>> David, thank you for your answer. >>>>> >>>>> I've mentioned that I have no problems with extension is_local_call. It will be matched only if SIP message has custom header X-Exten-Type=internal. >>>>> >>>>> If SIP message has no this header and To user is 0930000000 it does not match ua_mobile, but ua_local for some reason. >>>>> >>>>> When I'd remove is_local_call all numeric destinations are matched against ua_local. >>>>> >>>>> Here is part of FS log: >>>>> >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->is_internal_call] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>>>> >>>>> I've removed extension is_local_call and have: >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->echo_test] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing [internal->ua_local] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action bridge(sofia/gateway/golden/${destination_number}) >>>>> >>>>> I can't understand why expression in log for ua_local is empty >>>>> >>>>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // break=on-false >>>>> >>>>> >>>>> >>>>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil wrote: >>>>> you're hitting internal before 09 >>>>> >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> try removing " " >>>>> >>>>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai wrote: >>>>> Hi, >>>>> >>>>> I've mentioned that pattern matching in my dialplan works incorrectly but I can't figure out the main reason. >>>>> >>>>> For example I have the following dialplan: >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> 1. Call to "echo" - OK (echo_test) >>>>> 2. Call to some extension with custom header X-Exten-Type - OK (is_internal_call) >>>>> 3. Call to 5930000 - OK (ua_local) >>>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>>> >>>>> The last call matches ua_local. But why? >>>>> >>>>> The result of regex dp_tool >>>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>>> true >>>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>>> false >>>>> >>>>> So, everything is correct. I can't understand why almost everyting goes to ua_local extension. >>>>> >>>>> I appreciate you help. >>>>> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org From david.villasmil.work at gmail.com Thu Sep 29 21:19:58 2016 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 29 Sep 2016 17:19:58 +0000 Subject: [Freeswitch-users] Freeswitch as a SIP client In-Reply-To: <57ED2A5A.5000809@gmx.net> References: <57EBB5FB.7060702@gmx.net> <57ECC58B.4070103@gmx.net> <57ECE3F6.90105@gmx.net> <57ECE737.1010505@telefaks.de> <57ECEE3C.1050604@gmx.net> <57ECF29B.1030701@gmx.net> <57ECFA90.9080204@telefaks.de> <57ED06E1.40806@gmx.net> <57ED193F.1010609@gmx.net> <57ED2A5A.5000809@gmx.net> Message-ID: It matters, but usually the default confit is more than enough. On Thu, Sep 29, 2016 at 4:51 PM Scholz, Dieter wrote: > Hello, > > no the SIP client is normally not active. I will try to put the freeswitch > maschine in the same subnet than the HIPATH. Perhaps some IP filtering or > routing issue is causing the problem. > > By the way - does it matter which sophia settings i put in my config file? > > > Dieter > > > Am 29.09.2016 um 15:41 schrieb David Villasmil: > > But really, i doubt this is related to freeswitch per se. HIPATH should be > sending a 401 and it's not. > Are you registered with xlite WHILE attempting to register with FS? Maybe > HIPATH won't allow multiple user locations. Try unregistering from xlite > before attempting from fs... > On Thu, Sep 29, 2016 at 3:38 PM Scholz, Dieter wrote: > >> Hello, >> >> puh - this will be really hard to debug. X-lite and Freeswitch are in the >> same subnet. >> >> But thanks for your help. >> >> >> Dieter >> >> >> Am 29.09.2016 um 14:30 schrieb David Villasmil: >> >> Right now i can only think HIPATH is forbidding FS's ip from >> registering... >> >> On Thu, Sep 29, 2016 at 2:19 PM, Scholz, Dieter wrote: >> >>> Hello, >>> >>> in X-lite I just entered the Domain (IP address of HIPATH), user and >>> password - that's all. I attached the pcap files of the freeswitch and the >>> xlite sessions. >>> >>> It's really hard to find apropriate logging infos on the HIPATH :-( >>> >>> Dieter >>> >>> >>> Am 29.09.2016 um 13:32 schrieb David Villasmil: >>> >>> Can you post the sip authetication from xlite? >>> As far as challenge is concerned, after FS sends the REGISTER, HIPATH >>> is supposed to send a 401, to which FS should respond with the >>> authentication details... but you're not even getting that 401.. that's why >>> I asked you to look at xlite's config, make sure that you have the exact >>> same realm in FS. >>> Also post your xlite config (minus user/pass) >>> >>> On Thu, Sep 29, 2016 at 1:27 PM, Peter Steinbach >>> wrote: >>> >>>> Seems that Hipath does not know about the number 3999 or >>>> 3999 at 172.16.40.49. Maybe it must be 3999@? Or >>>> maybe Hipath needs to have a challeange password in the initial invite? >>>> How do you register with your X-Lite? >>>> >>>> Best regards >>>> Peter >>>> >>>> >>>> >>>> On 09/29/16 12:53, Scholz, Dieter wrote: >>>> >>>> Hello, >>>> >>>> sorry for my stupid newbie questions. :-( I'm just starting with the >>>> whole VOIP stuff. >>>> >>>> The redirect in the picture probably is caused by our internal routing. >>>> There's a more direct way from my workstation to the HIPATH (-1 hop). But >>>> this is the connection that works!!! >>>> >>>> In the freeswitch part i do not see any redirects (the routing is >>>> different). >>>> >>>> Do you think the HIPATH is terminating the connection or does >>>> Freeswitch not send the challenge? What do I need to adapt if Freeswitch >>>> sends incomplete data? Why can register with X-lite but not with >>>> Freeswitch? What could be the difference? >>>> >>>> Dieter >>>> >>>> Am 29.09.2016 um 12:40 schrieb David Villasmil: >>>> >>>> You didn't say anything about redirects :( >>>> Also, you're not even receiving a challenge... >>>> >>>> for redirects look at https://wiki.freeswitch >>>> .org/wiki/Dialplan_Handling_Incoming_Redirect >>>> >>>> Though i've never used redirects before with FS... >>>> >>>> Sorry >>>> >>>> On Thu, Sep 29, 2016 at 12:34 PM, Scholz, Dieter >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> here is the output of ngrep: >>>>> -------------------------------------------------- >>>>> U 172.21.235.80:5080 -> 172.16.40.49:5060 >>>>> REGISTER sip:172.16.40.49;transport=udp SIP/2.0. >>>>> Via: SIP/2.0/UDP 172.21.235.80:5080;rport;branch=z9hG4bKvK9tmcy3Ue8vm. >>>>> Max-Forwards: 70. >>>>> From: ;tag=v3cSHNK1cUKtm. >>>>> To: . >>>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>>> CSeq: 97236318 REGISTER. >>>>> Contact: . >>>>> Expires: 3600. >>>>> User-Agent: FreeSWITCH-mod_sofia/1.6.10-17-726448d~64bit. >>>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, >>>>> REGISTER, REFER, NOTIFY. >>>>> Supported: timer, path, replaces. >>>>> Content-Length: 0. >>>>> . >>>>> >>>>> # >>>>> U 172.16.40.49:5060 -> 172.21.235.80:5080 >>>>> SIP/2.0 100 Trying. >>>>> Via: SIP/2.0/UDP 172.21.235.80:5080 >>>>> ;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>>>> From: ;tag=v3cSHNK1cUKtm. >>>>> To: . >>>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>>> CSeq: 97236318 REGISTER. >>>>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>>>> Content-Length: 0. >>>>> . >>>>> >>>>> # >>>>> U 172.16.40.49:5060 -> 172.21.235.80:5080 >>>>> SIP/2.0 404 Not Found. >>>>> Via: SIP/2.0/UDP 172.21.235.80:5080 >>>>> ;rport=5080;branch=z9hG4bKvK9tmcy3Ue8vm;received=172.21.235.80. >>>>> From: ;tag=v3cSHNK1cUKtm. >>>>> To: ;tag=160135440. >>>>> Call-ID: e78209da-144d-4c38-b88a-2d47564a9045. >>>>> CSeq: 97236318 REGISTER. >>>>> Server: OpenScape 4000 - HiPath 4000 SoftGate. >>>>> Content-Length: 0. >>>>> -------------------------------------------------- >>>>> >>>>> I will see if I findd entries in the HIPATH log files (I'm not the >>>>> admin of the HIPATH system). As realm I use the IP address of the HIPATH. I >>>>> attached a picture with the relevant parts of the Wireshark log of the >>>>> X-lite session. >>>>> >>>>> Dieter >>>>> >>>>> >>>>> Am 29.09.2016 um 12:04 schrieb Peter Steinbach: >>>>> >>>>>> Can you post the SIP messages going to and from the Hipath? See my >>>>>> previous mail about ngrep. >>>>>> >>>>>> >>>>>> On 09/29/16 11:50, Scholz, Dieter wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> thanks for your answer. >>>>>>> >>>>>>> I posted my sofia config in another mail today. I think that my >>>>>>> config >>>>>>> matches yours more or less. But when I start freeswitch the status of >>>>>>> the connection is FAIL_WAIT. In the Wireshark log I saw that a >>>>>>> REGISTER >>>>>>> is send to the HIPATH but the answer is a 404. Any ideas what to >>>>>>> test. >>>>>>> Are there any sophia.conf.xml settings that are important? >>>>>>> >>>>>>> Dieter >>>>>>> >>>>>>> Am 29.09.2016 um 11:31 schrieb David Villasmil: >>>>>>> >>>>>>>> this is what my gateway look like: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> This should work... If you get Not Found, try looking at your >>>>>>>> server's >>>>>>>> log. >>>>>>>> >>>>>>>> you also should create an outgoing gateway, even if you're not >>>>>>>> registering, like: >>>>>>>> >>>>>>>> assuming the outgoing gateway will not auth-challenge you: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Adding it to the external is a good idea, so the final config will >>>>>>>> be: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>>>>>> >>>>>>>> >>>>>>> value="does_not_matter_will_not_be used_but_must_be_set"/> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Once this is working and you see it REGED, calls will be coming in >>>>>>>> (as >>>>>>>> per "context") on the public dialplan... the you just need to bridge >>>>>>>> it like: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I hope I was able to help.. >>>>>>>> >>>>>>>> Enjoy freeSWITCH, it's fantastic! >>>>>>>> >>>>>>>> David >>>>>>>> >>>>>>>> On Thu, Sep 29, 2016 at 9:40 AM, Scholz, Dieter >>>>>>> > wrote: >>>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> thanks for your comment. The URL you mentioned will be >>>>>>>> helpful, when I >>>>>>>> reach the dialplan stage. >>>>>>>> >>>>>>>> But at the moment I have problems connecting to the HIPATH >>>>>>>> maschine. I >>>>>>>> gave some more details in another post. >>>>>>>> >>>>>>>> Dieter >>>>>>>> >>>>>>>> >>>>>>>> Am 28.09.2016 um 17:25 schrieb Stanislav Sinyagin: >>>>>>>> > you need to create one more gateway that will communicate to >>>>>>>> your SIP >>>>>>>> > provider. This gateway can be configured with username and >>>>>>>> password if >>>>>>>> > the ITSP requires authentication. >>>>>>>> > >>>>>>>> > Then, you will need to create the dialplan that accepts >>>>>>>> calls from >>>>>>>> > each of these gateways and routes them to the other gateway. >>>>>>>> > >>>>>>>> > It's quite trivial once you figure out how SIP profiles and >>>>>>>> dialplan >>>>>>>> > contexts work together. >>>>>>>> > >>>>>>>> > Hopefully this will provide you some hints: >>>>>>>> > >>>>>>>> https://freeswitch.org/conflu >>>>>>>> ence/display/FREESWITCH/FreeSWITCH+PBX+Example >>>>>>>> >>>>>>> uence/display/FREESWITCH/FreeSWITCH+PBX+Example> >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > On Wed, Sep 28, 2016 at 2:22 PM, Scholz, Dieter < >>>>>>>> rd-disc at gmx.net >>>>>>>> > wrote: >>>>>>>> >> Hello, >>>>>>>> >> >>>>>>>> >> this is my problem: >>>>>>>> >> >>>>>>>> >> I would like to use Freeswitch as a gateway between our >>>>>>>> Hipath >>>>>>>> PBX and >>>>>>>> >> an external SIP provider. >>>>>>>> >> >>>>>>>> >> For that I created a Hipath SIP account that is working >>>>>>>> (tested >>>>>>>> with >>>>>>>> >> X-lite). Now I would like to let Freeswitch act as a client >>>>>>>> using this >>>>>>>> >> SIP account. Whenever there is an incoming call Freeswitch >>>>>>>> should act on >>>>>>>> >> it and forward this call to an external SIP provider. >>>>>>>> >> >>>>>>>> >> Is this possible? Does that make sense? Are there >>>>>>>> alternatives? >>>>>>>> >> >>>>>>>> >> At the moment I'm stuck to configure Freeswitch as a >>>>>>>> client. I >>>>>>>> added the >>>>>>>> >> Hipath SIP account as a gateway. When I compare the SIP >>>>>>>> traffic of >>>>>>>> >> X-lite and Freeswitch using Wireshark I found out that >>>>>>>> Freeswitch dows >>>>>>>> >> not offer the 'Subscribe' option. Is this the reason why it >>>>>>>> fails? >>>>>>>> >> >>>>>>>> >> Can you help me? >>>>>>>> >> >>>>>>>> >> Thanks in advance. >>>>>>>> >> >>>>>>>> >> Dieter >>>>>>>> >> >>>>>>>> >> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >> Professional FreeSWITCH Consulting Services: >>>>>>>> >> consulting at freeswitch.org >>>>>>> > >>>>>>>> >> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> >> >>>>>>>> >> Official FreeSWITCH Sites >>>>>>>> >> http://www.freeswitch.org >>>>>>>> >> http://confluence.freeswitch.org < >>>>>>>> http://confluence.freeswitch.org> >>>>>>>> >> http://www.cluecon.com >>>>>>>> >> >>>>>>>> >> FreeSWITCH-users mailing list >>>>>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>>>>>>> >> http://lists.freeswitch.org/ma >>>>>>>> ilman/listinfo/freeswitch-users >>>>>>>> >>>>>>> mailman/listinfo/freeswitch-users> >>>>>>>> >> >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>>>>> eswitch-users >>>>>>>> >>>>>>>> >> http://www.freeswitch.org >>>>>>>> > >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> > Professional FreeSWITCH Consulting Services: >>>>>>>> > consulting at freeswitch.org >>>>>>>> > http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> > >>>>>>>> > Official FreeSWITCH Sites >>>>>>>> > http://www.freeswitch.org >>>>>>>> > http://confluence.freeswitch.org < >>>>>>>> http://confluence.freeswitch.org> >>>>>>>> > http://www.cluecon.com >>>>>>>> > >>>>>>>> > FreeSWITCH-users mailing list >>>>>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>>>>>>> > http://lists.freeswitch.org/ma >>>>>>>> ilman/listinfo/freeswitch-users >>>>>>>> >>>>>>> mailman/listinfo/freeswitch-users> >>>>>>>> > >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>>>>> eswitch-users >>>>>>>> >>>>>>>> > http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at freeswitch.org >>>>>>>> http://www.freeswitchsolutions.com >>>>>>>> >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> http://www.freeswitch.org >>>>>>>> http://confluence.freeswitch.org >>>>>>> .org> >>>>>>>> http://www.cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> >>>>>>> mailman/listinfo/freeswitch-users> >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/fre >>>>>>>> eswitch-users >>>>>>>> >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>>> switch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free >>>>>>> switch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.frees >>>>> witch.org/mailman/options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com >>>> >>>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>>> >>>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>>> >>>> -- >>>> With kind regards >>>> Peter Steinbach >>>> >>>> Telefaks Services GmbHmailto:lists (att) telefaks.de >>>> Internet: www.telefaks.de >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >>> >>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com >>> >>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: consulting at 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 at 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 at freeswitch.orghttp://www.freeswitchsolutions.com >> >> Official FreeSWITCH Siteshttp://www.freeswitch.org >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/d916b27d/attachment-0001.html From chad at apartmentlines.com Thu Sep 29 23:37:15 2016 From: chad at apartmentlines.com (Chad Phillips) Date: Thu, 29 Sep 2016 12:37:15 -0700 Subject: [Freeswitch-users] Chrome 54 and Verto Message-ID: Testing ahead against Chrome 54 beta using Verto in the latest 1.6 release, I?m getting a lot of websocket disconnects, as well as Verto hanging in the newCall() method. Curious if anyone else has run into this yet before I start digging in to investigate? Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/ebd1e57a/attachment.html From gmaruzz at gmail.com Fri Sep 30 00:01:16 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Thu, 29 Sep 2016 22:01:16 +0200 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: Thank you Vitaly ! On 29 September 2016 at 18:17, Vitaly Kovalyshyn wrote: > Short how-to: http://kovalyshyn.pp.ua/1249.html > > > Best regards, > Vitaly Kovalyshyn > > > > On Sep 29, 2016, at 6:51 PM, Vitaly Kovalyshyn > wrote: > > I think, I can do it... > > > Best regards, > Vitaly Kovalyshyn > > > On Sep 29, 2016, at 6:41 PM, Giovanni Maruzzelli > wrote: > > Hi Vitaly, > > congratulations! And thanks for sharing! > > Can you please add some little documentation on how to use it? > > After some trial I succeeded in login on my server (using a wss uri) but > then I tried to call an extension and the call was back to myself (in the > chrome app). > > So, I made some kind of error. > > Can you add some little docs on how to use it to login and use a standard > freeswitch/verto server? > > Congrats again, > > -giovanni > > > > On 29 September 2016 at 17:15, Vitaly Kovalyshyn > wrote: > >> Hi there! >> >> We've made the Chrome Extension & Application for FreeSWITCH *mod-verto* >> . >> >> It supports: >> >> >> - Audio & Video calls via mod_verto >> - Screen sharing >> - Click-to-call in any web-page >> - Address book >> - Multiline >> >> >> Be free to download and test it: https://chrome.google.com/ >> webstore/search/webitel >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> http://kovalyshyn.pp.ua/ >> Twitter: @kovalyshyn >> >> http://???????.???/ >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/3f67a861/attachment.html From naveen32india at gmail.com Fri Sep 30 00:30:40 2016 From: naveen32india at gmail.com (Naveen Tamanam) Date: Fri, 30 Sep 2016 02:00:40 +0530 Subject: [Freeswitch-users] What is the meaning of Attaching BUG to sofia/external/number Message-ID: Hi, Often I see the message like "Attaching BUG" in freeswitch console logs. What is the meaning of "Attaching BUG" -- Thanks & Regards, Naveen Tamanam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/e0a5d5c3/attachment.html From krice at freeswitch.org Fri Sep 30 00:50:45 2016 From: krice at freeswitch.org (Ken Rice) Date: Thu, 29 Sep 2016 15:50:45 -0500 Subject: [Freeswitch-users] What is the meaning of Attaching BUG to sofia/external/number In-Reply-To: References: Message-ID: <30f001d21a93$2730a5e0$7591f1a0$@freeswitch.org> Depends on what you are doing but its probably a media bug which is used for various things to interact with the media From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Naveen Tamanam Sent: Thursday, September 29, 2016 3:31 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] What is the meaning of Attaching BUG to sofia/external/number Hi, Often I see the message like "Attaching BUG" in freeswitch console logs. What is the meaning of "Attaching BUG" -- Thanks & Regards, Naveen Tamanam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/4bed335c/attachment.html From nneul at mst.edu Fri Sep 30 01:21:32 2016 From: nneul at mst.edu (Nathan Neulinger) Date: Thu, 29 Sep 2016 16:21:32 -0500 Subject: [Freeswitch-users] What is the meaning of Attaching BUG to sofia/external/number In-Reply-To: <30f001d21a93$2730a5e0$7591f1a0$@freeswitch.org> References: <30f001d21a93$2730a5e0$7591f1a0$@freeswitch.org> Message-ID: Naveen, it's slang/term for "listening device". i.e. "The spy agency planted a bug on the phone." Basically just the internal equivalent in freeswitch for one part of the system processing a media stream to do something with it, whether it's listening for tones/recording/multicasting/etc. -- Nathan On 09/29/2016 03:50 PM, Ken Rice wrote: > Depends on what you are doing but its probably a media bug which is used for various things to interact with the media > > > > *From:*freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] *On Behalf > Of *Naveen Tamanam > *Sent:* Thursday, September 29, 2016 3:31 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] What is the meaning of Attaching BUG to sofia/external/number > > > > Hi, > > Often I see the message like "Attaching BUG" in freeswitch console logs. > > What is the meaning of "Attaching BUG" > > > > -- > > Thanks & Regards, > Naveen Tamanam > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect From italo at freeswitch.org Fri Sep 30 01:41:07 2016 From: italo at freeswitch.org (=?UTF-8?B?w410YWxvIFJvc3Np?=) Date: Thu, 29 Sep 2016 21:41:07 +0000 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: Nice! Em qui, 29 de set de 2016 ?s 17:03, Giovanni Maruzzelli escreveu: > Thank you Vitaly ! > > On 29 September 2016 at 18:17, Vitaly Kovalyshyn > wrote: > >> Short how-to: http://kovalyshyn.pp.ua/1249.html >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> >> >> On Sep 29, 2016, at 6:51 PM, Vitaly Kovalyshyn >> wrote: >> >> I think, I can do it... >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> >> On Sep 29, 2016, at 6:41 PM, Giovanni Maruzzelli >> wrote: >> >> Hi Vitaly, >> >> congratulations! And thanks for sharing! >> >> Can you please add some little documentation on how to use it? >> >> After some trial I succeeded in login on my server (using a wss uri) but >> then I tried to call an extension and the call was back to myself (in the >> chrome app). >> >> So, I made some kind of error. >> >> Can you add some little docs on how to use it to login and use a standard >> freeswitch/verto server? >> >> Congrats again, >> >> -giovanni >> >> >> >> On 29 September 2016 at 17:15, Vitaly Kovalyshyn >> wrote: >> >>> Hi there! >>> >>> We've made the Chrome Extension & Application for FreeSWITCH *mod-verto* >>> . >>> >>> It supports: >>> >>> >>> - Audio & Video calls via mod_verto >>> - Screen sharing >>> - Click-to-call in any web-page >>> - Address book >>> - Multiline >>> >>> >>> Be free to download and test it: >>> https://chrome.google.com/webstore/search/webitel >>> >>> >>> Best regards, >>> Vitaly Kovalyshyn >>> >>> http://kovalyshyn.pp.ua/ >>> Twitter: @kovalyshyn >>> >>> http://???????.???/ >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/b9e69677/attachment.html From anthony.minessale at gmail.com Fri Sep 30 02:53:14 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 29 Sep 2016 17:53:14 -0500 Subject: [Freeswitch-users] Chrome 54 and Verto In-Reply-To: References: Message-ID: No, we are already on to 55 on a daily basis. Canary was oh snapping on lots of pages even gmail for a while last week but it seems to be stable-ish again. On Thu, Sep 29, 2016 at 2:37 PM, Chad Phillips wrote: > Testing ahead against Chrome 54 beta using Verto in the latest 1.6 > release, I?m getting a lot of websocket disconnects, as well as Verto > hanging in the newCall() method. > > Curious if anyone else has run into this yet before I start digging in to > investigate? > > Chad > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/66fa5461/attachment.html From acheraime at gmail.com Fri Sep 30 03:14:52 2016 From: acheraime at gmail.com (acheraime .) Date: Thu, 29 Sep 2016 19:14:52 -0400 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: Awesomeness!! On Thu, Sep 29, 2016 at 5:41 PM, ?talo Rossi wrote: > Nice! > > Em qui, 29 de set de 2016 ?s 17:03, Giovanni Maruzzelli > escreveu: > >> Thank you Vitaly ! >> >> On 29 September 2016 at 18:17, Vitaly Kovalyshyn >> wrote: >> >>> Short how-to: http://kovalyshyn.pp.ua/1249.html >>> >>> >>> Best regards, >>> Vitaly Kovalyshyn >>> >>> >>> >>> On Sep 29, 2016, at 6:51 PM, Vitaly Kovalyshyn >>> wrote: >>> >>> I think, I can do it... >>> >>> >>> Best regards, >>> Vitaly Kovalyshyn >>> >>> >>> On Sep 29, 2016, at 6:41 PM, Giovanni Maruzzelli >>> wrote: >>> >>> Hi Vitaly, >>> >>> congratulations! And thanks for sharing! >>> >>> Can you please add some little documentation on how to use it? >>> >>> After some trial I succeeded in login on my server (using a wss uri) but >>> then I tried to call an extension and the call was back to myself (in the >>> chrome app). >>> >>> So, I made some kind of error. >>> >>> Can you add some little docs on how to use it to login and use a >>> standard freeswitch/verto server? >>> >>> Congrats again, >>> >>> -giovanni >>> >>> >>> >>> On 29 September 2016 at 17:15, Vitaly Kovalyshyn >> > wrote: >>> >>>> Hi there! >>>> >>>> We've made the Chrome Extension & Application for FreeSWITCH >>>> *mod-verto*. >>>> >>>> It supports: >>>> >>>> >>>> - Audio & Video calls via mod_verto >>>> - Screen sharing >>>> - Click-to-call in any web-page >>>> - Address book >>>> - Multiline >>>> >>>> >>>> Be free to download and test it: https://chrome.google.com/ >>>> webstore/search/webitel >>>> >>>> >>>> Best regards, >>>> Vitaly Kovalyshyn >>>> >>>> http://kovalyshyn.pp.ua/ >>>> Twitter: @kovalyshyn >>>> >>>> http://???????.???/ >>>> >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >>>> options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> Cell : +39-347-2665618 >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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 at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> Cell : +39-347-2665618 >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Adolphe CHER-AIME* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160929/f33234f0/attachment-0001.html From v.kovalyshyn at gmail.com Fri Sep 30 10:53:37 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Fri, 30 Sep 2016 09:53:37 +0300 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> Message-ID: <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> Application was updated with ICE Server, CID and Name: Best regards, Vitaly Kovalyshyn > On Sep 29, 2016, at 6:53 PM, Anthony Minessale wrote: > > Hi, > > 1) You should pass > iceServers: true > > to your verto handle constructor or have a param to toggle it. Without enabling stun in chrome you can't get any srvflex candidates which will cause nat issues. > > > > 2) You should not only have fields for login and pass but also for caller id name and number. > > > > 3) The server tab does not make it clear that it wants a wss url. Maybe just ask for server and port and generate the wss url. > > > > > On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn > wrote: > Hi there! > > We've made the Chrome Extension & Application for FreeSWITCH mod-verto. > > It supports: > > Audio & Video calls via mod_verto > Screen sharing > Click-to-call in any web-page > Address book > Multiline > > Be free to download and test it: https://chrome.google.com/webstore/search/webitel > > Best regards, > Vitaly Kovalyshyn > > http://kovalyshyn.pp.ua/ > Twitter: @kovalyshyn > > http://???????.???/ > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/aa21ec95/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-09-30 at 9.50.53 AM.png Type: image/png Size: 66454 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/aa21ec95/attachment-0001.png -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3701 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/aa21ec95/attachment-0001.bin From mirkobrankovic at gmail.com Fri Sep 30 11:38:54 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 30 Sep 2016 09:38:54 +0200 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: Well first point I saw the incorrect xml so that can act strangely, usually you can't even reloadxml correctly. Next thing is that ^0[1-9]{9}$ shouldn't pass 0930000000, since it is expecting 1-9 digits after 0, so 0931111111 can pass it. You should be able to test it here https://regex101.com/ for pcre. Also make sure you have all xml tags properlly closed, and try not to use nested conditions, I saw some emails about that not working as expected. On Thu, Sep 29, 2016 at 4:54 PM, Vladyslav Zakhozhai wrote: > Mirko, thank you for your answer. > Your information is very useful for me (I did not think that I need to > close every condition but nevermind). > > But it is not actually my problem. Let me put it this way: > > > > > > > > > > > > > > > > > > > > > > > > > > I've added some verbosity with logging extension name. > Logs says that ua_mobile passed pattern check. But ua_local also passed > the check. And ua_local is to be executed. > > But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see empty > pattern against ua_local and ua_mobile: > > In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ > break=on-false > In case ua_local and ua_mobile: destination_number(0930000000) =~ // > break=on-false > > I'm pretty confused :) > > And FS log: > > 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing vlakas > ->0930000000 in context internal > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->echo_test] continue=false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) > [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_local] continue=true > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_local] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO > Extension ua_local) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing > [internal->ua_mobile] continue=true > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) > [ua_mobile] destination_number(0930000000) =~ // break=on-false > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO > Extension ua_mobile) > Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action > bridge(sofia/gateway/golden/${destination_number}) > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 > (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> > CS_EXECUTE > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 > (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 > (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change > CS_EXECUTE > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 > (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE > 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/vlakas@ > unitrans.tull.pp.ua SOFIA EXECUTE > 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 > sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension > ua_local) > 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local > EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua > bridge(sofia/gateway/golden/0930000000) > > > On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic > wrote: > >> You need to close both conditions. >> Correct this one: >> >> >> >> Some action >> >> >> >> with this one/or remove one: >> >> >> >> >> Some action >> >> >> >> >> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> >>> David, thank you for your answer. >>> >>> I've mentioned that I have no problems with extension is_local_call. It >>> will be matched only if SIP message has custom header X-Exten-Type=internal. >>> >>> If SIP message has no this header and To user is 0930000000 it does not >>> match ua_mobile, but ua_local for some reason. >>> >>> When I'd remove is_local_call all numeric destinations are matched >>> against ua_local. >>> >>> Here is part of FS log: >>> >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>> [internal->echo_test] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>> [internal->is_internal_call] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>> [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>> [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>> [internal->ua_local] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>> [ua_local] destination_number(0930000000) =~ // break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>> bridge(sofia/gateway/golden/${destination_number}) >>> >>> I've removed extension is_local_call and have: >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>> [internal->echo_test] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>> [internal->ua_local] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>> [ua_local] destination_number(0930000000) =~ // break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>> bridge(sofia/gateway/golden/${destination_number}) >>> >>> I can't understand why expression in log for ua_local is empty >>> >>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // >>> break=on-false >>> >>> >>> >>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> you're hitting internal before 09 >>>> >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> try removing " >>> expression=".*"/>" >>>> >>>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >>>> v.zakhozhai at gmail.com> wrote: >>>> >>>>> Hi, >>>>> >>>>> I've mentioned that pattern matching in my dialplan works incorrectly >>>>> but I can't figure out the main reason. >>>>> >>>>> For example I have the following dialplan: >>>>> >>>>> >>>>> >>>> expression="^(echo|9999)$"> >>>>> Some action >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> >>>> experession="^[2-5][0-9]{6}$"> >>>>> Some action >>>>> >>>> >>>>> >>>>> >>>> experession="^0[0-9]{9}$"> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> 1. Call to "echo" - OK (echo_test) >>>>> 2. Call to some extension with custom header X-Exten-Type - OK >>>>> (is_internal_call) >>>>> 3. Call to 5930000 - OK (ua_local) >>>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>>> >>>>> The last call matches ua_local. But why? >>>>> >>>>> The result of regex dp_tool >>>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>>> true >>>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>>> false >>>>> >>>>> So, everything is correct. I can't understand why almost everyting >>>>> goes to ua_local extension. >>>>> >>>>> I appreciate you help. >>>>> >>>>> >>>>> -- >>>>> Best regards, >>>>> Vladyslav Zakhozhai >>>>> email: v.zakhozhai at gmail.com >>>>> tel.: +380(93) 757-21-61 >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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 at 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 at 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, >>> Vladyslav Zakhozhai >>> email: v.zakhozhai at gmail.com >>> tel.: +380(93) 757-21-61 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> ?\_(?)_/? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/670a6aa6/attachment-0001.html From gmaruzz at gmail.com Fri Sep 30 11:57:49 2016 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Fri, 30 Sep 2016 09:57:49 +0200 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> Message-ID: Super! sent from mobile cell: +39 347 266 56 18 Giovanni Maruzzelli OpenTelecom.IT On Sep 30, 2016 8:54 AM, "Vitaly Kovalyshyn" wrote: > Application was updated with ICE Server, CID and Name: > > > > > Best regards, > Vitaly Kovalyshyn > > > On Sep 29, 2016, at 6:53 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > Hi, > > 1) You should pass > > iceServers: true > > to your verto handle constructor or have a param to toggle it. Without > enabling stun in chrome you can't get any srvflex candidates which will > cause nat issues. > > > 2) You should not only have fields for login and pass but also for caller > id name and number. > > > 3) The server tab does not make it clear that it wants a wss url. Maybe > just ask for server and port and generate the wss url. > > > > On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn < > v.kovalyshyn at gmail.com> wrote: > >> Hi there! >> >> We've made the Chrome Extension & Application for FreeSWITCH *mod-verto* >> . >> >> It supports: >> >> >> - Audio & Video calls via mod_verto >> - Screen sharing >> - Click-to-call in any web-page >> - Address book >> - Multiline >> >> >> Be free to download and test it: https://chrome.google.com/ >> webstore/search/webitel >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> http://kovalyshyn.pp.ua/ >> Twitter: @kovalyshyn >> >> http://???????.???/ >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/fe829463/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-09-30 at 9.50.53 AM.png Type: image/png Size: 66454 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/fe829463/attachment-0001.png From mirkobrankovic at gmail.com Fri Sep 30 12:26:34 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 30 Sep 2016 10:26:34 +0200 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> Message-ID: Very nice indeed. What I notice is that Audio call upgrade to video is not working, or at least there is no verto modify event fired. Also, what is the idea of contacts, should it query something or just keeping them localy ? Thanks, great work!!! Mirko On Fri, Sep 30, 2016 at 8:53 AM, Vitaly Kovalyshyn wrote: > Application was updated with ICE Server, CID and Name: > > > > > Best regards, > Vitaly Kovalyshyn > > > On Sep 29, 2016, at 6:53 PM, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > > Hi, > > 1) You should pass > > iceServers: true > > to your verto handle constructor or have a param to toggle it. Without > enabling stun in chrome you can't get any srvflex candidates which will > cause nat issues. > > > 2) You should not only have fields for login and pass but also for caller > id name and number. > > > 3) The server tab does not make it clear that it wants a wss url. Maybe > just ask for server and port and generate the wss url. > > > > On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn < > v.kovalyshyn at gmail.com> wrote: > >> Hi there! >> >> We've made the Chrome Extension & Application for FreeSWITCH *mod-verto* >> . >> >> It supports: >> >> >> - Audio & Video calls via mod_verto >> - Screen sharing >> - Click-to-call in any web-page >> - Address book >> - Multiline >> >> >> Be free to download and test it: https://chrome.google.com/ >> webstore/search/webitel >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> http://kovalyshyn.pp.ua/ >> Twitter: @kovalyshyn >> >> http://???????.???/ >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/59be0c20/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-09-30 at 9.50.53 AM.png Type: image/png Size: 66454 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/59be0c20/attachment-0001.png From v.kovalyshyn at gmail.com Fri Sep 30 12:40:49 2016 From: v.kovalyshyn at gmail.com (Vitaly Kovalyshyn) Date: Fri, 30 Sep 2016 11:40:49 +0300 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> Message-ID: Thank You! About video - currently there is no video upgrade... maybe later will do it. About "Contact" - is stored in the Chrome NoSQL database and identify contact during inbound call Best regards, Vitaly Kovalyshyn http://kovalyshyn.pp.ua/ Twitter: @kovalyshyn http://???????.???/ > On Sep 30, 2016, at 11:26 AM, Mirko Brankovic wrote: > > Very nice indeed. > > What I notice is that Audio call upgrade to video is not working, or at least there is no verto modify event fired. > > Also, what is the idea of contacts, should it query something or just keeping them localy ? > > Thanks, great work!!! > > Mirko > > On Fri, Sep 30, 2016 at 8:53 AM, Vitaly Kovalyshyn > wrote: > Application was updated with ICE Server, CID and Name: > > > > > > Best regards, > Vitaly Kovalyshyn > > >> On Sep 29, 2016, at 6:53 PM, Anthony Minessale > wrote: >> >> Hi, >> >> 1) You should pass >> iceServers: true >> >> to your verto handle constructor or have a param to toggle it. Without enabling stun in chrome you can't get any srvflex candidates which will cause nat issues. >> >> >> >> 2) You should not only have fields for login and pass but also for caller id name and number. >> >> >> >> 3) The server tab does not make it clear that it wants a wss url. Maybe just ask for server and port and generate the wss url. >> >> >> >> >> On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn > wrote: >> Hi there! >> >> We've made the Chrome Extension & Application for FreeSWITCH mod-verto. >> >> It supports: >> >> Audio & Video calls via mod_verto >> Screen sharing >> Click-to-call in any web-page >> Address book >> Multiline >> >> Be free to download and test it: https://chrome.google.com/webstore/search/webitel >> >> Best regards, >> Vitaly Kovalyshyn >> >> http://kovalyshyn.pp.ua/ >> Twitter: @kovalyshyn >> >> http://???????.???/ >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > Regards, > Mirko > ?\_(?)_/? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/a3c0c91c/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3701 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/a3c0c91c/attachment-0001.bin From mirkobrankovic at gmail.com Fri Sep 30 12:47:46 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 30 Sep 2016 10:47:46 +0200 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> Message-ID: Great thanks for info :D On Fri, Sep 30, 2016 at 10:40 AM, Vitaly Kovalyshyn wrote: > Thank You! > > About video - currently there is no video upgrade... maybe later will do > it. > About "Contact" - is stored in the Chrome NoSQL database and identify > contact during inbound call > > > Best regards, > Vitaly Kovalyshyn > > http://kovalyshyn.pp.ua/ > Twitter: @kovalyshyn > > http://???????.???/ > > On Sep 30, 2016, at 11:26 AM, Mirko Brankovic > wrote: > > Very nice indeed. > > What I notice is that Audio call upgrade to video is not working, or at > least there is no verto modify event fired. > > Also, what is the idea of contacts, should it query something or just > keeping them localy ? > > Thanks, great work!!! > > Mirko > > On Fri, Sep 30, 2016 at 8:53 AM, Vitaly Kovalyshyn > wrote: > >> Application was updated with ICE Server, CID and Name: >> >> >> >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> >> On Sep 29, 2016, at 6:53 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >> Hi, >> >> 1) You should pass >> >> iceServers: true >> >> to your verto handle constructor or have a param to toggle it. Without >> enabling stun in chrome you can't get any srvflex candidates which will >> cause nat issues. >> >> >> 2) You should not only have fields for login and pass but also for caller >> id name and number. >> >> >> 3) The server tab does not make it clear that it wants a wss url. Maybe >> just ask for server and port and generate the wss url. >> >> >> >> On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn < >> v.kovalyshyn at gmail.com> wrote: >> >>> Hi there! >>> >>> We've made the Chrome Extension & Application for FreeSWITCH *mod-verto* >>> . >>> >>> It supports: >>> >>> >>> - Audio & Video calls via mod_verto >>> - Screen sharing >>> - Click-to-call in any web-page >>> - Address book >>> - Multiline >>> >>> >>> Be free to download and test it: https://chrome.google.com/ >>> webstore/search/webitel >>> >>> >>> Best regards, >>> Vitaly Kovalyshyn >>> >>> http://kovalyshyn.pp.ua/ >>> Twitter: @kovalyshyn >>> >>> http://???????.???/ >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > ?\_(?)_/? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/b35c518d/attachment.html From s.safarov at gmail.com Fri Sep 30 14:01:23 2016 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 30 Sep 2016 10:01:23 +0000 Subject: [Freeswitch-users] Are is it bug? Message-ID: I cannot resolve IPv6 hostname via FS console. Are it is bug? [root at localhost6 ~]# nslookup -type=aaaa ipv6.cybernode.com Server: ::1 Address: ::1#53 Non-authoritative answer: ipv6.cybernode.com has AAAA address 2001:470:1:1b9::31 [root at localhost6 ~]# fs_cli -x "host_lookup ipv6.cybernode.com" -ERR no reply [root at localhost6 ~]# -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/fbe6fdf9/attachment.html From lists at telefaks.de Fri Sep 30 14:17:32 2016 From: lists at telefaks.de (Peter Steinbach) Date: Fri, 30 Sep 2016 12:17:32 +0200 Subject: [Freeswitch-users] How to pass variable to Loopback Channel with loopback_export? In-Reply-To: <57EB7A54.8060707@telefaks.de> References: <57EB7A54.8060707@telefaks.de> Message-ID: <57EE3BBC.7040708@telefaks.de> Nobody has done this already? On 09/28/16 10:07, Peter Steinbach wrote: > Hello, > > I would like to do initiate a call the following way: > {variable1=xxx,variable2=yyy}sofia/gateway/number &bridge(loopback/number2) > > Variables are not passed to the loopback channel, as expected. > > So I tried the loopback_export the following way. > {variable1=xxx,variable2=yyy,loopback_export=variable1}sofia/gateway/number > &bridge(loopback/number2) > > However, variables are not passed to the loopback channel. > > Anybody knows how to pass variables to the loopback channel? > -- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de From v.zakhozhai at gmail.com Fri Sep 30 14:21:20 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Fri, 30 Sep 2016 10:21:20 +0000 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: Mirko, sorry for confusing you. You are right about pattern and my example phone number. I've just replaced everything with 0 after 093. I have no problems with pcre :) Btw we can even test it with fs_cli, don't we? :) freeswitch at vzakhozhai> regex 0930000000|^0[1-9][0-9]{8} true freeswitch at vzakhozhai> regex 0930000000|^0[1-9]{9} false On Fri, Sep 30, 2016 at 10:39 AM Mirko Brankovic wrote: > Well first point I saw the incorrect xml so that can act strangely, > usually you can't even reloadxml correctly. > > Next thing is that ^0[1-9]{9}$ shouldn't pass 0930000000, since it is > expecting 1-9 digits after 0, so 0931111111 can pass it. You should be able > to test it here https://regex101.com/ for pcre. > > Also make sure you have all xml tags properlly closed, and try not to use > nested conditions, I saw some emails about that not working as expected. > > > > On Thu, Sep 29, 2016 at 4:54 PM, Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > >> Mirko, thank you for your answer. >> Your information is very useful for me (I did not think that I need to >> close every condition but nevermind). >> >> But it is not actually my problem. Let me put it this way: >> >> >> >> >> >> >> >> >> >> >> >> >> >> > data="sofia/gateway/golden/${destination_number}"/> >> >> >> >> >> >> >> > data="sofia/gateway/golden/${destination_number}"/> >> >> >> >> >> I've added some verbosity with logging extension name. >> Logs says that ua_mobile passed pattern check. But ua_local also passed >> the check. And ua_local is to be executed. >> >> But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see empty >> pattern against ua_local and ua_mobile: >> >> In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ >> break=on-false >> In case ua_local and ua_mobile: destination_number(0930000000) =~ // >> break=on-false >> >> I'm pretty confused :) >> >> And FS log: >> >> 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing >> vlakas ->0930000000 in context internal >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->echo_test] continue=false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->ua_local] continue=true >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [ua_local] destination_number(0930000000) =~ // break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >> Extension ua_local) >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> bridge(sofia/gateway/golden/${destination_number}) >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >> [internal->ua_mobile] continue=true >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >> [ua_mobile] destination_number(0930000000) =~ // break=on-false >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >> Extension ua_mobile) >> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >> bridge(sofia/gateway/golden/${destination_number}) >> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 >> (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> >> CS_EXECUTE >> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 >> (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep >> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 >> (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change >> CS_EXECUTE >> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 >> (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >> 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/ >> vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 >> sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension >> ua_local) >> 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local >> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua >> bridge(sofia/gateway/golden/0930000000) >> >> >> On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic >> wrote: >> >>> You need to close both conditions. >>> Correct this one: >>> >>> >>> >>> Some action >>> >>> >>> >>> with this one/or remove one: >>> >>> >>> >>> >>> Some action >>> >>> >>> >>> >>> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < >>> v.zakhozhai at gmail.com> wrote: >>> >>>> David, thank you for your answer. >>>> >>>> I've mentioned that I have no problems with extension is_local_call. It >>>> will be matched only if SIP message has custom header X-Exten-Type=internal. >>>> >>>> If SIP message has no this header and To user is 0930000000 it does not >>>> match ua_mobile, but ua_local for some reason. >>>> >>>> When I'd remove is_local_call all numeric destinations are matched >>>> against ua_local. >>>> >>>> Here is part of FS log: >>>> >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>> [internal->echo_test] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>> [internal->is_internal_call] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>> [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>> [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>> [internal->ua_local] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>> bridge(sofia/gateway/golden/${destination_number}) >>>> >>>> I've removed extension is_local_call and have: >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>> [internal->echo_test] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>> [internal->ua_local] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>> bridge(sofia/gateway/golden/${destination_number}) >>>> >>>> I can't understand why expression in log for ua_local is empty >>>> >>>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // >>>> break=on-false >>>> >>>> >>>> >>>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >>>>> you're hitting internal before 09 >>>>> >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> >>>>> >>>> experession="^0[0-9]{9}$"> >>>>> >>>> data="sofia/gateway/golden/${destination_number}"/> >>>>> >>>>> >>>>> >>>>> try removing " >>>> expression=".*"/>" >>>>> >>>>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >>>>> v.zakhozhai at gmail.com> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I've mentioned that pattern matching in my dialplan works incorrectly >>>>>> but I can't figure out the main reason. >>>>>> >>>>>> For example I have the following dialplan: >>>>>> >>>>>> >>>>>> >>>>> expression="^(echo|9999)$"> >>>>>> Some action >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> expression="internal"> >>>>>> Some action >>>>>> >>>>>> >>>>>> >>>>>> >>>>> experession="^[2-5][0-9]{6}$"> >>>>>> Some action >>>>>> >>>>> >>>>>> >>>>>> >>>>> experession="^0[0-9]{9}$"> >>>>>> >>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> 1. Call to "echo" - OK (echo_test) >>>>>> 2. Call to some extension with custom header X-Exten-Type - OK >>>>>> (is_internal_call) >>>>>> 3. Call to 5930000 - OK (ua_local) >>>>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>>>> >>>>>> The last call matches ua_local. But why? >>>>>> >>>>>> The result of regex dp_tool >>>>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>>>> true >>>>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>>>> false >>>>>> >>>>>> So, everything is correct. I can't understand why almost everyting >>>>>> goes to ua_local extension. >>>>>> >>>>>> I appreciate you help. >>>>>> >>>>>> >>>>>> -- >>>>>> Best regards, >>>>>> Vladyslav Zakhozhai >>>>>> email: v.zakhozhai at gmail.com >>>>>> tel.: +380(93) 757-21-61 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at 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 at 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 at 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, >>>> Vladyslav Zakhozhai >>>> email: v.zakhozhai at gmail.com >>>> tel.: +380(93) 757-21-61 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Regards, >>> Mirko >>> ?\_(?)_/? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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, >> Vladyslav Zakhozhai >> email: v.zakhozhai at gmail.com >> tel.: +380(93) 757-21-61 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > ?\_(?)_/? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/d861bac5/attachment-0001.html From mirkobrankovic at gmail.com Fri Sep 30 15:14:57 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 30 Sep 2016 13:14:57 +0200 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: Oh ok, I saw email for spell check, is it ok now after that corrected? On Fri, Sep 30, 2016 at 12:21 PM, Vladyslav Zakhozhai wrote: > Mirko, sorry for confusing you. > > You are right about pattern and my example phone number. I've just > replaced everything with 0 after 093. I have no problems with pcre :) Btw > we can even test it with fs_cli, don't we? :) > > freeswitch at vzakhozhai> regex 0930000000|^0[1-9][0-9]{8} > true > freeswitch at vzakhozhai> regex 0930000000|^0[1-9]{9} > false > > > > On Fri, Sep 30, 2016 at 10:39 AM Mirko Brankovic > wrote: > >> Well first point I saw the incorrect xml so that can act strangely, >> usually you can't even reloadxml correctly. >> >> Next thing is that ^0[1-9]{9}$ shouldn't pass 0930000000, since it is >> expecting 1-9 digits after 0, so 0931111111 can pass it. You should be able >> to test it here https://regex101.com/ for pcre. >> >> Also make sure you have all xml tags properlly closed, and try not to use >> nested conditions, I saw some emails about that not working as expected. >> >> >> >> On Thu, Sep 29, 2016 at 4:54 PM, Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> >>> Mirko, thank you for your answer. >>> Your information is very useful for me (I did not think that I need to >>> close every condition but nevermind). >>> >>> But it is not actually my problem. Let me put it this way: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> I've added some verbosity with logging extension name. >>> Logs says that ua_mobile passed pattern check. But ua_local also passed >>> the check. And ua_local is to be executed. >>> >>> But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see >>> empty pattern against ua_local and ua_mobile: >>> >>> In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ >>> break=on-false >>> In case ua_local and ua_mobile: destination_number(0930000000) =~ // >>> break=on-false >>> >>> I'm pretty confused :) >>> >>> And FS log: >>> >>> 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing >>> vlakas ->0930000000 in context internal >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>> [internal->echo_test] continue=false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>> [internal->ua_local] continue=true >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>> [ua_local] destination_number(0930000000) =~ // break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >>> Extension ua_local) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>> bridge(sofia/gateway/golden/${destination_number}) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>> [internal->ua_mobile] continue=true >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>> [ua_mobile] destination_number(0930000000) =~ // break=on-false >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >>> Extension ua_mobile) >>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>> bridge(sofia/gateway/golden/${destination_number}) >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 >>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> >>> CS_EXECUTE >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 >>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to sleep >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 >>> (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change >>> CS_EXECUTE >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 >>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >>> 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/ >>> vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 >>> sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension >>> ua_local) >>> 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local >>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua >>> bridge(sofia/gateway/golden/0930000000) >>> >>> >>> On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic < >>> mirkobrankovic at gmail.com> wrote: >>> >>>> You need to close both conditions. >>>> Correct this one: >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> with this one/or remove one: >>>> >>>> >>>> >>>> >>>> Some action >>>> >>>> >>>> >>>> >>>> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < >>>> v.zakhozhai at gmail.com> wrote: >>>> >>>>> David, thank you for your answer. >>>>> >>>>> I've mentioned that I have no problems with extension is_local_call. >>>>> It will be matched only if SIP message has custom header >>>>> X-Exten-Type=internal. >>>>> >>>>> If SIP message has no this header and To user is 0930000000 it does >>>>> not match ua_mobile, but ua_local for some reason. >>>>> >>>>> When I'd remove is_local_call all numeric destinations are matched >>>>> against ua_local. >>>>> >>>>> Here is part of FS log: >>>>> >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>> [internal->echo_test] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>> [internal->is_internal_call] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>> [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>> [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>> [internal->ua_local] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>> >>>>> I've removed extension is_local_call and have: >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>> [internal->echo_test] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>> [internal->ua_local] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>> >>>>> I can't understand why expression in log for ua_local is empty >>>>> >>>>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // >>>>> break=on-false >>>>> >>>>> >>>>> >>>>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >>>>>> you're hitting internal before 09 >>>>>> >>>>>> >>>>>> >>>>>> >>>>> expression="internal"> >>>>>> Some action >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> experession="^0[0-9]{9}$"> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> try removing " >>>>> expression=".*"/>" >>>>>> >>>>>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >>>>>> v.zakhozhai at gmail.com> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I've mentioned that pattern matching in my dialplan works >>>>>>> incorrectly but I can't figure out the main reason. >>>>>>> >>>>>>> For example I have the following dialplan: >>>>>>> >>>>>>> >>>>>>> >>>>>> expression="^(echo|9999)$"> >>>>>>> Some action >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> expression="internal"> >>>>>>> Some action >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> experession="^[2-5][0-9]{6}$"> >>>>>>> Some action >>>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>> experession="^0[0-9]{9}$"> >>>>>>> >>>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> 1. Call to "echo" - OK (echo_test) >>>>>>> 2. Call to some extension with custom header X-Exten-Type - OK >>>>>>> (is_internal_call) >>>>>>> 3. Call to 5930000 - OK (ua_local) >>>>>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>>>>> >>>>>>> The last call matches ua_local. But why? >>>>>>> >>>>>>> The result of regex dp_tool >>>>>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>>>>> true >>>>>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>>>>> false >>>>>>> >>>>>>> So, everything is correct. I can't understand why almost everyting >>>>>>> goes to ua_local extension. >>>>>>> >>>>>>> I appreciate you help. >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Best regards, >>>>>>> Vladyslav Zakhozhai >>>>>>> email: v.zakhozhai at gmail.com >>>>>>> tel.: +380(93) 757-21-61 >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at 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 at 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 at 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, >>>>> Vladyslav Zakhozhai >>>>> email: v.zakhozhai at gmail.com >>>>> tel.: +380(93) 757-21-61 >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >>>>> options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Mirko >>>> ?\_(?)_/? >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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, >>> Vladyslav Zakhozhai >>> email: v.zakhozhai at gmail.com >>> tel.: +380(93) 757-21-61 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> ?\_(?)_/? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/20cc8d28/attachment-0001.html From v.zakhozhai at gmail.com Fri Sep 30 15:52:26 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Fri, 30 Sep 2016 11:52:26 +0000 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: Yes. Everything goes well. On Fri, Sep 30, 2016 at 2:15 PM Mirko Brankovic wrote: > Oh ok, > I saw email for spell check, is it ok now after that corrected? > > On Fri, Sep 30, 2016 at 12:21 PM, Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > >> Mirko, sorry for confusing you. >> >> You are right about pattern and my example phone number. I've just >> replaced everything with 0 after 093. I have no problems with pcre :) Btw >> we can even test it with fs_cli, don't we? :) >> >> freeswitch at vzakhozhai> regex 0930000000|^0[1-9][0-9]{8} >> true >> freeswitch at vzakhozhai> regex 0930000000|^0[1-9]{9} >> false >> >> >> >> On Fri, Sep 30, 2016 at 10:39 AM Mirko Brankovic < >> mirkobrankovic at gmail.com> wrote: >> >>> Well first point I saw the incorrect xml so that can act strangely, >>> usually you can't even reloadxml correctly. >>> >>> Next thing is that ^0[1-9]{9}$ shouldn't pass 0930000000, since it is >>> expecting 1-9 digits after 0, so 0931111111 can pass it. You should be able >>> to test it here https://regex101.com/ for pcre. >>> >>> Also make sure you have all xml tags properlly closed, and try not to >>> use nested conditions, I saw some emails about that not working as expected. >>> >>> >>> >>> On Thu, Sep 29, 2016 at 4:54 PM, Vladyslav Zakhozhai < >>> v.zakhozhai at gmail.com> wrote: >>> >>>> Mirko, thank you for your answer. >>>> Your information is very useful for me (I did not think that I need to >>>> close every condition but nevermind). >>>> >>>> But it is not actually my problem. Let me put it this way: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> data="sofia/gateway/golden/${destination_number}"/> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> data="sofia/gateway/golden/${destination_number}"/> >>>> >>>> >>>> >>>> >>>> I've added some verbosity with logging extension name. >>>> Logs says that ua_mobile passed pattern check. But ua_local also passed >>>> the check. And ua_local is to be executed. >>>> >>>> But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see >>>> empty pattern against ua_local and ua_mobile: >>>> >>>> In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ >>>> break=on-false >>>> In case ua_local and ua_mobile: destination_number(0930000000) =~ // >>>> break=on-false >>>> >>>> I'm pretty confused :) >>>> >>>> And FS log: >>>> >>>> 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing >>>> vlakas ->0930000000 in context internal >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>> [internal->echo_test] continue=false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>> [internal->ua_local] continue=true >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >>>> Extension ua_local) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>> bridge(sofia/gateway/golden/${destination_number}) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>> [internal->ua_mobile] continue=true >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>> [ua_mobile] destination_number(0930000000) =~ // break=on-false >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >>>> Extension ua_mobile) >>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>> bridge(sofia/gateway/golden/${destination_number}) >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 >>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING -> >>>> CS_EXECUTE >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 >>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to >>>> sleep >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 >>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change >>>> CS_EXECUTE >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 >>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >>>> 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/ >>>> vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 >>>> sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension >>>> ua_local) >>>> 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local >>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua >>>> bridge(sofia/gateway/golden/0930000000) >>>> >>>> >>>> On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic < >>>> mirkobrankovic at gmail.com> wrote: >>>> >>>>> You need to close both conditions. >>>>> Correct this one: >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> with this one/or remove one: >>>>> >>>>> >>>>> >>>>> >>>>> Some action >>>>> >>>>> >>>>> >>>>> >>>>> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < >>>>> v.zakhozhai at gmail.com> wrote: >>>>> >>>>>> David, thank you for your answer. >>>>>> >>>>>> I've mentioned that I have no problems with extension is_local_call. >>>>>> It will be matched only if SIP message has custom header >>>>>> X-Exten-Type=internal. >>>>>> >>>>>> If SIP message has no this header and To user is 0930000000 it does >>>>>> not match ua_mobile, but ua_local for some reason. >>>>>> >>>>>> When I'd remove is_local_call all numeric destinations are matched >>>>>> against ua_local. >>>>>> >>>>>> Here is part of FS log: >>>>>> >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>> [internal->echo_test] continue=false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>> [internal->is_internal_call] continue=false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>> [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>> [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>> [internal->ua_local] continue=false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>>> >>>>>> I've removed extension is_local_call and have: >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>> [internal->echo_test] continue=false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>> [internal->ua_local] continue=false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>>> >>>>>> I can't understand why expression in log for ua_local is empty >>>>>> >>>>>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // >>>>>> break=on-false >>>>>> >>>>>> >>>>>> >>>>>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < >>>>>> david.villasmil.work at gmail.com> wrote: >>>>>> >>>>>>> you're hitting internal before 09 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> expression="internal"> >>>>>>> Some action >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> experession="^0[0-9]{9}$"> >>>>>>> >>>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> try removing " >>>>>> expression=".*"/>" >>>>>>> >>>>>>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >>>>>>> v.zakhozhai at gmail.com> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I've mentioned that pattern matching in my dialplan works >>>>>>>> incorrectly but I can't figure out the main reason. >>>>>>>> >>>>>>>> For example I have the following dialplan: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> expression="^(echo|9999)$"> >>>>>>>> Some action >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> expression="internal"> >>>>>>>> Some action >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> experession="^[2-5][0-9]{6}$"> >>>>>>>> Some action >>>>>>>> >>>>>>> >>>>>>>> >>>>>>>> >>>>>>> experession="^0[0-9]{9}$"> >>>>>>>> >>>>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> 1. Call to "echo" - OK (echo_test) >>>>>>>> 2. Call to some extension with custom header X-Exten-Type - OK >>>>>>>> (is_internal_call) >>>>>>>> 3. Call to 5930000 - OK (ua_local) >>>>>>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>>>>>> >>>>>>>> The last call matches ua_local. But why? >>>>>>>> >>>>>>>> The result of regex dp_tool >>>>>>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>>>>>> true >>>>>>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>>>>>> false >>>>>>>> >>>>>>>> So, everything is correct. I can't understand why almost everyting >>>>>>>> goes to ua_local extension. >>>>>>>> >>>>>>>> I appreciate you help. >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Best regards, >>>>>>>> Vladyslav Zakhozhai >>>>>>>> email: v.zakhozhai at gmail.com >>>>>>>> tel.: +380(93) 757-21-61 >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at 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 at 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 at 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, >>>>>> Vladyslav Zakhozhai >>>>>> email: v.zakhozhai at gmail.com >>>>>> tel.: +380(93) 757-21-61 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> Mirko >>>>> ?\_(?)_/? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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, >>>> Vladyslav Zakhozhai >>>> email: v.zakhozhai at gmail.com >>>> tel.: +380(93) 757-21-61 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Regards, >>> Mirko >>> ?\_(?)_/? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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, >> Vladyslav Zakhozhai >> email: v.zakhozhai at gmail.com >> tel.: +380(93) 757-21-61 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > ?\_(?)_/? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/57477f92/attachment-0001.html From krice at freeswitch.org Fri Sep 30 15:53:15 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 30 Sep 2016 06:53:15 -0500 Subject: [Freeswitch-users] Are is it bug? In-Reply-To: References: Message-ID: <326701d21b11$3ae44c80$b0ace580$@freeswitch.org> It might be open a jira on this From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Sergey Safarov Sent: Friday, September 30, 2016 5:01 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Are is it bug? I cannot resolve IPv6 hostname via FS console. Are it is bug? [root at localhost6 ~]# nslookup -type=aaaa ipv6.cybernode.com Server: ::1 Address: ::1#53 Non-authoritative answer: ipv6.cybernode.com has AAAA address 2001:470:1:1b9::31 [root at localhost6 ~]# fs_cli -x "host_lookup ipv6.cybernode.com " -ERR no reply [root at localhost6 ~]# -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/f286cea3/attachment.html From mike at jerris.com Fri Sep 30 16:09:26 2016 From: mike at jerris.com (Michael Jerris) Date: Fri, 30 Sep 2016 08:09:26 -0400 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> Message-ID: iceServers should probably be "Use STUN" and should default on On Friday, September 30, 2016, Vitaly Kovalyshyn wrote: > Application was updated with ICE Server, CID and Name: > > > > > Best regards, > Vitaly Kovalyshyn > > > On Sep 29, 2016, at 6:53 PM, Anthony Minessale < > anthony.minessale at gmail.com > > wrote: > > Hi, > > 1) You should pass > > iceServers: true > > to your verto handle constructor or have a param to toggle it. Without > enabling stun in chrome you can't get any srvflex candidates which will > cause nat issues. > > > 2) You should not only have fields for login and pass but also for caller > id name and number. > > > 3) The server tab does not make it clear that it wants a wss url. Maybe > just ask for server and port and generate the wss url. > > > > On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn < > v.kovalyshyn at gmail.com > > wrote: > >> Hi there! >> >> We've made the Chrome Extension & Application for FreeSWITCH *mod-verto* >> . >> >> It supports: >> >> >> - Audio & Video calls via mod_verto >> - Screen sharing >> - Click-to-call in any web-page >> - Address book >> - Multiline >> >> >> Be free to download and test it: https://chrome.google.com/ >> webstore/search/webitel >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> http://kovalyshyn.pp.ua/ >> Twitter: @kovalyshyn >> >> http://???????.???/ >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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+ > * > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org > ? > +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/a14c4c8c/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-09-30 at 9.50.53 AM.png Type: image/png Size: 66454 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/a14c4c8c/attachment-0001.png From mirkobrankovic at gmail.com Fri Sep 30 16:13:56 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 30 Sep 2016 14:13:56 +0200 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: great :) On Fri, Sep 30, 2016 at 1:52 PM, Vladyslav Zakhozhai wrote: > Yes. Everything goes well. > > On Fri, Sep 30, 2016 at 2:15 PM Mirko Brankovic > wrote: > >> Oh ok, >> I saw email for spell check, is it ok now after that corrected? >> >> On Fri, Sep 30, 2016 at 12:21 PM, Vladyslav Zakhozhai < >> v.zakhozhai at gmail.com> wrote: >> >>> Mirko, sorry for confusing you. >>> >>> You are right about pattern and my example phone number. I've just >>> replaced everything with 0 after 093. I have no problems with pcre :) Btw >>> we can even test it with fs_cli, don't we? :) >>> >>> freeswitch at vzakhozhai> regex 0930000000|^0[1-9][0-9]{8} >>> true >>> freeswitch at vzakhozhai> regex 0930000000|^0[1-9]{9} >>> false >>> >>> >>> >>> On Fri, Sep 30, 2016 at 10:39 AM Mirko Brankovic < >>> mirkobrankovic at gmail.com> wrote: >>> >>>> Well first point I saw the incorrect xml so that can act strangely, >>>> usually you can't even reloadxml correctly. >>>> >>>> Next thing is that ^0[1-9]{9}$ shouldn't pass 0930000000, since it is >>>> expecting 1-9 digits after 0, so 0931111111 can pass it. You should be able >>>> to test it here https://regex101.com/ for pcre. >>>> >>>> Also make sure you have all xml tags properlly closed, and try not to >>>> use nested conditions, I saw some emails about that not working as expected. >>>> >>>> >>>> >>>> On Thu, Sep 29, 2016 at 4:54 PM, Vladyslav Zakhozhai < >>>> v.zakhozhai at gmail.com> wrote: >>>> >>>>> Mirko, thank you for your answer. >>>>> Your information is very useful for me (I did not think that I need to >>>>> close every condition but nevermind). >>>>> >>>>> But it is not actually my problem. Let me put it this way: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> experession="^[2-5][0-9]{6}$"> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> I've added some verbosity with logging extension name. >>>>> Logs says that ua_mobile passed pattern check. But ua_local also >>>>> passed the check. And ua_local is to be executed. >>>>> >>>>> But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see >>>>> empty pattern against ua_local and ua_mobile: >>>>> >>>>> In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ >>>>> break=on-false >>>>> In case ua_local and ua_mobile: destination_number(0930000000) =~ // >>>>> break=on-false >>>>> >>>>> I'm pretty confused :) >>>>> >>>>> And FS log: >>>>> >>>>> 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing >>>>> vlakas ->0930000000 in context internal >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>> [internal->echo_test] continue=false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>> [internal->ua_local] continue=true >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >>>>> Extension ua_local) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>> [internal->ua_mobile] continue=true >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>> [ua_mobile] destination_number(0930000000) =~ // break=on-false >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >>>>> Extension ua_mobile) >>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 >>>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING >>>>> -> CS_EXECUTE >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 >>>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to >>>>> sleep >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 >>>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change >>>>> CS_EXECUTE >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 >>>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >>>>> 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/ >>>>> vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 >>>>> sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >>>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension >>>>> ua_local) >>>>> 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension ua_local >>>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua >>>>> bridge(sofia/gateway/golden/0930000000) >>>>> >>>>> >>>>> On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic < >>>>> mirkobrankovic at gmail.com> wrote: >>>>> >>>>>> You need to close both conditions. >>>>>> Correct this one: >>>>>> >>>>>> >>>>>> >>>>> expression="internal"> >>>>>> Some action >>>>>> >>>>>> >>>>>> >>>>>> with this one/or remove one: >>>>>> >>>>>> >>>>>> >>>>>> >>>>> expression="internal"> >>>>>> Some action >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < >>>>>> v.zakhozhai at gmail.com> wrote: >>>>>> >>>>>>> David, thank you for your answer. >>>>>>> >>>>>>> I've mentioned that I have no problems with extension is_local_call. >>>>>>> It will be matched only if SIP message has custom header >>>>>>> X-Exten-Type=internal. >>>>>>> >>>>>>> If SIP message has no this header and To user is 0930000000 it does >>>>>>> not match ua_mobile, but ua_local for some reason. >>>>>>> >>>>>>> When I'd remove is_local_call all numeric destinations are matched >>>>>>> against ua_local. >>>>>>> >>>>>>> Here is part of FS log: >>>>>>> >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>> [internal->echo_test] continue=false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>> [internal->is_internal_call] continue=false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>>> [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>>> [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>> [internal->ua_local] continue=false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>>>> >>>>>>> I've removed extension is_local_call and have: >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>> [internal->echo_test] continue=false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>> [internal->ua_local] continue=false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>>>> >>>>>>> I can't understand why expression in log for ua_local is empty >>>>>>> >>>>>>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // >>>>>>> break=on-false >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < >>>>>>> david.villasmil.work at gmail.com> wrote: >>>>>>> >>>>>>>> you're hitting internal before 09 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> expression="internal"> >>>>>>>> Some action >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> experession="^0[0-9]{9}$"> >>>>>>>> >>>>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> try removing " >>>>>>> expression=".*"/>" >>>>>>>> >>>>>>>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >>>>>>>> v.zakhozhai at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I've mentioned that pattern matching in my dialplan works >>>>>>>>> incorrectly but I can't figure out the main reason. >>>>>>>>> >>>>>>>>> For example I have the following dialplan: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> expression="^(echo|9999)$"> >>>>>>>>> Some action >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> expression="internal"> >>>>>>>>> Some action >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> experession="^[2-5][0-9]{6}$"> >>>>>>>>> Some action >>>>>>>>> >>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> experession="^0[0-9]{9}$"> >>>>>>>>> >>>>>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 1. Call to "echo" - OK (echo_test) >>>>>>>>> 2. Call to some extension with custom header X-Exten-Type - OK >>>>>>>>> (is_internal_call) >>>>>>>>> 3. Call to 5930000 - OK (ua_local) >>>>>>>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>>>>>>> >>>>>>>>> The last call matches ua_local. But why? >>>>>>>>> >>>>>>>>> The result of regex dp_tool >>>>>>>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>>>>>>> true >>>>>>>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>>>>>>> false >>>>>>>>> >>>>>>>>> So, everything is correct. I can't understand why almost everyting >>>>>>>>> goes to ua_local extension. >>>>>>>>> >>>>>>>>> I appreciate you help. >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Best regards, >>>>>>>>> Vladyslav Zakhozhai >>>>>>>>> email: v.zakhozhai at gmail.com >>>>>>>>> tel.: +380(93) 757-21-61 >>>>>>>>> >>>>>>>>> ____________________________________________________________ >>>>>>>>> _____________ >>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>> consulting at 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 at 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 at 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 at 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, >>>>>>> Vladyslav Zakhozhai >>>>>>> email: v.zakhozhai at gmail.com >>>>>>> tel.: +380(93) 757-21-61 >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> _____________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >>>>>>> options/freeswitch-users >>>>>>> http://www.freeswitch.org >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> Mirko >>>>>> ?\_(?)_/? >>>>>> >>>>>> ____________________________________________________________ >>>>>> _____________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at 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, >>>>> Vladyslav Zakhozhai >>>>> email: v.zakhozhai at gmail.com >>>>> tel.: +380(93) 757-21-61 >>>>> >>>>> ____________________________________________________________ >>>>> _____________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ >>>>> options/freeswitch-users >>>>> http://www.freeswitch.org >>>>> >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Mirko >>>> ?\_(?)_/? >>>> >>>> ____________________________________________________________ >>>> _____________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at 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, >>> Vladyslav Zakhozhai >>> email: v.zakhozhai at gmail.com >>> tel.: +380(93) 757-21-61 >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> http://www.freeswitch.org >>> >> >> >> >> -- >> Regards, >> Mirko >> ?\_(?)_/? >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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, > Vladyslav Zakhozhai > email: v.zakhozhai at gmail.com > tel.: +380(93) 757-21-61 > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/c49bf55f/attachment-0001.html From devang.nathwani31589 at gmail.com Fri Sep 30 16:51:54 2016 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Fri, 30 Sep 2016 18:21:54 +0530 Subject: [Freeswitch-users] Could not able to listen audio notification via WebRTC. Message-ID: Hi All, I have setup WebRTC using verto module of freeswitch and we have done evrything successfullt just the onething we are experiencing since long time and could not get any solution. I want to play a account balance when ever any user try to make call and if there is a no balance in acccount need to play "Not enough credit in account". Now the problem is Freeswitch actually playing those notification which we can able to listen properly if we make call using softphone but i could not able to listen it via WebRTC web phone. any one can help me to fix this issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/5632e906/attachment.html From service at ivc.nnov.ru Fri Sep 30 17:01:46 2016 From: service at ivc.nnov.ru (Mikhail Demekhov) Date: Fri, 30 Sep 2016 16:01:46 +0300 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> Message-ID: <57EE623A.6020301@ivc.nnov.ru> in the attachment pics output top -p -H and htop 29.09.2016 17:12, Ken Rice ?????: > Better to just use htop and you can not only see that but pretty graphs heh > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Kevin Wormington > Sent: Thursday, September 29, 2016 8:59 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load > > If you press ?1? while in top it should display the usage of individual CPUs so you can see Ken?s point. > > >> On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: >> >> Keep in mind that top showing 125% is VERY misleading... lets say you >> have a >> 10 core system for the sake of example, 125% in top means you are >> using roughly 12.5% of the total CPU Power of your system. This is >> because TOP takes the individual core percentages and adds them up... >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >> Mikhail Demekhov >> Sent: Thursday, September 29, 2016 1:50 AM >> To: freeswitch-users at lists.freeswitch.org >> Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high >> CPU load >> >> Hello! >> >> I have installed freeswitch using apt-get on my debian 8 sersver from >> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >> block under title 'latest release branch:' >> >> My server hardware: >> 2xCPU AMD Opteron(tm) Processor 6262 HE >> 64 GB RAM >> >> I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on >> both leg A and leg B core.db in TMPFS >> >> Through my server takes about 125 simultaneous calls >> >> CPU load about 125%! It is very high in my opinion. >> >> How to fix it? >> -------------- next part -------------- A non-text attachment was scrubbed... Name: htop.jpg Type: image/jpeg Size: 48348 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/10508288/attachment-0002.jpg -------------- next part -------------- A non-text attachment was scrubbed... Name: top_-H.jpg Type: image/jpeg Size: 51762 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/10508288/attachment-0003.jpg From mirkobrankovic at gmail.com Fri Sep 30 17:08:48 2016 From: mirkobrankovic at gmail.com (Mirko Brankovic) Date: Fri, 30 Sep 2016 15:08:48 +0200 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <57EE623A.6020301@ivc.nnov.ru> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> <57EE623A.6020301@ivc.nnov.ru> Message-ID: it's doing nothing :D On Fri, Sep 30, 2016 at 3:01 PM, Mikhail Demekhov wrote: > in the attachment pics output top -p -H and htop > > 29.09.2016 17:12, Ken Rice ?????: > >> Better to just use htop and you can not only see that but pretty graphs >> heh >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Kevin >> Wormington >> Sent: Thursday, September 29, 2016 8:59 AM >> To: FreeSWITCH Users Help >> Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and >> high CPU load >> >> If you press ?1? while in top it should display the usage of individual >> CPUs so you can see Ken?s point. >> >> >> On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: >>> >>> Keep in mind that top showing 125% is VERY misleading... lets say you >>> have a >>> 10 core system for the sake of example, 125% in top means you are >>> using roughly 12.5% of the total CPU Power of your system. This is >>> because TOP takes the individual core percentages and adds them up... >>> >>> -----Original Message----- >>> From: freeswitch-users-bounces at lists.freeswitch.org >>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >>> Mikhail Demekhov >>> Sent: Thursday, September 29, 2016 1:50 AM >>> To: freeswitch-users at lists.freeswitch.org >>> Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high >>> CPU load >>> >>> Hello! >>> >>> I have installed freeswitch using apt-get on my debian 8 sersver from >>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >>> block under title 'latest release branch:' >>> >>> My server hardware: >>> 2xCPU AMD Opteron(tm) Processor 6262 HE >>> 64 GB RAM >>> >>> I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on >>> both leg A and leg B core.db in TMPFS >>> >>> Through my server takes about 125 simultaneous calls >>> >>> CPU load about 125%! It is very high in my opinion. >>> >>> How to fix it? >>> >>> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- Regards, Mirko ?\_(?)_/? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/d169243f/attachment.html From brian at freeswitch.org Fri Sep 30 17:27:49 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 30 Sep 2016 06:27:49 -0700 Subject: [Freeswitch-users] Could not able to listen audio notification via WebRTC. In-Reply-To: References: Message-ID: Well start by telling us how you're playing these files... because you can't do that in early media on WebRTC and I suspect thats where you're doing it. On Fri, Sep 30, 2016 at 5:51 AM, devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Hi All, > > I have setup WebRTC using verto module of freeswitch and we have done > evrything successfullt just the onething we are experiencing since long > time and could not get any solution. > > I want to play a account balance when ever any user try to make call and > if there is a no balance in acccount need to play "Not enough credit in > account". > Now the problem is Freeswitch actually playing those notification which we > can able to listen properly if we make call using softphone but i could not > able to listen it via WebRTC web phone. > > any one can help me to fix this issue? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/aaa5d940/attachment.html From krice at freeswitch.org Fri Sep 30 17:29:50 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 30 Sep 2016 08:29:50 -0500 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <57EE623A.6020301@ivc.nnov.ru> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> <57EE623A.6020301@ivc.nnov.ru> Message-ID: <32e201d21b1e$b92fc490$2b8f4db0$@freeswitch.org> I don?t see a problem there... look at how low the individual cores are and the loadavg is barely 1.5... that?s actually doing quite well for a multicore system.... I would guess theres still plenty of headroom on that box -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mikhail Demekhov Sent: Friday, September 30, 2016 8:02 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load in the attachment pics output top -p -H and htop 29.09.2016 17:12, Ken Rice ?????: > Better to just use htop and you can not only see that but pretty > graphs heh > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Kevin Wormington > Sent: Thursday, September 29, 2016 8:59 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and > high CPU load > > If you press ?1? while in top it should display the usage of individual CPUs so you can see Ken?s point. > > >> On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: >> >> Keep in mind that top showing 125% is VERY misleading... lets say you >> have a >> 10 core system for the sake of example, 125% in top means you are >> using roughly 12.5% of the total CPU Power of your system. This is >> because TOP takes the individual core percentages and adds them up... >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >> Mikhail Demekhov >> Sent: Thursday, September 29, 2016 1:50 AM >> To: freeswitch-users at lists.freeswitch.org >> Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and >> high CPU load >> >> Hello! >> >> I have installed freeswitch using apt-get on my debian 8 sersver from >> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >> block under title 'latest release branch:' >> >> My server hardware: >> 2xCPU AMD Opteron(tm) Processor 6262 HE >> 64 GB RAM >> >> I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on >> both leg A and leg B core.db in TMPFS >> >> Through my server takes about 125 simultaneous calls >> >> CPU load about 125%! It is very high in my opinion. >> >> How to fix it? >> From service at ivc.nnov.ru Fri Sep 30 18:25:16 2016 From: service at ivc.nnov.ru (Mikhail Demekhov) Date: Fri, 30 Sep 2016 17:25:16 +0300 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <32e201d21b1e$b92fc490$2b8f4db0$@freeswitch.org> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> <57EE623A.6020301@ivc.nnov.ru> <32e201d21b1e$b92fc490$2b8f4db0$@freeswitch.org> Message-ID: <57EE75CC.3030809@ivc.nnov.ru> My colleague from another city said that his system ?entOS-6.5 and FS-1.4 on the CPU load is very small. "top" shows loading a few percent at 150 the same as my server calls. A colleague was very surprised when I saw the CPU load on my server. Here I am trying to figure out what was wrong. Regards, Mikhail Demekhov > I don?t see a problem there... look at how low the individual cores are and the loadavg is barely 1.5... that?s actually doing quite well for a multicore system.... I would guess theres still plenty of headroom on that box > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mikhail Demekhov > Sent: Friday, September 30, 2016 8:02 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load > > in the attachment pics output top -p -H and htop > > 29.09.2016 17:12, Ken Rice ?????: >> Better to just use htop and you can not only see that but pretty >> graphs heh >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >> Kevin Wormington >> Sent: Thursday, September 29, 2016 8:59 AM >> To: FreeSWITCH Users Help >> Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and >> high CPU load >> >> If you press ?1? while in top it should display the usage of individual CPUs so you can see Ken?s point. >> >> >>> On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: >>> >>> Keep in mind that top showing 125% is VERY misleading... lets say you >>> have a >>> 10 core system for the sake of example, 125% in top means you are >>> using roughly 12.5% of the total CPU Power of your system. This is >>> because TOP takes the individual core percentages and adds them up... >>> >>> -----Original Message----- >>> From: freeswitch-users-bounces at lists.freeswitch.org >>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >>> Mikhail Demekhov >>> Sent: Thursday, September 29, 2016 1:50 AM >>> To: freeswitch-users at lists.freeswitch.org >>> Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and >>> high CPU load >>> >>> Hello! >>> >>> I have installed freeswitch using apt-get on my debian 8 sersver from >>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >>> block under title 'latest release branch:' >>> >>> My server hardware: >>> 2xCPU AMD Opteron(tm) Processor 6262 HE >>> 64 GB RAM >>> >>> I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on >>> both leg A and leg B core.db in TMPFS >>> >>> Through my server takes about 125 simultaneous calls >>> >>> CPU load about 125%! It is very high in my opinion. >>> >>> How to fix it? >>> > > > > > _________________________________________________________________________ From krice at freeswitch.org Fri Sep 30 18:57:56 2016 From: krice at freeswitch.org (Ken Rice) Date: Fri, 30 Sep 2016 09:57:56 -0500 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <57EE75CC.3030809@ivc.nnov.ru> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> <57EE623A.6020301@ivc.nnov.ru> <32e201d21b1e$b92fc490$2b8f4db0$@freeswitch.org> <57EE75CC.3030809@ivc.nnov.ru> Message-ID: <334701d21b2b$080ae0c0$1820a240$@freeswitch.org> Different configs with FS can lead to orders of magnitude differences in load on the CPU... things like how much media, how much transcoding, how much media interaction.... all affect load... even something such as transcoding from G711 to ilbc vs g711 to g722 can lead to massive differences in CPU usage.... what you are seeing may be just what it takes.... -----Original Message----- From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mikhail Demekhov Sent: Friday, September 30, 2016 9:25 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load My colleague from another city said that his system ?entOS-6.5 and FS-1.4 on the CPU load is very small. "top" shows loading a few percent at 150 the same as my server calls. A colleague was very surprised when I saw the CPU load on my server. Here I am trying to figure out what was wrong. Regards, Mikhail Demekhov > I don?t see a problem there... look at how low the individual cores > are and the loadavg is barely 1.5... that?s actually doing quite well > for a multicore system.... I would guess theres still plenty of > headroom on that box > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Mikhail Demekhov > Sent: Friday, September 30, 2016 8:02 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and > high CPU load > > in the attachment pics output top -p -H and htop > > 29.09.2016 17:12, Ken Rice ?????: >> Better to just use htop and you can not only see that but pretty >> graphs heh >> >> -----Original Message----- >> From: freeswitch-users-bounces at lists.freeswitch.org >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >> Kevin Wormington >> Sent: Thursday, September 29, 2016 8:59 AM >> To: FreeSWITCH Users Help >> Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and >> high CPU load >> >> If you press ?1? while in top it should display the usage of individual CPUs so you can see Ken?s point. >> >> >>> On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: >>> >>> Keep in mind that top showing 125% is VERY misleading... lets say >>> you have a >>> 10 core system for the sake of example, 125% in top means you are >>> using roughly 12.5% of the total CPU Power of your system. This is >>> because TOP takes the individual core percentages and adds them up... >>> >>> -----Original Message----- >>> From: freeswitch-users-bounces at lists.freeswitch.org >>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of >>> Mikhail Demekhov >>> Sent: Thursday, September 29, 2016 1:50 AM >>> To: freeswitch-users at lists.freeswitch.org >>> Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and >>> high CPU load >>> >>> Hello! >>> >>> I have installed freeswitch using apt-get on my debian 8 sersver >>> from >>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie >>> block under title 'latest release branch:' >>> >>> My server hardware: >>> 2xCPU AMD Opteron(tm) Processor 6262 HE >>> 64 GB RAM >>> >>> I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A >>> on both leg A and leg B core.db in TMPFS >>> >>> Through my server takes about 125 simultaneous calls >>> >>> CPU load about 125%! It is very high in my opinion. >>> >>> How to fix it? >>> > > > > > ______________________________________________________________________ > ___ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting at 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 at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org From anthony.minessale at gmail.com Fri Sep 30 19:21:11 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 30 Sep 2016 10:21:11 -0500 Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load In-Reply-To: <334701d21b2b$080ae0c0$1820a240$@freeswitch.org> References: <57ECB991.70805@ivc.nnov.ru> <2edf01d21a49$9085fa80$b191ef80$@freeswitch.org> <68EBFC61-E4D5-4346-9A5A-77E027E748E2@sofnet.com> <2f9401d21a5b$8e0b0a40$aa211ec0$@freeswitch.org> <57EE623A.6020301@ivc.nnov.ru> <32e201d21b1e$b92fc490$2b8f4db0$@freeswitch.org> <57EE75CC.3030809@ivc.nnov.ru> <334701d21b2b$080ae0c0$1820a240$@freeswitch.org> Message-ID: The quality is so poor on the images I can't read it. I can make out in the top image that the system is 97% idle that's about it. On Fri, Sep 30, 2016 at 9:57 AM, Ken Rice wrote: > Different configs with FS can lead to orders of magnitude differences in > load on the CPU... things like how much media, how much transcoding, how > much media interaction.... all affect load... even something such as > transcoding from G711 to ilbc vs g711 to g722 can lead to massive > differences in CPU usage.... what you are seeing may be just what it > takes.... > > -----Original Message----- > From: freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mikhail > Demekhov > Sent: Friday, September 30, 2016 9:25 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high > CPU load > > My colleague from another city said that his system ?entOS-6.5 and > FS-1.4 on the CPU load is very small. > "top" shows loading a few percent at 150 the same as my server calls. > A colleague was very surprised when I saw the CPU load on my server. > Here I am trying to figure out what was wrong. > > Regards, > Mikhail Demekhov > > > > I don?t see a problem there... look at how low the individual cores > > are and the loadavg is barely 1.5... that?s actually doing quite well > > for a multicore system.... I would guess theres still plenty of > > headroom on that box > > > > -----Original Message----- > > From: freeswitch-users-bounces at lists.freeswitch.org > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > > Mikhail Demekhov > > Sent: Friday, September 30, 2016 8:02 AM > > To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and > > high CPU load > > > > in the attachment pics output top -p -H and htop > > > > 29.09.2016 17:12, Ken Rice ?????: > >> Better to just use htop and you can not only see that but pretty > >> graphs heh > >> > >> -----Original Message----- > >> From: freeswitch-users-bounces at lists.freeswitch.org > >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > >> Kevin Wormington > >> Sent: Thursday, September 29, 2016 8:59 AM > >> To: FreeSWITCH Users Help > >> Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and > >> high CPU load > >> > >> If you press ?1? while in top it should display the usage of individual > CPUs so you can see Ken?s point. > >> > >> > >>> On Sep 29, 2016, at 7:03 AM, Ken Rice wrote: > >>> > >>> Keep in mind that top showing 125% is VERY misleading... lets say > >>> you have a > >>> 10 core system for the sake of example, 125% in top means you are > >>> using roughly 12.5% of the total CPU Power of your system. This is > >>> because TOP takes the individual core percentages and adds them up... > >>> > >>> -----Original Message----- > >>> From: freeswitch-users-bounces at lists.freeswitch.org > >>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > >>> Mikhail Demekhov > >>> Sent: Thursday, September 29, 2016 1:50 AM > >>> To: freeswitch-users at lists.freeswitch.org > >>> Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and > >>> high CPU load > >>> > >>> Hello! > >>> > >>> I have installed freeswitch using apt-get on my debian 8 sersver > >>> from > >>> https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie > >>> block under title 'latest release branch:' > >>> > >>> My server hardware: > >>> 2xCPU AMD Opteron(tm) Processor 6262 HE > >>> 64 GB RAM > >>> > >>> I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A > >>> on both leg A and leg B core.db in TMPFS > >>> > >>> Through my server takes about 125 simultaneous calls > >>> > >>> CPU load about 125%! It is very high in my opinion. > >>> > >>> How to fix it? > >>> > > > > > > > > > > ______________________________________________________________________ > > ___ > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/cd0a7459/attachment.html From anthony.minessale at gmail.com Fri Sep 30 21:05:03 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 30 Sep 2016 12:05:03 -0500 Subject: [Freeswitch-users] Are is it bug? In-Reply-To: <326701d21b11$3ae44c80$b0ace580$@freeswitch.org> References: <326701d21b11$3ae44c80$b0ace580$@freeswitch.org> Message-ID: Fixed and with no bug, now I have to make it myself =/ ALWAYS FILE JIRAS! On Fri, Sep 30, 2016 at 6:53 AM, Ken Rice wrote: > It might be open a jira on this > > > > *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Sergey > Safarov > *Sent:* Friday, September 30, 2016 5:01 AM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] Are is it bug? > > > > I cannot resolve IPv6 hostname via FS console. Are it is bug? > > > > [root at localhost6 ~]# nslookup -type=aaaa ipv6.cybernode.com > > Server: ::1 > > Address: ::1#53 > > > > Non-authoritative answer: > > ipv6.cybernode.com has AAAA address 2001:470:1:1b9::31 > > > > [root at localhost6 ~]# fs_cli -x "host_lookup ipv6.cybernode.com" > > -ERR no reply > > > > [root at localhost6 ~]# > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/1618407e/attachment-0001.html From v.zakhozhai at gmail.com Fri Sep 30 21:26:38 2016 From: v.zakhozhai at gmail.com (Vladyslav Zakhozhai) Date: Fri, 30 Sep 2016 17:26:38 +0000 Subject: [Freeswitch-users] Dialplan expression matching In-Reply-To: References: Message-ID: Yeap... Brilliant :) Guys thank you very match. On Fri, Sep 30, 2016 at 3:14 PM Mirko Brankovic wrote: > great :) > > On Fri, Sep 30, 2016 at 1:52 PM, Vladyslav Zakhozhai < > v.zakhozhai at gmail.com> wrote: > >> Yes. Everything goes well. >> >> On Fri, Sep 30, 2016 at 2:15 PM Mirko Brankovic >> wrote: >> >>> Oh ok, >>> I saw email for spell check, is it ok now after that corrected? >>> >>> On Fri, Sep 30, 2016 at 12:21 PM, Vladyslav Zakhozhai < >>> v.zakhozhai at gmail.com> wrote: >>> >>>> Mirko, sorry for confusing you. >>>> >>>> You are right about pattern and my example phone number. I've just >>>> replaced everything with 0 after 093. I have no problems with pcre :) Btw >>>> we can even test it with fs_cli, don't we? :) >>>> >>>> freeswitch at vzakhozhai> regex 0930000000|^0[1-9][0-9]{8} >>>> true >>>> freeswitch at vzakhozhai> regex 0930000000|^0[1-9]{9} >>>> false >>>> >>>> >>>> >>>> On Fri, Sep 30, 2016 at 10:39 AM Mirko Brankovic < >>>> mirkobrankovic at gmail.com> wrote: >>>> >>>>> Well first point I saw the incorrect xml so that can act strangely, >>>>> usually you can't even reloadxml correctly. >>>>> >>>>> Next thing is that ^0[1-9]{9}$ shouldn't pass 0930000000, since it >>>>> is expecting 1-9 digits after 0, so 0931111111 can pass it. You should be >>>>> able to test it here https://regex101.com/ for pcre. >>>>> >>>>> Also make sure you have all xml tags properlly closed, and try not to >>>>> use nested conditions, I saw some emails about that not working as expected. >>>>> >>>>> >>>>> >>>>> On Thu, Sep 29, 2016 at 4:54 PM, Vladyslav Zakhozhai < >>>>> v.zakhozhai at gmail.com> wrote: >>>>> >>>>>> Mirko, thank you for your answer. >>>>>> Your information is very useful for me (I did not think that I need >>>>>> to close every condition but nevermind). >>>>>> >>>>>> But it is not actually my problem. Let me put it this way: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> experession="^[2-5][0-9]{6}$"> >>>>>> >>>>>> >>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> I've added some verbosity with logging extension name. >>>>>> Logs says that ua_mobile passed pattern check. But ua_local also >>>>>> passed the check. And ua_local is to be executed. >>>>>> >>>>>> But how 0930000000 can match ^[2-5][0-9]{6}$? And why in logs I see >>>>>> empty pattern against ua_local and ua_mobile: >>>>>> >>>>>> In case echo_test: destination_number(0930000000) =~ /^(echo|9999)$/ >>>>>> break=on-false >>>>>> In case ua_local and ua_mobile: destination_number(0930000000) =~ // >>>>>> break=on-false >>>>>> >>>>>> I'm pretty confused :) >>>>>> >>>>>> And FS log: >>>>>> >>>>>> 2016-09-29 17:45:24.303629 [INFO] mod_dialplan_xml.c:637 Processing >>>>>> vlakas ->0930000000 in context internal >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>> [internal->echo_test] continue=false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>> [internal->ua_local] continue=true >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >>>>>> Extension ua_local) >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>> [internal->ua_mobile] continue=true >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>> [ua_mobile] destination_number(0930000000) =~ // break=on-false >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action log(INFO >>>>>> Extension ua_mobile) >>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:286 >>>>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State Change CS_ROUTING >>>>>> -> CS_EXECUTE >>>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:602 >>>>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State ROUTING going to >>>>>> sleep >>>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:543 >>>>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) Running State Change >>>>>> CS_EXECUTE >>>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:609 >>>>>> (sofia/internal/vlakas at unitrans.tull.pp.ua) State EXECUTE >>>>>> 2016-09-29 17:45:24.303629 [DEBUG] mod_sofia.c:198 sofia/internal/ >>>>>> vlakas at unitrans.tull.pp.ua SOFIA EXECUTE >>>>>> 2016-09-29 17:45:24.303629 [DEBUG] switch_core_state_machine.c:328 >>>>>> sofia/internal/vlakas at unitrans.tull.pp.ua Standard EXECUTE >>>>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua log(INFO Extension >>>>>> ua_local) >>>>>> 2016-09-29 17:45:24.303629 [INFO] mod_dptools.c:1713 Extension >>>>>> ua_local >>>>>> EXECUTE sofia/internal/vlakas at unitrans.tull.pp.ua >>>>>> bridge(sofia/gateway/golden/0930000000) >>>>>> >>>>>> >>>>>> On Thu, Sep 29, 2016 at 4:33 PM Mirko Brankovic < >>>>>> mirkobrankovic at gmail.com> wrote: >>>>>> >>>>>>> You need to close both conditions. >>>>>>> Correct this one: >>>>>>> >>>>>>> >>>>>>> >>>>>> expression="internal"> >>>>>>> Some action >>>>>>> >>>>>>> >>>>>>> >>>>>>> with this one/or remove one: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> expression="internal"> >>>>>>> Some action >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Thu, Sep 29, 2016 at 3:04 PM, Vladyslav Zakhozhai < >>>>>>> v.zakhozhai at gmail.com> wrote: >>>>>>> >>>>>>>> David, thank you for your answer. >>>>>>>> >>>>>>>> I've mentioned that I have no problems with extension >>>>>>>> is_local_call. It will be matched only if SIP message has custom header >>>>>>>> X-Exten-Type=internal. >>>>>>>> >>>>>>>> If SIP message has no this header and To user is 0930000000 it does >>>>>>>> not match ua_mobile, but ua_local for some reason. >>>>>>>> >>>>>>>> When I'd remove is_local_call all numeric destinations are matched >>>>>>>> against ua_local. >>>>>>>> >>>>>>>> Here is part of FS log: >>>>>>>> >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>>> [internal->echo_test] continue=false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>>> [internal->is_internal_call] continue=false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>>>> [is_internal_call] destination_number(0930000000) =~ /.*/ break=on-false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>>>> [is_internal_call] ${sip_h_X-Exten-Type}() =~ /internal/ break=on-false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>>> [internal->ua_local] continue=false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>>>>> >>>>>>>> I've removed extension is_local_call and have: >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>>> [internal->echo_test] continue=false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (FAIL) >>>>>>>> [echo_test] destination_number(0930000000) =~ /^(echo|9999)$/ break=on-false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua parsing >>>>>>>> [internal->ua_local] continue=false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Regex (PASS) >>>>>>>> [ua_local] destination_number(0930000000) =~ // break=on-false >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>>>> log(sip_h_X-Exten-Type: ${sip_h_X-Exten-Type}.) >>>>>>>> Dialplan: sofia/internal/vlakas at unitrans.tull.pp.ua Action >>>>>>>> bridge(sofia/gateway/golden/${destination_number}) >>>>>>>> >>>>>>>> I can't understand why expression in log for ua_local is empty >>>>>>>> >>>>>>>> Regex (PASS) [ua_local] destination_number(0930000000) =~ // >>>>>>>> break=on-false >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Sep 29, 2016 at 3:03 PM David Villasmil < >>>>>>>> david.villasmil.work at gmail.com> wrote: >>>>>>>> >>>>>>>>> you're hitting internal before 09 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> expression="internal"> >>>>>>>>> Some action >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> experession="^0[0-9]{9}$"> >>>>>>>>> >>>>>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> try removing " >>>>>>>> expression=".*"/>" >>>>>>>>> >>>>>>>>> On Thu, Sep 29, 2016 at 10:41 AM, Vladyslav Zakhozhai < >>>>>>>>> v.zakhozhai at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I've mentioned that pattern matching in my dialplan works >>>>>>>>>> incorrectly but I can't figure out the main reason. >>>>>>>>>> >>>>>>>>>> For example I have the following dialplan: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> expression="^(echo|9999)$"> >>>>>>>>>> Some action >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> expression="internal"> >>>>>>>>>> Some action >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> experession="^[2-5][0-9]{6}$"> >>>>>>>>>> Some action >>>>>>>>>> >>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> experession="^0[0-9]{9}$"> >>>>>>>>>> >>>>>>>>> data="sofia/gateway/golden/${destination_number}"/> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 1. Call to "echo" - OK (echo_test) >>>>>>>>>> 2. Call to some extension with custom header X-Exten-Type - OK >>>>>>>>>> (is_internal_call) >>>>>>>>>> 3. Call to 5930000 - OK (ua_local) >>>>>>>>>> 4. Call to 0930000000 - FAILED to match ua_mobile extension. >>>>>>>>>> >>>>>>>>>> The last call matches ua_local. But why? >>>>>>>>>> >>>>>>>>>> The result of regex dp_tool >>>>>>>>>> freeswitch at vlakas> regex 5930000|^[2-5][0-9]{6}$ >>>>>>>>>> true >>>>>>>>>> freeswitch at vlakas> regex 0930000000|^[2-5][0-9]{6}$ >>>>>>>>>> false >>>>>>>>>> >>>>>>>>>> So, everything is correct. I can't understand why almost >>>>>>>>>> everyting goes to ua_local extension. >>>>>>>>>> >>>>>>>>>> I appreciate you help. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Best regards, >>>>>>>>>> Vladyslav Zakhozhai >>>>>>>>>> email: v.zakhozhai at gmail.com >>>>>>>>>> tel.: +380(93) 757-21-61 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>>>> consulting at 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 at 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 at 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 at 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, >>>>>>>> Vladyslav Zakhozhai >>>>>>>> email: v.zakhozhai at gmail.com >>>>>>>> tel.: +380(93) 757-21-61 >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>>> consulting at 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 at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> http://www.freeswitch.org >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Regards, >>>>>>> Mirko >>>>>>> ?\_(?)_/? >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> Professional FreeSWITCH Consulting Services: >>>>>>> consulting at 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 at 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, >>>>>> Vladyslav Zakhozhai >>>>>> email: v.zakhozhai at gmail.com >>>>>> tel.: +380(93) 757-21-61 >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Consulting Services: >>>>>> consulting at 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 at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> http://www.freeswitch.org >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Regards, >>>>> Mirko >>>>> ?\_(?)_/? >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Consulting Services: >>>>> consulting at 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 at 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, >>>> Vladyslav Zakhozhai >>>> email: v.zakhozhai at gmail.com >>>> tel.: +380(93) 757-21-61 >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Consulting Services: >>>> consulting at 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 at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> http://www.freeswitch.org >>>> >>> >>> >>> >>> -- >>> Regards, >>> Mirko >>> ?\_(?)_/? >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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, >> Vladyslav Zakhozhai >> email: v.zakhozhai at gmail.com >> tel.: +380(93) 757-21-61 >> >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> http://www.freeswitch.org >> > > > > -- > Regards, > Mirko > ?\_(?)_/? > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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, Vladyslav Zakhozhai email: v.zakhozhai at gmail.com tel.: +380(93) 757-21-61 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/a6a36605/attachment-0001.html From brian at freeswitch.org Fri Sep 30 21:46:15 2016 From: brian at freeswitch.org (Brian West) Date: Fri, 30 Sep 2016 10:46:15 -0700 Subject: [Freeswitch-users] How to pass variable to Loopback Channel with loopback_export? In-Reply-To: <57EE3BBC.7040708@telefaks.de> References: <57EB7A54.8060707@telefaks.de> <57EE3BBC.7040708@telefaks.de> Message-ID: Trying too hard ;) &bridge({var=Val}loopback/number2) On Friday, September 30, 2016, Peter Steinbach wrote: > Nobody has done this already? > > > On 09/28/16 10:07, Peter Steinbach wrote: > > Hello, > > > > I would like to do initiate a call the following way: > > {variable1=xxx,variable2=yyy}sofia/gateway/number > &bridge(loopback/number2) > > > > Variables are not passed to the loopback channel, as expected. > > > > So I tried the loopback_export the following way. > > {variable1=xxx,variable2=yyy,loopback_export=variable1} > sofia/gateway/number > > &bridge(loopback/number2) > > > > However, variables are not passed to the loopback channel. > > > > Anybody knows how to pass variables to the loopback channel? > > > > > -- > With kind regards > Peter Steinbach > > Telefaks Services GmbH > mailto:lists (att) telefaks.de > Internet: www.telefaks.de > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > -- *Brian West* brian at freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here ! | Reddit: /r/freeswitch *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/1424f39c/attachment.html From anthony.minessale at gmail.com Fri Sep 30 22:01:45 2016 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 30 Sep 2016 13:01:45 -0500 Subject: [Freeswitch-users] New Chrome Extension for mod_verto In-Reply-To: References: <73E60566-9653-486F-A416-E40CFAB6AA11@gmail.com> <8EB21EFD-51E0-46EC-856B-B5DDE482BF33@gmail.com> Message-ID: How about live array and conference controls? Also is it updated in chrome store or just locally because I did not see any changes. On Fri, Sep 30, 2016 at 7:09 AM, Michael Jerris wrote: > iceServers should probably be "Use STUN" and should default on > > > On Friday, September 30, 2016, Vitaly Kovalyshyn > wrote: > >> Application was updated with ICE Server, CID and Name: >> >> >> >> >> Best regards, >> Vitaly Kovalyshyn >> >> >> On Sep 29, 2016, at 6:53 PM, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >> Hi, >> >> 1) You should pass >> >> iceServers: true >> >> to your verto handle constructor or have a param to toggle it. Without >> enabling stun in chrome you can't get any srvflex candidates which will >> cause nat issues. >> >> >> 2) You should not only have fields for login and pass but also for caller >> id name and number. >> >> >> 3) The server tab does not make it clear that it wants a wss url. Maybe >> just ask for server and port and generate the wss url. >> >> >> >> On Thu, Sep 29, 2016 at 10:15 AM, Vitaly Kovalyshyn < >> v.kovalyshyn at gmail.com> wrote: >> >>> Hi there! >>> >>> We've made the Chrome Extension & Application for FreeSWITCH *mod-verto* >>> . >>> >>> It supports: >>> >>> >>> - Audio & Video calls via mod_verto >>> - Screen sharing >>> - Click-to-call in any web-page >>> - Address book >>> - Multiline >>> >>> >>> Be free to download and test it: https://chrome.google.com/ >>> webstore/search/webitel >>> >>> >>> Best regards, >>> Vitaly Kovalyshyn >>> >>> http://kovalyshyn.pp.ua/ >>> Twitter: @kovalyshyn >>> >>> http://???????.???/ >>> >>> >>> ____________________________________________________________ >>> _____________ >>> Professional FreeSWITCH Consulting Services: >>> consulting at 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 at 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+ >> * >> >> ClueCon Weekly Development Call >> ? sip:888 at conference.freeswitch.org ? +19193869900 >> >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> _________________________________________________________________________ >> Professional FreeSWITCH Consulting Services: >> consulting at 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 at 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 at 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 at 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+ * ClueCon Weekly Development Call ? sip:888 at conference.freeswitch.org ? +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/09b8eb83/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-09-30 at 9.50.53 AM.png Type: image/png Size: 66454 bytes Desc: not available Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/09b8eb83/attachment-0001.png From mario_fs at mgtech.com Fri Sep 30 22:08:25 2016 From: mario_fs at mgtech.com (Mario G) Date: Fri, 30 Sep 2016 11:08:25 -0700 Subject: [Freeswitch-users] Are is it bug? In-Reply-To: References: <326701d21b11$3ae44c80$b0ace580$@freeswitch.org> Message-ID: <32566A11-80B1-4751-977C-BFD8A56AC316@mgtech.com> Longshot, but could this be related: https://freeswitch.org/jira/browse/FS-9428 or FS-9430? Mario G > On Sep 30, 2016, at 10:05 AM, Anthony Minessale wrote: > > Fixed and with no bug, now I have to make it myself =/ ALWAYS FILE JIRAS! > > On Fri, Sep 30, 2016 at 6:53 AM, Ken Rice > wrote: > It might be open a jira on this > > > > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Sergey Safarov > Sent: Friday, September 30, 2016 5:01 AM > To: FreeSWITCH Users Help > > Subject: [Freeswitch-users] Are is it bug? > > > > I cannot resolve IPv6 hostname via FS console. Are it is bug? > > > > [root at localhost6 ~]# nslookup -type=aaaa ipv6.cybernode.com > Server: ::1 > > Address: ::1#53 > > > > Non-authoritative answer: > > ipv6.cybernode.com has AAAA address 2001:470:1:1b9::31 > > > > [root at localhost6 ~]# fs_cli -x "host_lookup ipv6.cybernode.com " > > -ERR no reply > > > > [root at localhost6 ~]# > > > > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at 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+ > > ClueCon Weekly Development Call > ? sip:888 at conference.freeswitch.org ? +19193869900 > > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting at 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 at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160930/820fbc3b/attachment.html