From vishalmpai at gmail.com Mon Apr 1 11:20:10 2019 From: vishalmpai at gmail.com (Vishal Pai) Date: Mon, 1 Apr 2019 16:50:10 +0530 Subject: [Freeswitch-users] Fwd: conference layout in verto In-Reply-To: References: Message-ID: Is it feasible please advice. ---------- Forwarded message --------- From: Vishal Pai Date: Thu, Mar 14, 2019 at 12:02 PM Subject: Re: [Freeswitch-users] conference layout in verto To: FreeSWITCH Users Help Thanks for the prompt reply. Is it possible to set different layout for participant and moderator on realtime basis. Now one layout which we set is used by both participant and moderator. On Wed, Mar 13, 2019 at 7:39 PM Brian West wrote: > Edit conference_layouts.conf.xml > > /b > > > On Wed, Mar 13, 2019 at 8:14 AM Vishal Pai wrote: > >> Hi Eeveryone >> >> I have used verto communicator for conference now i need customise the >> conference layout for participant and moderator. What is the best way to >> achieve this?. >> >> >> >> >> Thank You >> Vishal >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From moshe.rosenberg at gmail.com Mon Apr 1 12:05:29 2019 From: moshe.rosenberg at gmail.com (Moshe Rosenberg) Date: Mon, 1 Apr 2019 08:05:29 -0400 Subject: [Freeswitch-users] Call transfer In-Reply-To: References: Message-ID: Can you point me in the right direction? In which dailplan will I add this? On Sun, Mar 31, 2019, 1:11 PM Abaci B wrote: > You can use transfer_fallback_extension > https://freeswitch.org/confluence/display/FREESWITCH/transfer_fallback_extension > > On Sat, Mar 30, 2019 at 11:58 PM Moshe Rosenberg < > moshe.rosenberg at gmail.com> wrote: > >> Hi >> >> With the old Panasonic system there was a feature that if we transfer a >> caller to an ext and the person does not answer it will not go to VM >> instead it would ring back to the user who tried to transfer the call >> >> How can we do that? In freeswitch >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gavin.henry at gmail.com Tue Apr 2 21:53:03 2019 From: gavin.henry at gmail.com (Gavin Henry) Date: Tue, 2 Apr 2019 22:53:03 +0100 Subject: [Freeswitch-users] record_session and file size In-Reply-To: References: Message-ID: Any ideas? Thanks. On Sun, 31 Mar 2019 at 20:20, Gavin Henry wrote: > Hi Mike, > > The only ones I see are: > > rtp_audio_in_raw_bytes 163136 > rtp_audio_out_raw_bytes 139664 > > rtp_audio_in_media_bytes 163056 > rtp_audio_out_media_bytes 139664 > > and these are there whether record_session is set or not. So I presume > as the default file format is wav, which on the filesystem for the > above call shows as 318444 bytes, then it's the combo of in_raw and > out_raw, but that doesn't add up... > > The duration of the call is 21 secs, so if it's wav I could use > https://en.wikipedia.org/wiki/WAV to work out the size as I don't want > to access the filesystem. > > Thanks. > -- http://www.suretecsystems.com/services/openldap/ http://www.surevoip.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.org Wed Apr 3 16:48:47 2019 From: mike at freeswitch.org (Mike Jerris) Date: Wed, 3 Apr 2019 10:48:47 -0600 Subject: [Freeswitch-users] record_session and file size In-Reply-To: References: Message-ID: <8946D528-C23B-4CF7-AE39-98C8A6DC5DB9@freeswitch.org> Nope those are not them. There are ones for recording length. > On Apr 2, 2019, at 3:53 PM, Gavin Henry wrote: > > Any ideas? > > Thanks. > > On Sun, 31 Mar 2019 at 20:20, Gavin Henry > wrote: > Hi Mike, > > The only ones I see are: > > rtp_audio_in_raw_bytes 163136 > rtp_audio_out_raw_bytes 139664 > > rtp_audio_in_media_bytes 163056 > rtp_audio_out_media_bytes 139664 > > and these are there whether record_session is set or not. So I presume > as the default file format is wav, which on the filesystem for the > above call shows as 318444 bytes, then it's the combo of in_raw and > out_raw, but that doesn't add up... > > The duration of the call is 21 secs, so if it's wav I could use > https://en.wikipedia.org/wiki/WAV to work out the size as I don't want > to access the filesystem. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.org Wed Apr 3 16:51:34 2019 From: mike at freeswitch.org (Mike Jerris) Date: Wed, 3 Apr 2019 10:51:34 -0600 Subject: [Freeswitch-users] record_session and file size In-Reply-To: <8946D528-C23B-4CF7-AE39-98C8A6DC5DB9@freeswitch.org> References: <8946D528-C23B-4CF7-AE39-98C8A6DC5DB9@freeswitch.org> Message-ID: <0452A4C3-0B7F-4B0F-AECE-72EF128F5FF3@freeswitch.org> record_file_size > On Apr 3, 2019, at 10:48 AM, Mike Jerris wrote: > > Nope those are not them. There are ones for recording length. > >> On Apr 2, 2019, at 3:53 PM, Gavin Henry > wrote: >> >> Any ideas? >> >> Thanks. >> >> On Sun, 31 Mar 2019 at 20:20, Gavin Henry > wrote: >> Hi Mike, >> >> The only ones I see are: >> >> rtp_audio_in_raw_bytes 163136 >> rtp_audio_out_raw_bytes 139664 >> >> rtp_audio_in_media_bytes 163056 >> rtp_audio_out_media_bytes 139664 >> >> and these are there whether record_session is set or not. So I presume >> as the default file format is wav, which on the filesystem for the >> above call shows as 318444 bytes, then it's the combo of in_raw and >> out_raw, but that doesn't add up... >> >> The duration of the call is 21 secs, so if it's wav I could use >> https://en.wikipedia.org/wiki/WAV to work out the size as I don't want >> to access the filesystem. >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.kargas at teiwm.gr Wed Apr 3 06:45:57 2019 From: d.kargas at teiwm.gr (=?utf-8?B?Is6UzrfOvM6uz4TPgc65zr/PgiDOlC4gzprOrM+BzrPOsc+CIg==?=) Date: Wed, 3 Apr 2019 09:45:57 +0300 Subject: [Freeswitch-users] Freeswitch trunk with router vodafone asterisk based Message-ID: <8FD8AFFD-BF93-4286-AF2D-A612EE29F39F@teiwm.gr> Good morning, I Have this error, Internet ——> Router Vodafone (Asteriskj Based Pstn Voip) 192.168.2.5 ——> FS ( 192.168.2.10 ) ——-> Phone (192.168.2.41) * Freeswitch is behind this router with static internal ip 192.168.2.10 and without internet. After config trunk with this router and add gateway in FS this trunk a have normal inbound/incoming calls and work ok. The error is on outbound call from this trunk, make the call and i don’t have returned audio to phone. After make from phone a call, call starting from router but with out ring back in phone and if answer the call from the other side rtp channel open and send packets to FS but not to Phone. Can help me please? Thanks. Sorry my English is so bad. Log from sip call outbound trace ------------------------------------------------------------------------ INVITE sip:401 at 192.168.2.10:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 192.168.2.41;branch=z9hG4bK169fc7e5a6e1207bd Route: Max-Forwards: 70 From: "7777" ;tag=c607ca2663;epid=SC0c351a To: Call-ID: 356f4bddc52d1c96 CSeq: 2140941627 INVITE Allow: INVITE, ACK, CANCEL, BYE, REFER, NOTIFY, UPDATE Allow-Events: hold Contact: "7777" Min-SE: 90 Session-Expires: 3600;refresher=uac Supported: replaces, 100rel, timer User-Agent: OpenStage_40_V3 R4.10.0 SIP 160728 X-Siemens-Call-Type: ST-secure, ST-insecure Content-Type: application/sdp Content-Length: 352 v=0 o=OpenStage-Line_0 1646341531 67203184 IN IP4 192.168.2.41 s=SIP Call c=IN IP4 192.168.2.41 t=0 0 m=audio 5010 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=silenceSupp:off - - - - a=fmtp:18 annexb=no a=fmtp:101 0-15 a=rtcp:5011 IN IP4 192.168.2.41 a=sendrecv ------------------------------------------------------------------------ 2019-04-01 23:19:16.604364 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/7777 at 192.168.2.10:5060 [1f84cc47-487d-495d-8d1f-a7dd2636fc43] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/7777 at 192.168.2.10:5060) Running State Change CS_NEW (Cur 1 Tot 7) 2019-04-01 23:19:16.604364 [DEBUG] sofia.c:10092 sofia/internal/7777 at 192.168.2.10:5060 receiving invite from 192.168.2.41:5060 version: 1.8.5 -6-31281a0bf1 64bit 2019-04-01 23:19:16.604364 [DEBUG] sofia.c:7291 Channel sofia/internal/7777 at 192.168.2.10:5060 entering state [received][100] 2019-04-01 23:19:16.604364 [DEBUG] sofia.c:7301 Remote SDP: v=0 o=OpenStage-Line_0 1646341531 67203184 IN IP4 192.168.2.41 s=SIP Call c=IN IP4 192.168.2.41 t=0 0 m=audio 5010 RTP/AVP 8 0 18 101 a=rtpmap:8 PCMA/8000 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-15 a=silenceSupp:off - - - - a=rtcp:5011 IN IP4 192.168.2.41 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5533 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G729:18:8000:20:8000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5533 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G729:18:8000:20:8000:1]/[G729:18:8000:20:8000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5533 Audio Codec Compare [G729:18:8000:20:8000:1] ++++ is saved as a match 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5478 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1] 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:5394 Set telephone-event payload to 101 at 8000 2019-04-01 23:19:16.604364 [DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/7777 at 192.168.2.10:5060 PCMA/8000 20 ms 160 samples 64000 bits 1 channels 2019-04-01 23:19:16.604364 [DEBUG] switch_core_codec.c:111 sofia/internal/7777 at 192.168.2.10:5060 Original read codec set to PCMA:8 2019-04-01 23:19:16.624363 [DEBUG] switch_core_media.c:5737 Set telephone-event payload to 101 at 8000 2019-04-01 23:19:16.624363 [DEBUG] switch_core_media.c:5795 sofia/internal/7777 at 192.168.2.10:5060 Set 2833 dtmf send payload to 101 recv payload to 101 2019-04-01 23:19:16.624363 [DEBUG] sofia.c:7716 (sofia/internal/7777 at 192.168.2.10:5060) State Change CS_NEW -> CS_INIT 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/7777 at 192.168.2.10:5060) State NEW 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/7777 at 192.168.2.10:5060) Running State Change CS_INIT (Cur 1 Tot 7) 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/7777 at 192.168.2.10:5060) State INIT 2019-04-01 23:19:16.624363 [DEBUG] mod_sofia.c:93 sofia/internal/7777 at 192.168.2.10:5060 SOFIA INIT 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:40 sofia/internal/7777 at 192.168.2.10:5060 Standard INIT 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/7777 at 192.168.2.10:5060) State Change CS_INIT -> CS_ROUTING 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/7777 at 192.168.2.10:5060) State INIT going to sleep 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/7777 at 192.168.2.10:5060) Running State Change CS_ROUTING (Cur 1 Tot 7) 2019-04-01 23:19:16.624363 [DEBUG] switch_channel.c:2249 (sofia/internal/7777 at 192.168.2.10:5060) Callstate Change DOWN -> RINGING 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/7777 at 192.168.2.10:5060) State ROUTING 2019-04-01 23:19:16.624363 [DEBUG] mod_sofia.c:154 sofia/internal/7777 at 192.168.2.10:5060 SOFIA ROUTING 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:236 sofia/internal/7777 at 192.168.2.10:5060 Standard ROUTING 2019-04-01 23:19:16.624363 [INFO] mod_dialplan_xml.c:637 Processing 7777 <7777>->401 in context 192.168.2.10 send 296 bytes to udp/[192.168.2.41]:5060 at 23:19:16.624956: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.2.41;branch=z9hG4bK169fc7e5a6e1207bd;rport=5060 From: "7777" ;tag=c607ca2663;epid=SC0c351a To: Call-ID: 356f4bddc52d1c96 CSeq: 2140941627 INVITE User-Agent: FreeSWITCH Content-Length: 0 ------------------------------------------------------------------------ Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->user_exists] continue=true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [user_exists] () =~ // break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(user_exists=${user_exists id ${destination_number} ${domain_name}}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(user_exists=false) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [user_exists]=[false] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_exists] ${user_exists}(false) =~ /^true$/ break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->caller-details] continue=true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [caller-details] ${caller_destination}() =~ /^$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(caller_destination=${destination_number}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(caller_destination=401) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [caller_destination]=[401] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(caller_id_name=${caller_id_name}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(caller_id_name=7777) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [caller_id_name]=[7777] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(caller_id_number=${caller_id_number}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(caller_id_number=7777) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [caller_id_number]=[7777] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->variables] continue=true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [variables] () =~ // break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action export(origination_callee_id_name=${destination_number}) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->call-direction] continue=true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [call-direction] ${call_direction}() =~ /^(inbound|outbound|local)$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 ANTI-Action export(call_direction=local) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->call_block] continue=true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [call_block] ${call_direction}() =~ /^inbound$/ break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->user_record] continue=true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [user_record] () =~ // break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(from_user_exists=${user_exists id ${sip_from_user} ${sip_from_host}}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(from_user_exists=true) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [from_user_exists]=[true] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${user_record}() =~ /^all$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${user_record}() =~ /^inbound$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${user_record}() =~ /^outbound$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${user_exists}(false) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${user_record}() =~ /^local$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(from_user_record=${user_data ${sip_from_user}@${sip_from_host} var user_record}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(from_user_record=) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [from_user_record]=[UNDEF] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${from_user_record}() =~ /^all$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${call_direction}() =~ /^inbound$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${from_user_record}() =~ /^inbound$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${call_direction}() =~ /^outbound$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${from_user_record}() =~ /^outbound$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${call_direction}() =~ /^local$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${from_user_record}() =~ /^local$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [user_record] ${record_session}() =~ /^true$/ break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->redial] continue=true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [redial] destination_number(401) =~ /^(redial|\*870)$/ break=on-true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [redial] () =~ // break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->speed_dial] continue=false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (FAIL) [speed_dial] destination_number(401) =~ /^\*0(.*)$/ break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->default_caller_id] continue=true Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [default_caller_id] ${emergency_caller_id_number}() =~ /^$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(emergency_caller_id_name=${default_emergency_caller_id_name}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(emergency_caller_id_name=) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [emergency_caller_id_name]=[UNDEF] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(emergency_caller_id_number=${default_emergency_caller_id_number}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(emergency_caller_id_number=) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [emergency_caller_id_number]=[UNDEF] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [default_caller_id] ${outbound_caller_id_number}() =~ /^$/ break=never Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(outbound_caller_id_name=${default_outbound_caller_id_name}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(outbound_caller_id_name=) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [outbound_caller_id_name]=[UNDEF] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(outbound_caller_id_number=${default_outbound_caller_id_number}) INLINE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(outbound_caller_id_number=) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [outbound_caller_id_number]=[UNDEF] Dialplan: sofia/internal/7777 at 192.168.2.10:5060 parsing [192.168.2.10->fs.d3] continue=false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [fs.d3] ${user_exists}(false) =~ /false/ break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Regex (PASS) [fs.d3] destination_number(401) =~ /^(\d{3})$/ break=on-false Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(sip_h_X-accountcode=${accountcode}) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action export(call_direction=outbound) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action unset(call_timeout) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(hangup_after_bridge=true) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(effective_caller_id_name=${outbound_caller_id_name}) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(effective_caller_id_number=${outbound_caller_id_number}) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(ignore_display_updates=true) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(callee_id_number=401) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action set(continue_on_fail=true) Dialplan: sofia/internal/7777 at 192.168.2.10:5060 Action bridge({rtp_autoflush_during_bridge=false}sofia/gateway/af53c152-0f9c-4166-ad4f-3abf497e9abe/401) 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/7777 at 192.168.2.10:5060) State Change CS_ROUTING -> CS_EXECUTE 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/7777 at 192.168.2.10:5060) State ROUTING going to sleep 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/7777 at 192.168.2.10:5060) Running State Change CS_EXECUTE (Cur 1 Tot 7) 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/7777 at 192.168.2.10:5060) State EXECUTE 2019-04-01 23:19:16.624363 [DEBUG] mod_sofia.c:209 sofia/internal/7777 at 192.168.2.10:5060 SOFIA EXECUTE 2019-04-01 23:19:16.624363 [DEBUG] switch_core_state_machine.c:328 sofia/internal/7777 at 192.168.2.10:5060 Standard EXECUTE EXECUTE sofia/internal/7777 at 192.168.2.10:5060 export(origination_callee_id_name=401) 2019-04-01 23:19:16.624363 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[401] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(RFC2822_DATE=Mon, 01 Apr 2019 23:19:16 +0300) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [RFC2822_DATE]=[Mon, 01 Apr 2019 23:19:16 +0300] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 export(call_direction=local) 2019-04-01 23:19:16.624363 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[local] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 hash(insert/192.168.2.10-last_dial/7777/401) EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(sip_h_X-accountcode=) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [sip_h_X-accountcode]=[UNDEF] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 export(call_direction=outbound) 2019-04-01 23:19:16.624363 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[outbound] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 unset(call_timeout) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1743 UNSET [call_timeout] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(hangup_after_bridge=true) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [hangup_after_bridge]=[true] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(effective_caller_id_name=) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [effective_caller_id_name]=[UNDEF] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(effective_caller_id_number=) 2019-04-01 23:19:16.624363 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [effective_caller_id_number]=[UNDEF] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(ignore_display_updates=true) 2019-04-01 23:19:16.644362 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [ignore_display_updates]=[true] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(callee_id_number=401) 2019-04-01 23:19:16.644362 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [callee_id_number]=[401] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 set(continue_on_fail=true) 2019-04-01 23:19:16.644362 [DEBUG] mod_dptools.c:1598 SET sofia/internal/7777 at 192.168.2.10:5060 [continue_on_fail]=[true] EXECUTE sofia/internal/7777 at 192.168.2.10:5060 bridge({rtp_autoflush_during_bridge=false}sofia/gateway/af53c152-0f9c-4166-ad4f-3abf497e9abe/401) 2019-04-01 23:19:16.644362 [DEBUG] switch_channel.c:1250 sofia/internal/7777 at 192.168.2.10:5060 EXPORTING[export_vars] [domain_name]=[192.168.2.10] to event 2019-04-01 23:19:16.644362 [DEBUG] switch_channel.c:1250 sofia/internal/7777 at 192.168.2.10:5060 EXPORTING[export_vars] [origination_callee_id_name]=[401] to event 2019-04-01 23:19:16.644362 [DEBUG] switch_channel.c:1250 sofia/internal/7777 at 192.168.2.10:5060 EXPORTING[export_vars] [call_direction]=[outbound] to event 2019-04-01 23:19:16.644362 [DEBUG] switch_channel.c:1250 sofia/internal/7777 at 192.168.2.10:5060 EXPORTING[export_vars] [call_direction]=[outbound] to event 2019-04-01 23:19:16.644362 [DEBUG] switch_ivr_originate.c:2204 Parsing global variables 2019-04-01 23:19:16.644362 [NOTICE] switch_channel.c:1104 New Channel sofia/internal/401 [46e3d37c-4663-40fd-8a89-fbc58a624fb5] 2019-04-01 23:19:16.644362 [DEBUG] mod_sofia.c:5019 (sofia/internal/401) State Change CS_NEW -> CS_INIT 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/401) Running State Change CS_INIT (Cur 2 Tot 8) 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/401) State INIT 2019-04-01 23:19:16.644362 [DEBUG] mod_sofia.c:93 sofia/internal/401 SOFIA INIT 2019-04-01 23:19:16.644362 [DEBUG] sofia_glue.c:1302 sofia/internal/401 sending invite version: 1.8.5 -6-31281a0bf1 64bit Local SDP: v=0 o=FreeSWITCH 1554117544 1554117545 IN IP4 192.168.2.10 s=FreeSWITCH c=IN IP4 192.168.2.10 t=0 0 m=audio 32412 RTP/AVP 8 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 a=sendrecv 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:40 sofia/internal/401 Standard INIT 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/401) State Change CS_INIT -> CS_ROUTING 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/401) State INIT going to sleep send 1235 bytes to udp/[192.168.2.5]:5060 at 23:19:16.646518: ------------------------------------------------------------------------ INVITE sip:401 at 192.168.2.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10;rport;branch=z9hG4bKaD01jKXKySvej Max-Forwards: 69 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521186 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-Siemens-Call-Type: ST-secure, ST-insecure X-FS-Support: update_display,send_info Remote-Party-ID: "7777" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1554117544 1554117545 IN IP4 192.168.2.10 s=FreeSWITCH c=IN IP4 192.168.2.10 t=0 0 m=audio 32412 RTP/AVP 8 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 ------------------------------------------------------------------------ 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/401) Running State Change CS_ROUTING (Cur 2 Tot 8) 2019-04-01 23:19:16.644362 [DEBUG] sofia.c:7291 Channel sofia/internal/401 entering state [calling][0] 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/401) State ROUTING 2019-04-01 23:19:16.644362 [DEBUG] mod_sofia.c:154 sofia/internal/401 SOFIA ROUTING 2019-04-01 23:19:16.644362 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/401) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/401) State ROUTING going to sleep 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/401) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 8) 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/401) State CONSUME_MEDIA 2019-04-01 23:19:16.644362 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/401) State CONSUME_MEDIA going to sleep recv 552 bytes from udp/[192.168.2.5]:5060 at 23:19:16.649851: ------------------------------------------------------------------------ SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKaD01jKXKySvej;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as5f2ac2da Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521186 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="4c256898" Content-Length: 0 ------------------------------------------------------------------------ send 300 bytes to udp/[192.168.2.5]:5060 at 23:19:16.649935: ------------------------------------------------------------------------ ACK sip:401 at 192.168.2.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10;rport;branch=z9hG4bKaD01jKXKySvej Max-Forwards: 69 From: "7777" ;tag=Fj74StZva720c To: ;tag=as5f2ac2da Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521186 ACK Content-Length: 0 ------------------------------------------------------------------------ send 1403 bytes to udp/[192.168.2.5]:5060 at 23:19:16.650070: ------------------------------------------------------------------------ INVITE sip:401 at 192.168.2.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10;rport;branch=z9hG4bKBpStmeeQU2j1D Max-Forwards: 69 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 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 Proxy-Authorization: Digest username="9999", realm="asterisk", nonce="4c256898", algorithm=MD5, uri="sip:401 at 192.168.2.5", response="63b6418f049af14ff2d44e17d7d72f34" Content-Type: application/sdp Content-Disposition: session Content-Length: 244 X-Siemens-Call-Type: ST-secure, ST-insecure X-FS-Support: update_display,send_info Remote-Party-ID: "7777" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1554117544 1554117545 IN IP4 192.168.2.10 s=FreeSWITCH c=IN IP4 192.168.2.10 t=0 0 m=audio 32412 RTP/AVP 8 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 ------------------------------------------------------------------------ 2019-04-01 23:19:16.644362 [DEBUG] sofia.c:7291 Channel sofia/internal/401 entering state [calling][0] recv 503 bytes from udp/[192.168.2.5]:5060 at 23:19:16.654639: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Content-Length: 0 ------------------------------------------------------------------------ recv 535 bytes from udp/[192.168.2.5]:5060 at 23:19:16.678633: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as10f04bc3 Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Require: timer Content-Length: 0 ------------------------------------------------------------------------ send 1403 bytes to udp/[192.168.2.5]:5060 at 23:19:17.650231: ------------------------------------------------------------------------ INVITE sip:401 at 192.168.2.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10;rport;branch=z9hG4bKBpStmeeQU2j1D Max-Forwards: 69 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 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 Proxy-Authorization: Digest username="9999", realm="asterisk", nonce="4c256898", algorithm=MD5, uri="sip:401 at 192.168.2.5", response="63b6418f049af14ff2d44e17d7d72f34" Content-Type: application/sdp Content-Disposition: session Content-Length: 244 X-Siemens-Call-Type: ST-secure, ST-insecure X-FS-Support: update_display,send_info Remote-Party-ID: "7777" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1554117544 1554117545 IN IP4 192.168.2.10 s=FreeSWITCH c=IN IP4 192.168.2.10 t=0 0 m=audio 32412 RTP/AVP 8 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 ------------------------------------------------------------------------ recv 503 bytes from udp/[192.168.2.5]:5060 at 23:19:17.652893: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Content-Length: 0 ------------------------------------------------------------------------ send 1403 bytes to udp/[192.168.2.5]:5060 at 23:19:19.650267: ------------------------------------------------------------------------ INVITE sip:401 at 192.168.2.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10;rport;branch=z9hG4bKBpStmeeQU2j1D Max-Forwards: 69 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 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 Proxy-Authorization: Digest username="9999", realm="asterisk", nonce="4c256898", algorithm=MD5, uri="sip:401 at 192.168.2.5", response="63b6418f049af14ff2d44e17d7d72f34" Content-Type: application/sdp Content-Disposition: session Content-Length: 244 X-Siemens-Call-Type: ST-secure, ST-insecure X-FS-Support: update_display,send_info Remote-Party-ID: "7777" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1554117544 1554117545 IN IP4 192.168.2.10 s=FreeSWITCH c=IN IP4 192.168.2.10 t=0 0 m=audio 32412 RTP/AVP 8 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 ------------------------------------------------------------------------ recv 503 bytes from udp/[192.168.2.5]:5060 at 23:19:19.656053: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Content-Length: 0 ------------------------------------------------------------------------ send 1403 bytes to udp/[192.168.2.5]:5060 at 23:19:23.650317: ------------------------------------------------------------------------ INVITE sip:401 at 192.168.2.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10;rport;branch=z9hG4bKBpStmeeQU2j1D Max-Forwards: 69 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 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 Proxy-Authorization: Digest username="9999", realm="asterisk", nonce="4c256898", algorithm=MD5, uri="sip:401 at 192.168.2.5", response="63b6418f049af14ff2d44e17d7d72f34" Content-Type: application/sdp Content-Disposition: session Content-Length: 244 X-Siemens-Call-Type: ST-secure, ST-insecure X-FS-Support: update_display,send_info Remote-Party-ID: "7777" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1554117544 1554117545 IN IP4 192.168.2.10 s=FreeSWITCH c=IN IP4 192.168.2.10 t=0 0 m=audio 32412 RTP/AVP 8 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 ------------------------------------------------------------------------ recv 503 bytes from udp/[192.168.2.5]:5060 at 23:19:23.653116: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Content-Length: 0 ------------------------------------------------------------------------ recv 745 bytes from udp/[192.168.2.5]:5060 at 23:19:24.548759: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as10f04bc3 Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Require: timer Content-Type: application/sdp Content-Length: 182 v=0 o=root 23324 23324 IN IP4 192.168.2.5 s=session c=IN IP4 192.168.2.5 t=0 0 m=audio 11598 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv ------------------------------------------------------------------------ recv 745 bytes from udp/[192.168.2.5]:5060 at 23:19:25.549674: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as10f04bc3 Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Require: timer Content-Type: application/sdp Content-Length: 182 v=0 o=root 23324 23324 IN IP4 192.168.2.5 s=session c=IN IP4 192.168.2.5 t=0 0 m=audio 11598 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv ------------------------------------------------------------------------ recv 745 bytes from udp/[192.168.2.5]:5060 at 23:19:26.550846: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as10f04bc3 Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Require: timer Content-Type: application/sdp Content-Length: 182 v=0 o=root 23324 23324 IN IP4 192.168.2.5 s=session c=IN IP4 192.168.2.5 t=0 0 m=audio 11598 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv ------------------------------------------------------------------------ recv 745 bytes from udp/[192.168.2.5]:5060 at 23:19:28.550669: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as10f04bc3 Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Require: timer Content-Type: application/sdp Content-Length: 182 v=0 o=root 23324 23324 IN IP4 192.168.2.5 s=session c=IN IP4 192.168.2.5 t=0 0 m=audio 11598 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv ------------------------------------------------------------------------ recv 432 bytes from udp/[192.168.2.5]:5060 at 23:19:30.442714: ------------------------------------------------------------------------ BYE sip:gw+af53c152-0f9c-4166-ad4f-3abf497e9abe at 192.168.2.10:5060;transport=udp;gw=af53c152-0f9c-4166-ad4f-3abf497e9abe SIP/2.0 Via: SIP/2.0/UDP 192.168.2.5:5060;branch=z9hG4bK2836912f;rport From: ;tag=as10f04bc3 To: "7777" ;tag=Fj74StZva720c Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 102 BYE User-Agent: fw2016052315-IVV14200.N2UHM Max-Forwards: 70 Content-Length: 0 ------------------------------------------------------------------------ 2019-04-01 23:19:30.424363 [NOTICE] sofia.c:1079 Hangup sofia/internal/401 [CS_CONSUME_MEDIA] [NORMAL_CLEARING] 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/401) Running State Change CS_HANGUP (Cur 2 Tot 8) send 433 bytes to udp/[192.168.2.5]:5060 at 23:19:30.443518: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.5:5060;branch=z9hG4bK2836912f;rport=5060 From: ;tag=as10f04bc3 To: "7777" ;tag=Fj74StZva720c Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 102 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 ------------------------------------------------------------------------ 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:847 (sofia/internal/401) Callstate Change DOWN -> HANGUP 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/401) State HANGUP 2019-04-01 23:19:30.424363 [DEBUG] mod_sofia.c:449 Channel sofia/internal/401 hanging up, cause: NORMAL_CLEARING 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:60 sofia/internal/401 Standard HANGUP, cause: NORMAL_CLEARING 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/401) State HANGUP going to sleep 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/401) State Change CS_HANGUP -> CS_REPORTING 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/401) Running State Change CS_REPORTING (Cur 2 Tot 8) 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/401) State REPORTING 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:174 sofia/internal/401 Standard REPORTING, cause: NORMAL_CLEARING 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/401) State REPORTING going to sleep 2019-04-01 23:19:30.424363 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/401) State Change CS_REPORTING -> CS_DESTROY 2019-04-01 23:19:30.424363 [DEBUG] switch_core_session.c:1715 Session 8 (sofia/internal/401) Locked, Waiting on external entities 2019-04-01 23:19:30.444362 [DEBUG] switch_ivr_originate.c:3941 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING] 2019-04-01 23:19:30.444362 [NOTICE] switch_core_session.c:1733 Session 8 (sofia/internal/401) Ended 2019-04-01 23:19:30.444362 [NOTICE] switch_core_session.c:1737 Close Channel sofia/internal/401 [CS_DESTROY] 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:738 (sofia/internal/401) Running State Change CS_DESTROY (Cur 1 Tot 8) 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/401) State DESTROY 2019-04-01 23:19:30.444362 [DEBUG] mod_sofia.c:354 sofia/internal/401 SOFIA DESTROY 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:181 sofia/internal/401 Standard DESTROY 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/401) State DESTROY going to sleep 2019-04-01 23:19:30.444362 [INFO] mod_dptools.c:3518 Originate Failed. Cause: NORMAL_CLEARING 2019-04-01 23:19:30.444362 [NOTICE] switch_core_state_machine.c:385 sofia/internal/7777 at 192.168.2.10:5060 has executed the last dialplan instruction, hanging up. 2019-04-01 23:19:30.444362 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/7777 at 192.168.2.10:5060 [CS_EXECUTE] [NORMAL_CLEARING] 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/7777 at 192.168.2.10:5060) State EXECUTE going to sleep 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/7777 at 192.168.2.10:5060) Running State Change CS_HANGUP (Cur 1 Tot 8) 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:847 (sofia/internal/7777 at 192.168.2.10:5060) Callstate Change RINGING -> HANGUP 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/7777 at 192.168.2.10:5060) State HANGUP 2019-04-01 23:19:30.444362 [DEBUG] mod_sofia.c:443 sofia/internal/7777 at 192.168.2.10:5060 Overriding SIP cause 480 with 200 from the other leg 2019-04-01 23:19:30.444362 [DEBUG] mod_sofia.c:449 Channel sofia/internal/7777 at 192.168.2.10:5060 hanging up, cause: NORMAL_CLEARING 2019-04-01 23:19:30.444362 [DEBUG] mod_sofia.c:589 Responding to INVITE with: 200 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:60 sofia/internal/7777 at 192.168.2.10:5060 Standard HANGUP, cause: NORMAL_CLEARING 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/7777 at 192.168.2.10:5060) State HANGUP going to sleep 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/7777 at 192.168.2.10:5060) State Change CS_HANGUP -> CS_REPORTING send 946 bytes to udp/[192.168.2.41]:5060 at 23:19:30.460487: ------------------------------------------------------------------------ SIP/2.0 500 No session set by user Via: SIP/2.0/UDP 192.168.2.41;branch=z9hG4bK169fc7e5a6e1207bd;rport=5060 Max-Forwards: 70 From: "7777" ;tag=c607ca2663;epid=SC0c351a To: ;tag=e9DcrZeSDyceH Call-ID: 356f4bddc52d1c96 CSeq: 2140941627 INVITE Contact: User-Agent: FreeSWITCH Accept: application/sdp 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 Reason: Q.850;cause=16;text="NORMAL_CLEARING" Content-Length: 0 Remote-Party-ID: "401" ;party=calling;privacy=off;screen=no ------------------------------------------------------------------------ 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/7777 at 192.168.2.10:5060) Running State Change CS_REPORTING (Cur 1 Tot 8) 2019-04-01 23:19:30.444362 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/7777 at 192.168.2.10:5060) State REPORTING recv 430 bytes from udp/[192.168.2.41]:5060 at 23:19:30.466346: ------------------------------------------------------------------------ ACK sip:401 at 192.168.2.10:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 192.168.2.41;branch=z9hG4bK169fc7e5a6e1207bd Route: Max-Forwards: 70 From: "7777" ;tag=c607ca2663;epid=SC0c351a To: ;tag=e9DcrZeSDyceH Call-ID: 356f4bddc52d1c96 CSeq: 2140941627 ACK User-Agent: OpenStage_40_V3 R4.10.0 SIP 160728 Content-Length: 0 ------------------------------------------------------------------------ 2019-04-01 23:19:30.524364 [DEBUG] switch_core_state_machine.c:174 sofia/internal/7777 at 192.168.2.10:5060 Standard REPORTING, cause: NORMAL_CLEARING 2019-04-01 23:19:30.524364 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/7777 at 192.168.2.10:5060) State REPORTING going to sleep 2019-04-01 23:19:30.524364 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/7777 at 192.168.2.10:5060) State Change CS_REPORTING -> CS_DESTROY 2019-04-01 23:19:30.524364 [DEBUG] switch_core_session.c:1715 Session 7 (sofia/internal/7777 at 192.168.2.10:5060) Locked, Waiting on external entities 2019-04-01 23:19:30.524364 [NOTICE] switch_core_session.c:1733 Session 7 (sofia/internal/7777 at 192.168.2.10:5060) Ended 2019-04-01 23:19:30.524364 [NOTICE] switch_core_session.c:1737 Close Channel sofia/internal/7777 at 192.168.2.10:5060 [CS_DESTROY] 2019-04-01 23:19:30.524364 [DEBUG] switch_core_state_machine.c:738 (sofia/internal/7777 at 192.168.2.10:5060) Running State Change CS_DESTROY (Cur 0 Tot 8) 2019-04-01 23:19:30.524364 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/7777 at 192.168.2.10:5060) State DESTROY 2019-04-01 23:19:30.524364 [DEBUG] mod_sofia.c:354 sofia/internal/7777 at 192.168.2.10:5060 SOFIA DESTROY 2019-04-01 23:19:30.524364 [DEBUG] switch_core_state_machine.c:181 sofia/internal/7777 at 192.168.2.10:5060 Standard DESTROY 2019-04-01 23:19:30.524364 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/7777 at 192.168.2.10:5060) State DESTROY going to sleep recv 729 bytes from udp/[192.168.2.5]:5060 at 23:19:31.421113: ------------------------------------------------------------------------ OPTIONS sip:gw+af53c152-0f9c-4166-ad4f-3abf497e9abe at 192.168.2.10:5060;transport=udp;gw=af53c152-0f9c-4166-ad4f-3abf497e9abe.OxygenPBX SIP/2.0 Via: SIP/2.0/UDP 192.168.2.5:5060;branch=z9hG4bK17ff44d5;rport From: "unknown" ;tag=as44d33727 To: Contact: Call-ID: 766e66790050605e7b4939ee7d1ae247 at 192.168.2.5 CSeq: 102 OPTIONS User-Agent: fw2016052315-IVV14200.N2UHM Max-Forwards: 0 Date: Mon, 01 Apr 2019 20:19:31 GMT Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces Content-Length: 0 ------------------------------------------------------------------------ send 882 bytes to udp/[192.168.2.5]:5060 at 23:19:31.421408: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.5:5060;branch=z9hG4bK17ff44d5;rport=5060 From: "unknown" ;tag=as44d33727 To: ;tag=gU0XUNg07FSKr Call-ID: 766e66790050605e7b4939ee7d1ae247 at 192.168.2.5 CSeq: 102 OPTIONS Contact: User-Agent: FreeSWITCH Accept: application/sdp 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-Length: 0 ------------------------------------------------------------------------ send 1403 bytes to udp/[192.168.2.5]:5060 at 23:19:31.649571: ------------------------------------------------------------------------ INVITE sip:401 at 192.168.2.5 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.10;rport;branch=z9hG4bKBpStmeeQU2j1D Max-Forwards: 69 From: "7777" ;tag=Fj74StZva720c To: Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 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 Proxy-Authorization: Digest username="9999", realm="asterisk", nonce="4c256898", algorithm=MD5, uri="sip:401 at 192.168.2.5", response="63b6418f049af14ff2d44e17d7d72f34" Content-Type: application/sdp Content-Disposition: session Content-Length: 244 X-Siemens-Call-Type: ST-secure, ST-insecure X-FS-Support: update_display,send_info Remote-Party-ID: "7777" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1554117544 1554117545 IN IP4 192.168.2.10 s=FreeSWITCH c=IN IP4 192.168.2.10 t=0 0 m=audio 32412 RTP/AVP 8 101 13 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=rtpmap:13 CN/8000 a=ptime:20 ------------------------------------------------------------------------ recv 507 bytes from udp/[192.168.2.5]:5060 at 23:19:31.652645: ------------------------------------------------------------------------ SIP/2.0 503 Unavailable Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as10f04bc3 Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Require: timer Content-Length: 0 ------------------------------------------------------------------------ recv 745 bytes from udp/[192.168.2.5]:5060 at 23:19:32.549718: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as10f04bc3 Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Require: timer Content-Type: application/sdp Content-Length: 182 v=0 o=root 23324 23324 IN IP4 192.168.2.5 s=session c=IN IP4 192.168.2.5 t=0 0 m=audio 11598 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv ------------------------------------------------------------------------ recv 745 bytes from udp/[192.168.2.5]:5060 at 23:19:36.550696: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.2.10;branch=z9hG4bKBpStmeeQU2j1D;received=192.168.2.10;rport=5060 From: "7777" ;tag=Fj74StZva720c To: ;tag=as10f04bc3 Call-ID: 43cf1dd4-cf5e-1237-7b9b-0025b328ba78 CSeq: 2521187 INVITE User-Agent: fw2016052315-IVV14200.N2UHM Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH Supported: replaces, timer Session-Expires: -1;refresher=uac Contact: Require: timer Content-Type: application/sdp Content-Length: 182 v=0 o=root 23324 23324 IN IP4 192.168.2.5 s=session c=IN IP4 192.168.2.5 t=0 0 m=audio 11598 RTP/AVP 8 a=rtpmap:8 PCMA/8000 a=silenceSupp:off - - - - a=ptime:20 a=sendrecv ———————————————————————————————————— And tcpdump trace 23:25:02.314879 IP6 fe80::dc5a:83fe:4382:a063.52511 > ff02::c.1900: UDP, length 146 23:25:02.350131 IP 192.168.2.10.52081 > oxygen.voip.domain: 12070+ PTR? c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.f.f.ip6.arpa. (90) 23:25:02.387056 IP oxygen.voip.domain > 192.168.2.10.52081: 12070 NXDomain 0/1/0 (154) 23:25:02.387158 IP 192.168.2.10.34229 > oxygen.voip.domain: 31187+ PTR? 3.6.0.a.2.8.3.4.e.f.3.8.a.5.c.d.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa. (90) 23:25:02.424498 IP oxygen.voip.domain > 192.168.2.10.34229: 31187 NXDomain* 0/1/0 (154) 23:25:02.424603 IP 192.168.2.10.39283 > oxygen.voip.domain: 10115+ PTR? 5.2.168.192.in-addr.arpa. (42) 23:25:02.426138 IP oxygen.voip.domain > 192.168.2.10.39283: 10115* 1/0/0 PTR oxygen.voip. (67) 23:25:02.426220 IP 192.168.2.10.33703 > oxygen.voip.domain: 53769+ PTR? 10.2.168.192.in-addr.arpa. (43) 23:25:02.688484 IP 7777.lan.sip > 192.168.2.10.sip: SIP: INVITE sip:401 at 192.168.2.10:5060;transport=udp SIP/2.0 23:25:02.688546 IP 192.168.2.10.52828 > oxygen.voip.domain: 19632+ PTR? 41.2.168.192.in-addr.arpa. (43) 23:25:02.689888 IP oxygen.voip.domain > 192.168.2.10.52828: 19632* 1/0/0 PTR 7777.lan. (65) 23:25:02.695341 IP 192.168.2.10.sip > 7777.lan.sip: SIP: SIP/2.0 100 Trying 23:25:02.723923 IP 192.168.2.10.sip > oxygen.voip.sip: SIP: INVITE sip:401 at 192.168.2.5 SIP/2.0 23:25:02.727637 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 407 Proxy Authentication Required 23:25:02.727789 IP 192.168.2.10.sip > oxygen.voip.sip: SIP: ACK sip:401 at 192.168.2.5 SIP/2.0 23:25:02.727946 IP 192.168.2.10.sip > oxygen.voip.sip: SIP: INVITE sip:401 at 192.168.2.5 SIP/2.0 23:25:02.732641 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 100 Trying 23:25:02.756941 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 180 Ringing 23:25:03.728747 IP 192.168.2.10.sip > oxygen.voip.sip: SIP: INVITE sip:401 at 192.168.2.5 SIP/2.0 23:25:03.731200 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 100 Trying 23:25:05.728767 IP 192.168.2.10.sip > oxygen.voip.sip: SIP: INVITE sip:401 at 192.168.2.5 SIP/2.0 23:25:05.731230 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 100 Trying 23:25:08.436779 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 200 OK 23:25:08.446653 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.446678 IP 192.168.2.10 > oxygen.voip: ICMP 192.168.2.10 udp port 28242 unreachable, length 208 23:25:08.466422 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.466437 IP 192.168.2.10 > oxygen.voip: ICMP 192.168.2.10 udp port 28242 unreachable, length 208 23:25:08.486334 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.486347 IP 192.168.2.10 > oxygen.voip: ICMP 192.168.2.10 udp port 28242 unreachable, length 208 23:25:08.487440 STP 802.1d, Config, Flags [none], bridge-id 8000.00:1d:1c:04:d5:ac.8001, length 43 23:25:08.506432 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.506447 IP 192.168.2.10 > oxygen.voip: ICMP 192.168.2.10 udp port 28242 unreachable, length 208 23:25:08.526267 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.526282 IP 192.168.2.10 > oxygen.voip: ICMP 192.168.2.10 udp port 28242 unreachable, length 208 23:25:08.546424 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.546438 IP 192.168.2.10 > oxygen.voip: ICMP 192.168.2.10 udp port 28242 unreachable, length 208 23:25:08.566329 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.586319 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.606286 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.626212 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.646351 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.666312 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.686319 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.706279 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.726197 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.746407 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.766435 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.786410 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.806302 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.826217 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.846282 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.866301 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.886329 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.906297 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.926239 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.946346 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.966305 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:08.986323 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.006257 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.026221 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.046302 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.066320 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.086294 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.106293 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.126197 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.146430 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.166309 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.186300 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.206286 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.226221 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.248148 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.266316 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.286334 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.306288 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.326226 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.346445 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.366325 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.386362 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.406327 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.426218 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.437838 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 200 OK 23:25:09.446354 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.446369 IP 192.168.2.10 > oxygen.voip: ICMP 192.168.2.10 udp port 28242 unreachable, length 208 23:25:09.466410 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.486235 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.506303 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.526276 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.546373 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.566296 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.586274 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.606280 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.626284 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.646287 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.666365 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.686269 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.706309 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.726314 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.728766 IP 192.168.2.10.sip > oxygen.voip.sip: SIP: INVITE sip:401 at 192.168.2.5 SIP/2.0 23:25:09.731172 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 100 Trying 23:25:09.732357 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 200 OK 23:25:09.746460 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.766311 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.786286 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.806338 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.826311 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.846239 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.866314 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.886412 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.906337 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.926263 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.946425 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.966306 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:09.986324 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.006330 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.026315 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.046240 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.066301 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.086279 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.106327 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.151813 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.152079 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.166330 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.186327 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.206532 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.226295 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.246244 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.266318 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.286333 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.306284 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.326333 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.347574 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.366315 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.386367 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.406282 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.426324 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.437839 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 200 OK 23:25:10.446305 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.446320 IP 192.168.2.10 > oxygen.voip: ICMP 192.168.2.10 udp port 28242 unreachable, length 208 23:25:10.466345 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.486276 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.487434 STP 802.1d, Config, Flags [none], bridge-id 8000.00:1d:1c:04:d5:ac.8001, length 43 23:25:10.506361 IP oxygen.voip.10424 > 192.168.2.10.28242: UDP, length 172 23:25:10.521924 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: BYE sip:gw+af53c152-0f9c-4166-ad4f-3abf497e9abe at 192.168.2.10:5060;transport=udp;gw=af53c152-0f9c-4166-ad4f-3abf497e9abe SIP/2.0 23:25:10.522745 IP 192.168.2.10.sip > oxygen.voip.sip: SIP: SIP/2.0 200 OK 23:25:10.533129 IP 192.168.2.10.sip > 7777.lan.sip: SIP: SIP/2.0 500 No session set by user 23:25:10.540064 IP 7777.lan.sip > 192.168.2.10.sip: SIP: ACK sip:401 at 192.168.2.10:5060;transport=udp SIP/2.0 23:25:12.316170 IP6 fe80::dc5a:83fe:4382:a063.52511 > ff02::c.1900: UDP, length 146 23:25:12.437875 IP oxygen.voip.sip > 192.168.2.10.sip: SIP: SIP/2.0 200 OK 23:25:12.487408 STP 802.1d, Config, Flags [none], bridge-id 8000.00:1d:1c:04:d5:ac.8001, length 43 23:25:14.487284 STP 802.1d, Config, Flags [none], bridge-id 8000.00:1d:1c:04:d5:ac.8001, length 43 23:25:15.902213 IP 192.168.2.10.ntp > ns4.asda.gr.ntp: NTPv4, Client, length 48 23:25:15.902312 IP 192.168.2.10.34483 > oxygen.voip.domain: 23686+ PTR? 194.164.93.193.in-addr.arpa. (45) 23:25:15.903728 IP oxygen.voip.domain > 192.168.2.10.34483: 23686 1/0/0 PTR ns4.asda.gr. (70) 23:25:15.934167 IP ns4.asda.gr.ntp > 192.168.2.10.ntp: NTPv4, Server, length 48 23:25:16.317586 IP6 fe80::dc5a:83fe:4382:a063.52511 > ff02::c.1900: UDP, length 146 From rmundkowsky at ets.org Wed Apr 3 13:40:48 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Wed, 3 Apr 2019 13:40:48 +0000 Subject: [Freeswitch-users] sampling video from a conference Message-ID: I wanted to check if there were any new modules for sampling video from a conference? In other words, getting images from video from a conference. Robert ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.org Wed Apr 3 22:18:26 2019 From: mike at freeswitch.org (Mike Jerris) Date: Wed, 3 Apr 2019 16:18:26 -0600 Subject: [Freeswitch-users] sampling video from a conference In-Reply-To: References: Message-ID: <3DFEEB3E-C008-41E4-BDDF-759F1DD00F4C@freeswitch.org> You want to do what exactly with them? Just save a png of a snapshot? Any of the video recording interfaces can record with the conference record commands already. > On Apr 3, 2019, at 7:40 AM, Mundkowsky, Robert wrote: > > I wanted to check if there were any new modules for sampling video from a conference? In other words, getting images from video from a conference. > > Robert > > > This e-mail and any files transmitted with it WILL NOT contain privileged or confidential information. It is solely for use by EVERYONE IN THE WORLD, even if addressed incorrectly. If you received this e-mail in error, PLEASE DO WHAT YOU WANT WITH IT. Any other use of this e-mail is TOTALLY OKAY. > > > Thank you for your compliance. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gavin.henry at gmail.com Wed Apr 3 21:52:15 2019 From: gavin.henry at gmail.com (Gavin Henry) Date: Wed, 3 Apr 2019 22:52:15 +0100 Subject: [Freeswitch-users] record_session and file size In-Reply-To: <0452A4C3-0B7F-4B0F-AECE-72EF128F5FF3@freeswitch.org> References: <8946D528-C23B-4CF7-AE39-98C8A6DC5DB9@freeswitch.org> <0452A4C3-0B7F-4B0F-AECE-72EF128F5FF3@freeswitch.org> Message-ID: Thanks. Is that there by default? I couldn’t see it. In fs 1.6 or 1.8? On Wed, 3 Apr 2019 at 18:43, Mike Jerris wrote: > record_file_size > > > On Apr 3, 2019, at 10:48 AM, Mike Jerris wrote: > > Nope those are not them. There are ones for recording length. > > On Apr 2, 2019, at 3:53 PM, Gavin Henry wrote: > > Any ideas? > > Thanks. > > On Sun, 31 Mar 2019 at 20:20, Gavin Henry wrote: > >> Hi Mike, >> >> The only ones I see are: >> >> rtp_audio_in_raw_bytes 163136 >> rtp_audio_out_raw_bytes 139664 >> >> rtp_audio_in_media_bytes 163056 >> rtp_audio_out_media_bytes 139664 >> >> and these are there whether record_session is set or not. So I presume >> as the default file format is wav, which on the filesystem for the >> above call shows as 318444 bytes, then it's the combo of in_raw and >> out_raw, but that doesn't add up... >> >> The duration of the call is 21 secs, so if it's wav I could use >> https://en.wikipedia.org/wiki/WAV to work out the size as I don't want >> to access the filesystem. >> >> > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- http://www.suretecsystems.com/services/openldap/ http://www.surevoip.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.org Wed Apr 3 22:21:07 2019 From: mike at freeswitch.org (Mike Jerris) Date: Wed, 3 Apr 2019 16:21:07 -0600 Subject: [Freeswitch-users] record_session and file size In-Reply-To: References: <8946D528-C23B-4CF7-AE39-98C8A6DC5DB9@freeswitch.org> <0452A4C3-0B7F-4B0F-AECE-72EF128F5FF3@freeswitch.org> Message-ID: <846D8A5C-E5A2-4DB7-B850-D61C1E0CCDAE@freeswitch.org> root at mike-deb9-129 [Wed Apr 03 10:20 PM] /usr/src/freeswitch.git <1367>:git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. root at mike-deb9-129 [Wed Apr 03 10:20 PM] /usr/src/freeswitch.git <1368>:git pull Current branch master is up to date. root at mike-deb9-129 [Wed Apr 03 10:20 PM] /usr/src/freeswitch.git <1369>:git grep -n record_file_size src/*.c src/switch_ivr_async.c:1498: if (file_size) switch_channel_set_variable(channel, "record_file_size", file_size); src/switch_ivr_play_say.c:933: if (file_size) switch_channel_set_variable(channel, "record_record_file_size", file_size); > On Apr 3, 2019, at 3:52 PM, Gavin Henry wrote: > > Thanks. Is that there by default? I couldn’t see it. In fs 1.6 or 1.8? > > On Wed, 3 Apr 2019 at 18:43, Mike Jerris > wrote: > record_file_size > > >> On Apr 3, 2019, at 10:48 AM, Mike Jerris > wrote: >> >> Nope those are not them. There are ones for recording length. >> >>> On Apr 2, 2019, at 3:53 PM, Gavin Henry > wrote: >>> >>> Any ideas? >>> >>> Thanks. >>> >>> On Sun, 31 Mar 2019 at 20:20, Gavin Henry > wrote: >>> Hi Mike, >>> >>> The only ones I see are: >>> >>> rtp_audio_in_raw_bytes 163136 >>> rtp_audio_out_raw_bytes 139664 >>> >>> rtp_audio_in_media_bytes 163056 >>> rtp_audio_out_media_bytes 139664 >>> >>> and these are there whether record_session is set or not. So I presume >>> as the default file format is wav, which on the filesystem for the >>> above call shows as 318444 bytes, then it's the combo of in_raw and >>> out_raw, but that doesn't add up... >>> >>> The duration of the call is 21 secs, so if it's wav I could use >>> https://en.wikipedia.org/wiki/WAV to work out the size as I don't want >>> to access the filesystem. >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 3 22:40:44 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 3 Apr 2019 22:40:44 +0000 Subject: [Freeswitch-users] NAT'ed Aastra phones? Message-ID: Hi, A customer has Aastra phones and I can't get them to work behind NAT. They are 6865i and 6867i ohones. The output from global siptrace on, is identical to problems I have seen in the past with phones behind NAT routers. The server is no behind NAT. The phone send Register, the server responds Unauth w/ nonce, the phone resends (but the CSeq: has not changed). That indicates that the UnAuth packet did not make it back to the phone. I have spend a LOT of hours working this issue out on CISCO and FANVIL phones, but not AASTRA. This site has a SONIC Firewall and has always been extremely difficult to work with. Any ideas on what to change would be welcome. I do have NDLB turned on. Below are the SIP packets. I have replaced my servers name with "MY-FQDN" to try and slow down the constant hacking attempts. Thanks in advance, Sean ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:47.028636: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:47.029963: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=1HFr2FS9gN2HQ Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:47.516673: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:47.516883: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=1HFr2FS9gN2HQ Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:48.529297: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:48.529522: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=1HFr2FS9gN2HQ Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" Content-Length: 0 ... ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:50.519037: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:50.519205: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=1HFr2FS9gN2HQ Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" Content-Length: 0 ... ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:21.110333: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ 2019-04-03 17:08:27.597995 [WARNING] sofia_reg.c:1532 SIP auth challenge (REGISTER) on sofia profile 'external' for [120 at MY-FQDN] from ip 73.191.9.70 send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:21.111772: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=2ycp7HpgvjvXD Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:21.598328: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:21.598579: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=2ycp7HpgvjvXD Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:22.603481: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:22.603692: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=2ycp7HpgvjvXD Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" Content-Length: 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gavin.henry at gmail.com Wed Apr 3 22:20:24 2019 From: gavin.henry at gmail.com (Gavin Henry) Date: Wed, 3 Apr 2019 23:20:24 +0100 Subject: [Freeswitch-users] record_session and file size In-Reply-To: References: <8946D528-C23B-4CF7-AE39-98C8A6DC5DB9@freeswitch.org> <0452A4C3-0B7F-4B0F-AECE-72EF128F5FF3@freeswitch.org> Message-ID: Ah, that was added 6~ months ago: https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/b96b109501f8f71f074cdf85bf3cd20dc435226b#src/switch_ivr_async.c From michael at mailworks.org Wed Apr 3 22:56:44 2019 From: michael at mailworks.org (Michael Avers) Date: Wed, 03 Apr 2019 18:56:44 -0400 Subject: [Freeswitch-users] NAT'ed Aastra phones? In-Reply-To: References: Message-ID: Switch to TCP on the Aastra. Mike On Wed, Apr 3, 2019, at 5:41 PM, Sean Devoy wrote: > Hi, > A customer has Aastra phones and I can’t get them to work behind NAT. They are 6865i and 6867i ohones. > > The output from global siptrace on, is identical to problems I have seen in the past with phones behind NAT routers. The server is no behind NAT. > > The phone send Register, the server responds Unauth w/ nonce, the phone resends (but the CSeq: has not changed). That indicates that the UnAuth packet did not make it back to the phone. I have spend a LOT of hours working this issue out on CISCO and FANVIL phones, but not AASTRA. This site has a SONIC Firewall and has always been extremely difficult to work with. > > Any ideas on what to change would be welcome. I do have NDLB turned on. Below are the SIP packets. > > I have replaced my servers name with “MY-FQDN” to try and slow down the constant hacking attempts. > > Thanks in advance, > Sean > > ------------------------------------------------------------------------ > recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:47.028636: > ------------------------------------------------------------------------ > REGISTER sip:MY-FQDN:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 > Route: > Max-Forwards: 70 > From: "Jay" ;tag=847eb00afa > To: "Jay" > Call-ID: 3bba3912bea9e310 > CSeq: 2114352391 REGISTER > Accept-Language: en > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH > Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus > Contact: "Jay" ;+sip.instance="";expires=50 > Supported: path, gruu > User-Agent: Aastra 6867i/5.0.0.2036 > Content-Length: 0 > > ------------------------------------------------------------------------ > send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:47.029963: > ------------------------------------------------------------------------ > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 > From: "Jay" ;tag=847eb00afa > To: "Jay" ;tag=1HFr2FS9gN2HQ > Call-ID: 3bba3912bea9e310 > CSeq: 2114352391 REGISTER > User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" > Content-Length: 0 > > ------------------------------------------------------------------------ > recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:47.516673: > ------------------------------------------------------------------------ > REGISTER sip:MY-FQDN:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 > Route: > Max-Forwards: 70 > From: "Jay" ;tag=847eb00afa > To: "Jay" > Call-ID: 3bba3912bea9e310 > CSeq: 2114352391 REGISTER > Accept-Language: en > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH > Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus > Contact: "Jay" ;+sip.instance="";expires=50 > Supported: path, gruu > User-Agent: Aastra 6867i/5.0.0.2036 > Content-Length: 0 > > ------------------------------------------------------------------------ > send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:47.516883: > ------------------------------------------------------------------------ > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 > From: "Jay" ;tag=847eb00afa > To: "Jay" ;tag=1HFr2FS9gN2HQ > Call-ID: 3bba3912bea9e310 > CSeq: 2114352391 REGISTER > User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" > Content-Length: 0 > > > ------------------------------------------------------------------------ > recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:48.529297: > ------------------------------------------------------------------------ > REGISTER sip:MY-FQDN:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 > Route: > Max-Forwards: 70 > From: "Jay" ;tag=847eb00afa > To: "Jay" > Call-ID: 3bba3912bea9e310 > CSeq: 2114352391 REGISTER > Accept-Language: en > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH > Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus > Contact: "Jay" ;+sip.instance="";expires=50 > Supported: path, gruu > User-Agent: Aastra 6867i/5.0.0.2036 > Content-Length: 0 > > ------------------------------------------------------------------------ > send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:48.529522: > ------------------------------------------------------------------------ > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 > From: "Jay" ;tag=847eb00afa > To: "Jay" ;tag=1HFr2FS9gN2HQ > Call-ID: 3bba3912bea9e310 > CSeq: 2114352391 REGISTER > User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" > Content-Length: 0 > > > ... > > ------------------------------------------------------------------------ > recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:50.519037: > ------------------------------------------------------------------------ > REGISTER sip:MY-FQDN:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 > Route: > Max-Forwards: 70 > From: "Jay" ;tag=847eb00afa > To: "Jay" > Call-ID: 3bba3912bea9e310 > CSeq: 2114352391 REGISTER > Accept-Language: en > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH > Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus > Contact: "Jay" ;+sip.instance="";expires=50 > Supported: path, gruu > User-Agent: Aastra 6867i/5.0.0.2036 > Content-Length: 0 > > ------------------------------------------------------------------------ > send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:50.519205: > ------------------------------------------------------------------------ > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 > From: "Jay" ;tag=847eb00afa > To: "Jay" ;tag=1HFr2FS9gN2HQ > Call-ID: 3bba3912bea9e310 > CSeq: 2114352391 REGISTER > User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" > Content-Length: 0 > > > ... > > > ------------------------------------------------------------------------ > recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:21.110333: > ------------------------------------------------------------------------ > REGISTER sip:MY-FQDN:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd > Route: > Max-Forwards: 70 > From: "Jay" ;tag=847eb00afa > To: "Jay" > Call-ID: 3bba3912bea9e310 > CSeq: 2114352392 REGISTER > Accept-Language: en > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH > Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus > Contact: "Jay" ;+sip.instance="";expires=50 > Supported: path, gruu > User-Agent: Aastra 6867i/5.0.0.2036 > Content-Length: 0 > > ------------------------------------------------------------------------ > 2019-04-03 17:08:27.597995 [WARNING] sofia_reg.c:1532 SIP auth challenge (REGISTER) on sofia profile 'external' for [120 at MY-FQDN] from ip 73.191.9.70 > send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:21.111772: > ------------------------------------------------------------------------ > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 > From: "Jay" ;tag=847eb00afa > To: "Jay" ;tag=2ycp7HpgvjvXD > Call-ID: 3bba3912bea9e310 > CSeq: 2114352392 REGISTER > User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" > Content-Length: 0 > > ------------------------------------------------------------------------ > recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:21.598328: > ------------------------------------------------------------------------ > REGISTER sip:MY-FQDN:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd > Route: > Max-Forwards: 70 > From: "Jay" ;tag=847eb00afa > To: "Jay" > Call-ID: 3bba3912bea9e310 > CSeq: 2114352392 REGISTER > Accept-Language: en > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH > Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus > Contact: "Jay" ;+sip.instance="";expires=50 > Supported: path, gruu > User-Agent: Aastra 6867i/5.0.0.2036 > Content-Length: 0 > > ------------------------------------------------------------------------ > send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:21.598579: > ------------------------------------------------------------------------ > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 > From: "Jay" ;tag=847eb00afa > To: "Jay" ;tag=2ycp7HpgvjvXD > Call-ID: 3bba3912bea9e310 > CSeq: 2114352392 REGISTER > User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" > Content-Length: 0 > > ------------------------------------------------------------------------ > recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:22.603481: > ------------------------------------------------------------------------ > REGISTER sip:MY-FQDN:5060 SIP/2.0 > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd > Route: > Max-Forwards: 70 > From: "Jay" ;tag=847eb00afa > To: "Jay" > Call-ID: 3bba3912bea9e310 > CSeq: 2114352392 REGISTER > Accept-Language: en > Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH > Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus > Contact: "Jay" ;+sip.instance="";expires=50 > Supported: path, gruu > User-Agent: Aastra 6867i/5.0.0.2036 > Content-Length: 0 > > ------------------------------------------------------------------------ > send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:22.603692: > ------------------------------------------------------------------------ > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 > From: "Jay" ;tag=847eb00afa > To: "Jay" ;tag=2ycp7HpgvjvXD > Call-ID: 3bba3912bea9e310 > CSeq: 2114352392 REGISTER > User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit > Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE > Supported: path, replaces > WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" > Content-Length: 0 > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cong.wang.itsherpa at gmail.com Thu Apr 4 07:04:12 2019 From: cong.wang.itsherpa at gmail.com (=?utf-8?B?546L6IGh?=) Date: Thu, 4 Apr 2019 16:04:12 +0900 Subject: [Freeswitch-users] About Hangup Cause Message-ID: <27C15317-71F4-42D6-8004-BB59815EB0D8@gmail.com> Hello, I had made a callcenter based on freeswitch, registed several terminals on 1 number. Usually if a call had come and got a busy, freeswitch will return 486 Busy Here. Now I hope to return 600 Busy Everywhere when all of my terminals is busy, is it possible? Regards. From alex at freeswitch.com Thu Apr 4 08:51:39 2019 From: alex at freeswitch.com (Alexey Sibyakin) Date: Thu, 4 Apr 2019 17:51:39 +0900 Subject: [Freeswitch-users] About Hangup Cause In-Reply-To: <27C15317-71F4-42D6-8004-BB59815EB0D8@gmail.com> References: <27C15317-71F4-42D6-8004-BB59815EB0D8@gmail.com> Message-ID: Hello, Try to check out our awesome Confluence, it should help: https://freeswitch.org/confluence/display/FREESWITCH/SIP+Protocol+Messages https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools:+hangup https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+respond Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Thu, Apr 4, 2019 at 4:20 PM 王聡 wrote: > Hello, > > I had made a callcenter based on freeswitch, registed several terminals on > 1 number. > Usually if a call had come and got a busy, freeswitch will return 486 Busy > Here. > Now I hope to return 600 Busy Everywhere when all of my terminals is busy, > is it possible? > > Regards. > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Thu Apr 4 11:36:05 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Thu, 4 Apr 2019 11:36:05 +0000 Subject: [Freeswitch-users] NAT'ed Aastra phones? In-Reply-To: References: Message-ID: SWEET! Thank you. From: FreeSWITCH-users On Behalf Of Michael Avers Sent: Wednesday, April 3, 2019 6:57 PM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] NAT'ed Aastra phones? Switch to TCP on the Aastra. Mike On Wed, Apr 3, 2019, at 5:41 PM, Sean Devoy wrote: Hi, A customer has Aastra phones and I can’t get them to work behind NAT. They are 6865i and 6867i ohones. The output from global siptrace on, is identical to problems I have seen in the past with phones behind NAT routers. The server is no behind NAT. The phone send Register, the server responds Unauth w/ nonce, the phone resends (but the CSeq: has not changed). That indicates that the UnAuth packet did not make it back to the phone. I have spend a LOT of hours working this issue out on CISCO and FANVIL phones, but not AASTRA. This site has a SONIC Firewall and has always been extremely difficult to work with. Any ideas on what to change would be welcome. I do have NDLB turned on. Below are the SIP packets. I have replaced my servers name with “MY-FQDN” to try and slow down the constant hacking attempts. Thanks in advance, Sean ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:47.028636: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:47.029963: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=1HFr2FS9gN2HQ Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:47.516673: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:47.516883: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=1HFr2FS9gN2HQ Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:48.529297: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:48.529522: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=1HFr2FS9gN2HQ Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" Content-Length: 0 ... ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:07:50.519037: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4 Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:07:50.519205: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bK812a131af68095df4;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=1HFr2FS9gN2HQ Call-ID: 3bba3912bea9e310 CSeq: 2114352391 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="4f575c9d-4a48-4c9f-88ef-558fc0ecb901", algorithm=MD5, qop="auth" Content-Length: 0 ... ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:21.110333: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ 2019-04-03 17:08:27.597995 [WARNING] sofia_reg.c:1532 SIP auth challenge (REGISTER) on sofia profile 'external' for [120 at MY-FQDN] from ip 73.191.9.70 send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:21.111772: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=2ycp7HpgvjvXD Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:21.598328: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:21.598579: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=2ycp7HpgvjvXD Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ recv 769 bytes from udp/[73.191.9.70]:14883 at 21:08:22.603481: ------------------------------------------------------------------------ REGISTER sip:MY-FQDN:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd Route: Max-Forwards: 70 From: "Jay" ;tag=847eb00afa To: "Jay" Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER Accept-Language: en Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO, PUBLISH Allow-Events: aastra-xml, vdp-session, talk, hold, conference, LocalModeStatus Contact: "Jay" ;+sip.instance="";expires=50 Supported: path, gruu User-Agent: Aastra 6867i/5.0.0.2036 Content-Length: 0 ------------------------------------------------------------------------ send 673 bytes to udp/[73.191.9.70]:5060 at 21:08:22.603692: ------------------------------------------------------------------------ SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.2.143:5060;branch=z9hG4bKbd8b1eda1ecbbd9cd;received=73.191.9.70 From: "Jay" ;tag=847eb00afa To: "Jay" ;tag=2ycp7HpgvjvXD Call-ID: 3bba3912bea9e310 CSeq: 2114352392 REGISTER User-Agent: FreeSWITCH-mod_sofia/1.2.22+git~20140309T212137Z~65fed130e5~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces WWW-Authenticate: Digest realm="MY-FQDN", nonce="c49443eb-f0e9-461c-8072-d3d4551f6c8e", algorithm=MD5, qop="auth" Content-Length: 0 _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Thu Apr 4 18:45:00 2019 From: mario_fs at mgtech.com (mario_fs) Date: Thu, 4 Apr 2019 11:45:00 -0700 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? Message-ID: I am trapping and logging unregister events using LUA sofia::unregister. I have found that the Counterpath’s push server is disconnecting intermittently but not by an “unregister” so the trap is not invoked and so cannot log it. Freeswitch is removing the registration for the device but the unregister trap is not called. Is there another event I could use to trap when FreeSwitch removes a registration? hook event="custom" subclass="sofia::unregister" script=“….. Mario G -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at textplus.com Thu Apr 4 19:11:41 2019 From: joel at textplus.com (Joel Serrano) Date: Thu, 4 Apr 2019 12:11:41 -0700 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: References: Message-ID: You always have the option to subscribe to "all" events, and when the unregister happens check if any event is generated and it suits your needs, there could be another event type that might give you this info without having to be specifically the sofia::unregister, I'm not sure. Maybe worth the try... On Thu, Apr 4, 2019 at 12:04 PM mario_fs wrote: > I am trapping and logging unregister events using LUA sofia::unregister. I > have found that the Counterpath’s push server is disconnecting > intermittently but *not* by an “unregister” so the trap is not invoked > and so cannot log it. Freeswitch is removing the registration for the > device but the unregister trap is not called. Is there another event I > could use to trap when FreeSwitch removes a registration? > > hook event="custom" subclass="sofia::unregister" script=“….. > Mario G > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.org Thu Apr 4 20:18:00 2019 From: mike at freeswitch.org (Mike Jerris) Date: Thu, 4 Apr 2019 14:18:00 -0600 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: References: Message-ID: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> See if there is an event but I’m guessing that’s just a bug and needs it added on expire too. > On Apr 4, 2019, at 12:45 PM, mario_fs wrote: > > I am trapping and logging unregister events using LUA sofia::unregister. I have found that the Counterpath’s push server is disconnecting intermittently but not by an “unregister” so the trap is not invoked and so cannot log it. Freeswitch is removing the registration for the device but the unregister trap is not called. Is there another event I could use to trap when FreeSwitch removes a registration? > > hook event="custom" subclass="sofia::unregister" script=“….. > Mario G -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidr201901 at outlook.com Thu Apr 4 07:12:58 2019 From: davidr201901 at outlook.com (David R) Date: Thu, 4 Apr 2019 07:12:58 +0000 Subject: [Freeswitch-users] How to send a SIP MESSAGE request to an unregistered user? Message-ID: When two users have registered themselves with FS, either user can send a SIP SIMPLE MESSAGE request to the other via FS. For example, Alice and Bob are both registered so Alice can send a message to Bob and vice versa. However, my use-case is slightly different. Only Alice is registered; Bob is a device at some unknown location on the internet on a NATed network behind a firewall/gateway. Bob is able to send a SIP MESSAGE request to Alice at Domain.com and it will be received by FS then forwarded to Alice. My question is how can Alice get a reply MESSAGE back to Bob when he hasn't registered? By default, if Alice tries to reply to Bob at Domain.com, FS will send back a 202/Accepted to Alice, but the message will go nowhere. Given that when Bob sends his message to Alice, the source address of his message will be valid for a short period (therefore the source address is the return address), how can I ensure that when Alice sends a reply MESSAGE a second or two later, it gets to Bob? My initial thought was to somehow auto-register Bob in FS using the source address of his message. Then Alice's reply should get there. Is this possible? Or should Alice's reply be sent another way? I think the reply to Bob must come from the same address to which he sent his message. Some additional info: Alice never initiates a conversation to Bob, but will always send one reply message to any message from Bob. Bob actually represents up to a few thousand devices at various locations on the internet. These devices may send a single unsolicited message at any time and expect a reply message within a few seconds. --- I also tried to do this with Kamailio, but couldn't find a way to auto-register Bob - or save his location in the location db - in order to send back a reply (and Kamailio returns a 404 to Alice rather than 202). -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Thu Apr 4 13:47:46 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Thu, 4 Apr 2019 13:47:46 +0000 Subject: [Freeswitch-users] sampling video from a conference In-Reply-To: <3DFEEB3E-C008-41E4-BDDF-759F1DD00F4C@freeswitch.org> References: <3DFEEB3E-C008-41E4-BDDF-759F1DD00F4C@freeswitch.org> Message-ID: Yes, I want to get PNGs. Where do I find such interfaces? Robert From: FreeSWITCH-users On Behalf Of Mike Jerris Sent: Wednesday, April 3, 2019 6:18 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] sampling video from a conference You want to do what exactly with them? Just save a png of a snapshot? Any of the video recording interfaces can record with the conference record commands already. On Apr 3, 2019, at 7:40 AM, Mundkowsky, Robert > wrote: I wanted to check if there were any new modules for sampling video from a conference? In other words, getting images from video from a conference. Robert ________________________________ This e-mail and any files transmitted with it WILL NOT contain privileged or confidential information. It is solely for use by EVERYONE IN THE WORLD, even if addressed incorrectly. If you received this e-mail in error, PLEASE DO WHAT YOU WANT WITH IT. Any other use of this e-mail is TOTALLY OKAY. Thank you for your compliance. ________________________________ ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Thu Apr 4 19:25:51 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Thu, 4 Apr 2019 19:25:51 +0000 Subject: [Freeswitch-users] sampling video from a conference In-Reply-To: <3DFEEB3E-C008-41E4-BDDF-759F1DD00F4C@freeswitch.org> References: <3DFEEB3E-C008-41E4-BDDF-759F1DD00F4C@freeswitch.org> Message-ID: BTW, I believe all of the record commands only support video formats (mp4,...)? Robert From: FreeSWITCH-users On Behalf Of Mike Jerris Sent: Wednesday, April 3, 2019 6:18 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] sampling video from a conference You want to do what exactly with them? Just save a png of a snapshot? Any of the video recording interfaces can record with the conference record commands already. On Apr 3, 2019, at 7:40 AM, Mundkowsky, Robert > wrote: I wanted to check if there were any new modules for sampling video from a conference? In other words, getting images from video from a conference. Robert ________________________________ This e-mail and any files transmitted with it WILL NOT contain privileged or confidential information. It is solely for use by EVERYONE IN THE WORLD, even if addressed incorrectly. If you received this e-mail in error, PLEASE DO WHAT YOU WANT WITH IT. Any other use of this e-mail is TOTALLY OKAY. Thank you for your compliance. ________________________________ ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rtreleaven at bunnykick.ca Thu Apr 4 21:06:25 2019 From: rtreleaven at bunnykick.ca (Russell Treleaven) Date: Thu, 4 Apr 2019 17:06:25 -0400 Subject: [Freeswitch-users] How to send a SIP MESSAGE request to an unregistered user? In-Reply-To: References: Message-ID: Is bob registered with some other registrar? If yes, Alice's sip client can send the message to bob's address of record( bob at his_domain.com) Alice's registrar does not need to be involved. On Thu, Apr 4, 2019 at 4:21 PM David R wrote: > When two users have registered themselves with FS, either user can send a > SIP SIMPLE MESSAGE request to the other via FS. > > For example, Alice and Bob are both registered so Alice can send a message > to Bob and vice versa. > > However, my use-case is slightly different. Only Alice is registered; Bob > is a device at some unknown location on the internet on a NATed network > behind a firewall/gateway. > > Bob is able to send a SIP MESSAGE request to Alice at Domain.com and it will > be received by FS then forwarded to Alice. > > My question is how can Alice get a reply MESSAGE back to Bob when he > hasn't registered? By default, if Alice tries to reply to Bob at Domain.com, > FS will send back a 202/Accepted to Alice, but the message will go nowhere. > > Given that when Bob sends his message to Alice, the source address of his > message will be valid for a short period (therefore the source address is > the return address), how can I ensure that when Alice sends a reply MESSAGE > a second or two later, it gets to Bob? > > My initial thought was to somehow auto-register Bob in FS using the source > address of his message. Then Alice's reply should get there. Is this > possible? Or should Alice's reply be sent another way? I think the reply to > Bob must come from the same address to which he sent his message. > > Some additional info: > > Alice never initiates a conversation to Bob, but will always send one > reply message to any message from Bob. > > Bob actually represents up to a few thousand devices at various locations > on the internet. These devices may send a single unsolicited message at any > time and expect a reply message within a few seconds. > > --- > > I also tried to do this with Kamailio, but couldn't find a way to > auto-register Bob - or save his location in the location db - in order to > send back a reply (and Kamailio returns a 404 to Alice rather than 202). > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Russell Treleaven sip:rtreleaven at sip.bunnykick.ca;transport=tcp -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony.minessale at gmail.com Thu Apr 4 21:53:40 2019 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 4 Apr 2019 16:53:40 -0500 Subject: [Freeswitch-users] sampling video from a conference In-Reply-To: References: <3DFEEB3E-C008-41E4-BDDF-759F1DD00F4C@freeswitch.org> Message-ID: conference XXX vid-write-png /tmp/foo.png On Thu, Apr 4, 2019 at 4:43 PM Mundkowsky, Robert wrote: > Yes, I want to get PNGs. Where do I find such interfaces? > > > > Robert > > > > *From:* FreeSWITCH-users *On > Behalf Of *Mike Jerris > *Sent:* Wednesday, April 3, 2019 6:18 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] sampling video from a conference > > > > You want to do what exactly with them? Just save a png of a snapshot? > Any of the video recording interfaces can record with the conference record > commands already. > > > > On Apr 3, 2019, at 7:40 AM, Mundkowsky, Robert > wrote: > > > > I wanted to check if there were any new modules for sampling video from a > conference? In other words, getting images from video from a conference. > > > > Robert > > > > > ------------------------------ > > This e-mail and any files transmitted with it WILL NOT contain privileged > or confidential information. It is solely for use by EVERYONE IN THE WORLD, > even if addressed incorrectly. If you received this e-mail in error, PLEASE > DO WHAT YOU WANT WITH IT. Any other use of this e-mail is TOTALLY OKAY. > > > > Thank you for your compliance. > ------------------------------ > > > > ------------------------------ > > This e-mail and any files transmitted with it may contain privileged or > confidential information. It is solely for use by the individual for whom > it is intended, even if addressed incorrectly. If you received this e-mail > in error, please notify the sender; do not disclose, copy, distribute, or > take any action in reliance on the contents of this information; and delete > it from your system. Any other use of this e-mail is prohibited. > > Thank you for your compliance. > ------------------------------ > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Anthony Minessale II Founder, FreeSWITCH. http://freeswitch.com https://youtu.be/l_hOxzCt6X4 https://www.youtube.com/watch?v=oAxXgyx5jUw https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbgatherer at gmail.com Thu Apr 4 20:31:01 2019 From: mbgatherer at gmail.com (Maciej Bylica) Date: Thu, 4 Apr 2019 22:31:01 +0200 Subject: [Freeswitch-users] Forked dialogs support Message-ID: Hi I am running the latest 1.6 rel "FreeSWITCH Version 1.6.20+git~20180507T185611Z~43a9feb7f8~64bit". There is Opensips in front of Freeswitch box. The problem i am facing with is forked dialog. Does FS support this? Assuming that the first route selection over Freeswitch fails and Opensips tries with the second one, it replies with 482 Request Merged. As i see, From tag, Call-ID and Cseq of both INVITES (first route and last one) are exactly the same. Is there any chance to put it running ? Thanks Mac -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.com Fri Apr 5 00:04:31 2019 From: mike at freeswitch.com (Mike Jerris) Date: Thu, 4 Apr 2019 18:04:31 -0600 Subject: [Freeswitch-users] Forked dialogs support In-Reply-To: References: Message-ID: WILL NOT work with 100rel (will cause crashes, don’t do it). Without 100rel this should work fine. On Thu, Apr 4, 2019 at 6:03 PM Maciej Bylica wrote: > Hi > > I am running the latest 1.6 rel "FreeSWITCH Version > 1.6.20+git~20180507T185611Z~43a9feb7f8~64bit". > There is Opensips in front of Freeswitch box. > The problem i am facing with is forked dialog. Does FS support this? > Assuming that the first route selection over Freeswitch fails and Opensips > tries with the second one, it replies with 482 Request Merged. > As i see, From tag, Call-ID and Cseq of both INVITES (first route and last > one) are exactly the same. > > Is there any chance to put it running ? > > Thanks > Mac > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Fri Apr 5 11:07:15 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Fri, 5 Apr 2019 12:07:15 +0100 Subject: [Freeswitch-users] How to send a SIP MESSAGE request to an unregistered user? In-Reply-To: References: Message-ID: In Kamailio, did you try with https://www.kamailio.org/docs/modules/5.0.x/modules/usrloc.html#idm1047840180 ? On Thu, 4 Apr 2019 at 22:36, Russell Treleaven wrote: > Is bob registered with some other registrar? > If yes, Alice's sip client can send the message to bob's address of record( > bob at his_domain.com) > Alice's registrar does not need to be involved. > > > On Thu, Apr 4, 2019 at 4:21 PM David R wrote: > >> When two users have registered themselves with FS, either user can send a >> SIP SIMPLE MESSAGE request to the other via FS. >> >> For example, Alice and Bob are both registered so Alice can send a >> message to Bob and vice versa. >> >> However, my use-case is slightly different. Only Alice is registered; Bob >> is a device at some unknown location on the internet on a NATed network >> behind a firewall/gateway. >> >> Bob is able to send a SIP MESSAGE request to Alice at Domain.com and it >> will be received by FS then forwarded to Alice. >> >> My question is how can Alice get a reply MESSAGE back to Bob when he >> hasn't registered? By default, if Alice tries to reply to Bob at Domain.com, >> FS will send back a 202/Accepted to Alice, but the message will go nowhere. >> >> Given that when Bob sends his message to Alice, the source address of his >> message will be valid for a short period (therefore the source address is >> the return address), how can I ensure that when Alice sends a reply MESSAGE >> a second or two later, it gets to Bob? >> >> My initial thought was to somehow auto-register Bob in FS using the >> source address of his message. Then Alice's reply should get there. Is this >> possible? Or should Alice's reply be sent another way? I think the reply to >> Bob must come from the same address to which he sent his message. >> >> Some additional info: >> >> Alice never initiates a conversation to Bob, but will always send one >> reply message to any message from Bob. >> >> Bob actually represents up to a few thousand devices at various locations >> on the internet. These devices may send a single unsolicited message at any >> time and expect a reply message within a few seconds. >> >> --- >> >> I also tried to do this with Kamailio, but couldn't find a way to >> auto-register Bob - or save his location in the location db - in order to >> send back a reply (and Kamailio returns a 404 to Alice rather than 202). >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Sincerely, > > Russell Treleaven > sip:rtreleaven at sip.bunnykick.ca;transport=tcp > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Fri Apr 5 12:26:10 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Fri, 5 Apr 2019 12:26:10 +0000 Subject: [Freeswitch-users] Voicemail WAV truncated in email Message-ID: Hi, Out of the blue one of my customer's voice mail messages, attached to his email notification, are being truncated at 54k. The file on the server is much larger (33k+). This just started out of the blue. If I attach the full file and email it as an attachment, it is fine. Is there a mail log I could exam somewhere? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Fri Apr 5 18:06:25 2019 From: mario_fs at mgtech.com (mario_fs) Date: Fri, 5 Apr 2019 11:06:25 -0700 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> References: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> Message-ID: Expires for push are set at 3600 seconds and seem to be fine since I see these in the log, there is something else going one that just kills registration. It occur once in 2-4 days which is why I can’t just log everything. Wish there was an event trap for whatever causes an entry from a "sofia status profile internal reg” to be removed. > On Apr 4, 2019, at 1:18 PM, Mike Jerris wrote: > > See if there is an event but I’m guessing that’s just a bug and needs it added on expire too. > >> On Apr 4, 2019, at 12:45 PM, mario_fs > wrote: >> >> I am trapping and logging unregister events using LUA sofia::unregister. I have found that the Counterpath’s push server is disconnecting intermittently but not by an “unregister” so the trap is not invoked and so cannot log it. Freeswitch is removing the registration for the device but the unregister trap is not called. Is there another event I could use to trap when FreeSwitch removes a registration? >> >> hook event="custom" subclass="sofia::unregister" script=“….. >> Mario G > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.org Fri Apr 5 18:08:56 2019 From: mike at freeswitch.org (Mike Jerris) Date: Fri, 5 Apr 2019 12:08:56 -0600 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: References: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> Message-ID: The only thing I can think of is expiration of the reg. You might need to do some digging and add some logs to everything that deletes from the table but as far as I know its only the reg expires thread cleaning up and the handler for unreg. The only other case would be where multi reg disabled and another reg comes in. > On Apr 5, 2019, at 12:06 PM, mario_fs wrote: > > Expires for push are set at 3600 seconds and seem to be fine since I see these in the log, there is something else going one that just kills registration. It occur once in 2-4 days which is why I can’t just log everything. Wish there was an event trap for whatever causes an entry from a "sofia status profile internal reg” to be removed. > >> On Apr 4, 2019, at 1:18 PM, Mike Jerris > wrote: >> >> See if there is an event but I’m guessing that’s just a bug and needs it added on expire too. >> >>> On Apr 4, 2019, at 12:45 PM, mario_fs > wrote: >>> >>> I am trapping and logging unregister events using LUA sofia::unregister. I have found that the Counterpath’s push server is disconnecting intermittently but not by an “unregister” so the trap is not invoked and so cannot log it. Freeswitch is removing the registration for the device but the unregister trap is not called. Is there another event I could use to trap when FreeSwitch removes a registration? >>> >>> hook event="custom" subclass="sofia::unregister" script=“….. >>> Mario G >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From sowmyatv at gmail.com Fri Apr 5 06:09:03 2019 From: sowmyatv at gmail.com (Sowmya Venkat) Date: Fri, 5 Apr 2019 11:39:03 +0530 Subject: [Freeswitch-users] =?utf-8?q?=28no_subject=29?= Message-ID: Hi, Does FreeSWITCH require each Verto client to have a separate web socket connection? I am trying to see if it is possible to open single web socket connection to FS and send verto login and invite messages for different clients on the same web socket? Does verto/FS have the ability to distinguish several clients on the same web socket based on say session Id or equivalent unique identifier? Any input on this question is greatly appreciated Thanks Sowmya -------------- next part -------------- An HTML attachment was scrubbed... URL: From sowmyatv at gmail.com Fri Apr 5 16:13:45 2019 From: sowmyatv at gmail.com (Sowmya Venkat) Date: Fri, 5 Apr 2019 21:43:45 +0530 Subject: [Freeswitch-users] Single web socket for multiple verto clients Message-ID: Hi, Does FreeSWITCH require each Verto client to have a separate web socket connection? I am trying to see if it is possible to open single web socket connection to FS and send verto login and invite messages for different clients on the same web socket? Does verto/FS have the ability to distinguish several clients on the same web socket based on say session Id or equivalent unique identifier? Any input on this question is greatly appreciated Thanks Sowmya -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Fri Apr 5 18:19:20 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Fri, 5 Apr 2019 18:19:20 +0000 Subject: [Freeswitch-users] setting the channel user name Message-ID: Is it possible to set the channel's username? Like below I was not sure if this variable is read only or not robert ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.com Fri Apr 5 22:25:03 2019 From: mike at freeswitch.com (Mike Jerris) Date: Fri, 5 Apr 2019 16:25:03 -0600 Subject: [Freeswitch-users] Single web socket for multiple verto clients In-Reply-To: References: Message-ID: it is one per client. On Fri, Apr 5, 2019 at 4:24 PM Sowmya Venkat wrote: > Hi, > Does FreeSWITCH require each Verto client to have a separate web socket > connection? I am trying to see if it is possible to open single web socket > connection to FS and send verto login and invite messages for different > clients on the same web socket? Does verto/FS have the ability to > distinguish several clients on the same web socket based on say session Id > or equivalent unique identifier? > > Any input on this question is greatly appreciated > > Thanks > Sowmya > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Sat Apr 6 17:25:41 2019 From: brian at freeswitch.com (Brian West) Date: Sat, 6 Apr 2019 12:25:41 -0500 Subject: [Freeswitch-users] setting the channel user name In-Reply-To: References: Message-ID: What do you mean exactly? /b On Fri, Apr 5, 2019 at 5:24 PM Mundkowsky, Robert wrote: > Is it possible to set the channel’s username? Like below > > > > I was not sure if this variable is read only or not > > > > > > > > > > > > robert > > ------------------------------ > > This e-mail and any files transmitted with it may contain privileged or > confidential information. It is solely for use by the individual for whom > it is intended, even if addressed incorrectly. If you received this e-mail > in error, please notify the sender; do not disclose, copy, distribute, or > take any action in reliance on the contents of this information; and delete > it from your system. Any other use of this e-mail is prohibited. > > Thank you for your compliance. > ------------------------------ > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Sat Apr 6 19:14:29 2019 From: mario_fs at mgtech.com (mario_fs) Date: Sat, 6 Apr 2019 12:14:29 -0700 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: References: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> Message-ID: <184E81BD-00BF-4F09-9814-BD345F8296E3@mgtech.com> Thank you, on the page below I found sofia::expire and sofia::sip_user_state, should these two handle any reason for disconnect? However, I don’t know it they are available to the LUA exit since I cannot find that darn page on the wiki again. https://freeswitch.org/confluence/display/FREESWITCH/Event+List > On Apr 5, 2019, at 11:08 AM, Mike Jerris wrote: > > The only thing I can think of is expiration of the reg. You might need to do some digging and add some logs to everything that deletes from the table but as far as I know its only the reg expires thread cleaning up and the handler for unreg. The only other case would be where multi reg disabled and another reg comes in. > >> On Apr 5, 2019, at 12:06 PM, mario_fs > wrote: >> >> Expires for push are set at 3600 seconds and seem to be fine since I see these in the log, there is something else going one that just kills registration. It occur once in 2-4 days which is why I can’t just log everything. Wish there was an event trap for whatever causes an entry from a "sofia status profile internal reg” to be removed. >> >>> On Apr 4, 2019, at 1:18 PM, Mike Jerris > wrote: >>> >>> See if there is an event but I’m guessing that’s just a bug and needs it added on expire too. >>> >>>> On Apr 4, 2019, at 12:45 PM, mario_fs > wrote: >>>> >>>> I am trapping and logging unregister events using LUA sofia::unregister. I have found that the Counterpath’s push server is disconnecting intermittently but not by an “unregister” so the trap is not invoked and so cannot log it. Freeswitch is removing the registration for the device but the unregister trap is not called. Is there another event I could use to trap when FreeSwitch removes a registration? >>>> >>>> hook event="custom" subclass="sofia::unregister" script=“….. >>>> Mario G >>> > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.safarov at gmail.com Sat Apr 6 20:53:37 2019 From: s.safarov at gmail.com (Sergey Safarov) Date: Sat, 6 Apr 2019 23:53:37 +0300 Subject: [Freeswitch-users] setting the channel user name In-Reply-To: References: Message-ID: Think you are looking On Sat, Apr 6, 2019 at 2:04 AM Mundkowsky, Robert wrote: > Is it possible to set the channel’s username? Like below > > > > I was not sure if this variable is read only or not > > > > > > > > > > > > robert > > ------------------------------ > > This e-mail and any files transmitted with it may contain privileged or > confidential information. It is solely for use by the individual for whom > it is intended, even if addressed incorrectly. If you received this e-mail > in error, please notify the sender; do not disclose, copy, distribute, or > take any action in reliance on the contents of this information; and delete > it from your system. Any other use of this e-mail is prohibited. > > Thank you for your compliance. > ------------------------------ > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sowmyatv at gmail.com Sat Apr 6 16:17:17 2019 From: sowmyatv at gmail.com (Sowmya Venkat) Date: Sat, 6 Apr 2019 21:47:17 +0530 Subject: [Freeswitch-users] Single web socket for multiple verto clients In-Reply-To: References: Message-ID: Thanks a lot for the reply Mike. Sorry, the word Verto in my previous email seems little ambiguous, I am trying to write my own client (not using verto.js). I am trying to talk to mod_verto on FS directly sending messages on websocket using JSON RPC. Based on your response, can you pls confirm if mod_verto does impose a restriction that each client connecting to it should have a separate web socket or can it support multiple clients on a single web socket and track each client based on some identifier? Thanks Sowmya On Sat 6 Apr, 2019, 4:34 AM Mike Jerris, wrote: > it is one per client. > > On Fri, Apr 5, 2019 at 4:24 PM Sowmya Venkat wrote: > >> Hi, >> Does FreeSWITCH require each Verto client to have a separate web socket >> connection? I am trying to see if it is possible to open single web socket >> connection to FS and send verto login and invite messages for different >> clients on the same web socket? Does verto/FS have the ability to >> distinguish several clients on the same web socket based on say session Id >> or equivalent unique identifier? >> >> Any input on this question is greatly appreciated >> >> Thanks >> Sowmya >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Sun Apr 7 12:54:04 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sun, 7 Apr 2019 13:54:04 +0100 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: <184E81BD-00BF-4F09-9814-BD345F8296E3@mgtech.com> References: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> <184E81BD-00BF-4F09-9814-BD345F8296E3@mgtech.com> Message-ID: Not EVERY THING is documented. But an event is an even and it will get shot up the event socket. You should be able to catch it via the event socket. On Sat, 6 Apr 2019 at 20:44, mario_fs wrote: > Thank you, on the page below I found *sofia::expire* and > *sofia::sip_user_state*, should these two handle any reason for > disconnect? However, I don’t know it they are available to the LUA exit > since I cannot find that darn page on the wiki again. > > https://freeswitch.org/confluence/display/FREESWITCH/Event+List > > On Apr 5, 2019, at 11:08 AM, Mike Jerris wrote: > > The only thing I can think of is expiration of the reg. You might need to > do some digging and add some logs to everything that deletes from the table > but as far as I know its only the reg expires thread cleaning up and the > handler for unreg. The only other case would be where multi reg disabled > and another reg comes in. > > On Apr 5, 2019, at 12:06 PM, mario_fs wrote: > > Expires for push are set at 3600 seconds and seem to be fine since I see > these in the log, there is something else going one that just kills > registration. It occur once in 2-4 days which is why I can’t just log > everything. Wish there was an event trap for whatever causes an entry from > a "sofia status profile internal reg” to be removed. > > On Apr 4, 2019, at 1:18 PM, Mike Jerris wrote: > > See if there is an event but I’m guessing that’s just a bug and needs it > added on expire too. > > On Apr 4, 2019, at 12:45 PM, mario_fs wrote: > > I am trapping and logging unregister events using LUA sofia::unregister. I > have found that the Counterpath’s push server is disconnecting > intermittently but *not* by an “unregister” so the trap is not invoked > and so cannot log it. Freeswitch is removing the registration for the > device but the unregister trap is not called. Is there another event I > could use to trap when FreeSwitch removes a registration? > > hook event="custom" subclass="sofia::unregister" script=“….. > Mario G > > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From manpower13.cse at gmail.com Sun Apr 7 08:27:59 2019 From: manpower13.cse at gmail.com (Murugan Pandian) Date: Sun, 7 Apr 2019 13:57:59 +0530 Subject: [Freeswitch-users] Single web socket for multiple verto clients In-Reply-To: References: Message-ID: Every client need a websocket connection to communicate with you FS. Let say you have 1000 client you need a 1000 connection for communicate with your FS. You can use verto or SIP-WSS for WebRTC browser based communication. If you want to develope your own client side you can't do it in mod_verto because it's done by freeswitch team using their own json Flow. but you can develope you own SIP over websocket libaray using https://tools.ietf.org/html/rfc7118 like JSSIP, SipJS Again you can't able to use single connection multiple client, Each and every client need one websocket connection to communicate with FS. On Sun, 7 Apr, 2019, 7:34 AM Sowmya Venkat, wrote: > Thanks a lot for the reply Mike. Sorry, the word Verto in my previous > email seems little ambiguous, I am trying to write my own client (not > using verto.js). I am trying to talk to mod_verto on FS directly sending > messages on websocket using JSON RPC. Based on your response, can you pls > confirm if mod_verto does impose a restriction that each client connecting > to it should have a separate web socket or can it support multiple clients > on a single web socket and track each client based on some identifier? > > Thanks > Sowmya > > > On Sat 6 Apr, 2019, 4:34 AM Mike Jerris, wrote: > >> it is one per client. >> >> On Fri, Apr 5, 2019 at 4:24 PM Sowmya Venkat wrote: >> >>> Hi, >>> Does FreeSWITCH require each Verto client to have a separate web >>> socket connection? I am trying to see if it is possible to open single web >>> socket connection to FS and send verto login and invite messages for >>> different clients on the same web socket? Does verto/FS have the ability to >>> distinguish several clients on the same web socket based on say session Id >>> or equivalent unique identifier? >>> >>> Any input on this question is greatly appreciated >>> >>> Thanks >>> Sowmya >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.safarov at gmail.com Mon Apr 8 03:14:03 2019 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 8 Apr 2019 06:14:03 +0300 Subject: [Freeswitch-users] Single web socket for multiple verto clients In-Reply-To: References: Message-ID: You can looks kamailio config for kazoo project 1) config https://github.com/2600hz/kazoo-configs-kamailio/blob/master/kamailio 2) websocket part https://github.com/2600hz/kazoo-configs-kamailio/blob/master/kamailio/websockets-role.cfg Kamailio is proxies websocket connections from endusers to FreeSwitch. Think kamailio establish one connection for all proxyed users. Sergey On Sun, Apr 7, 2019 at 5:32 AM Sowmya Venkat wrote: > Thanks a lot for the reply Mike. Sorry, the word Verto in my previous > email seems little ambiguous, I am trying to write my own client (not > using verto.js). I am trying to talk to mod_verto on FS directly sending > messages on websocket using JSON RPC. Based on your response, can you pls > confirm if mod_verto does impose a restriction that each client connecting > to it should have a separate web socket or can it support multiple clients > on a single web socket and track each client based on some identifier? > > Thanks > Sowmya > > > On Sat 6 Apr, 2019, 4:34 AM Mike Jerris, wrote: > >> it is one per client. >> >> On Fri, Apr 5, 2019 at 4:24 PM Sowmya Venkat wrote: >> >>> Hi, >>> Does FreeSWITCH require each Verto client to have a separate web >>> socket connection? I am trying to see if it is possible to open single web >>> socket connection to FS and send verto login and invite messages for >>> different clients on the same web socket? Does verto/FS have the ability to >>> distinguish several clients on the same web socket based on say session Id >>> or equivalent unique identifier? >>> >>> Any input on this question is greatly appreciated >>> >>> Thanks >>> Sowmya >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Mon Apr 8 08:04:59 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 8 Apr 2019 09:04:59 +0100 Subject: [Freeswitch-users] Single web socket for multiple verto clients In-Reply-To: References: Message-ID: I can’t figure out how he wants to use only one websocket for multiple clients? Websockets are tcp (thus connection-oriented) and you can’t (afaik) establish one-to-many. On Mon, 8 Apr 2019 at 04:47, Sergey Safarov wrote: > You can looks kamailio config for kazoo project > 1) config > https://github.com/2600hz/kazoo-configs-kamailio/blob/master/kamailio > 2) websocket part > https://github.com/2600hz/kazoo-configs-kamailio/blob/master/kamailio/websockets-role.cfg > > Kamailio is proxies websocket connections from endusers to FreeSwitch. > Think kamailio establish one connection for all proxyed users. > > Sergey > > On Sun, Apr 7, 2019 at 5:32 AM Sowmya Venkat wrote: > >> Thanks a lot for the reply Mike. Sorry, the word Verto in my previous >> email seems little ambiguous, I am trying to write my own client (not >> using verto.js). I am trying to talk to mod_verto on FS directly sending >> messages on websocket using JSON RPC. Based on your response, can you pls >> confirm if mod_verto does impose a restriction that each client connecting >> to it should have a separate web socket or can it support multiple clients >> on a single web socket and track each client based on some identifier? >> >> Thanks >> Sowmya >> >> >> On Sat 6 Apr, 2019, 4:34 AM Mike Jerris, wrote: >> >>> it is one per client. >>> >>> On Fri, Apr 5, 2019 at 4:24 PM Sowmya Venkat wrote: >>> >>>> Hi, >>>> Does FreeSWITCH require each Verto client to have a separate web >>>> socket connection? I am trying to see if it is possible to open single web >>>> socket connection to FS and send verto login and invite messages for >>>> different clients on the same web socket? Does verto/FS have the ability to >>>> distinguish several clients on the same web socket based on say session Id >>>> or equivalent unique identifier? >>>> >>>> Any input on this question is greatly appreciated >>>> >>>> Thanks >>>> Sowmya >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Apr 8 12:49:26 2019 From: brian at freeswitch.com (Brian West) Date: Mon, 8 Apr 2019 07:49:26 -0500 Subject: [Freeswitch-users] Freeswitch AMD help In-Reply-To: References: Message-ID: Yes you'll have to download the latest binary and re-activate all your licenses /b On Mon, Apr 8, 2019 at 6:00 AM Aswin TN wrote: > Hi, > > We have 60 AMD licenses and are running on version 1.9. We’ve purchased > additional 100 licenses but before activating them we are now planning to > switch to version 1.8. > Do we need to reactivate old licenses after switching? > > Thanks and regards, > Aswin > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Mon Apr 8 19:14:48 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Mon, 8 Apr 2019 19:14:48 +0000 Subject: [Freeswitch-users] Sound File Locations Message-ID: Hi, I am upgrading to the current version from a very old build. I am having trouble with my IVR recordings. I have searched confluence, but not found the relevant page. The demo files just says "relative to the sounds folder". I cannot find it/them. Where are the sound files? VM sound files? Where should I put my IVR sound files and what path should I use in the IVR menu? Thanks for your help. Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Mon Apr 8 19:17:01 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Mon, 8 Apr 2019 19:17:01 +0000 Subject: [Freeswitch-users] Voicemail WAV truncated in email In-Reply-To: References: Message-ID: For future reference, I found this user had NEVER deleted any voice mail messages. The number of files seems to have been related. I deleted over 1000 files and the problem went away. From: FreeSWITCH-users On Behalf Of Sean Devoy Sent: Friday, April 5, 2019 8:26 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Voicemail WAV truncated in email Hi, Out of the blue one of my customer's voice mail messages, attached to his email notification, are being truncated at 54k. The file on the server is much larger (33k+). This just started out of the blue. If I attach the full file and email it as an attachment, it is fine. Is there a mail log I could exam somewhere? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From amit.nakum2009 at gmail.com Mon Apr 8 05:11:15 2019 From: amit.nakum2009 at gmail.com (Amit Nakum) Date: Mon, 8 Apr 2019 10:41:15 +0530 Subject: [Freeswitch-users] Internal Sofia Hang Message-ID: Hello Team, You must be a member of this list to send messages to the list. Dear Team, I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB Server. I am facing strange issue, internal sofia stop processing incoming calls, during this time I can see incoming sip packets which reach to network using ngrep command but sofia is not responding to any sip message. After restarting sofia its start processing again and after few houragain it stop process sip message. We have install freeswitch 1.5.5 on centos7 on vpsdime cloud server. Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz stepping : 4 microcode : 0x1 cpu MHz : 2999.998 cache size : 16384 KB physical id : 0 siblings : 8 core id : 7 cpu cores : 8 apicid : 7 initial apicid : 7 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm fsgsbase tsc_adjust smep erms xsaveopt a rat bogomips : 5999.99 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management free -g total used free shared buff/cache available Mem: 31 0 22 1 7 28 Swap: 1 0 1 Concurrent calls :30 Please help to resolved. -------------- next part -------------- An HTML attachment was scrubbed... URL: From amit.nakum2009 at gmail.com Mon Apr 8 05:13:01 2019 From: amit.nakum2009 at gmail.com (Amit Nakum) Date: Mon, 8 Apr 2019 10:43:01 +0530 Subject: [Freeswitch-users] Internal Sofia Hang Message-ID: Dear Team, I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB Server. I am facing strange issue, internal sofia stop processing incoming calls, during this time I can see incoming sip packets which reach to network using ngrep command but sofia is not responding to any sip message. After restarting sofia its start processing again and after few houragain it stop process sip message. We have install freeswitch 1.5.5 on centos7 on vpsdime cloud server. Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz stepping : 4 microcode : 0x1 cpu MHz : 2999.998 cache size : 16384 KB physical id : 0 siblings : 8 core id : 7 cpu cores : 8 apicid : 7 initial apicid : 7 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm fsgsbase tsc_adjust smep erms xsaveopt a rat bogomips : 5999.99 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management free -g total used free shared buff/cache available Mem: 31 0 22 1 7 28 Swap: 1 0 1 Concurrent calls :30 Please help to resolved. -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Mon Apr 8 09:23:14 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Mon, 8 Apr 2019 14:23:14 +0500 Subject: [Freeswitch-users] No video in echo with H264 In-Reply-To: References: Message-ID: Hi Geeks, When I join a call to echo application with H264 as video codec there is no video sent back from FreeSWITCH while with VP8 it sends video. I am using Linphone on iPhone 6 as SIP client I am using FreeSWITCH Version 1.8.4+git~20181227T011058Z~749a6e108b~64bit (git 749a6e1 2018-12-27 01:10:58Z 64bit) on Debian Release 9.6 stretch. mod_h26x is enabled and and it show it loaded, freeswitch at Dev-Togee-media-fra-16> module_exists mod_h26x true it enabled as only video codec in var.xml, Linphone client send H264 in SDP offer, v=0 o=USR1001 3576 2398 IN IP4 10.0.0.106 s=Talk c=IN IP4 10.0.0.106 t=0 0 a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics m=audio 7212 RTP/AVP 96 0 8 101 97 a=rtpmap:96 opus/48000/2 a=fmtp:96 useinbandfec=1 a=rtpmap:101 telephone-event/48000 a=rtpmap:97 telephone-event/8000 a=rtcp-fb:* trr-int 1000 a=rtcp-fb:* ccm tmmbr m=video 9236 RTP/AVP 96 a=rtpmap:96 H264/90000 a=fmtp:96 profile-level-id=42801F a=rtcp-fb:* trr-int 1000 a=rtcp-fb:* ccm tmmbr a=rtcp-fb:96 nack pli a=rtcp-fb:96 ccm fir but FreeSWITCH replies SDP without video , v=0 o=FreeSWITCH 1554713996 1554713997 IN IP4 178.33.144.18 s=FreeSWITCH c=IN IP4 178.33.144.18 t=0 0 m=audio 754 RTP/AVP 96 101 a=rtpmap:96 opus/48000/2 a=fmtp:96 useinbandfec=1 a=rtpmap:101 telephone-event/48000 a=fmtp:101 0-16 a=ptime:20 m=video 0 RTP/AVP 19 It is really strange behavior, I really appreciate any suggestion and help on it. Regards, Faisal -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Mon Apr 8 13:38:42 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Mon, 8 Apr 2019 13:38:42 +0000 Subject: [Freeswitch-users] setting the channel user name In-Reply-To: References: Message-ID: Was trying to set the SIP From header display name. Figured out that this works: Thanks, Robert From: FreeSWITCH-users On Behalf Of Brian West Sent: Saturday, April 6, 2019 1:26 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] setting the channel user name What do you mean exactly? /b On Fri, Apr 5, 2019 at 5:24 PM Mundkowsky, Robert > wrote: Is it possible to set the channel’s username? Like below I was not sure if this variable is read only or not robert ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Mon Apr 8 23:00:31 2019 From: mario_fs at mgtech.com (mario_fs) Date: Mon, 8 Apr 2019 16:00:31 -0700 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: References: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> <184E81BD-00BF-4F09-9814-BD345F8296E3@mgtech.com> Message-ID: I understand not everything is documented but I ran up against 3 issues: 1. I don’t know what event or subclass to try to capture. 2. The page https://freeswitch.org/confluence/display/FREESWITCH/Event+List shows to look at switch_event.c, but no descriptions as to what they are so I have to guess. 3. The page https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388 does not say the source they came from, and again, no description. Don't get me wrong, I am glad the info is on the wiki, I know very well how much work goes into it since I converted tons of pages and maintain the Mac pages. It’s just that there is nothing to solve my problem of determining exactly what class/subclass to trap when a registration entry is deleted. Been at this over a week now trying things. Thanks for the response, Mario G > On Apr 7, 2019, at 5:54 AM, David Villasmil wrote: > > Not EVERY THING is documented. But an event is an even and it will get shot up the event socket. You should be able to catch it via the event socket. > > On Sat, 6 Apr 2019 at 20:44, mario_fs > wrote: > Thank you, on the page below I found sofia::expire and sofia::sip_user_state, should these two handle any reason for disconnect? However, I don’t know it they are available to the LUA exit since I cannot find that darn page on the wiki again. > > https://freeswitch.org/confluence/display/FREESWITCH/Event+List > >> On Apr 5, 2019, at 11:08 AM, Mike Jerris > wrote: >> >> The only thing I can think of is expiration of the reg. You might need to do some digging and add some logs to everything that deletes from the table but as far as I know its only the reg expires thread cleaning up and the handler for unreg. The only other case would be where multi reg disabled and another reg comes in. >> >>> On Apr 5, 2019, at 12:06 PM, mario_fs > wrote: >>> >>> Expires for push are set at 3600 seconds and seem to be fine since I see these in the log, there is something else going one that just kills registration. It occur once in 2-4 days which is why I can’t just log everything. Wish there was an event trap for whatever causes an entry from a "sofia status profile internal reg” to be removed. >>> >>>> On Apr 4, 2019, at 1:18 PM, Mike Jerris > wrote: >>>> >>>> See if there is an event but I’m guessing that’s just a bug and needs it added on expire too. >>>> >>>>> On Apr 4, 2019, at 12:45 PM, mario_fs > wrote: >>>>> >>>>> I am trapping and logging unregister events using LUA sofia::unregister. I have found that the Counterpath’s push server is disconnecting intermittently but not by an “unregister” so the trap is not invoked and so cannot log it. Freeswitch is removing the registration for the device but the unregister trap is not called. Is there another event I could use to trap when FreeSwitch removes a registration? >>>>> >>>>> hook event="custom" subclass="sofia::unregister" script=“….. >>>>> Mario G >>>> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Tue Apr 9 00:59:25 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 9 Apr 2019 01:59:25 +0100 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: References: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> <184E81BD-00BF-4F09-9814-BD345F8296E3@mgtech.com> Message-ID: Have you try having it happen while catching all events? On Tue, 9 Apr 2019 at 00:45, mario_fs wrote: > I understand not everything is documented but I ran up against 3 issues: > > 1. I don’t know what event or subclass to try to capture. > 2. The page > https://freeswitch.org/confluence/display/FREESWITCH/Event+List shows to > look at switch_event.c, but no descriptions as to what they are so I have > to guess. > 3. The page > https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388 does > not say the source they came from, and again, no description. > > Don't get me wrong, I am glad the info is on the wiki, I know very well > how much work goes into it since I converted tons of pages and maintain the > Mac pages. It’s just that there is nothing to solve my problem of > determining exactly what class/subclass to trap when a registration entry > is deleted. Been at this over a week now trying things. > > Thanks for the response, > Mario G > > On Apr 7, 2019, at 5:54 AM, David Villasmil < > david.villasmil.work at gmail.com> wrote: > > Not EVERY THING is documented. But an event is an even and it will get > shot up the event socket. You should be able to catch it via the event > socket. > > On Sat, 6 Apr 2019 at 20:44, mario_fs wrote: > >> Thank you, on the page below I found *sofia::expire* and >> *sofia::sip_user_state*, should these two handle any reason for >> disconnect? However, I don’t know it they are available to the LUA exit >> since I cannot find that darn page on the wiki again. >> >> https://freeswitch.org/confluence/display/FREESWITCH/Event+List >> >> On Apr 5, 2019, at 11:08 AM, Mike Jerris wrote: >> >> The only thing I can think of is expiration of the reg. You might need >> to do some digging and add some logs to everything that deletes from the >> table but as far as I know its only the reg expires thread cleaning up and >> the handler for unreg. The only other case would be where multi reg >> disabled and another reg comes in. >> >> On Apr 5, 2019, at 12:06 PM, mario_fs wrote: >> >> Expires for push are set at 3600 seconds and seem to be fine since I see >> these in the log, there is something else going one that just kills >> registration. It occur once in 2-4 days which is why I can’t just log >> everything. Wish there was an event trap for whatever causes an entry from >> a "sofia status profile internal reg” to be removed. >> >> On Apr 4, 2019, at 1:18 PM, Mike Jerris wrote: >> >> See if there is an event but I’m guessing that’s just a bug and needs it >> added on expire too. >> >> On Apr 4, 2019, at 12:45 PM, mario_fs wrote: >> >> I am trapping and logging unregister events using LUA sofia::unregister. >> I have found that the Counterpath’s push server is disconnecting >> intermittently but *not* by an “unregister” so the trap is not invoked >> and so cannot log it. Freeswitch is removing the registration for the >> device but the unregister trap is not called. Is there another event I >> could use to trap when FreeSwitch removes a registration? >> >> hook event="custom" subclass="sofia::unregister" script=“….. >> Mario G >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at textplus.com Tue Apr 9 01:15:00 2019 From: joel at textplus.com (Joel Serrano) Date: Mon, 8 Apr 2019 18:15:00 -0700 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: References: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> <184E81BD-00BF-4F09-9814-BD345F8296E3@mgtech.com> Message-ID: Hi Mario, I personally already suggested to you to subscribe to "all" events (this is not a random word, you can subscribe to "all" and you get *every generated event*) and see *IF* there is anything (documented or not) that may be useful for you. If you don't find anything useful in any of the events, I believe the FS core devs have already suggested to open a JIRA ticket as it could be a bug that needs fixing. I highly recommend you follow these two suggestions, you might find yourself saving some valuable time going forward. Best regards, Joel. On Mon, Apr 8, 2019 at 6:00 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > Have you try having it happen while catching all events? > > On Tue, 9 Apr 2019 at 00:45, mario_fs wrote: > >> I understand not everything is documented but I ran up against 3 issues: >> >> 1. I don’t know what event or subclass to try to capture. >> 2. The page >> https://freeswitch.org/confluence/display/FREESWITCH/Event+List shows to >> look at switch_event.c, but no descriptions as to what they are so I have >> to guess. >> 3. The page >> https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388 does >> not say the source they came from, and again, no description. >> >> Don't get me wrong, I am glad the info is on the wiki, I know very well >> how much work goes into it since I converted tons of pages and maintain the >> Mac pages. It’s just that there is nothing to solve my problem of >> determining exactly what class/subclass to trap when a registration entry >> is deleted. Been at this over a week now trying things. >> >> Thanks for the response, >> Mario G >> >> On Apr 7, 2019, at 5:54 AM, David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> Not EVERY THING is documented. But an event is an even and it will get >> shot up the event socket. You should be able to catch it via the event >> socket. >> >> On Sat, 6 Apr 2019 at 20:44, mario_fs wrote: >> >>> Thank you, on the page below I found *sofia::expire* and >>> *sofia::sip_user_state*, should these two handle any reason for >>> disconnect? However, I don’t know it they are available to the LUA exit >>> since I cannot find that darn page on the wiki again. >>> >>> https://freeswitch.org/confluence/display/FREESWITCH/Event+List >>> >>> On Apr 5, 2019, at 11:08 AM, Mike Jerris wrote: >>> >>> The only thing I can think of is expiration of the reg. You might need >>> to do some digging and add some logs to everything that deletes from the >>> table but as far as I know its only the reg expires thread cleaning up and >>> the handler for unreg. The only other case would be where multi reg >>> disabled and another reg comes in. >>> >>> On Apr 5, 2019, at 12:06 PM, mario_fs wrote: >>> >>> Expires for push are set at 3600 seconds and seem to be fine since I see >>> these in the log, there is something else going one that just kills >>> registration. It occur once in 2-4 days which is why I can’t just log >>> everything. Wish there was an event trap for whatever causes an entry from >>> a "sofia status profile internal reg” to be removed. >>> >>> On Apr 4, 2019, at 1:18 PM, Mike Jerris wrote: >>> >>> See if there is an event but I’m guessing that’s just a bug and needs it >>> added on expire too. >>> >>> On Apr 4, 2019, at 12:45 PM, mario_fs wrote: >>> >>> I am trapping and logging unregister events using LUA sofia::unregister. >>> I have found that the Counterpath’s push server is disconnecting >>> intermittently but *not* by an “unregister” so the trap is not invoked >>> and so cannot log it. Freeswitch is removing the registration for the >>> device but the unregister trap is not called. Is there another event I >>> could use to trap when FreeSwitch removes a registration? >>> >>> hook event="custom" subclass="sofia::unregister" script=“….. >>> Mario G >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at freeswitch.com Tue Apr 9 03:24:50 2019 From: alex at freeswitch.com (Alexey Sibyakin) Date: Tue, 9 Apr 2019 12:24:50 +0900 Subject: [Freeswitch-users] Internal Sofia Hang In-Reply-To: References: Message-ID: Hello, Short answer: use Postgres, MySQL/MariaDB is known to have deadlocks in threaded workloads. Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Tue, Apr 9, 2019 at 6:53 AM Amit Nakum wrote: > Hello Team, > > You must be a member of this list to send messages to the list. > > > > > Dear Team, > > I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB Server. > I am facing strange issue, internal sofia stop processing incoming calls, > during this time I can see incoming sip packets which reach to network > using ngrep command but sofia is not responding to any sip message. > > After restarting sofia its start processing again and after few houragain > it stop process sip message. > > We have install freeswitch 1.5.5 on centos7 on vpsdime cloud server. > > Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri > Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" > > output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo > processor : 7 > vendor_id : GenuineIntel > cpu family : 6 > model : 62 > model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz > stepping : 4 > microcode : 0x1 > cpu MHz : 2999.998 > cache size : 16384 KB > physical id : 0 > siblings : 8 > core id : 7 > cpu cores : 8 > apicid : 7 > initial apicid : 7 > fpu : yes > fpu_exception : yes > cpuid level : 13 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm > constant_tsc arch_perfmon rep_good > nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic > popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm > fsgsbase tsc_adjust smep erms xsaveopt a > rat > bogomips : 5999.99 > clflush size : 64 > cache_alignment : 64 > address sizes : 40 bits physical, 48 bits virtual > power management > > free -g > total used free shared buff/cache > available > Mem: 31 0 22 1 7 > 28 > Swap: 1 0 1 > > > Concurrent calls :30 > > Please help to resolved. > > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at freeswitch.com Tue Apr 9 03:28:02 2019 From: alex at freeswitch.com (Alexey Sibyakin) Date: Tue, 9 Apr 2019 12:28:02 +0900 Subject: [Freeswitch-users] No video in echo with H264 In-Reply-To: References: Message-ID: Hi, 1. You need mod_av, not mod_h26x 2. Don't forget to set echo_encode_video=true Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Tue, Apr 9, 2019 at 7:01 AM Faisal Hanif wrote: > Hi Geeks, > > When I join a call to echo application with H264 as video codec there is > no video sent back from FreeSWITCH while with VP8 it sends video. > I am using Linphone on iPhone 6 as SIP client > I am using FreeSWITCH Version 1.8.4+git~20181227T011058Z~749a6e108b~64bit > (git 749a6e1 2018-12-27 01:10:58Z 64bit) on Debian Release 9.6 stretch. > > mod_h26x is enabled and and it show it loaded, > > freeswitch at Dev-Togee-media-fra-16> module_exists mod_h26x > true > > it enabled as only video codec in var.xml, > > > > > Linphone client send H264 in SDP offer, > > v=0 > o=USR1001 3576 2398 IN IP4 10.0.0.106 > s=Talk > c=IN IP4 10.0.0.106 > t=0 0 > a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics > m=audio 7212 RTP/AVP 96 0 8 101 97 > a=rtpmap:96 opus/48000/2 > a=fmtp:96 useinbandfec=1 > a=rtpmap:101 telephone-event/48000 > a=rtpmap:97 telephone-event/8000 > a=rtcp-fb:* trr-int 1000 > a=rtcp-fb:* ccm tmmbr > m=video 9236 RTP/AVP 96 > a=rtpmap:96 H264/90000 > a=fmtp:96 profile-level-id=42801F > a=rtcp-fb:* trr-int 1000 > a=rtcp-fb:* ccm tmmbr > a=rtcp-fb:96 nack pli > a=rtcp-fb:96 ccm fir > > > but FreeSWITCH replies SDP without video , > > v=0 > o=FreeSWITCH 1554713996 1554713997 IN IP4 178.33.144.18 > s=FreeSWITCH > c=IN IP4 178.33.144.18 > t=0 0 > m=audio 754 RTP/AVP 96 101 > a=rtpmap:96 opus/48000/2 > a=fmtp:96 useinbandfec=1 > a=rtpmap:101 telephone-event/48000 > a=fmtp:101 0-16 > a=ptime:20 > m=video 0 RTP/AVP 19 > > It is really strange behavior, I really appreciate any suggestion and help > on it. > > Regards, > > Faisal > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Tue Apr 9 16:21:20 2019 From: mario_fs at mgtech.com (mario_fs) Date: Tue, 9 Apr 2019 09:21:20 -0700 Subject: [Freeswitch-users] Event to trap removal of registration not by "unregister"? In-Reply-To: References: <546F9DE8-B492-40DD-8BBB-E2766A954D85@freeswitch.org> <184E81BD-00BF-4F09-9814-BD345F8296E3@mgtech.com> Message-ID: <69FA1D1F-1B75-4BFA-BD33-32A3FBE7D7AF@mgtech.com> Thanks you I will try all, the problem is not a FreeSwitch issue which is why I am not opening a Jira. This Bria client and push server are doing strange things and Counterpath agrees. I think the traces on their end is missing activity since FreeSwitch logs more registration activity than their trace. For now, I will try Sofia::all. Thanks again! Mario G > On Apr 8, 2019, at 6:15 PM, Joel Serrano wrote: > > Hi Mario, > > I personally already suggested to you to subscribe to "all" events (this is not a random word, you can subscribe to "all" and you get *every generated event*) and see *IF* there is anything (documented or not) that may be useful for you. > > If you don't find anything useful in any of the events, I believe the FS core devs have already suggested to open a JIRA ticket as it could be a bug that needs fixing. > > I highly recommend you follow these two suggestions, you might find yourself saving some valuable time going forward. > > Best regards, > Joel. > > On Mon, Apr 8, 2019 at 6:00 PM David Villasmil > wrote: > Have you try having it happen while catching all events? > > On Tue, 9 Apr 2019 at 00:45, mario_fs > wrote: > I understand not everything is documented but I ran up against 3 issues: > > 1. I don’t know what event or subclass to try to capture. > 2. The page https://freeswitch.org/confluence/display/FREESWITCH/Event+List shows to look at switch_event.c, but no descriptions as to what they are so I have to guess. > 3. The page https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388 does not say the source they came from, and again, no description. > > Don't get me wrong, I am glad the info is on the wiki, I know very well how much work goes into it since I converted tons of pages and maintain the Mac pages. It’s just that there is nothing to solve my problem of determining exactly what class/subclass to trap when a registration entry is deleted. Been at this over a week now trying things. > > Thanks for the response, > Mario G > >> On Apr 7, 2019, at 5:54 AM, David Villasmil > wrote: >> >> Not EVERY THING is documented. But an event is an even and it will get shot up the event socket. You should be able to catch it via the event socket. >> >> On Sat, 6 Apr 2019 at 20:44, mario_fs > wrote: >> Thank you, on the page below I found sofia::expire and sofia::sip_user_state, should these two handle any reason for disconnect? However, I don’t know it they are available to the LUA exit since I cannot find that darn page on the wiki again. >> >> https://freeswitch.org/confluence/display/FREESWITCH/Event+List >> >>> On Apr 5, 2019, at 11:08 AM, Mike Jerris > wrote: >>> >>> The only thing I can think of is expiration of the reg. You might need to do some digging and add some logs to everything that deletes from the table but as far as I know its only the reg expires thread cleaning up and the handler for unreg. The only other case would be where multi reg disabled and another reg comes in. >>> >>>> On Apr 5, 2019, at 12:06 PM, mario_fs > wrote: >>>> >>>> Expires for push are set at 3600 seconds and seem to be fine since I see these in the log, there is something else going one that just kills registration. It occur once in 2-4 days which is why I can’t just log everything. Wish there was an event trap for whatever causes an entry from a "sofia status profile internal reg” to be removed. >>>> >>>>> On Apr 4, 2019, at 1:18 PM, Mike Jerris > wrote: >>>>> >>>>> See if there is an event but I’m guessing that’s just a bug and needs it added on expire too. >>>>> >>>>>> On Apr 4, 2019, at 12:45 PM, mario_fs > wrote: >>>>>> >>>>>> I am trapping and logging unregister events using LUA sofia::unregister. I have found that the Counterpath’s push server is disconnecting intermittently but not by an “unregister” so the trap is not invoked and so cannot log it. Freeswitch is removing the registration for the device but the unregister trap is not called. Is there another event I could use to trap when FreeSwitch removes a registration? >>>>>> >>>>>> hook event="custom" subclass="sofia::unregister" script=“….. >>>>>> Mario G >>>>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Tue Apr 9 17:30:58 2019 From: mario_fs at mgtech.com (mario_fs) Date: Tue, 9 Apr 2019 10:30:58 -0700 Subject: [Freeswitch-users] What is a register_attempt? Message-ID: I see register_attempt before every registration, and I also see it before unregistration. I searched the web and can’t find anything on it. Is it a FreeSwitch only thing? It is being issued by the client or something internally generated by FreeSwitch? Why would it be used before an unregistration? It would be of help to know this, thanks! From mike at freeswitch.com Tue Apr 9 17:36:15 2019 From: mike at freeswitch.com (Mike Jerris) Date: Tue, 9 Apr 2019 11:36:15 -0600 Subject: [Freeswitch-users] What is a register_attempt? In-Reply-To: References: Message-ID: all events you subscribe to are freeswitch events so not sure what you mean. I think that event is fired on every received register message. Unregistration is also a register message. On Tue, Apr 9, 2019 at 11:33 AM mario_fs wrote: > I see register_attempt before every registration, and I also see it before > unregistration. I searched the web and can’t find anything on it. > > Is it a FreeSwitch only thing? > It is being issued by the client or something internally generated by > FreeSwitch? > Why would it be used before an unregistration? > > It would be of help to know this, thanks! > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Apr 9 17:39:34 2019 From: brian at freeswitch.com (Brian West) Date: Tue, 9 Apr 2019 12:39:34 -0500 Subject: [Freeswitch-users] What is a register_attempt? In-Reply-To: References: Message-ID: He means the challenge response that takes place. On Tue, Apr 9, 2019 at 12:37 PM Mike Jerris wrote: > all events you subscribe to are freeswitch events so not sure what you > mean. I think that event is fired on every received register message. > Unregistration is also a register message. > > On Tue, Apr 9, 2019 at 11:33 AM mario_fs wrote: > >> I see register_attempt before every registration, and I also see it >> before unregistration. I searched the web and can’t find anything on it. >> >> Is it a FreeSwitch only thing? >> It is being issued by the client or something internally generated by >> FreeSwitch? >> Why would it be used before an unregistration? >> >> It would be of help to know this, thanks! >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Tue Apr 9 05:55:20 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Tue, 9 Apr 2019 10:55:20 +0500 Subject: [Freeswitch-users] No video in echo with H264 In-Reply-To: References: Message-ID: Thank a lot Alex you are always life lifesaver :) one more favor please, conference video-mode mux works fine with H264 and send all participant's video perfectly but blank when I switch to codec VP8 it sends blank canvas always. any clue ? With great regards, Faisal On Tue, 9 Apr 2019 at 09:17, Alexey Sibyakin wrote: > Hi, > > 1. You need mod_av, not mod_h26x > 2. Don't forget to set echo_encode_video=true > > Regards, > > Alex > > Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, > Palo Alto, CA 94303 Email: alex at freeswitch.com Website: > https://www.signalwire.com > > > > On Tue, Apr 9, 2019 at 7:01 AM Faisal Hanif wrote: > >> Hi Geeks, >> >> When I join a call to echo application with H264 as video codec there is >> no video sent back from FreeSWITCH while with VP8 it sends video. >> I am using Linphone on iPhone 6 as SIP client >> I am using FreeSWITCH Version 1.8.4+git~20181227T011058Z~749a6e108b~64bit >> (git 749a6e1 2018-12-27 01:10:58Z 64bit) on Debian Release 9.6 stretch. >> >> mod_h26x is enabled and and it show it loaded, >> >> freeswitch at Dev-Togee-media-fra-16> module_exists mod_h26x >> true >> >> it enabled as only video codec in var.xml, >> >> >> >> >> Linphone client send H264 in SDP offer, >> >> v=0 >> o=USR1001 3576 2398 IN IP4 10.0.0.106 >> s=Talk >> c=IN IP4 10.0.0.106 >> t=0 0 >> a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL >> voip-metrics >> m=audio 7212 RTP/AVP 96 0 8 101 97 >> a=rtpmap:96 opus/48000/2 >> a=fmtp:96 useinbandfec=1 >> a=rtpmap:101 telephone-event/48000 >> a=rtpmap:97 telephone-event/8000 >> a=rtcp-fb:* trr-int 1000 >> a=rtcp-fb:* ccm tmmbr >> m=video 9236 RTP/AVP 96 >> a=rtpmap:96 H264/90000 >> a=fmtp:96 profile-level-id=42801F >> a=rtcp-fb:* trr-int 1000 >> a=rtcp-fb:* ccm tmmbr >> a=rtcp-fb:96 nack pli >> a=rtcp-fb:96 ccm fir >> >> >> but FreeSWITCH replies SDP without video , >> >> v=0 >> o=FreeSWITCH 1554713996 1554713997 IN IP4 178.33.144.18 >> s=FreeSWITCH >> c=IN IP4 178.33.144.18 >> t=0 0 >> m=audio 754 RTP/AVP 96 101 >> a=rtpmap:96 opus/48000/2 >> a=fmtp:96 useinbandfec=1 >> a=rtpmap:101 telephone-event/48000 >> a=fmtp:101 0-16 >> a=ptime:20 >> m=video 0 RTP/AVP 19 >> >> It is really strange behavior, I really appreciate any suggestion and >> help on it. >> >> Regards, >> >> Faisal >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, Faisal Hanif -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Tue Apr 9 19:21:55 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Tue, 9 Apr 2019 19:21:55 +0000 Subject: [Freeswitch-users] conferencing more than two users Message-ID: I have a dialplan that uses conference_set_auto_outcall to call two users which should make a three way conference, but one user is hangup on right after joining. If I test just calling one user or the other it works fine. In the logs I see "Conference XXX is full" followed by "executed the last dialplan instruction, hanging up". Log snippet and dialplan are below. 2019-04-09 18:57:46.052917 [NOTICE] mod_conference.c:2097 Conference 7811-aa35aa91-041f-426c-b2a7-7407730948a5 is full. 2019-04-09 18:57:46.052917 [NOTICE] switch_core_state_machine.c:385 sofia/internal/2000-0x556f4f587e70 at 10.0.3.61:56930 has executed the last dialplan instruction, hanging up ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ing.diasdanny at gmail.com Tue Apr 9 20:41:00 2019 From: ing.diasdanny at gmail.com (Danny Dias) Date: Tue, 9 Apr 2019 15:41:00 -0500 Subject: [Freeswitch-users] The following packages have unmet dependencies Message-ID: Hi Community! I'm having some issues installing FS in my Debian 9.8 (Stretch). Here's what i'm doing from CLI, following steps here: https://freeswitch.org/confluence/display/FREESWITCH/Debian+9+Stretch root at srv-lx-fs-01:~# lsb_release -d Description: Debian GNU/Linux 9.8 (stretch) root at srv-lx-fs-01:~# wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add - --2019-04-09 00:58:39-- https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc Connecting to 10.88.7.3:3128... connected. GnuTLS: A TLS warning alert has been received. GnuTLS: received alert [112]: The server name sent was not recognized Proxy request sent, awaiting response... 200 OK Length: 3155 (3.1K) [text/plain] Saving to: ‘STDOUT’ - 100%[==============================================================================>] 3.08K --.-KB/s in 0s 2019-04-09 00:58:39 (23.6 MB/s) - written to stdout [3155/3155] OK root at srv-lx-fs-01:~# echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list root at srv-lx-fs-01:~# echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list root at srv-lx-fs-01:~# cat /etc/apt/sources.list.d/freeswitch.list deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main root at srv-lx-fs-01:~# apt-get update Hit:1 http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease Ign:2 http://ftp.us.debian.org/debian stretch InRelease Hit:3 http://ftp.us.debian.org/debian stretch-updates InRelease Hit:4 http://ftp.us.debian.org/debian stretch Release Hit:6 http://security-cdn.debian.org/debian-security stretch/updates InRelease Reading package lists... Done So, so far everything looks good, but my problem is with the following command: root at srv-lx-fs-01:~# apt-get build-dep freeswitch Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: *The following packages have unmet dependencies:* * builddeps:freeswitch : Depends: libks but it is not installable* * Depends: signalwire-client-c but it is not installable* * Depends: libv8-6.1-dev but it is not installable* *E: Unable to correct problems, you have held broken packages.* Any ideas please? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Tue Apr 9 22:52:01 2019 From: mario_fs at mgtech.com (mario_fs) Date: Tue, 9 Apr 2019 15:52:01 -0700 Subject: [Freeswitch-users] What is a register_attempt? In-Reply-To: References: Message-ID: <8FFCDAC0-172A-45F9-A0EA-B26F143471DD@mgtech.com> Thank you! So “challenge” causes the LUA event trap "sofia::register_attempt” to be made before any register or unregister and that is what’s happening so is normal. Now I can move on to the stuff that is actually wrong (5-6 regs/unregs switching between client and push when should be 1 each). Thanks again! Mario G > On Apr 9, 2019, at 10:39 AM, Brian West wrote: > > He means the challenge response that takes place. > > On Tue, Apr 9, 2019 at 12:37 PM Mike Jerris > wrote: > all events you subscribe to are freeswitch events so not sure what you mean. I think that event is fired on every received register message. Unregistration is also a register message. > > On Tue, Apr 9, 2019 at 11:33 AM mario_fs > wrote: > I see register_attempt before every registration, and I also see it before unregistration. I searched the web and can’t find anything on it. > > Is it a FreeSwitch only thing? > It is being issued by the client or something internally generated by FreeSwitch? > Why would it be used before an unregistration? > > It would be of help to know this, thanks! > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > > Brian West | Co-founder and Developer > Need Commercial support? email sales at freeswitch.com > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > Email: brian at freeswitch.com > Mobile: 918-424-9378 > Website: https://www.FreeSWITCH.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at freeswitch.com Wed Apr 10 00:21:42 2019 From: alex at freeswitch.com (Alexey Sibyakin) Date: Wed, 10 Apr 2019 09:21:42 +0900 Subject: [Freeswitch-users] Sound File Locations In-Reply-To: References: Message-ID: Hi, Try fs_cli -x "eval $${sound_prefix}" or fs_cli -x "eval $${sounds_dir}" Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Tue, Apr 9, 2019 at 5:14 AM Sean Devoy wrote: > Hi, > > > > I am upgrading to the current version from a very old build. I am having > trouble with my IVR recordings. I have searched confluence, but not found > the relevant page. The demo files just says “relative to the sounds > folder”. I cannot find it/them. > > > > Where are the sound files? VM sound files? Where should I put my IVR > sound files and what path should I use in the IVR menu? > > > > Thanks for your help. > > Sean > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Apr 10 13:51:34 2019 From: brian at freeswitch.com (Brian West) Date: Wed, 10 Apr 2019 08:51:34 -0500 Subject: [Freeswitch-users] What is a register_attempt? In-Reply-To: <8FFCDAC0-172A-45F9-A0EA-B26F143471DD@mgtech.com> References: <8FFCDAC0-172A-45F9-A0EA-B26F143471DD@mgtech.com> Message-ID: if your endpoint does the nonce count right, it wouldn't do that, but not all devices do that properly. /b On Tue, Apr 9, 2019 at 6:22 PM mario_fs wrote: > Thank you! So “challenge” causes the LUA event trap > "sofia::register_attempt” to be made before any register or unregister and > that is what’s happening so is normal. Now I can move on to the stuff that > is actually wrong (5-6 regs/unregs switching between client and push when > should be 1 each). > Thanks again! > Mario G > > On Apr 9, 2019, at 10:39 AM, Brian West wrote: > > He means the challenge response that takes place. > > On Tue, Apr 9, 2019 at 12:37 PM Mike Jerris wrote: > >> all events you subscribe to are freeswitch events so not sure what you >> mean. I think that event is fired on every received register message. >> Unregistration is also a register message. >> >> On Tue, Apr 9, 2019 at 11:33 AM mario_fs wrote: >> >>> I see register_attempt before every registration, and I also see it >>> before unregistration. I searched the web and can’t find anything on it. >>> >>> Is it a FreeSwitch only thing? >>> It is being issued by the client or something internally generated by >>> FreeSwitch? >>> Why would it be used before an unregistration? >>> >>> It would be of help to know this, thanks! >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > > Brian West | Co-founder and Developer > Need Commercial support? email sales at freeswitch.com > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > Email: brian at freeswitch.com > Mobile: 918-424-9378 > Website: https://www.FreeSWITCH.com > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagarmalam at gmail.com Wed Apr 10 15:00:06 2019 From: sagarmalam at gmail.com (sagar malam) Date: Wed, 10 Apr 2019 20:30:06 +0530 Subject: [Freeswitch-users] FS_ENCODE does not work with non root user Message-ID: Hello, FS encode does not work using non root user.Any idea why ? or how to fix it ? sudo -H -u nginx bash -c '/usr/local/freeswitch/bin/fs_encode -v /tmp/k1.wav /tmp/k1.PCMA' Cannot init core [Cannot Open log directory or XML Root!] 2019-04-10 15:01:20.230883 [WARNING] switch_core_codec.c:920 Codec is not initialized! 2019-04-10 15:01:20.231005 [WARNING] switch_core_codec.c:920 Codec is not initialized! -- Thanks, Sagar -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Wed Apr 10 16:29:42 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 10 Apr 2019 18:29:42 +0200 Subject: [Freeswitch-users] FS_ENCODE does not work with non root user In-Reply-To: References: Message-ID: it tries to access directories probably owned by root or by freeswitch user. Check who owns /usr/local/freeswitch/conf or /etc/freeswitch On Wed, Apr 10, 2019 at 5:16 PM sagar malam wrote: > Hello, > > FS encode does not work using non root user.Any idea why ? or how to fix > it ? > sudo -H -u nginx bash -c '/usr/local/freeswitch/bin/fs_encode -v > /tmp/k1.wav /tmp/k1.PCMA' > Cannot init core [Cannot Open log directory or XML Root!] > 2019-04-10 15:01:20.230883 [WARNING] switch_core_codec.c:920 Codec is not > initialized! > 2019-04-10 15:01:20.231005 [WARNING] switch_core_codec.c:920 Codec is not > initialized! > > > -- > Thanks, > > Sagar > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.safarov at gmail.com Wed Apr 10 16:43:26 2019 From: s.safarov at gmail.com (Sergey Safarov) Date: Wed, 10 Apr 2019 19:43:26 +0300 Subject: [Freeswitch-users] FS_ENCODE does not work with non root user In-Reply-To: References: Message-ID: You can strace application start and locate accessed directory/file. After it need check directory/file permissions. ср, 10 апр. 2019 г., 18:15 sagar malam : > Hello, > > FS encode does not work using non root user.Any idea why ? or how to fix > it ? > sudo -H -u nginx bash -c '/usr/local/freeswitch/bin/fs_encode -v > /tmp/k1.wav /tmp/k1.PCMA' > Cannot init core [Cannot Open log directory or XML Root!] > 2019-04-10 15:01:20.230883 [WARNING] switch_core_codec.c:920 Codec is not > initialized! > 2019-04-10 15:01:20.231005 [WARNING] switch_core_codec.c:920 Codec is not > initialized! > > > -- > Thanks, > > Sagar > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Wed Apr 10 03:55:00 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Wed, 10 Apr 2019 08:55:00 +0500 Subject: [Freeswitch-users] The following packages have unmet dependencies In-Reply-To: References: Message-ID: Hi, I executed exact following series of command in fresh installation of Debian 9 and that worked as charm, apt-get update && apt-get install -y gnupg2 wget wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list apt-get update apt-get install -y freeswitch-meta-all Faisal On Wed, 10 Apr 2019 at 02:42, Danny Dias wrote: > Hi Community! > > I'm having some issues installing FS in my Debian 9.8 (Stretch). > > Here's what i'm doing from CLI, following steps here: > https://freeswitch.org/confluence/display/FREESWITCH/Debian+9+Stretch > > root at srv-lx-fs-01:~# lsb_release -d > > Description: Debian GNU/Linux 9.8 (stretch) > > > > root at srv-lx-fs-01:~# wget -O - > https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | > apt-key add - > > --2019-04-09 00:58:39-- > https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc > > Connecting to 10.88.7.3:3128... connected. > > GnuTLS: A TLS warning alert has been received. > > GnuTLS: received alert [112]: The server name sent was not recognized > > Proxy request sent, awaiting response... 200 OK > > Length: 3155 (3.1K) [text/plain] > > Saving to: ‘STDOUT’ > > > - > 100%[==============================================================================>] > 3.08K --.-KB/s in 0s > > > 2019-04-09 00:58:39 (23.6 MB/s) - written to stdout [3155/3155] > > > OK > > > > root at srv-lx-fs-01:~# echo "deb > http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > > /etc/apt/sources.list.d/freeswitch.list > > root at srv-lx-fs-01:~# echo "deb-src > http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> > /etc/apt/sources.list.d/freeswitch.list > > > > root at srv-lx-fs-01:~# cat /etc/apt/sources.list.d/freeswitch.list > > deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main > > deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main > > > > root at srv-lx-fs-01:~# apt-get update > > Hit:1 http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch > InRelease > > Ign:2 http://ftp.us.debian.org/debian stretch InRelease > > Hit:3 http://ftp.us.debian.org/debian stretch-updates InRelease > > Hit:4 http://ftp.us.debian.org/debian stretch Release > > Hit:6 http://security-cdn.debian.org/debian-security stretch/updates > InRelease > > Reading package lists... Done > > > > So, so far everything looks good, but my problem is with the following > command: > > > root at srv-lx-fs-01:~# apt-get build-dep freeswitch > > Reading package lists... Done > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > Some packages could not be installed. This may mean that you have > > requested an impossible situation or if you are using the unstable > > distribution that some required packages have not yet been created > > or been moved out of Incoming. > > The following information may help to resolve the situation: > > > *The following packages have unmet dependencies:* > > * builddeps:freeswitch : Depends: libks but it is not installable* > > * Depends: signalwire-client-c but it is not > installable* > > * Depends: libv8-6.1-dev but it is not installable* > > *E: Unable to correct problems, you have held broken packages.* > > > > Any ideas please? > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, Faisal Hanif -------------- next part -------------- An HTML attachment was scrubbed... URL: From tafali at gmail.com Wed Apr 10 06:55:23 2019 From: tafali at gmail.com (Mustafa Ali Kahraman) Date: Wed, 10 Apr 2019 09:55:23 +0300 Subject: [Freeswitch-users] Sound File Locations In-Reply-To: References: Message-ID: you can see directories by fs_cli -x "global_getvar" | grep dir like this ... sounds_dir=/usr/share/freeswitch/sounds ... .... Sean Devoy , 8 Nis 2019 Pzt, 23:10 tarihinde şunu yazdı: > Hi, > > > > I am upgrading to the current version from a very old build. I am having > trouble with my IVR recordings. I have searched confluence, but not found > the relevant page. The demo files just says “relative to the sounds > folder”. I cannot find it/them. > > > > Where are the sound files? VM sound files? Where should I put my IVR > sound files and what path should I use in the IVR menu? > > > > Thanks for your help. > > Sean > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- -tafali- www.tafali.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Wed Apr 10 15:19:02 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Wed, 10 Apr 2019 15:19:02 +0000 Subject: [Freeswitch-users] conferencing more than two users In-Reply-To: References: Message-ID: Someone informed me that conference was setup with a max of two users. Please disregard my question. Robert From: FreeSWITCH-users On Behalf Of Mundkowsky, Robert Sent: Tuesday, April 9, 2019 3:22 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] conferencing more than two users I have a dialplan that uses conference_set_auto_outcall to call two users which should make a three way conference, but one user is hangup on right after joining. If I test just calling one user or the other it works fine. In the logs I see "Conference XXX is full" followed by "executed the last dialplan instruction, hanging up". Log snippet and dialplan are below. 2019-04-09 18:57:46.052917 [NOTICE] mod_conference.c:2097 Conference 7811-aa35aa91-041f-426c-b2a7-7407730948a5 is full. 2019-04-09 18:57:46.052917 [NOTICE] switch_core_state_machine.c:385 sofia/internal/2000-0x556f4f587e70 at 10.0.3.61:56930 has executed the last dialplan instruction, hanging up ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdenton at 24-7intouch.com Wed Apr 10 16:11:11 2019 From: tdenton at 24-7intouch.com (Troy Denton) Date: Wed, 10 Apr 2019 11:11:11 -0500 Subject: [Freeswitch-users] FS_ENCODE does not work with non root user In-Reply-To: References: Message-ID: Hey Sagar - Does your nginx user have read access your installation's freeswitch.xml configuration file, and write access to the freeswitch log directory? It would appear these two are the most likely culprits -------------------------------- Troy Denton, P. Eng. Senior Telecom Analyst 24-7 Intouch 24-7intouch.com | tdenton at 24-7intouch.com 240 Kennedy St | Winnipeg, Manitoba, Canada R3C 1T1 Confidentiality Note: This e-mail message and any attachments to it are intended only for the named recipients and may contain legally privileged and/or confidential information. If you are not one of the intended recipients, please do not duplicate or forward this e-mail message and immediately delete it from your computer. On Wed, Apr 10, 2019 at 10:36 AM sagar malam wrote: > Hello, > > FS encode does not work using non root user.Any idea why ? or how to fix > it ? > sudo -H -u nginx bash -c '/usr/local/freeswitch/bin/fs_encode -v > /tmp/k1.wav /tmp/k1.PCMA' > Cannot init core [Cannot Open log directory or XML Root!] > 2019-04-10 15:01:20.230883 [WARNING] switch_core_codec.c:920 Codec is not > initialized! > 2019-04-10 15:01:20.231005 [WARNING] switch_core_codec.c:920 Codec is not > initialized! > > > -- > Thanks, > > Sagar > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Wed Apr 10 18:30:00 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Wed, 10 Apr 2019 18:30:00 +0000 Subject: [Freeswitch-users] 3 way conference to hangup all users Message-ID: Is there a way to setup a 3 way conference to hangup all users if any one of the three hangs up? Robert ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Wed Apr 10 19:28:16 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Wed, 10 Apr 2019 19:28:16 +0000 Subject: [Freeswitch-users] 3 way conference to hangup all users In-Reply-To: References: Message-ID: Well, I figured out that I only need to end the call if one specific caller hangup. So setting the "endconf" solved my problem. Robert From: Mundkowsky, Robert Sent: Wednesday, April 10, 2019 2:30 PM To: FreeSWITCH Users Help Subject: 3 way conference to hangup all users Is there a way to setup a 3 way conference to hangup all users if any one of the three hangs up? Robert ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagarmalam at gmail.com Thu Apr 11 17:00:34 2019 From: sagarmalam at gmail.com (sagar malam) Date: Thu, 11 Apr 2019 22:30:34 +0530 Subject: [Freeswitch-users] FS_ENCODE does not work with non root user In-Reply-To: References: Message-ID: It was permission issue. Thanks for help On Thu, Apr 11, 2019 at 3:05 AM Troy Denton wrote: > Hey Sagar - Does your nginx user have read access your installation's > freeswitch.xml configuration file, and write access to the freeswitch log > directory? It would appear these two are the most likely culprits > > -------------------------------- > > Troy Denton, P. Eng. > > Senior Telecom Analyst > > 24-7 Intouch > > > > 24-7intouch.com | tdenton at 24-7intouch.com > > 240 Kennedy St | Winnipeg, Manitoba, Canada R3C 1T1 > > Confidentiality Note: This e-mail message and any attachments to it are > intended only for the named recipients and may contain legally privileged > and/or confidential information. If you are not one of the intended > recipients, please do not duplicate or forward this e-mail message and > immediately delete it from your computer. > > > On Wed, Apr 10, 2019 at 10:36 AM sagar malam wrote: > >> Hello, >> >> FS encode does not work using non root user.Any idea why ? or how to fix >> it ? >> sudo -H -u nginx bash -c '/usr/local/freeswitch/bin/fs_encode -v >> /tmp/k1.wav /tmp/k1.PCMA' >> Cannot init core [Cannot Open log directory or XML Root!] >> 2019-04-10 15:01:20.230883 [WARNING] switch_core_codec.c:920 Codec is not >> initialized! >> 2019-04-10 15:01:20.231005 [WARNING] switch_core_codec.c:920 Codec is not >> initialized! >> >> >> -- >> Thanks, >> >> Sagar >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Thanks, Sagar -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagarmalam at gmail.com Thu Apr 11 17:05:04 2019 From: sagarmalam at gmail.com (sagar malam) Date: Thu, 11 Apr 2019 22:35:04 +0530 Subject: [Freeswitch-users] Mod native file not able to play G722 encoded files Message-ID: Hello , I am using mod native file module to play native files.It works perfectly with PCMA,PCMU,G729 but not for G722. Any idea why ? Log line after codec negotiation : 2019-04-11 16:58:39.860111 [DEBUG] switch_core_media.c:3818 Set Codec sofia/register/888 at ecolocal3.sip.teledge.local G722/8000 20 ms 160 samples 64000 bits 1 channels Error thrown by FS on CLI : 2019-04-11 16:58:39.880339 [ERR] switch_core_file.c:301 Invalid file format [G722] for [/media/freeswitch_storage/sounds/custom/req_fail.G722]! 2019-04-11 16:58:39.880339 [DEBUG] switch_core_file.c:386 File /media/freeswitch_storage/sounds/custom/req_fail.wav sample rate 8000 doesn't match req uested rate 16000 2019-04-11 16:58:39.880339 [DEBUG] switch_ivr_play_say.c:1493 Codec Activated L16 at 16000hz 1 channels 20ms I am using FS 1.8.2 -- Thanks, Sagar -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Thu Apr 11 03:57:43 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Thu, 11 Apr 2019 08:57:43 +0500 Subject: [Freeswitch-users] 3 way conference to hangup all users In-Reply-To: References: Message-ID: Well there are number of ways for it, there is a flag in conf to drop conf when moderator exit You can set conf id variable before joining and call "hupall confid value" in hangup hook API Regards, Faisal On Thu, Apr 11, 2019, 1:25 AM Mundkowsky, Robert wrote: > Is there a way to setup a 3 way conference to hangup all users if any one > of the three hangs up? > > > > Robert > > ------------------------------ > > This e-mail and any files transmitted with it may contain privileged or > confidential information. It is solely for use by the individual for whom > it is intended, even if addressed incorrectly. If you received this e-mail > in error, please notify the sender; do not disclose, copy, distribute, or > take any action in reliance on the contents of this information; and delete > it from your system. Any other use of this e-mail is prohibited. > > Thank you for your compliance. > ------------------------------ > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Thu Apr 11 17:26:45 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Thu, 11 Apr 2019 22:26:45 +0500 Subject: [Freeswitch-users] Mod native file not able to play G722 encoded files In-Reply-To: References: Message-ID: Try making file extension in caps On Thu, Apr 11, 2019, 10:07 PM sagar malam wrote: > Hello , > > I am using mod native file module to play native files.It works perfectly > with PCMA,PCMU,G729 but not for G722. Any idea why ? > > Log line after codec negotiation : > 2019-04-11 16:58:39.860111 [DEBUG] switch_core_media.c:3818 Set Codec > sofia/register/888 at ecolocal3.sip.teledge.local G722/8000 20 ms 160 > samples 64000 > bits 1 channels > > Error thrown by FS on CLI : > 2019-04-11 16:58:39.880339 [ERR] switch_core_file.c:301 Invalid file > format [G722] for [/media/freeswitch_storage/sounds/custom/req_fail.G722]! > 2019-04-11 16:58:39.880339 [DEBUG] switch_core_file.c:386 File > /media/freeswitch_storage/sounds/custom/req_fail.wav sample rate 8000 > doesn't match req > uested rate 16000 > > 2019-04-11 16:58:39.880339 [DEBUG] switch_ivr_play_say.c:1493 Codec > Activated L16 at 16000hz 1 channels 20ms > > I am using FS 1.8.2 > > -- > Thanks, > > Sagar > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdenton at 24-7intouch.com Thu Apr 11 19:00:44 2019 From: tdenton at 24-7intouch.com (Troy Denton) Date: Thu, 11 Apr 2019 14:00:44 -0500 Subject: [Freeswitch-users] Mod native file not able to play G722 encoded files In-Reply-To: References: Message-ID: If you run fs_cli -x 'show codecs', is g722 reported? It should be provided by mod_spandsp - mod_native_file *should* support any loaded codecs. It appears that mod_spandsp may need to be loaded before mod_native_file (although I'm not 100% on that), for it to perform the init that associates the loaded codecs with it's supported formats. If mod_spandsp is already loaded, try running a 'reload mod_native_file' and see if that helps > Hello , > > I am using mod native file module to play native files.It works perfectly > with PCMA,PCMU,G729 but not for G722. Any idea why ? > > Log line after codec negotiation : > 2019-04-11 16:58:39.860111 [DEBUG] switch_core_media.c:3818 Set Codec > sofia/register/888 at ecolocal3.sip.teledge.local G722/8000 20 ms 160 > samples 64000 > bits 1 channels > > Error thrown by FS on CLI : > 2019-04-11 16:58:39.880339 [ERR] switch_core_file.c:301 Invalid file > format [G722] for [/media/freeswitch_storage/sounds/custom/req_fail.G722]! > > 2019-04-11 16:58:39.880339 [DEBUG] switch_core_file.c:386 File > /media/freeswitch_storage/sounds/custom/req_fail.wav sample rate 8000 > doesn't match req > uested rate 16000 > > 2019-04-11 16:58:39.880339 [DEBUG] switch_ivr_play_say.c:1493 Codec > Activated L16 at 16000hz 1 channels 20ms > > I am using FS 1.8.2 > > -- > Thanks, > > Sagar > -------------------------------- Troy Denton, P. Eng. Senior Telecom Analyst 24-7 Intouch 24-7intouch.com | tdenton at 24-7intouch.com 240 Kennedy St | Winnipeg, Manitoba, Canada R3C 1T1 Confidentiality Note: This e-mail message and any attachments to it are intended only for the named recipients and may contain legally privileged and/or confidential information. If you are not one of the intended recipients, please do not duplicate or forward this e-mail message and immediately delete it from your computer. On Thu, Apr 11, 2019 at 12:19 PM sagar malam wrote: > Hello , > > I am using mod native file module to play native files.It works perfectly > with PCMA,PCMU,G729 but not for G722. Any idea why ? > > Log line after codec negotiation : > 2019-04-11 16:58:39.860111 [DEBUG] switch_core_media.c:3818 Set Codec > sofia/register/888 at ecolocal3.sip.teledge.local G722/8000 20 ms 160 > samples 64000 > bits 1 channels > > Error thrown by FS on CLI : > 2019-04-11 16:58:39.880339 [ERR] switch_core_file.c:301 Invalid file > format [G722] for [/media/freeswitch_storage/sounds/custom/req_fail.G722]! > 2019-04-11 16:58:39.880339 [DEBUG] switch_core_file.c:386 File > /media/freeswitch_storage/sounds/custom/req_fail.wav sample rate 8000 > doesn't match req > uested rate 16000 > > 2019-04-11 16:58:39.880339 [DEBUG] switch_ivr_play_say.c:1493 Codec > Activated L16 at 16000hz 1 channels 20ms > > I am using FS 1.8.2 > > -- > Thanks, > > Sagar > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagarmalam at gmail.com Fri Apr 12 06:01:55 2019 From: sagarmalam at gmail.com (sagar malam) Date: Fri, 12 Apr 2019 11:31:55 +0530 Subject: [Freeswitch-users] Mod native file not able to play G722 encoded files In-Reply-To: References: Message-ID: Loading mod_native_file after mod_spandsp fixed it.But i am facing this issue now : https://freeswitch.org/jira/browse/FS-6815?focusedCommentId=55091&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-55091 On Fri, Apr 12, 2019 at 5:23 AM Faisal Hanif wrote: > Try making file extension in caps > > On Thu, Apr 11, 2019, 10:07 PM sagar malam wrote: > >> Hello , >> >> I am using mod native file module to play native files.It works perfectly >> with PCMA,PCMU,G729 but not for G722. Any idea why ? >> >> Log line after codec negotiation : >> 2019-04-11 16:58:39.860111 [DEBUG] switch_core_media.c:3818 Set Codec >> sofia/register/888 at ecolocal3.sip.teledge.local G722/8000 20 ms 160 >> samples 64000 >> bits 1 channels >> >> Error thrown by FS on CLI : >> 2019-04-11 16:58:39.880339 [ERR] switch_core_file.c:301 Invalid file >> format [G722] for [/media/freeswitch_storage/sounds/custom/req_fail.G722]! >> 2019-04-11 16:58:39.880339 [DEBUG] switch_core_file.c:386 File >> /media/freeswitch_storage/sounds/custom/req_fail.wav sample rate 8000 >> doesn't match req >> uested rate 16000 >> >> 2019-04-11 16:58:39.880339 [DEBUG] switch_ivr_play_say.c:1493 Codec >> Activated L16 at 16000hz 1 channels 20ms >> >> I am using FS 1.8.2 >> >> -- >> Thanks, >> >> Sagar >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Thanks, Sagar -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagarmalam at gmail.com Fri Apr 12 13:15:37 2019 From: sagarmalam at gmail.com (sagar malam) Date: Fri, 12 Apr 2019 18:45:37 +0530 Subject: [Freeswitch-users] Noise at the end of G729 native file playback Message-ID: Hello, I have used fs_encode to generate G729 native files and i am using them as call queue MOH. After file is played, i hear 2-3 seconds noise.This issue is not reproducible with PCMA or PCMU codec native files or wav files.Any idea what can be done to fix it ? -- Thanks, Sagar -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagarmalam at gmail.com Fri Apr 12 14:23:52 2019 From: sagarmalam at gmail.com (sagar malam) Date: Fri, 12 Apr 2019 19:53:52 +0530 Subject: [Freeswitch-users] Noise at the end of G729 native file playback In-Reply-To: References: Message-ID: attaching wav file generated from pcap. On Fri, Apr 12, 2019 at 6:45 PM sagar malam wrote: > Hello, > > I have used fs_encode to generate G729 native files and i am using them as > call queue MOH. After file is played, i hear 2-3 seconds noise.This issue > is not reproducible with PCMA or PCMU codec native files or wav files.Any > idea what can be done to fix it ? > > -- > Thanks, > > Sagar > -- Thanks, Sagar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: feat_not1.wav Type: audio/wav Size: 72204 bytes Desc: not available URL: From morfair at gmail.com Fri Apr 12 10:26:29 2019 From: morfair at gmail.com (morfair at gmail.com) Date: Fri, 12 Apr 2019 13:26:29 +0300 Subject: [Freeswitch-users] billmsec and billsec round Message-ID: Hello all! Help please with billsec variable, how to it calculate? In my accounting store I have a sets: billsec; billmsec 7 7820 7 7360 33 33360 38 38020 59 58900 26 25840 87 86400 How to calculate billsec? What algorithm is used for round billmsec? P.S.: Sorry for my English. From abaci64 at gmail.com Fri Apr 12 14:58:40 2019 From: abaci64 at gmail.com (Abaci B) Date: Fri, 12 Apr 2019 10:58:40 -0400 Subject: [Freeswitch-users] Call transfer In-Reply-To: References: Message-ID: in the dialplan that you use to bridge to the user On Mon, Apr 1, 2019 at 8:47 PM Moshe Rosenberg wrote: > Can you point me in the right direction? In which dailplan will I add this? > > On Sun, Mar 31, 2019, 1:11 PM Abaci B wrote: > >> You can use transfer_fallback_extension >> https://freeswitch.org/confluence/display/FREESWITCH/transfer_fallback_extension >> >> On Sat, Mar 30, 2019 at 11:58 PM Moshe Rosenberg < >> moshe.rosenberg at gmail.com> wrote: >> >>> Hi >>> >>> With the old Panasonic system there was a feature that if we transfer a >>> caller to an ext and the person does not answer it will not go to VM >>> instead it would ring back to the user who tried to transfer the call >>> >>> How can we do that? In freeswitch >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Sat Apr 13 00:55:22 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Sat, 13 Apr 2019 05:55:22 +0500 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: It simply dividing billmsec by 1000 and then rounding it by general math rule so ideally you can use billsec for billing but if you need more precision you can use billmsec and decide by 1000 by your code. On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com wrote: > Hello all! > > Help please with billsec variable, how to it calculate? In my accounting > store I have a sets: > > billsec; billmsec > > 7 7820 > > 7 7360 > > 33 33360 > > 38 38020 > > 59 58900 > > 26 25840 > > 87 86400 > > > How to calculate billsec? What algorithm is used for round billmsec? > > P.S.: Sorry for my English. > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Sat Apr 13 01:58:54 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sat, 13 Apr 2019 03:58:54 +0200 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: On Sat, Apr 13, 2019, 03:26 Faisal Hanif wrote: > It simply dividing billmsec by 1000 and then rounding it by general math > rule so ideally you can use billsec for billing but if you need more > precision you can use billmsec and decide by 1000 by your code. > Maybe you have not paid attention to the example given... > On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com wrote: > >> Hello all! >> >> Help please with billsec variable, how to it calculate? In my accounting >> store I have a sets: >> >> billsec; billmsec >> >> 7 7820 >> >> 7 7360 >> >> 33 33360 >> >> 38 38020 >> >> 59 58900 >> >> 26 25840 >> >> 87 86400 >> >> >> How to calculate billsec? What algorithm is used for round billmsec? >> >> P.S.: Sorry for my English. >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Sat Apr 13 02:03:47 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Sat, 13 Apr 2019 07:03:47 +0500 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: if remainder is 4 or plus. On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli wrote: > > > On Sat, Apr 13, 2019, 03:26 Faisal Hanif wrote: > >> It simply dividing billmsec by 1000 and then rounding it by general math >> rule so ideally you can use billsec for billing but if you need more >> precision you can use billmsec and decide by 1000 by your code. >> > > Maybe you have not paid attention to the example given... > > > > > > > > > >> On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com >> wrote: >> >>> Hello all! >>> >>> Help please with billsec variable, how to it calculate? In my accounting >>> store I have a sets: >>> >>> billsec; billmsec >>> >>> 7 7820 >>> >>> 7 7360 >>> >>> 33 33360 >>> >>> 38 38020 >>> >>> 59 58900 >>> >>> 26 25840 >>> >>> 87 86400 >>> >>> >>> How to calculate billsec? What algorithm is used for round billmsec? >>> >>> P.S.: Sorry for my English. >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Sat Apr 13 02:59:02 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sat, 13 Apr 2019 04:59:02 +0200 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: 7 7820 ???? On Sat, Apr 13, 2019, 04:06 Faisal Hanif wrote: > if remainder is 4 or plus. > > On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli > wrote: > >> >> >> On Sat, Apr 13, 2019, 03:26 Faisal Hanif wrote: >> >>> It simply dividing billmsec by 1000 and then rounding it by general math >>> rule so ideally you can use billsec for billing but if you need more >>> precision you can use billmsec and decide by 1000 by your code. >>> >> >> Maybe you have not paid attention to the example given... >> >> >> >> >> >> >> >> >> >>> On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com >>> wrote: >>> >>>> Hello all! >>>> >>>> Help please with billsec variable, how to it calculate? In my >>>> accounting >>>> store I have a sets: >>>> >>>> billsec; billmsec >>>> >>>> 7 7820 >>>> >>>> 7 7360 >>>> >>>> 33 33360 >>>> >>>> 38 38020 >>>> >>>> 59 58900 >>>> >>>> 26 25840 >>>> >>>> 87 86400 >>>> >>>> >>>> How to calculate billsec? What algorithm is used for round billmsec? >>>> >>>> P.S.: Sorry for my English. >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagarmalam at gmail.com Sat Apr 13 06:20:33 2019 From: sagarmalam at gmail.com (sagar malam) Date: Sat, 13 Apr 2019 11:50:33 +0530 Subject: [Freeswitch-users] Noise at the end of G729 native file playback In-Reply-To: References: Message-ID: I think this issue is related to FS_ENCODE. Files generated using asterisk is not having this kind of problem. On Fri, Apr 12, 2019 at 7:53 PM sagar malam wrote: > attaching wav file generated from pcap. > > On Fri, Apr 12, 2019 at 6:45 PM sagar malam wrote: > >> Hello, >> >> I have used fs_encode to generate G729 native files and i am using them >> as call queue MOH. After file is played, i hear 2-3 seconds noise.This >> issue is not reproducible with PCMA or PCMU codec native files or wav >> files.Any idea what can be done to fix it ? >> >> -- >> Thanks, >> >> Sagar >> > > > -- > Thanks, > > Sagar > -- Thanks, Sagar -------------- next part -------------- An HTML attachment was scrubbed... URL: From avi at avimarcus.net Sat Apr 13 18:19:08 2019 From: avi at avimarcus.net (Avi Marcus) Date: Sat, 13 Apr 2019 18:19:08 +0000 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: <0100016a17ecaf8e-8c342f1a-9c57-4044-b23d-2b81fff83455-000000@email.amazonses.com> Wow weird examples. I take billmsec/1000 and always round up when billing customers. On Sat, Apr 13, 2019, 6:14 AM Giovanni Maruzzelli wrote: > 7 7820 ???? > > > > On Sat, Apr 13, 2019, 04:06 Faisal Hanif wrote: > >> if remainder is 4 or plus. >> >> On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli >> wrote: >> >>> >>> >>> On Sat, Apr 13, 2019, 03:26 Faisal Hanif wrote: >>> >>>> It simply dividing billmsec by 1000 and then rounding it by general >>>> math rule so ideally you can use billsec for billing but if you need more >>>> precision you can use billmsec and decide by 1000 by your code. >>>> >>> >>> Maybe you have not paid attention to the example given... >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>> On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com >>>> wrote: >>>> >>>>> Hello all! >>>>> >>>>> Help please with billsec variable, how to it calculate? In my >>>>> accounting >>>>> store I have a sets: >>>>> >>>>> billsec; billmsec >>>>> >>>>> 7 7820 >>>>> >>>>> 7 7360 >>>>> >>>>> 33 33360 >>>>> >>>>> 38 38020 >>>>> >>>>> 59 58900 >>>>> >>>>> 26 25840 >>>>> >>>>> 87 86400 >>>>> >>>>> >>>>> How to calculate billsec? What algorithm is used for round billmsec? >>>>> >>>>> P.S.: Sorry for my English. >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From amit.nakum2009 at gmail.com Sat Apr 13 08:14:04 2019 From: amit.nakum2009 at gmail.com (Amit Nakum) Date: Sat, 13 Apr 2019 13:44:04 +0530 Subject: [Freeswitch-users] Internal Sofia Hang In-Reply-To: References: Message-ID: Hello Team, Earlier we have same issue in sqlite so i decide to switch to mysql but same issue i face with mysql. I dont think postgres will solved this issue. Please guide other solution and how to debug this issue more. On Tue, Apr 9, 2019 at 8:56 AM Alexey Sibyakin wrote: > Hello, > > Short answer: use Postgres, MySQL/MariaDB is known to have deadlocks in > threaded workloads. > > Regards, > > Alex > > Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, > Palo Alto, CA 94303 Email: alex at freeswitch.com Website: > https://www.signalwire.com > > > > On Tue, Apr 9, 2019 at 6:53 AM Amit Nakum > wrote: > >> Hello Team, >> >> You must be a member of this list to send messages to the list. >> >> >> >> >> Dear Team, >> >> I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB >> Server. I am facing strange issue, internal sofia stop processing incoming >> calls, during this time I can see incoming sip packets which reach to >> network using ngrep command but sofia is not responding to any sip message. >> >> After restarting sofia its start processing again and after few >> houragain it stop process sip message. >> >> We have install freeswitch 1.5.5 on centos7 on vpsdime cloud server. >> >> Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri >> Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" >> >> output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo >> processor : 7 >> vendor_id : GenuineIntel >> cpu family : 6 >> model : 62 >> model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz >> stepping : 4 >> microcode : 0x1 >> cpu MHz : 2999.998 >> cache size : 16384 KB >> physical id : 0 >> siblings : 8 >> core id : 7 >> cpu cores : 8 >> apicid : 7 >> initial apicid : 7 >> fpu : yes >> fpu_exception : yes >> cpuid level : 13 >> wp : yes >> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >> mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb >> rdtscp lm constant_tsc arch_perfmon rep_good >> nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 >> x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor >> lahf_lm fsgsbase tsc_adjust smep erms xsaveopt a >> rat >> bogomips : 5999.99 >> clflush size : 64 >> cache_alignment : 64 >> address sizes : 40 bits physical, 48 bits virtual >> power management >> >> free -g >> total used free shared buff/cache >> available >> Mem: 31 0 22 1 7 >> 28 >> Swap: 1 0 1 >> >> >> Concurrent calls :30 >> >> Please help to resolved. >> >> >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From morfair at gmail.com Sat Apr 13 10:29:59 2019 From: morfair at gmail.com (=?UTF-8?B?0JzQuNGF0LDQuNC7INCa0LDQu9C40L3QuNC9?=) Date: Sat, 13 Apr 2019 13:29:59 +0300 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: yes. it's crazy сб, 13 апр. 2019 г. в 06:23, Giovanni Maruzzelli : > 7 7820 ???? > > > > On Sat, Apr 13, 2019, 04:06 Faisal Hanif wrote: > >> if remainder is 4 or plus. >> >> On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli >> wrote: >> >>> >>> >>> On Sat, Apr 13, 2019, 03:26 Faisal Hanif wrote: >>> >>>> It simply dividing billmsec by 1000 and then rounding it by general >>>> math rule so ideally you can use billsec for billing but if you need more >>>> precision you can use billmsec and decide by 1000 by your code. >>>> >>> >>> Maybe you have not paid attention to the example given... >>> >>> >>> >>> >>> >>> >>> >>> >>> >>>> On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com >>>> wrote: >>>> >>>>> Hello all! >>>>> >>>>> Help please with billsec variable, how to it calculate? In my >>>>> accounting >>>>> store I have a sets: >>>>> >>>>> billsec; billmsec >>>>> >>>>> 7 7820 >>>>> >>>>> 7 7360 >>>>> >>>>> 33 33360 >>>>> >>>>> 38 38020 >>>>> >>>>> 59 58900 >>>>> >>>>> 26 25840 >>>>> >>>>> 87 86400 >>>>> >>>>> >>>>> How to calculate billsec? What algorithm is used for round billmsec? >>>>> >>>>> P.S.: Sorry for my English. >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Sat Apr 13 21:41:02 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sat, 13 Apr 2019 23:41:02 +0200 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: Morfair (OP), can you please double check you actually got crazy roundings like 7 7820? -giovanni On Sat, Apr 13, 2019 at 10:29 PM Михаил Калинин wrote: > yes. it's crazy > > сб, 13 апр. 2019 г. в 06:23, Giovanni Maruzzelli : > >> 7 7820 ???? >> >> >> >> On Sat, Apr 13, 2019, 04:06 Faisal Hanif wrote: >> >>> if remainder is 4 or plus. >>> >>> On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli >>> wrote: >>> >>>> >>>> >>>> On Sat, Apr 13, 2019, 03:26 Faisal Hanif wrote: >>>> >>>>> It simply dividing billmsec by 1000 and then rounding it by general >>>>> math rule so ideally you can use billsec for billing but if you need more >>>>> precision you can use billmsec and decide by 1000 by your code. >>>>> >>>> >>>> Maybe you have not paid attention to the example given... >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>> On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com >>>>> wrote: >>>>> >>>>>> Hello all! >>>>>> >>>>>> Help please with billsec variable, how to it calculate? In my >>>>>> accounting >>>>>> store I have a sets: >>>>>> >>>>>> billsec; billmsec >>>>>> >>>>>> 7 7820 >>>>>> >>>>>> 7 7360 >>>>>> >>>>>> 33 33360 >>>>>> >>>>>> 38 38020 >>>>>> >>>>>> 59 58900 >>>>>> >>>>>> 26 25840 >>>>>> >>>>>> 87 86400 >>>>>> >>>>>> >>>>>> How to calculate billsec? What algorithm is used for round billmsec? >>>>>> >>>>>> P.S.: Sorry for my English. >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> Professional FreeSWITCH Services >>>>>> sales at freeswitch.com >>>>>> https://freeswitch.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> https://freeswitch.com/oss >>>>>> https://freeswitch.org/confluence >>>>>> https://cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> https://freeswitch.com >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Sat Apr 13 22:03:53 2019 From: krice at freeswitch.org (Ken Rice) Date: Sat, 13 Apr 2019 17:03:53 -0500 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: <319901d4f244$ca696630$5f3c3290$@freeswitch.org> If you really want your code to act like the big boys you always ceiling to the second or bill increment… using whole numbers for example, 60/60 (1 minute increments like that cell phone companies) 0-60 is the first minute, 61 seconds, that’s 2 minutes… When you are dealing ms level counters, 0-60.000 is first minute, 60.001-120.000 is the second minute. Doesn’t matter that you are only .001 over the 60 seconds you are into the next minute already… From: FreeSWITCH-users On Behalf Of Giovanni Maruzzelli Sent: Saturday, April 13, 2019 4:41 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] billmsec and billsec round Morfair (OP), can you please double check you actually got crazy roundings like 7 7820? -giovanni On Sat, Apr 13, 2019 at 10:29 PM Михаил Калинин > wrote: yes. it's crazy сб, 13 апр. 2019 г. в 06:23, Giovanni Maruzzelli >: 7 7820 ???? On Sat, Apr 13, 2019, 04:06 Faisal Hanif > wrote: if remainder is 4 or plus. On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli > wrote: On Sat, Apr 13, 2019, 03:26 Faisal Hanif > wrote: It simply dividing billmsec by 1000 and then rounding it by general math rule so ideally you can use billsec for billing but if you need more precision you can use billmsec and decide by 1000 by your code. Maybe you have not paid attention to the example given... On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com > wrote: Hello all! Help please with billsec variable, how to it calculate? In my accounting store I have a sets: billsec; billmsec 7 7820 7 7360 33 33360 38 38020 59 58900 26 25840 87 86400 How to calculate billsec? What algorithm is used for round billmsec? P.S.: Sorry for my English. _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Sat Apr 13 22:43:38 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 14 Apr 2019 00:43:38 +0200 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: <319901d4f244$ca696630$5f3c3290$@freeswitch.org> References: <319901d4f244$ca696630$5f3c3290$@freeswitch.org> Message-ID: Ciao Ken! yep, I'm totally with you in ceiling to the next unit if you do your billing. But the OP seems to have inconsistent roundings of the vars expressed in millisec vs sec I tend to think probably the OP was not actually having those rounding errs, maybe he just miscopied things... On Sun, Apr 14, 2019 at 12:04 AM Ken Rice wrote: > If you really want your code to act like the big boys you always ceiling > to the second or bill increment… using whole numbers for example, 60/60 (1 > minute increments like that cell phone companies) 0-60 is the first > minute, 61 seconds, that’s 2 minutes… > > > > When you are dealing ms level counters, 0-60.000 is first minute, > 60.001-120.000 is the second minute. Doesn’t matter that you are only .001 > over the 60 seconds you are into the next minute already… > > > > *From:* FreeSWITCH-users *On > Behalf Of *Giovanni Maruzzelli > *Sent:* Saturday, April 13, 2019 4:41 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] billmsec and billsec round > > > > Morfair (OP), > > > > can you please double check you actually got crazy roundings like 7 7820? > > > > -giovanni > > > > On Sat, Apr 13, 2019 at 10:29 PM Михаил Калинин wrote: > > yes. it's crazy > > > > сб, 13 апр. 2019 г. в 06:23, Giovanni Maruzzelli : > > 7 7820 ???? > > > > > > On Sat, Apr 13, 2019, 04:06 Faisal Hanif wrote: > > if remainder is 4 or plus. > > > > On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli > wrote: > > > > On Sat, Apr 13, 2019, 03:26 Faisal Hanif wrote: > > It simply dividing billmsec by 1000 and then rounding it by general math > rule so ideally you can use billsec for billing but if you need more > precision you can use billmsec and decide by 1000 by your code. > > > > Maybe you have not paid attention to the example given... > > > > > > > > > > > > > > > > > > > > On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com wrote: > > Hello all! > > Help please with billsec variable, how to it calculate? In my accounting > store I have a sets: > > billsec; billmsec > > 7 7820 > > 7 7360 > > 33 33360 > > 38 38020 > > 59 58900 > > 26 25840 > > 87 86400 > > > How to calculate billsec? What algorithm is used for round billmsec? > > P.S.: Sorry for my English. > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > -- > > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Sat Apr 13 22:51:46 2019 From: brian at freeswitch.com (Brian West) Date: Sat, 13 Apr 2019 17:51:46 -0500 Subject: [Freeswitch-users] Internal Sofia Hang In-Reply-To: References: Message-ID: Contact coreteam at freeswitch.org /b On Sat, Apr 13, 2019 at 15:29 Amit Nakum wrote: > Hello Team, > > Earlier we have same issue in sqlite so i decide to switch to mysql but > same issue i face with mysql. > > I dont think postgres will solved this issue. > > Please guide other solution and how to debug this issue more. > > > On Tue, Apr 9, 2019 at 8:56 AM Alexey Sibyakin > wrote: > >> Hello, >> >> Short answer: use Postgres, MySQL/MariaDB is known to have deadlocks in >> threaded workloads. >> >> Regards, >> >> Alex >> >> Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd >> Floor, Palo Alto, CA 94303 >> >> Email: alex at freeswitch.com Website: https://www.signalwire.com >> >> >> >> On Tue, Apr 9, 2019 at 6:53 AM Amit Nakum >> wrote: >> >>> Hello Team, >>> >>> You must be a member of this list to send messages to the list. >>> >>> >>> >>> >>> Dear Team, >>> >>> I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB >>> Server. I am facing strange issue, internal sofia stop processing incoming >>> calls, during this time I can see incoming sip packets which reach to >>> network using ngrep command but sofia is not responding to any sip message. >>> >>> After restarting sofia its start processing again and after few >>> houragain it stop process sip message. >>> >>> We have install freeswitch 1.5.5 on centos7 on vpsdime cloud server. >>> >>> Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri >>> Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" >>> >>> output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo >>> processor : 7 >>> vendor_id : GenuineIntel >>> cpu family : 6 >>> model : 62 >>> model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz >>> stepping : 4 >>> microcode : 0x1 >>> cpu MHz : 2999.998 >>> cache size : 16384 KB >>> physical id : 0 >>> siblings : 8 >>> core id : 7 >>> cpu cores : 8 >>> apicid : 7 >>> initial apicid : 7 >>> fpu : yes >>> fpu_exception : yes >>> cpuid level : 13 >>> wp : yes >>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>> mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb >>> rdtscp lm constant_tsc arch_perfmon rep_good >>> nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 >>> x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor >>> lahf_lm fsgsbase tsc_adjust smep erms xsaveopt a >>> rat >>> bogomips : 5999.99 >>> clflush size : 64 >>> cache_alignment : 64 >>> address sizes : 40 bits physical, 48 bits virtual >>> power management >>> >>> free -g >>> total used free shared buff/cache >>> available >>> Mem: 31 0 22 1 7 >>> 28 >>> Swap: 1 0 1 >>> >>> >>> Concurrent calls :30 >>> >>> Please help to resolved. >>> >>> >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From yehavi.bourvine at gmail.com Sun Apr 14 03:50:46 2019 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Sun, 14 Apr 2019 06:50:46 +0300 Subject: [Freeswitch-users] Install Freeswitch 1.8 on centos-7? Message-ID: Hello, Has anyone managed to build Freeswitch on Centos-7? It cannot find V8 libraries, nor I can find an installation package for Lib-V8. Thanks, __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.safarov at gmail.com Sun Apr 14 06:45:22 2019 From: s.safarov at gmail.com (Sergey Safarov) Date: Sun, 14 Apr 2019 09:45:22 +0300 Subject: [Freeswitch-users] Install Freeswitch 1.8 on centos-7? In-Reply-To: References: Message-ID: you can look https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/1638/overview And create own rpm packages On Sun, Apr 14, 2019 at 7:22 AM Yehavi Bourvine wrote: > Hello, > > Has anyone managed to build Freeswitch on Centos-7? It cannot find V8 > libraries, nor I can find an installation package for Lib-V8. > > Thanks, __Yehavi: > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caioebassis at hotmail.com Sat Apr 13 21:58:00 2019 From: caioebassis at hotmail.com (Caio Assis) Date: Sat, 13 Apr 2019 21:58:00 +0000 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: Hi. I faced a similar issue, due to the billsec variable. I started using the variable billusec, which doesn't make any rounds and lets me do the rounding myself. So I use a function to divide the billusec by 1000000 and then ceil the result. Hope it helps. ________________________________ From: FreeSWITCH-users on behalf of morfair at gmail.com Sent: Friday, April 12, 2019 7:26 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] billmsec and billsec round Hello all! Help please with billsec variable, how to it calculate? In my accounting store I have a sets: billsec; billmsec 7 7820 7 7360 33 33360 38 38020 59 58900 26 25840 87 86400 How to calculate billsec? What algorithm is used for round billmsec? P.S.: Sorry for my English. _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hossein.hg901 at gmail.com Sun Apr 14 04:51:32 2019 From: hossein.hg901 at gmail.com (Hossein Gholizadeh) Date: Sun, 14 Apr 2019 09:21:32 +0430 Subject: [Freeswitch-users] external profile has no audio and drops after 23 sec Message-ID: Hello guys ... my calls on external profile has no audio and drops after 23 seconds always and gives me ACK_Timeout ... i didn't have this problem on last versio i was using but after updating with same configs i encountered with this problem.I have searched over the net and every comments was about ext-sip-ip and ext-rtp-ip in external profile.Also playback is not working too i mean there is no sound when playing wav file.I'm not a network or administrator and really need your help.i'm providing my last call log here.PLEASE Help! this is my last call log:https://pastebin.com/gqNMkbHt Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From moshe.rosenberg at gmail.com Sun Apr 14 05:16:05 2019 From: moshe.rosenberg at gmail.com (Moshe Rosenberg) Date: Sun, 14 Apr 2019 01:16:05 -0400 Subject: [Freeswitch-users] Call center - leave a number for a call back Message-ID: Hi I am trying to set up that there should be an announcement in a call center que if you would like a call back please enter your number now and the system should either email this info or automatically call back when the agent becomes available I can't seem to find this in freeswitch -------------- next part -------------- An HTML attachment was scrubbed... URL: From hossein.hg901 at gmail.com Sun Apr 14 08:56:26 2019 From: hossein.hg901 at gmail.com (Hossein Gholizadeh) Date: Sun, 14 Apr 2019 13:26:26 +0430 Subject: [Freeswitch-users] external profile has no audio and drops after 23 sec In-Reply-To: References: Message-ID: after testing it i found that my calls are still in ringing and the answer action in dialplan has no affect.how can i solve it? On Sun, 14 Apr 2019 at 09:21, Hossein Gholizadeh wrote: > Hello guys ... my calls on external profile has no audio and drops after > 23 seconds always and gives me ACK_Timeout ... i didn't have this problem > on last versio i was using but after updating with same configs i > encountered with this problem.I have searched over the net and every > comments was about ext-sip-ip and ext-rtp-ip in external profile.Also > playback is not working too i mean there is no sound when playing wav > file.I'm not a network or administrator and really need your help.i'm > providing my last call log here.PLEASE Help! > > this is my last call log:https://pastebin.com/gqNMkbHt > > Best Regards > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Sun Apr 14 19:01:48 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sun, 14 Apr 2019 20:01:48 +0100 Subject: [Freeswitch-users] external profile has no audio and drops after 23 sec In-Reply-To: References: Message-ID: You need to make sure the far end is receiving your packets. It doesn’t seem like it does, it keeps sending INVITEs after you’ve sent the trying and the 200 OK. Check the call ids are the same. On Sun, 14 Apr 2019 at 19:28, Hossein Gholizadeh wrote: > after testing it i found that my calls are still in ringing and the answer > action in dialplan has no affect.how can i solve it? > > On Sun, 14 Apr 2019 at 09:21, Hossein Gholizadeh > wrote: > >> Hello guys ... my calls on external profile has no audio and drops after >> 23 seconds always and gives me ACK_Timeout ... i didn't have this problem >> on last versio i was using but after updating with same configs i >> encountered with this problem.I have searched over the net and every >> comments was about ext-sip-ip and ext-rtp-ip in external profile.Also >> playback is not working too i mean there is no sound when playing wav >> file.I'm not a network or administrator and really need your help.i'm >> providing my last call log here.PLEASE Help! >> >> this is my last call log:https://pastebin.com/gqNMkbHt >> >> Best Regards >> >> _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony.minessale at gmail.com Sun Apr 14 22:00:48 2019 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Sun, 14 Apr 2019 17:00:48 -0500 Subject: [Freeswitch-users] ClueCon Speaker Submissions and Community Tools Message-ID: Hi, Visit https://www.cluecon.com/speakers/ to sign up to be a speaker for ClueCon 2019 The sooner you get the submission, the sooner you can get started procrastinating from writing it! JK, that's probably only me who does that. We're looking for speaker submissions about everything not just FS, use Asterisk, Kamailio, you name it we want to see it at ClueCon! Also be sure to sign up at https://signalwire.community and https://signalwire.com for our Slack Community and our SignalWire free account. We're looking for feedback on what things from FreeSWITCH you'd like to see managed and extended to the cloud! Naturally we have phone numbers, SIP trunking and SMS as tools to augment your FS installs and supporting SignalWire helps keep the FS team together to work on keeping up with the bit rot and Debian 10 is around the corner! -- Anthony Minessale II Founder, FreeSWITCH. http://freeswitch.com https://youtu.be/l_hOxzCt6X4 https://www.youtube.com/watch?v=oAxXgyx5jUw https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: From cong.wang.itsherpa at gmail.com Mon Apr 15 03:04:36 2019 From: cong.wang.itsherpa at gmail.com (=?utf-8?B?546L6IGh?=) Date: Mon, 15 Apr 2019 12:04:36 +0900 Subject: [Freeswitch-users] About Callcenter issue Message-ID: <5ED1DA7A-DC59-4E3C-8397-E46E5FFB5C32@gmail.com> Hey all, I’m trying to build a callcenter based on freeswitch with 10 peers, each calls will bridge to all peers with bridge command and first answered peer win the call. In most situations it works well, but sometimes the call couldn’t be established when 2 peers answered in one time. FreeSWITCH log showed a 15sec waiting after the bridge, but none of the peers received the call successfully. The call had terminated after timeout. Is there any suggestions for this problem? Environment info: Server: FreeSWITCH 1.8.5 Client: Bria 5 Regards. C.Wang -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at freeswitch.com Mon Apr 15 08:31:18 2019 From: alex at freeswitch.com (Alexey Sibyakin) Date: Mon, 15 Apr 2019 17:31:18 +0900 Subject: [Freeswitch-users] About Callcenter issue In-Reply-To: <5ED1DA7A-DC59-4E3C-8397-E46E5FFB5C32@gmail.com> References: <5ED1DA7A-DC59-4E3C-8397-E46E5FFB5C32@gmail.com> Message-ID: Hey, First of all, try to check out these pages: https://freeswitch.org/confluence/display/FREESWITCH/mod_fifo https://freeswitch.org/confluence/display/FREESWITCH/Simple+call+center+using+mod+fifo this is how you implement call center with FreeSWITCH. If you want to troubleshoot your current setup, we need the log. Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Mon, Apr 15, 2019 at 12:17 PM 王聡 wrote: > Hey all, > > I’m trying to build a callcenter based on freeswitch with 10 peers, each > calls will bridge to all peers with bridge command and first answered peer > win the call. > > In most situations it works well, but sometimes the call couldn’t be > established when 2 peers answered in one time. > > FreeSWITCH log showed a 15sec waiting after the bridge, but none of the > peers received the call successfully. The call had terminated after timeout. > > Is there any suggestions for this problem? > > Environment info: > > Server: FreeSWITCH 1.8.5 > Client: Bria 5 > > > Regards. > C.Wang > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Mon Apr 15 10:29:40 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 15 Apr 2019 12:29:40 +0200 Subject: [Freeswitch-users] external profile has no audio and drops after 23 sec In-Reply-To: References: Message-ID: As David wrote, is a NAT problem, check messages are going in both directions, and IP addresses into messages are correct. sngrep is your friend. If you do not have it yet, google for sngrep -giovanni On Sun, Apr 14, 2019 at 9:28 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > You need to make sure the far end is receiving your packets. It doesn’t > seem like it does, it keeps sending INVITEs after you’ve sent the trying > and the 200 OK. > > Check the call ids are the same. > > On Sun, 14 Apr 2019 at 19:28, Hossein Gholizadeh > wrote: > >> after testing it i found that my calls are still in ringing and the >> answer action in dialplan has no affect.how can i solve it? >> >> On Sun, 14 Apr 2019 at 09:21, Hossein Gholizadeh >> wrote: >> >>> Hello guys ... my calls on external profile has no audio and drops after >>> 23 seconds always and gives me ACK_Timeout ... i didn't have this problem >>> on last versio i was using but after updating with same configs i >>> encountered with this problem.I have searched over the net and every >>> comments was about ext-sip-ip and ext-rtp-ip in external profile.Also >>> playback is not working too i mean there is no sound when playing wav >>> file.I'm not a network or administrator and really need your help.i'm >>> providing my last call log here.PLEASE Help! >>> >>> this is my last call log:https://pastebin.com/gqNMkbHt >>> >>> Best Regards >>> >>> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Apr 15 12:32:19 2019 From: brian at freeswitch.com (Brian West) Date: Mon, 15 Apr 2019 07:32:19 -0500 Subject: [Freeswitch-users] Internal Sofia Hang In-Reply-To: References: Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/Debugging+Freeswitch Without the gcore and resulting backtrace its hard to tell. /b On Mon, Apr 15, 2019 at 6:17 AM Amit Nakum wrote: > Dear Team, > > My internal sofia get hang.I try sofia configuration with sqlite as well > as mysql but same result. > > current scenario is as per below. > > I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB Server. > I am facing strange issue, internal sofia stop processing incoming calls, > during this time I can see incoming sip packets which reach to network > using ngrep command but sofia is not responding to any sip message. > > After restarting sofia its start processing again, and after few hour > again it stop process sip message. > > I am using mysql only for directory and core thru crul. Its simple SIP to > SIP call. no other database operation like cdr insertion etc. > > Server configuraton is below. > > I have install freeswitch 1.8.5.5 on centos7 on vpsdime cloud server. > > Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri > Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" > > output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo > processor : 7 > vendor_id : GenuineIntel > cpu family : 6 > model : 62 > model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz > stepping : 4 > microcode : 0x1 > cpu MHz : 2999.998 > cache size : 16384 KB > physical id : 0 > siblings : 8 > core id : 7 > cpu cores : 8 > apicid : 7 > initial apicid : 7 > fpu : yes > fpu_exception : yes > cpuid level : 13 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm > constant_tsc arch_perfmon rep_good > nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic > popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm > fsgsbase tsc_adjust smep erms xsaveopt a > rat > bogomips : 5999.99 > clflush size : 64 > cache_alignment : 64 > address sizes : 40 bits physical, 48 bits virtual > power management > > free -g > total used free shared buff/cache > available > Mem: 31 0 22 1 7 > 28 > Swap: 1 0 1 > > > Concurrent calls :30 > > Please help to resolved. > > > On Sun, Apr 14, 2019 at 4:22 AM Brian West wrote: > >> Contact coreteam at freeswitch.org >> >> /b >> >> On Sat, Apr 13, 2019 at 15:29 Amit Nakum >> wrote: >> >>> Hello Team, >>> >>> Earlier we have same issue in sqlite so i decide to switch to mysql but >>> same issue i face with mysql. >>> >>> I dont think postgres will solved this issue. >>> >>> Please guide other solution and how to debug this issue more. >>> >>> >>> On Tue, Apr 9, 2019 at 8:56 AM Alexey Sibyakin >>> wrote: >>> >>>> Hello, >>>> >>>> Short answer: use Postgres, MySQL/MariaDB is known to have deadlocks in >>>> threaded workloads. >>>> >>>> Regards, >>>> >>>> Alex >>>> >>>> Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd >>>> Floor, Palo Alto, CA 94303 >>>> >>>> Email: alex at freeswitch.com Website: https://www.signalwire.com >>>> >>>> >>>> >>>> On Tue, Apr 9, 2019 at 6:53 AM Amit Nakum >>>> wrote: >>>> >>>>> Hello Team, >>>>> >>>>> You must be a member of this list to send messages to the list. >>>>> >>>>> >>>>> >>>>> >>>>> Dear Team, >>>>> >>>>> I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB >>>>> Server. I am facing strange issue, internal sofia stop processing incoming >>>>> calls, during this time I can see incoming sip packets which reach to >>>>> network using ngrep command but sofia is not responding to any sip message. >>>>> >>>>> After restarting sofia its start processing again and after few >>>>> houragain it stop process sip message. >>>>> >>>>> We have install freeswitch 1.5.5 on centos7 on vpsdime cloud server. >>>>> >>>>> Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP >>>>> Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" >>>>> >>>>> output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo >>>>> processor : 7 >>>>> vendor_id : GenuineIntel >>>>> cpu family : 6 >>>>> model : 62 >>>>> model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz >>>>> stepping : 4 >>>>> microcode : 0x1 >>>>> cpu MHz : 2999.998 >>>>> cache size : 16384 KB >>>>> physical id : 0 >>>>> siblings : 8 >>>>> core id : 7 >>>>> cpu cores : 8 >>>>> apicid : 7 >>>>> initial apicid : 7 >>>>> fpu : yes >>>>> fpu_exception : yes >>>>> cpuid level : 13 >>>>> wp : yes >>>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>>> mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb >>>>> rdtscp lm constant_tsc arch_perfmon rep_good >>>>> nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 >>>>> x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor >>>>> lahf_lm fsgsbase tsc_adjust smep erms xsaveopt a >>>>> rat >>>>> bogomips : 5999.99 >>>>> clflush size : 64 >>>>> cache_alignment : 64 >>>>> address sizes : 40 bits physical, 48 bits virtual >>>>> power management >>>>> >>>>> free -g >>>>> total used free shared buff/cache >>>>> available >>>>> Mem: 31 0 22 1 7 >>>>> 28 >>>>> Swap: 1 0 1 >>>>> >>>>> >>>>> Concurrent calls :30 >>>>> >>>>> Please help to resolved. >>>>> >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From thesipguy at gmail.com Mon Apr 15 14:59:25 2019 From: thesipguy at gmail.com (S.Rosenberg) Date: Mon, 15 Apr 2019 17:59:25 +0300 Subject: [Freeswitch-users] Call center - leave a number for a call back In-Reply-To: References: Message-ID: http://freeswitch-users.2379917.n2.nabble.com/How-to-enable-dtmf-prompt-while-in-callcenter-queue-td7587914.html You should also be able to use the cc_exit_keys variable to exit the queue and then you can do the logic for the call return On Sun, Apr 14, 2019 at 9:31 PM Moshe Rosenberg wrote: > Hi > > I am trying to set up that there should be an announcement in a call > center que if you would like a call back please enter your number now and > the system should either email this info or automatically call back when > the agent becomes available > > I can't seem to find this in freeswitch > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From abaci64 at gmail.com Sun Apr 14 20:13:46 2019 From: abaci64 at gmail.com (Abaci B) Date: Sun, 14 Apr 2019 16:13:46 -0400 Subject: [Freeswitch-users] Call center - leave a number for a call back In-Reply-To: References: Message-ID: afaik there is no such feature built into freeswitch, you would have to add it yourself, or pay someone to do it, maybe you can try the commercial support. On Sun, Apr 14, 2019 at 2:14 PM Moshe Rosenberg wrote: > Hi > > I am trying to set up that there should be an announcement in a call > center que if you would like a call back please enter your number now and > the system should either email this info or automatically call back when > the agent becomes available > > I can't seem to find this in freeswitch > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From amit.nakum2009 at gmail.com Mon Apr 15 11:16:50 2019 From: amit.nakum2009 at gmail.com (Amit Nakum) Date: Mon, 15 Apr 2019 16:46:50 +0530 Subject: [Freeswitch-users] Internal Sofia Hang In-Reply-To: References: Message-ID: Dear Team, My internal sofia get hang.I try sofia configuration with sqlite as well as mysql but same result. current scenario is as per below. I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB Server. I am facing strange issue, internal sofia stop processing incoming calls, during this time I can see incoming sip packets which reach to network using ngrep command but sofia is not responding to any sip message. After restarting sofia its start processing again, and after few hour again it stop process sip message. I am using mysql only for directory and core thru crul. Its simple SIP to SIP call. no other database operation like cdr insertion etc. Server configuraton is below. I have install freeswitch 1.8.5.5 on centos7 on vpsdime cloud server. Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz stepping : 4 microcode : 0x1 cpu MHz : 2999.998 cache size : 16384 KB physical id : 0 siblings : 8 core id : 7 cpu cores : 8 apicid : 7 initial apicid : 7 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm fsgsbase tsc_adjust smep erms xsaveopt a rat bogomips : 5999.99 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management free -g total used free shared buff/cache available Mem: 31 0 22 1 7 28 Swap: 1 0 1 Concurrent calls :30 Please help to resolved. On Sun, Apr 14, 2019 at 4:22 AM Brian West wrote: > Contact coreteam at freeswitch.org > > /b > > On Sat, Apr 13, 2019 at 15:29 Amit Nakum wrote: > >> Hello Team, >> >> Earlier we have same issue in sqlite so i decide to switch to mysql but >> same issue i face with mysql. >> >> I dont think postgres will solved this issue. >> >> Please guide other solution and how to debug this issue more. >> >> >> On Tue, Apr 9, 2019 at 8:56 AM Alexey Sibyakin >> wrote: >> >>> Hello, >>> >>> Short answer: use Postgres, MySQL/MariaDB is known to have deadlocks in >>> threaded workloads. >>> >>> Regards, >>> >>> Alex >>> >>> Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd >>> Floor, Palo Alto, CA 94303 >>> >>> Email: alex at freeswitch.com Website: https://www.signalwire.com >>> >>> >>> >>> On Tue, Apr 9, 2019 at 6:53 AM Amit Nakum >>> wrote: >>> >>>> Hello Team, >>>> >>>> You must be a member of this list to send messages to the list. >>>> >>>> >>>> >>>> >>>> Dear Team, >>>> >>>> I am using Freeswitch 1.8.5 64 in Server version: 5.5.60-MariaDB >>>> Server. I am facing strange issue, internal sofia stop processing incoming >>>> calls, during this time I can see incoming sip packets which reach to >>>> network using ngrep command but sofia is not responding to any sip message. >>>> >>>> After restarting sofia its start processing again and after few >>>> houragain it stop process sip message. >>>> >>>> We have install freeswitch 1.5.5 on centos7 on vpsdime cloud server. >>>> >>>> Here is output of uname -a " Linux 3.10.0-957.5.1.el7.x86_64 #1 SMP >>>> Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux" >>>> >>>> output of sed '/^$/!H;/^$/x;$!d' /proc/cpuinfo >>>> processor : 7 >>>> vendor_id : GenuineIntel >>>> cpu family : 6 >>>> model : 62 >>>> model name : Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz >>>> stepping : 4 >>>> microcode : 0x1 >>>> cpu MHz : 2999.998 >>>> cache size : 16384 KB >>>> physical id : 0 >>>> siblings : 8 >>>> core id : 7 >>>> cpu cores : 8 >>>> apicid : 7 >>>> initial apicid : 7 >>>> fpu : yes >>>> fpu_exception : yes >>>> cpuid level : 13 >>>> wp : yes >>>> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge >>>> mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb >>>> rdtscp lm constant_tsc arch_perfmon rep_good >>>> nopl xtopology eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 >>>> x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor >>>> lahf_lm fsgsbase tsc_adjust smep erms xsaveopt a >>>> rat >>>> bogomips : 5999.99 >>>> clflush size : 64 >>>> cache_alignment : 64 >>>> address sizes : 40 bits physical, 48 bits virtual >>>> power management >>>> >>>> free -g >>>> total used free shared buff/cache >>>> available >>>> Mem: 31 0 22 1 7 >>>> 28 >>>> Swap: 1 0 1 >>>> >>>> >>>> Concurrent calls :30 >>>> >>>> Please help to resolved. >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.kargas at teiwm.gr Mon Apr 15 05:00:19 2019 From: d.kargas at teiwm.gr (=?UTF-8?B?zpTOt868zq7PhM+BzrfPgiDOlC4gzprOrM+BzrPOsc+C?=) Date: Mon, 15 Apr 2019 08:00:19 +0300 Subject: [Freeswitch-users] About Callcenter issue In-Reply-To: <5ED1DA7A-DC59-4E3C-8397-E46E5FFB5C32@gmail.com> References: <5ED1DA7A-DC59-4E3C-8397-E46E5FFB5C32@gmail.com> Message-ID: <58855561-c733-400a-abf2-fea78e1b0804@teiwm.gr> Good morning, im not specialist can you play with other client; ⁣Λήψη του BlueMail για Android ​ Στις 15 Απρ 2019, 6:05 π.μ. ,και ώρα 6:05 π.μ. ,"王聡" έγραψε: >Hey all, > >I’m trying to build a callcenter based on freeswitch with 10 peers, >each calls will bridge to all peers with bridge command and first >answered peer win the call. > >In most situations it works well, but sometimes the call couldn’t be >established when 2 peers answered in one time. > >FreeSWITCH log showed a 15sec waiting after the bridge, but none of the >peers received the call successfully. The call had terminated after >timeout. > >Is there any suggestions for this problem? > >Environment info: > >Server: FreeSWITCH 1.8.5 >Client: Bria 5 > >Regards. >C.Wang > >------------------------------------------------------------------------ > >_________________________________________________________________________ >Professional FreeSWITCH Services >sales at freeswitch.com >https://freeswitch.com > >Official FreeSWITCH Sites >https://freeswitch.com/oss >https://freeswitch.org/confluence >https://cluecon.com > >FreeSWITCH-users mailing list >FreeSWITCH-users at lists.freeswitch.org >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Mon Apr 15 01:55:13 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Mon, 15 Apr 2019 06:55:13 +0500 Subject: [Freeswitch-users] No Video in conference video mux mode with VP8 Message-ID: Hi Geeks, I have a conference with video-mode mux and I have proper mixed video with H264 but with VP8 only empty canvas sent by FreeSWITCH. Echo test and video-mode passthrough send proper video with VP8. Any idea what's wrong here? Regards, Faisal -------------- next part -------------- An HTML attachment was scrubbed... URL: From hossein.hg901 at gmail.com Mon Apr 15 03:58:22 2019 From: hossein.hg901 at gmail.com (Hossein Gholizadeh) Date: Mon, 15 Apr 2019 08:28:22 +0430 Subject: [Freeswitch-users] external profile has no audio and drops after 23 sec In-Reply-To: References: Message-ID: hi thanks for your response ... sorry how to check the call ids?what you mean about them?i really didn't get it.I'll appreciate if you explain it with more detail.you mean Call-UUID? On Mon, 15 Apr 2019 at 00:00, David Villasmil < david.villasmil.work at gmail.com> wrote: > You need to make sure the far end is receiving your packets. It doesn’t > seem like it does, it keeps sending INVITEs after you’ve sent the trying > and the 200 OK. > > Check the call ids are the same. > > On Sun, 14 Apr 2019 at 19:28, Hossein Gholizadeh > wrote: > >> after testing it i found that my calls are still in ringing and the >> answer action in dialplan has no affect.how can i solve it? >> >> On Sun, 14 Apr 2019 at 09:21, Hossein Gholizadeh >> wrote: >> >>> Hello guys ... my calls on external profile has no audio and drops after >>> 23 seconds always and gives me ACK_Timeout ... i didn't have this problem >>> on last versio i was using but after updating with same configs i >>> encountered with this problem.I have searched over the net and every >>> comments was about ext-sip-ip and ext-rtp-ip in external profile.Also >>> playback is not working too i mean there is no sound when playing wav >>> file.I'm not a network or administrator and really need your help.i'm >>> providing my last call log here.PLEASE Help! >>> >>> this is my last call log:https://pastebin.com/gqNMkbHt >>> >>> Best Regards >>> >>> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hossein.hg901 at gmail.com Mon Apr 15 04:27:58 2019 From: hossein.hg901 at gmail.com (Hossein Gholizadeh) Date: Mon, 15 Apr 2019 08:57:58 +0430 Subject: [Freeswitch-users] external profile has no audio and drops after 23 sec In-Reply-To: References: Message-ID: Thank's problem solved.Some other apps in my server make the rtp packet goes wrong.that was the issue from Freeswitch On Mon, 15 Apr 2019 at 08:28, Hossein Gholizadeh wrote: > hi thanks for your response ... sorry how to check the call ids?what you > mean about them?i really didn't get it.I'll appreciate if you explain it > with more detail.you mean Call-UUID? > > On Mon, 15 Apr 2019 at 00:00, David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> You need to make sure the far end is receiving your packets. It doesn’t >> seem like it does, it keeps sending INVITEs after you’ve sent the trying >> and the 200 OK. >> >> Check the call ids are the same. >> >> On Sun, 14 Apr 2019 at 19:28, Hossein Gholizadeh >> wrote: >> >>> after testing it i found that my calls are still in ringing and the >>> answer action in dialplan has no affect.how can i solve it? >>> >>> On Sun, 14 Apr 2019 at 09:21, Hossein Gholizadeh < >>> hossein.hg901 at gmail.com> wrote: >>> >>>> Hello guys ... my calls on external profile has no audio and drops >>>> after 23 seconds always and gives me ACK_Timeout ... i didn't have this >>>> problem on last versio i was using but after updating with same configs i >>>> encountered with this problem.I have searched over the net and every >>>> comments was about ext-sip-ip and ext-rtp-ip in external profile.Also >>>> playback is not working too i mean there is no sound when playing wav >>>> file.I'm not a network or administrator and really need your help.i'm >>>> providing my last call log here.PLEASE Help! >>>> >>>> this is my last call log:https://pastebin.com/gqNMkbHt >>>> >>>> Best Regards >>>> >>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From morfair at gmail.com Mon Apr 15 07:57:23 2019 From: morfair at gmail.com (morfair at gmail.com) Date: Mon, 15 Apr 2019 10:57:23 +0300 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: Message-ID: yes!! it's really!! I have more other rows with wrong round. 14.04.2019 00:41, Giovanni Maruzzelli пишет: > Morfair (OP), > > can you please double check you actually got crazy roundings like 7 7820? > > -giovanni > > On Sat, Apr 13, 2019 at 10:29 PM Михаил Калинин > wrote: > > yes. it's crazy > > сб, 13 апр. 2019 г. в 06:23, Giovanni Maruzzelli > >: > > 7 7820 ???? > > > > On Sat, Apr 13, 2019, 04:06 Faisal Hanif > wrote: > > if remainder is 4 or plus. > > On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli > > wrote: > > > > On Sat, Apr 13, 2019, 03:26 Faisal Hanif > > wrote: > > It simply dividing billmsec by 1000 and then > rounding it by general math rule so ideally you > can use billsec for billing but if you need more > precision you can use billmsec and decide by 1000 > by your code. > > > Maybe you have not paid attention to the example given... > > > > > > > > > > On Sat, Apr 13, 2019, 3:37 AM morfair at gmail.com > > wrote: > > Hello all! > > Help please with billsec variable, how to it > calculate? In my accounting > store I have a sets: > > billsec; billmsec > > 7 7820 > > 7 7360 > > 33 33360 > > 38 38020 > > 59 58900 > > 26 25840 > > 87 86400 > > > How to calculate billsec? What algorithm is > used for round billmsec? > > P.S.: Sorry for my English. > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From morfair at gmail.com Mon Apr 15 08:02:57 2019 From: morfair at gmail.com (morfair at gmail.com) Date: Mon, 15 Apr 2019 11:02:57 +0300 Subject: [Freeswitch-users] billmsec and billsec round In-Reply-To: References: <319901d4f244$ca696630$5f3c3290$@freeswitch.org> Message-ID: <5d3f75bd-76e2-9193-6b13-42f6438d96b4@gmail.com> I repeat, that it's right example!! 7 7820 More strange examples: 125 124740 38 38020 119 119500 65 64320 etc... 14.04.2019 01:43, Giovanni Maruzzelli пишет: > Ciao Ken! > > yep, I'm totally with you in ceiling to the next unit if you do your > billing. > > But the OP seems to have inconsistent roundings of the vars expressed > in millisec vs sec > I tend to think probably the OP was not actually having those rounding > errs, maybe he just miscopied things... > > > > On Sun, Apr 14, 2019 at 12:04 AM Ken Rice > wrote: > > If you really want your code to act like the big boys you always > ceiling to the second or bill increment… using whole numbers for > example, 60/60 (1 minute increments like that cell phone > companies) 0-60 is the first minute, 61 seconds, that’s 2 minutes… > > When you are dealing ms level counters, 0-60.000 is first minute, > 60.001-120.000 is the second minute. Doesn’t matter that you are > only .001 over the 60 seconds you are into the next minute already… > > *From:* FreeSWITCH-users > > *On Behalf > Of *Giovanni Maruzzelli > *Sent:* Saturday, April 13, 2019 4:41 PM > *To:* FreeSWITCH Users Help > > *Subject:* Re: [Freeswitch-users] billmsec and billsec round > > Morfair (OP), > > can you please double check you actually got crazy roundings like > 7 7820? > > -giovanni > > On Sat, Apr 13, 2019 at 10:29 PM Михаил Калинин > wrote: > > yes. it's crazy > > сб, 13 апр. 2019 г. в 06:23, Giovanni Maruzzelli > >: > > 7 7820 ???? > > On Sat, Apr 13, 2019, 04:06 Faisal Hanif > > wrote: > > if remainder is 4 or plus. > > On Sat, Apr 13, 2019, 6:59 AM Giovanni Maruzzelli > > wrote: > > On Sat, Apr 13, 2019, 03:26 Faisal Hanif > > wrote: > > It simply dividing billmsec by 1000 and then > rounding it by general math rule so ideally > you can use billsec for billing but if you > need more precision you can use billmsec and > decide by 1000 by your code. > > Maybe you have not paid attention to the example > given... > > On Sat, Apr 13, 2019, 3:37 AM > morfair at gmail.com > > > wrote: > > Hello all! > > Help please with billsec variable, how to > it calculate? In my accounting > store I have a sets: > > billsec; billmsec > > 7 7820 > > 7 7360 > > 33 33360 > > 38 38020 > > 59 58900 > > 26 25840 > > 87 86400 > > > How to calculate billsec? What algorithm > is used for round billmsec? > > P.S.: Sorry for my English. > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > -- > > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > > > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From hossein.hg901 at gmail.com Mon Apr 15 11:47:03 2019 From: hossein.hg901 at gmail.com (Hossein Gholizadeh) Date: Mon, 15 Apr 2019 16:17:03 +0430 Subject: [Freeswitch-users] external profile has no audio and drops after 23 sec In-Reply-To: References: Message-ID: Thanks Giovanni. I was using Wireshark for sip messages capturing.I hadn't heard about sngrep I'll use it. My audio problem is solved.the issue was about 2 services which was making rtp packets go wrong. many thanks On Mon, Apr 15, 2019, 3:33 PM Giovanni Maruzzelli As David wrote, > > is a NAT problem, check messages are going in both directions, and IP > addresses into messages are correct. > > sngrep is your friend. If you do not have it yet, google for sngrep > > -giovanni > > > > On Sun, Apr 14, 2019 at 9:28 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> You need to make sure the far end is receiving your packets. It doesn’t >> seem like it does, it keeps sending INVITEs after you’ve sent the trying >> and the 200 OK. >> >> Check the call ids are the same. >> >> On Sun, 14 Apr 2019 at 19:28, Hossein Gholizadeh >> wrote: >> >>> after testing it i found that my calls are still in ringing and the >>> answer action in dialplan has no affect.how can i solve it? >>> >>> On Sun, 14 Apr 2019 at 09:21, Hossein Gholizadeh < >>> hossein.hg901 at gmail.com> wrote: >>> >>>> Hello guys ... my calls on external profile has no audio and drops >>>> after 23 seconds always and gives me ACK_Timeout ... i didn't have this >>>> problem on last versio i was using but after updating with same configs i >>>> encountered with this problem.I have searched over the net and every >>>> comments was about ext-sip-ip and ext-rtp-ip in external profile.Also >>>> playback is not working too i mean there is no sound when playing wav >>>> file.I'm not a network or administrator and really need your help.i'm >>>> providing my last call log here.PLEASE Help! >>>> >>>> this is my last call log:https://pastebin.com/gqNMkbHt >>>> >>>> Best Regards >>>> >>>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Mon Apr 15 20:29:44 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 15 Apr 2019 21:29:44 +0100 Subject: [Freeswitch-users] Call center - leave a number for a call back In-Reply-To: References: Message-ID: You can do this via ESL On Mon, 15 Apr 2019 at 18:40, S.Rosenberg wrote: > > http://freeswitch-users.2379917.n2.nabble.com/How-to-enable-dtmf-prompt-while-in-callcenter-queue-td7587914.html > > > You should also be able to use the cc_exit_keys variable to exit the > queue and then you can do the logic for the call return > > On Sun, Apr 14, 2019 at 9:31 PM Moshe Rosenberg > wrote: > >> Hi >> >> I am trying to set up that there should be an announcement in a call >> center que if you would like a call back please enter your number now and >> the system should either email this info or automatically call back when >> the agent becomes available >> >> I can't seem to find this in freeswitch >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From abaci64 at gmail.com Mon Apr 15 21:21:49 2019 From: abaci64 at gmail.com (Abaci B) Date: Mon, 15 Apr 2019 17:21:49 -0400 Subject: [Freeswitch-users] Call center - leave a number for a call back In-Reply-To: References: Message-ID: exiting the queue is easy, the difficult part is how to keep their place in the queue and know when to call back, I don't think there is an simple way to do that. On Mon, Apr 15, 2019 at 5:00 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > You can do this via ESL > > On Mon, 15 Apr 2019 at 18:40, S.Rosenberg wrote: > >> >> http://freeswitch-users.2379917.n2.nabble.com/How-to-enable-dtmf-prompt-while-in-callcenter-queue-td7587914.html >> >> >> You should also be able to use the cc_exit_keys variable to exit the >> queue and then you can do the logic for the call return >> >> On Sun, Apr 14, 2019 at 9:31 PM Moshe Rosenberg < >> moshe.rosenberg at gmail.com> wrote: >> >>> Hi >>> >>> I am trying to set up that there should be an announcement in a call >>> center que if you would like a call back please enter your number now and >>> the system should either email this info or automatically call back when >>> the agent becomes available >>> >>> I can't seem to find this in freeswitch >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Apr 16 00:23:41 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 16 Apr 2019 00:23:41 +0000 Subject: [Freeswitch-users] Sound File Locations In-Reply-To: References: Message-ID: Thank you for your response. I have been away. That was helpful. I also had to fini8sh the install steps and add the sounds! From: FreeSWITCH-users On Behalf Of Mustafa Ali Kahraman Sent: Wednesday, April 10, 2019 2:55 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Sound File Locations you can see directories by fs_cli -x "global_getvar" | grep dir like this ... sounds_dir=/usr/share/freeswitch/sounds ... .... Sean Devoy >, 8 Nis 2019 Pzt, 23:10 tarihinde şunu yazdı: Hi, I am upgrading to the current version from a very old build. I am having trouble with my IVR recordings. I have searched confluence, but not found the relevant page. The demo files just says “relative to the sounds folder”. I cannot find it/them. Where are the sound files? VM sound files? Where should I put my IVR sound files and what path should I use in the IVR menu? Thanks for your help. Sean _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- -tafali- www.tafali.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Apr 16 00:23:48 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 16 Apr 2019 00:23:48 +0000 Subject: [Freeswitch-users] Sound File Locations In-Reply-To: References: Message-ID: Thank you for your response. I have been away. That was helpful. I also had to fini8sh the install steps and add the sounds! From: FreeSWITCH-users On Behalf Of Alexey Sibyakin Sent: Tuesday, April 9, 2019 8:22 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Sound File Locations Hi, Try fs_cli -x "eval $${sound_prefix}" or fs_cli -x "eval $${sounds_dir}" Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Tue, Apr 9, 2019 at 5:14 AM Sean Devoy > wrote: Hi, I am upgrading to the current version from a very old build. I am having trouble with my IVR recordings. I have searched confluence, but not found the relevant page. The demo files just says “relative to the sounds folder”. I cannot find it/them. Where are the sound files? VM sound files? Where should I put my IVR sound files and what path should I use in the IVR menu? Thanks for your help. Sean _________________________________________________________________________ Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Apr 16 00:28:26 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 16 Apr 2019 00:28:26 +0000 Subject: [Freeswitch-users] XML syntax question Message-ID: Hi, I have a dial plan entry that dials 5 extensions, so it is get quite long. In this line: Can the data="" part wrap to the next line for readability? Also, is there a better solution to dialing 5 extensions at the same time (for the first to pick it up)? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcel.haldemann at convercom.ch Tue Apr 16 05:40:14 2019 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Tue, 16 Apr 2019 05:40:14 +0000 Subject: [Freeswitch-users] XML syntax question In-Reply-To: References: Message-ID: Hi, U can use variables and then make the string shorter. SOME KIND OF LIKE: Von: FreeSWITCH-users Im Auftrag von Sean Devoy Gesendet: Dienstag, 16. April 2019 02:28 An: FreeSWITCH Users Help Betreff: [Freeswitch-users] XML syntax question Hi, I have a dial plan entry that dials 5 extensions, so it is get quite long. In this line: Can the data="" part wrap to the next line for readability? Also, is there a better solution to dialing 5 extensions at the same time (for the first to pick it up)? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From Frederick at targointernet.com Tue Apr 16 12:25:06 2019 From: Frederick at targointernet.com (Frederick Pruneau) Date: Tue, 16 Apr 2019 08:25:06 -0400 Subject: [Freeswitch-users] XML syntax question In-Reply-To: References: Message-ID: Hi, You can also use group_call function. In ${base_dir}/conf/directory/example.com.xml, create your group: And then add in your dialplan: Le mar. 16 avr. 2019, à 01 h 48, Marcel Haldemann < marcel.haldemann at convercom.ch> a écrit : > Hi, > > > > U can use variables and then make the string shorter. > > > > SOME KIND OF LIKE: > > > > > > > > > > > > > > > > > > > > From imfanee at gmail.com Wed Apr 17 06:28:08 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Wed, 17 Apr 2019 11:28:08 +0500 Subject: [Freeswitch-users] No Video in conference video mux mode with VP8 but H264 works fine Message-ID: I have a conference with video-mode mux and I have proper mixed video with H264 but with VP8 only empty canvas sent by FreeSWITCH while video-mode passthrough send proper video with VP8. Any idea what's wrong or missing here? Regards, Faisal -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 17 11:29:37 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 17 Apr 2019 11:29:37 +0000 Subject: [Freeswitch-users] XML syntax question In-Reply-To: References: Message-ID: Excellent. Thanks for the reply. From: FreeSWITCH-users On Behalf Of Marcel Haldemann Sent: Tuesday, April 16, 2019 1:40 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] XML syntax question Hi, U can use variables and then make the string shorter. SOME KIND OF LIKE: Von: FreeSWITCH-users > Im Auftrag von Sean Devoy Gesendet: Dienstag, 16. April 2019 02:28 An: FreeSWITCH Users Help > Betreff: [Freeswitch-users] XML syntax question Hi, I have a dial plan entry that dials 5 extensions, so it is get quite long. In this line: Can the data="" part wrap to the next line for readability? Also, is there a better solution to dialing 5 extensions at the same time (for the first to pick it up)? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 17 11:31:22 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 17 Apr 2019 11:31:22 +0000 Subject: [Freeswitch-users] XML syntax question In-Reply-To: References: Message-ID: This is a good option for my groups that all get called without leg delay. Thank you. From: FreeSWITCH-users On Behalf Of Frederick Pruneau Sent: Tuesday, April 16, 2019 8:25 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] XML syntax question Hi, You can also use group_call function. In ${base_dir}/conf/directory/example.com.xml, create your group: And then add in your dialplan: Le mar. 16 avr. 2019, à 01 h 48, Marcel Haldemann > a écrit : Hi, U can use variables and then make the string shorter. SOME KIND OF LIKE: ” /> ” /> ” /> ” /> ” /> CS_ROUTING [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State INIT going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_ROUTING (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State Change CS_ROUTING -> CS_CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state [calling][0] [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA going to sleep [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 [CS_CONSUME_MEDIA] [NO_ANSWER] [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_HANGUP (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) Callstate Change DOWN -> HANGUP [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, cause: NO_ANSWER [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard HANGUP, cause: NO_ANSWER [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP going to sleep [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State Change CS_HANGUP -> CS_REPORTING [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_REPORTING (Cur 2 Tot 2) [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Apr 17 16:00:05 2019 From: brian at freeswitch.com (Brian West) Date: Wed, 17 Apr 2019 11:00:05 -0500 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: Look at the signaling, the FreeSWITCH logs without it won't tell you why. /b On Wed, Apr 17, 2019 at 10:39 AM Sean Devoy wrote: > Hi, > > > > I have recently created a new server with the latest repo (1.8) > > > > Most things are working great. Extension to Extension works, even across > NAT on both ends. I can call out to local numbers like my cell phone. > However, when I try to call 800 numbers or calls outside my local area > codes it fails. The logs look identical to the old server. The call goes > through the same gateway. I never get any audio back and 15 seconds later > the log returns “no answer” and the call fails. > > > > If it matters the gateway is through Vitelity. I have opened a ticket > there but no response yet. > > > > Log excerpt: > > [DEBUG] switch_core_state_machine.c:40 sofia/external/13522298979 Standard > INIT > > [DEBUG] switch_core_state_machine.c:48 (sofia/external/13522298979) State > Change CS_INIT -> CS_ROUTING > > [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State > INIT going to sleep > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_ROUTING (Cur 2 Tot 2) > > [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State > ROUTING > > [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING > > [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State > Change CS_ROUTING -> CS_CONSUME_MEDIA > > [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State > ROUTING going to sleep > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) > > [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state > [calling][0] > > [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State > CONSUME_MEDIA > > [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State > CONSUME_MEDIA going to sleep > > [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 > [CS_CONSUME_MEDIA] [NO_ANSWER] > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_HANGUP (Cur 2 Tot 2) > > [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) > Callstate Change DOWN -> HANGUP > > [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State > HANGUP > > [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, > cause: NO_ANSWER > > [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 > > [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard > HANGUP, cause: NO_ANSWER > > [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State > HANGUP going to sleep > > [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State > Change CS_HANGUP -> CS_REPORTING > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_REPORTING (Cur 2 Tot 2) > > [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER > > > > Thanks, > > Sean > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 17 17:38:40 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 17 Apr 2019 17:38:40 +0000 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: Thanks Brian. I hope that meant include siptrace. It’s here: https://pastebin.com/C3qFnfPV I did just learn that the phone is ringing on the other end. I just got a callback asking if I was calling. Thanks for your help. Sean From: FreeSWITCH-users On Behalf Of Brian West Sent: Wednesday, April 17, 2019 12:00 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Look at the signaling, the FreeSWITCH logs without it won't tell you why. /b On Wed, Apr 17, 2019 at 10:39 AM Sean Devoy > wrote: Hi, I have recently created a new server with the latest repo (1.8) Most things are working great. Extension to Extension works, even across NAT on both ends. I can call out to local numbers like my cell phone. However, when I try to call 800 numbers or calls outside my local area codes it fails. The logs look identical to the old server. The call goes through the same gateway. I never get any audio back and 15 seconds later the log returns “no answer” and the call fails. If it matters the gateway is through Vitelity. I have opened a ticket there but no response yet. Log excerpt: [DEBUG] switch_core_state_machine.c:40 sofia/external/13522298979 Standard INIT [DEBUG] switch_core_state_machine.c:48 (sofia/external/13522298979) State Change CS_INIT -> CS_ROUTING [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State INIT going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_ROUTING (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State Change CS_ROUTING -> CS_CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state [calling][0] [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA going to sleep [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 [CS_CONSUME_MEDIA] [NO_ANSWER] [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_HANGUP (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) Callstate Change DOWN -> HANGUP [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, cause: NO_ANSWER [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard HANGUP, cause: NO_ANSWER [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP going to sleep [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State Change CS_HANGUP -> CS_REPORTING [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_REPORTING (Cur 2 Tot 2) [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER Thanks, Sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 17 17:43:43 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 17 Apr 2019 17:43:43 +0000 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: I should have mentioned I was calling from ext 220 with caller id 4104207777 to 352229897. That might make the logs easier. From: FreeSWITCH-users On Behalf Of Sean Devoy Sent: Wednesday, April 17, 2019 1:39 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Thanks Brian. I hope that meant include siptrace. It’s here: https://pastebin.com/C3qFnfPV I did just learn that the phone is ringing on the other end. I just got a callback asking if I was calling. Thanks for your help. Sean From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, April 17, 2019 12:00 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Look at the signaling, the FreeSWITCH logs without it won't tell you why. /b On Wed, Apr 17, 2019 at 10:39 AM Sean Devoy > wrote: Hi, I have recently created a new server with the latest repo (1.8) Most things are working great. Extension to Extension works, even across NAT on both ends. I can call out to local numbers like my cell phone. However, when I try to call 800 numbers or calls outside my local area codes it fails. The logs look identical to the old server. The call goes through the same gateway. I never get any audio back and 15 seconds later the log returns “no answer” and the call fails. If it matters the gateway is through Vitelity. I have opened a ticket there but no response yet. Log excerpt: [DEBUG] switch_core_state_machine.c:40 sofia/external/13522298979 Standard INIT [DEBUG] switch_core_state_machine.c:48 (sofia/external/13522298979) State Change CS_INIT -> CS_ROUTING [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State INIT going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_ROUTING (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State Change CS_ROUTING -> CS_CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state [calling][0] [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA going to sleep [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 [CS_CONSUME_MEDIA] [NO_ANSWER] [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_HANGUP (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) Callstate Change DOWN -> HANGUP [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, cause: NO_ANSWER [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard HANGUP, cause: NO_ANSWER [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP going to sleep [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State Change CS_HANGUP -> CS_REPORTING [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_REPORTING (Cur 2 Tot 2) [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER Thanks, Sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 17 20:41:54 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 17 Apr 2019 20:41:54 +0000 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: I have gotten reports that it is an intermittent problem not related to the number being dialed. Vitelity reports: “it looks like your PBX is not seeing our responses and keeps sending invites to us even though the call completes. “ Possibly related, when a call goes through and finishes, the terminating phone gets called again after hanging up. Any help would be greatly appreciated. Thanks, Sean From: FreeSWITCH-users On Behalf Of Brian West Sent: Wednesday, April 17, 2019 12:00 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Look at the signaling, the FreeSWITCH logs without it won't tell you why. /b On Wed, Apr 17, 2019 at 10:39 AM Sean Devoy > wrote: Hi, I have recently created a new server with the latest repo (1.8) Most things are working great. Extension to Extension works, even across NAT on both ends. I can call out to local numbers like my cell phone. However, when I try to call 800 numbers or calls outside my local area codes it fails. The logs look identical to the old server. The call goes through the same gateway. I never get any audio back and 15 seconds later the log returns “no answer” and the call fails. If it matters the gateway is through Vitelity. I have opened a ticket there but no response yet. Log excerpt: [DEBUG] switch_core_state_machine.c:40 sofia/external/13522298979 Standard INIT [DEBUG] switch_core_state_machine.c:48 (sofia/external/13522298979) State Change CS_INIT -> CS_ROUTING [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State INIT going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_ROUTING (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State Change CS_ROUTING -> CS_CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state [calling][0] [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA going to sleep [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 [CS_CONSUME_MEDIA] [NO_ANSWER] [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_HANGUP (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) Callstate Change DOWN -> HANGUP [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, cause: NO_ANSWER [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard HANGUP, cause: NO_ANSWER [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP going to sleep [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State Change CS_HANGUP -> CS_REPORTING [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_REPORTING (Cur 2 Tot 2) [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER Thanks, Sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Apr 17 20:50:23 2019 From: brian at freeswitch.com (Brian West) Date: Wed, 17 Apr 2019 15:50:23 -0500 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: Its a nat issue then. On Wed, Apr 17, 2019 at 3:42 PM Sean Devoy wrote: > I have gotten reports that it is an intermittent problem not related to > the number being dialed. > > Vitelity reports: “it looks like your PBX is not seeing our responses > and keeps sending invites to us even though the call completes. “ > > > > > > Possibly related, when a call goes through and finishes, the terminating > phone gets called again after hanging up. > > > > Any help would be greatly appreciated. > > > > Thanks, > > Sean > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Wednesday, April 17, 2019 12:00 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Can't connect to 800 or toll calls > > > > Look at the signaling, the FreeSWITCH logs without it won't tell you why. > > > > /b > > > > > > On Wed, Apr 17, 2019 at 10:39 AM Sean Devoy wrote: > > Hi, > > > > I have recently created a new server with the latest repo (1.8) > > > > Most things are working great. Extension to Extension works, even across > NAT on both ends. I can call out to local numbers like my cell phone. > However, when I try to call 800 numbers or calls outside my local area > codes it fails. The logs look identical to the old server. The call goes > through the same gateway. I never get any audio back and 15 seconds later > the log returns “no answer” and the call fails. > > > > If it matters the gateway is through Vitelity. I have opened a ticket > there but no response yet. > > > > Log excerpt: > > [DEBUG] switch_core_state_machine.c:40 sofia/external/13522298979 Standard > INIT > > [DEBUG] switch_core_state_machine.c:48 (sofia/external/13522298979) State > Change CS_INIT -> CS_ROUTING > > [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State > INIT going to sleep > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_ROUTING (Cur 2 Tot 2) > > [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State > ROUTING > > [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING > > [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State > Change CS_ROUTING -> CS_CONSUME_MEDIA > > [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State > ROUTING going to sleep > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) > > [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state > [calling][0] > > [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State > CONSUME_MEDIA > > [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State > CONSUME_MEDIA going to sleep > > [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 > [CS_CONSUME_MEDIA] [NO_ANSWER] > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_HANGUP (Cur 2 Tot 2) > > [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) > Callstate Change DOWN -> HANGUP > > [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State > HANGUP > > [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, > cause: NO_ANSWER > > [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 > > [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard > HANGUP, cause: NO_ANSWER > > [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State > HANGUP going to sleep > > [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State > Change CS_HANGUP -> CS_REPORTING > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_REPORTING (Cur 2 Tot 2) > > [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER > > > > Thanks, > > Sean > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > > -- > > > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 17 20:55:43 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 17 Apr 2019 20:55:43 +0000 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: Not quite. I just found It was a firewall issue having the same affect. Thanks for looking. From: FreeSWITCH-users On Behalf Of Brian West Sent: Wednesday, April 17, 2019 4:50 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Its a nat issue then. On Wed, Apr 17, 2019 at 3:42 PM Sean Devoy > wrote: I have gotten reports that it is an intermittent problem not related to the number being dialed. Vitelity reports: “it looks like your PBX is not seeing our responses and keeps sending invites to us even though the call completes. “ Possibly related, when a call goes through and finishes, the terminating phone gets called again after hanging up. Any help would be greatly appreciated. Thanks, Sean From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, April 17, 2019 12:00 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Look at the signaling, the FreeSWITCH logs without it won't tell you why. /b On Wed, Apr 17, 2019 at 10:39 AM Sean Devoy > wrote: Hi, I have recently created a new server with the latest repo (1.8) Most things are working great. Extension to Extension works, even across NAT on both ends. I can call out to local numbers like my cell phone. However, when I try to call 800 numbers or calls outside my local area codes it fails. The logs look identical to the old server. The call goes through the same gateway. I never get any audio back and 15 seconds later the log returns “no answer” and the call fails. If it matters the gateway is through Vitelity. I have opened a ticket there but no response yet. Log excerpt: [DEBUG] switch_core_state_machine.c:40 sofia/external/13522298979 Standard INIT [DEBUG] switch_core_state_machine.c:48 (sofia/external/13522298979) State Change CS_INIT -> CS_ROUTING [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State INIT going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_ROUTING (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State Change CS_ROUTING -> CS_CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state [calling][0] [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA going to sleep [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 [CS_CONSUME_MEDIA] [NO_ANSWER] [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_HANGUP (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) Callstate Change DOWN -> HANGUP [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, cause: NO_ANSWER [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard HANGUP, cause: NO_ANSWER [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP going to sleep [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State Change CS_HANGUP -> CS_REPORTING [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_REPORTING (Cur 2 Tot 2) [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER Thanks, Sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Apr 17 21:05:11 2019 From: brian at freeswitch.com (Brian West) Date: Wed, 17 Apr 2019 16:05:11 -0500 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: Pastebin a call with full sip trace. On Wed, Apr 17, 2019 at 3:56 PM Sean Devoy wrote: > Not quite. I just found It was a firewall issue having the same affect. > > > > Thanks for looking. > > > > > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Wednesday, April 17, 2019 4:50 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Can't connect to 800 or toll calls > > > > Its a nat issue then. > > > > On Wed, Apr 17, 2019 at 3:42 PM Sean Devoy wrote: > > I have gotten reports that it is an intermittent problem not related to > the number being dialed. > > Vitelity reports: “it looks like your PBX is not seeing our responses > and keeps sending invites to us even though the call completes. “ > > > > > > Possibly related, when a call goes through and finishes, the terminating > phone gets called again after hanging up. > > > > Any help would be greatly appreciated. > > > > Thanks, > > Sean > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Wednesday, April 17, 2019 12:00 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Can't connect to 800 or toll calls > > > > Look at the signaling, the FreeSWITCH logs without it won't tell you why. > > > > /b > > > > > > On Wed, Apr 17, 2019 at 10:39 AM Sean Devoy wrote: > > Hi, > > > > I have recently created a new server with the latest repo (1.8) > > > > Most things are working great. Extension to Extension works, even across > NAT on both ends. I can call out to local numbers like my cell phone. > However, when I try to call 800 numbers or calls outside my local area > codes it fails. The logs look identical to the old server. The call goes > through the same gateway. I never get any audio back and 15 seconds later > the log returns “no answer” and the call fails. > > > > If it matters the gateway is through Vitelity. I have opened a ticket > there but no response yet. > > > > Log excerpt: > > [DEBUG] switch_core_state_machine.c:40 sofia/external/13522298979 Standard > INIT > > [DEBUG] switch_core_state_machine.c:48 (sofia/external/13522298979) State > Change CS_INIT -> CS_ROUTING > > [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State > INIT going to sleep > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_ROUTING (Cur 2 Tot 2) > > [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State > ROUTING > > [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING > > [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State > Change CS_ROUTING -> CS_CONSUME_MEDIA > > [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State > ROUTING going to sleep > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) > > [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state > [calling][0] > > [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State > CONSUME_MEDIA > > [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State > CONSUME_MEDIA going to sleep > > [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 > [CS_CONSUME_MEDIA] [NO_ANSWER] > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_HANGUP (Cur 2 Tot 2) > > [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) > Callstate Change DOWN -> HANGUP > > [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State > HANGUP > > [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, > cause: NO_ANSWER > > [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 > > [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard > HANGUP, cause: NO_ANSWER > > [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State > HANGUP going to sleep > > [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State > Change CS_HANGUP -> CS_REPORTING > > [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) > Running State Change CS_REPORTING (Cur 2 Tot 2) > > [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER > > > > Thanks, > > Sean > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > > -- > > > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > > -- > > > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 17 21:19:11 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 17 Apr 2019 21:19:11 +0000 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: I did earlier, but I found that Vitelity was coming from multiple IP addresses and my firewall was blocking some of them. That resolved the problem. Thanks, Sean From: FreeSWITCH-users On Behalf Of Brian West Sent: Wednesday, April 17, 2019 5:05 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Pastebin a call with full sip trace. On Wed, Apr 17, 2019 at 3:56 PM Sean Devoy > wrote: Not quite. I just found It was a firewall issue having the same affect. Thanks for looking. From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, April 17, 2019 4:50 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Its a nat issue then. On Wed, Apr 17, 2019 at 3:42 PM Sean Devoy > wrote: I have gotten reports that it is an intermittent problem not related to the number being dialed. Vitelity reports: “it looks like your PBX is not seeing our responses and keeps sending invites to us even though the call completes. “ Possibly related, when a call goes through and finishes, the terminating phone gets called again after hanging up. Any help would be greatly appreciated. Thanks, Sean From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, April 17, 2019 12:00 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Can't connect to 800 or toll calls Look at the signaling, the FreeSWITCH logs without it won't tell you why. /b On Wed, Apr 17, 2019 at 10:39 AM Sean Devoy > wrote: Hi, I have recently created a new server with the latest repo (1.8) Most things are working great. Extension to Extension works, even across NAT on both ends. I can call out to local numbers like my cell phone. However, when I try to call 800 numbers or calls outside my local area codes it fails. The logs look identical to the old server. The call goes through the same gateway. I never get any audio back and 15 seconds later the log returns “no answer” and the call fails. If it matters the gateway is through Vitelity. I have opened a ticket there but no response yet. Log excerpt: [DEBUG] switch_core_state_machine.c:40 sofia/external/13522298979 Standard INIT [DEBUG] switch_core_state_machine.c:48 (sofia/external/13522298979) State Change CS_INIT -> CS_ROUTING [DEBUG] switch_core_state_machine.c:627 (sofia/external/13522298979) State INIT going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_ROUTING (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING [DEBUG] mod_sofia.c:154 sofia/external/13522298979 SOFIA ROUTING [DEBUG] switch_ivr_originate.c:67 (sofia/external/13522298979) State Change CS_ROUTING -> CS_CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:643 (sofia/external/13522298979) State ROUTING going to sleep [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 2) [DEBUG] sofia.c:7291 Channel sofia/external/13522298979 entering state [calling][0] [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA [DEBUG] switch_core_state_machine.c:662 (sofia/external/13522298979) State CONSUME_MEDIA going to sleep [NOTICE] switch_ivr_originate.c:3705 Hangup sofia/external/13522298979 [CS_CONSUME_MEDIA] [NO_ANSWER] [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_HANGUP (Cur 2 Tot 2) [DEBUG] switch_core_state_machine.c:847 (sofia/external/13522298979) Callstate Change DOWN -> HANGUP [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP [DEBUG] mod_sofia.c:449 Channel sofia/external/13522298979 hanging up, cause: NO_ANSWER [DEBUG] mod_sofia.c:514 Sending CANCEL to sofia/external/13522298979 [DEBUG] switch_core_state_machine.c:60 sofia/external/13522298979 Standard HANGUP, cause: NO_ANSWER [DEBUG] switch_core_state_machine.c:849 (sofia/external/13522298979) State HANGUP going to sleep [DEBUG] switch_core_state_machine.c:619 (sofia/external/13522298979) State Change CS_HANGUP -> CS_REPORTING [DEBUG] switch_core_state_machine.c:584 (sofia/external/13522298979) Running State Change CS_REPORTING (Cur 2 Tot 2) [INFO] mod_dptools.c:3518 Originate Failed. Cause: NO_ANSWER Thanks, Sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From nneul at mst.edu Wed Apr 17 18:43:01 2019 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 17 Apr 2019 13:43:01 -0500 Subject: [Freeswitch-users] Anyone have any actual technical details of the new robocall verification stuff being turned up by various large providers? Message-ID: All of the articles I've seen are just the dumbed down public info with an occasional technical buzzword thrown in. https://tech.slashdot.org/story/19/04/17/1659243/t-mobile-comcast-turn-on-call-verification-between-networks-in-latest-robocall-fight -- Nathan  ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcin.kowalczyk at crazycall.com Wed Apr 17 19:41:55 2019 From: marcin.kowalczyk at crazycall.com (Marcin Kowalczyk) Date: Wed, 17 Apr 2019 21:41:55 +0200 Subject: [Freeswitch-users] WebRTC (jsSIP) + Kamailio + Sofia - Message-ID: Hi, For some time I'm struggling with missing audio between jsSIP ( https://tryit.jssip.net/ ) and FreeSwitch (Sofia). On Kamailio side I'm doing WSS <-> SIP/udp gateway and works like a charm together with RTPEngine. I've deciced to remove RTPEngine from setup and leave only kamailio in front of FreeSwitch as WSS-SIP gateway. I'm working on latest master (8df9ac43) Sofia profile settings: I originate call from Freeswitch to Kamailio with media_webrtc=true,rtcp_mux=1 On browser side I can see following Invite INVITE sip:fc6inuoq at p1ir3vbttphp.invalid;transport=ws SIP/2.0 Via: SIP/2.0/WS qa1-rtc.example.com:443 ;branch=z9hG4bKd523.0e53395c81c97731505d9a419e74277f.0 Max-Forwards: 69 From: ;tag=DrZQygUQ7tg3S To: Call-ID: 6c33377c-6142-11e9-9a3a-b966c9f42136 CSeq: 3209884 INVITE Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY Supported: path, replaces Allow-Events: talk, hold, conference, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 969 Remote-Party-ID: ;party=calling;screen=yes;privacy=off P-FS-IP: 10.23.253.61:3010 P-Asserted-Identity: Contact: v=0 o=FreeSWITCH 1555495382 1555495383 IN IP4 54.154.222.32 s=FreeSWITCH c=IN IP4 54.154.222.32 t=0 0 a=msid-semantic: WMS x4bcMHQEW0SfVL62y1GNNQP1dDUnlcJI m=audio 31970 RTP/SAVPF 102 a=rtpmap:102 opus/48000/2 a=fmtp:102 useinbandfec=1; maxaveragebitrate=14400; maxplaybackrate=8000; ptime=20; minptime=10; maxptime=40 a=fingerprint:sha-256 8F:B3:EB:3D:C8:8C:9E:45:EC:EF:F7:E4:9F:DB:CC:DC:BC:E9:B7:08:20:DD:51:23:A0:07:C9:39:BF:2B:CF:9B a=setup:actpass a=rtcp-mux a=rtcp:31970 IN IP4 54.154.222.32 a=ssrc:3636203136 cname:6LLIjrc5iUa3v6VU a=ssrc:3636203136 msid:x4bcMHQEW0SfVL62y1GNNQP1dDUnlcJI a0 a=ssrc:3636203136 mslabel:x4bcMHQEW0SfVL62y1GNNQP1dDUnlcJI a=ssrc:3636203136 label:x4bcMHQEW0SfVL62y1GNNQP1dDUnlcJIa0 a=ice-ufrag:YsxB8dtcGdpSgZqc a=ice-pwd:B1KKjNGsyGlUD7Esp2To5dqC a=candidate:3449784969 1 udp 659136 54.154.222.32 31970 typ host generation 0 a=candidate:3449784969 2 udp 659136 54.154.222.32 31970 typ host generation 0 a=ptime:20 But jssip fails call with tryit-jssip.js:8 JsSIP:Transport sending message:SIP/2.0 408 RTP Timeout Via: SIP/2.0/WS qa1-rtc.crazy-calls.com:443 ;branch=z9hG4bKd523.0e53395c81c97731505d9a419e74277f.0 To: ;tag=02uof1d2c1 From: ;tag=DrZQygUQ7tg3S Call-ID: 6c33377c-6142-11e9-9a3a-b966c9f42136 CSeq: 3209884 INVITE Supported: timer,ice,replaces,outbound Content-Length: 0 +0ms while I can see UDP traffic hitting server from both IP's (running with VPN connected) 18:56:05.897282 IP ZZ.VV.199.228.51931 > 10.23.253.61.31970: UDP, length 108 18:56:05.997047 IP XX.YY.99.114.62790 > 10.23.253.61.31970: UDP, length 108 18:56:06.095205 IP ZZ.VV.199.228.51931 > 10.23.253.61.31970: UDP, length 108 18:56:06.229668 IP XX.YY.99.114.62790 > 10.23.253.61.31970: UDP, length 108 18:56:06.322814 IP ZZ.VV.199.228.51931 > 10.23.253.61.31970: UDP, length 108 18:56:06.423745 IP XX.YY.99.114.62790 > 10.23.253.61.31970: UDP, length 108 18:56:06.544214 IP ZZ.VV.199.228.51931 > 10.23.253.61.31970: UDP, length 108 When I put RTPEngine in a middle works perrfectly. Only difference I can see in SDP that in such case there is NO duplicated line with same candidate in SDP a=candidate:3449784969 1 udp 659136 54.154.222.32 31970 typ host generation 0 a=candidate:3449784969 2 udp 659136 54.154.222.32 31970 typ host generation 0 I've tried to put instead of fixed ip into ext-rtp-ip stun:stun:google.... but did not change anything. Do you have idea what might be wrong here? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramelcom at gmail.com Wed Apr 17 22:26:52 2019 From: ramelcom at gmail.com (Ramesh Kandasamy) Date: Wed, 17 Apr 2019 16:26:52 -0600 Subject: [Freeswitch-users] Anyone have any actual technical details of the new robocall verification stuff being turned up by various large providers? In-Reply-To: References: Message-ID: I believe you are looking for STIR / SHAKEN. https://www.sipforum.org/download/an-introduction-and-overview-of-the-stir-shaken-framework/ https://datatracker.ietf.org/wg/stir/documents/ Thanks Ramesh On Wed, Apr 17, 2019 at 4:15 PM Nathan Neulinger wrote: > All of the articles I've seen are just the dumbed down public info with an > occasional technical buzzword thrown in. > > > > https://tech.slashdot.org/story/19/04/17/1659243/t-mobile-comcast-turn-on-call-verification-between-networks-in-latest-robocall-fight > > -- Nathan > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 341-6679 > System Administrator - Architect (573) 612-1412 > System and Desktop Infrastructure Team Manager > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramelcom at gmail.com Wed Apr 17 22:36:25 2019 From: ramelcom at gmail.com (Ramesh Kandasamy) Date: Wed, 17 Apr 2019 16:36:25 -0600 Subject: [Freeswitch-users] Anyone have any actual technical details of the new robocall verification stuff being turned up by various large providers? In-Reply-To: References: Message-ID: I believe you are looking for STIR / SHAKEN. https://www.sipforum.org/download/an-introduction-and-overview-of-the-stir-shaken-framework/ https://datatracker.ietf.org/wg/stir/documents/ Thanks Ramesh On Wed, Apr 17, 2019 at 4:26 PM Ramesh Kandasamy wrote: > I believe you are looking for STIR / SHAKEN. > > https://www.sipforum.org/download/an-introduction-and-overview-of-the-stir-shaken-framework/ > > https://datatracker.ietf.org/wg/stir/documents/ > > Thanks > Ramesh > > On Wed, Apr 17, 2019 at 4:15 PM Nathan Neulinger wrote: > >> All of the articles I've seen are just the dumbed down public info with >> an occasional technical buzzword thrown in. >> >> >> >> https://tech.slashdot.org/story/19/04/17/1659243/t-mobile-comcast-turn-on-call-verification-between-networks-in-latest-robocall-fight >> >> -- Nathan >> ------------------------------------------------------------ >> Nathan Neulinger nneul at mst.edu >> Missouri S&T Information Technology (573) 341-6679 >> System Administrator - Architect (573) 612-1412 >> System and Desktop Infrastructure Team Manager >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nneul at mst.edu Thu Apr 18 00:31:28 2019 From: nneul at mst.edu (Nathan Neulinger) Date: Wed, 17 Apr 2019 19:31:28 -0500 Subject: [Freeswitch-users] Anyone have any actual technical details of the new robocall verification stuff being turned up by various large providers? In-Reply-To: References: Message-ID: <8af34367-c8e3-2b31-40c6-ed19874f752a@mst.edu> Excellent, thank you very much for the info. Not sure how useful it would be until it's wide scale - but any plans to implement anything for either the receiving or sending side of this in FS? -- Nathan -------- Original Message -------- From: Ramesh Kandasamy [mailto:ramelcom at gmail.com] Sent: Wednesday, April 17, 2019, 5:26 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Anyone have any actual technical details of the new robocall verification stuff being turned up by various large providers? I believe you are looking for STIR / SHAKEN. https://www.sipforum.org/download/an-introduction-and-overview-of-the-stir-shaken-framework/ https://datatracker.ietf.org/wg/stir/documents/ Thanks Ramesh On Wed, Apr 17, 2019 at 4:15 PM Nathan Neulinger > wrote: All of the articles I've seen are just the dumbed down public info with an occasional technical buzzword thrown in. https://tech.slashdot.org/story/19/04/17/1659243/t-mobile-comcast-turn-on-call-verification-between-networks-in-latest-robocall-fight -- Nathan  ------------------------------------------------------------ Nathan Neulingernneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager From leo.lai.wolf at gmail.com Thu Apr 18 01:29:41 2019 From: leo.lai.wolf at gmail.com (Leo Wolf) Date: Thu, 18 Apr 2019 09:29:41 +0800 Subject: [Freeswitch-users] freeswitch group-call/call-center behavior to unregistered users Message-ID: Hi, I am trying using freeswitch as sip servers for mobile client. And I have a question. If we call a group call to freeswitch, say group 100 with user 1001,1002,1003. And at this time, 1001 & 1002 is online but 1003 is not online. I want a behavior that call to group 100, 1001 & 1002 will ring, and after I notify user 1003 registering to freeswitch, 1003 will ring too and can pickup the group call just like 1003 is online while you making the group call. Is that possible? Or is there any way to achieve it? using call-center? Many Thanks, Leo -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at freeswitch.com Thu Apr 18 08:00:53 2019 From: alex at freeswitch.com (Alexey Sibyakin) Date: Thu, 18 Apr 2019 17:00:53 +0900 Subject: [Freeswitch-users] freeswitch group-call/call-center behavior to unregistered users In-Reply-To: References: Message-ID: Hi, Try Bria's push service. They will keep your registration and wake up your offline phone on call. Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Thu, Apr 18, 2019 at 10:44 AM Leo Wolf wrote: > Hi, > > I am trying using freeswitch as sip servers for mobile client. And I have > a question. > If we call a group call to freeswitch, say group 100 with user > 1001,1002,1003. And at this time, 1001 & 1002 is online but 1003 is not > online. I want a behavior that call to group 100, 1001 & 1002 will ring, > and after I notify user 1003 registering to freeswitch, 1003 will ring too > and can pickup the group call just like 1003 is online while you making the > group call. > > Is that possible? Or is there any way to achieve it? using call-center? > > Many Thanks, > Leo > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sagarmalam at gmail.com Thu Apr 18 10:51:26 2019 From: sagarmalam at gmail.com (sagar malam) Date: Thu, 18 Apr 2019 16:21:26 +0530 Subject: [Freeswitch-users] Mod native file supports file_string ? Message-ID: Does mod native file support file_string ? I am not able to get it work.Any help would be appreciated. -- Thanks, Sagar -------------- next part -------------- An HTML attachment was scrubbed... URL: From gb at cm.nl Thu Apr 18 14:06:23 2019 From: gb at cm.nl (Grant Bagdasarian) Date: Thu, 18 Apr 2019 14:06:23 +0000 Subject: [Freeswitch-users] Too many stacked extensions fixes Message-ID: Hi, When will a new minor version of Freeswitch be released (1.8.6)? And will this include the following changes? * https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/c8e9eeaec9ede231ba50b30d9f2b0d6c6fad9208 * https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/1a5ce0ebeb26e050782b668fff165611a01da83f * https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/d86c715694693ea35186a733626f5421c88a3770 * https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/c40af7732759d219d0ba22d051213f9db2b0996c I want to get these patches in production asap, since we cannot reproduce the stack errors on our test environment. Thanks and regards, Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Thu Apr 18 16:11:01 2019 From: brian at freeswitch.com (Brian West) Date: Thu, 18 Apr 2019 11:11:01 -0500 Subject: [Freeswitch-users] Anyone have any actual technical details of the new robocall verification stuff being turned up by various large providers? In-Reply-To: <8af34367-c8e3-2b31-40c6-ed19874f752a@mst.edu> References: <8af34367-c8e3-2b31-40c6-ed19874f752a@mst.edu> Message-ID: We are actually researching this, the issue is there are no CAs that issue certificates that can be used, so everyone currently exchanges traffic with self signed certs. I'm told the CA will be up and running sometime in November. If you wish to discuss this or sponsor the work involved in adding this functionality please contact consulting at freeswitch.org Thanks, Brian On Wed, Apr 17, 2019 at 8:31 PM Nathan Neulinger wrote: > Excellent, thank you very much for the info. > > Not sure how useful it would be until it's wide scale - but any plans to > implement anything for either the receiving or > sending side of this in FS? > > -- Nathan > > -------- Original Message -------- > From: Ramesh Kandasamy [mailto:ramelcom at gmail.com] > Sent: Wednesday, April 17, 2019, 5:26 PM > To: FreeSWITCH Users Help > Subject: [Freeswitch-users] Anyone have any actual technical details of > the new robocall verification stuff being turned > up by various large providers? > > I believe you are looking for STIR / SHAKEN. > > https://www.sipforum.org/download/an-introduction-and-overview-of-the-stir-shaken-framework/ > https://datatracker.ietf.org/wg/stir/documents/ > > Thanks > Ramesh > > On Wed, Apr 17, 2019 at 4:15 PM Nathan Neulinger nneul at mst.edu>> wrote: > > All of the articles I've seen are just the dumbed down public info > with an occasional technical buzzword thrown in. > > > > > https://tech.slashdot.org/story/19/04/17/1659243/t-mobile-comcast-turn-on-call-verification-between-networks-in-latest-robocall-fight > > -- Nathan > ------------------------------------------------------------ > Nathan Neulingernneul at mst.edu > Missouri S&T Information Technology (573) 341-6679 > System Administrator - Architect (573) 612-1412 > System and Desktop Infrastructure Team Manager > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org FreeSWITCH-users at lists.freeswitch.org> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > -- > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 341-6679 > System Administrator - Architect (573) 612-1412 > System and Desktop Infrastructure Team Manager > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From jungleboogie0 at gmail.com Thu Apr 18 05:55:55 2019 From: jungleboogie0 at gmail.com (jungle Boogie) Date: Wed, 17 Apr 2019 22:55:55 -0700 Subject: [Freeswitch-users] Can't connect to 800 or toll calls In-Reply-To: References: Message-ID: On Wed, Apr 17, 2019, 3:31 PM Sean Devoy wrote: > I did earlier, but I found that Vitelity was coming from multiple IP > addresses and my firewall was blocking some of them. That resolved the > problem. > > Thanks, > > Sean > How would this only cause problems on 800/toll free DIDs, though? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bilaln018 at gmail.com Fri Apr 19 10:55:06 2019 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Fri, 19 Apr 2019 15:55:06 +0500 Subject: [Freeswitch-users] [Best way to get calls per client] Message-ID: Hi Users, I am just building a platform, where i need to show "live connected" calls per account/client. I know that it can be done via events, so to fire event at start of call and at the end of the call to get the count of calls for each client. But i wanted to know if somebody has more better idea, or if somebody has done similar solution in a better way. BR Abbasi -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbhatti at gmail.com Fri Apr 19 14:20:06 2019 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Fri, 19 Apr 2019 14:20:06 +0000 Subject: [Freeswitch-users] [Best way to get calls per client] In-Reply-To: References: Message-ID: I do events plus you can query the DB for connected calls. If using PG or SQLite, then look into the tables for active calls information, else you may use “show calls” and parse the output. From: FreeSWITCH-users on behalf of Bilal Abbasi Reply-To: FreeSWITCH Users Help Date: Friday, April 19, 2019 at 3:55 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] [Best way to get calls per client] Hi Users, I am just building a platform, where i need to show "live connected" calls per account/client. I know that it can be done via events, so to fire event at start of call and at the end of the call to get the count of calls for each client. But i wanted to know if somebody has more better idea, or if somebody has done similar solution in a better way. BR Abbasi -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at textplus.com Fri Apr 19 17:06:56 2019 From: joel at textplus.com (Joel Serrano) Date: Fri, 19 Apr 2019 10:06:56 -0700 Subject: [Freeswitch-users] [Best way to get calls per client] In-Reply-To: References: Message-ID: To add: You also have “show bridged_calls” On Fri, Apr 19, 2019 at 07:20 Muhammad Naseer Bhatti wrote: > I do events plus you can query the DB for connected calls. If using PG or > SQLite, then look into the tables for active calls information, else you > may use “show calls” and parse the output. > > > > *From: *FreeSWITCH-users > on behalf of Bilal Abbasi > *Reply-To: *FreeSWITCH Users Help > *Date: *Friday, April 19, 2019 at 3:55 PM > *To: *FreeSWITCH Users Help > *Subject: *[Freeswitch-users] [Best way to get calls per client] > > > > Hi Users, > > > > I am just building a platform, where i need to show "live connected" calls > per account/client. I know that it can be done via events, so to fire event > at start of call and at the end of the call to get the count of calls for > each client. > > But i wanted to know if somebody has more better idea, or if somebody has > done similar solution in a better way. > > > > BR > > Abbasi > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bilaln018 at gmail.com Fri Apr 19 18:32:58 2019 From: bilaln018 at gmail.com (Bilal Abbasi) Date: Fri, 19 Apr 2019 23:32:58 +0500 Subject: [Freeswitch-users] [Best way to get calls per client] In-Reply-To: References: Message-ID: Thanks for your reply, but the system will be handling thousands of calls per minute, i am almost sure that cli commands will be very heavy for that. plus doing that on all of the connected FS servers, and parsing the results and showing them on UI does not seems to be feasible solution. additionally i was looking at this module along with events. https://freeswitch.org/confluence/display/FREESWITCH/mod_hash Still looking for experts to have their word. On Fri, Apr 19, 2019 at 10:31 PM Joel Serrano wrote: > To add: > > You also have “show bridged_calls” > > > > On Fri, Apr 19, 2019 at 07:20 Muhammad Naseer Bhatti > wrote: > >> I do events plus you can query the DB for connected calls. If using PG or >> SQLite, then look into the tables for active calls information, else you >> may use “show calls” and parse the output. >> >> >> >> *From: *FreeSWITCH-users >> on behalf of Bilal Abbasi >> *Reply-To: *FreeSWITCH Users Help >> *Date: *Friday, April 19, 2019 at 3:55 PM >> *To: *FreeSWITCH Users Help >> *Subject: *[Freeswitch-users] [Best way to get calls per client] >> >> >> >> Hi Users, >> >> >> >> I am just building a platform, where i need to show "live connected" >> calls per account/client. I know that it can be done via events, so to fire >> event at start of call and at the end of the call to get the count of calls >> for each client. >> >> But i wanted to know if somebody has more better idea, or if somebody has >> done similar solution in a better way. >> >> >> >> BR >> >> Abbasi >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From nbhatti at gmail.com Fri Apr 19 20:24:28 2019 From: nbhatti at gmail.com (Muhammad Naseer Bhatti) Date: Sat, 20 Apr 2019 01:24:28 +0500 Subject: [Freeswitch-users] [Best way to get calls per client] In-Reply-To: References: Message-ID: <3604e16e-b0da-4904-a366-bc43402b9c0e@Spark> I have tried sqlite with hash and postgres with db with around 5000 concurrent calls. No performance issues displaying active calls, connecting calls and a few other stats. You can also send async call events to redis or some other im-mem cashing engine and parse output from there. Try yourself to see how it works rather than just guessing it may or may not work :) Thanks. On Apr 19, 2019, 23:33 +0500, Bilal Abbasi , wrote: > Thanks for your reply, but the system will be handling thousands of calls per minute, i am almost sure that cli commands will be very heavy for that. plus doing that on all of the connected FS servers, and parsing the results and showing them on UI does not seems to be feasible solution. > additionally i was looking at this module along with events. > https://freeswitch.org/confluence/display/FREESWITCH/mod_hash > Still looking for experts to have their word. > > > On Fri, Apr 19, 2019 at 10:31 PM Joel Serrano wrote: > > > To add: > > > > > > You also have “show bridged_calls” > > > > > > > > > > > > > On Fri, Apr 19, 2019 at 07:20 Muhammad Naseer Bhatti wrote: > > > > > I do events plus you can query the DB for connected calls. If using PG or SQLite, then look into the tables for active calls information, else you may use “show calls” and parse the output. > > > > > > > > > > From: FreeSWITCH-users on behalf of Bilal Abbasi > > > > > Reply-To: FreeSWITCH Users Help > > > > > Date: Friday, April 19, 2019 at 3:55 PM > > > > > To: FreeSWITCH Users Help > > > > > Subject: [Freeswitch-users] [Best way to get calls per client] > > > > > > > > > > Hi Users, > > > > > > > > > > I am just building a platform, where i need to show "live connected" calls per account/client. I know that it can be done via events, so to fire event at start of call and at the end of the call to get the count of calls for each client. > > > > > But i wanted to know if somebody has more better idea, or if somebody has done similar solution in a better way. > > > > > > > > > > BR > > > > > Abbasi > > > > > _________________________________________________________________________ > > > > > > > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > > > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > > > > Build your next product on our scalable cloud platform. > > > > > > > > > > Join our online community to chat in real time https://signalwire.community > > > > > > > > > > Professional FreeSWITCH Services > > > > > sales at freeswitch.com > > > > > https://freeswitch.com > > > > > > > > > > Official FreeSWITCH Sites > > > > > https://freeswitch.com/oss > > > > > https://freeswitch.org/confluence > > > > > https://cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > https://freeswitch.com > > > _________________________________________________________________________ > > > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > > Build your next product on our scalable cloud platform. > > > > > > Join our online community to chat in real time https://signalwire.community > > > > > > Professional FreeSWITCH Services > > > sales at freeswitch.com > > > https://freeswitch.com > > > > > > Official FreeSWITCH Sites > > > https://freeswitch.com/oss > > > https://freeswitch.org/confluence > > > https://cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > https://freeswitch.com > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From neilp at cs.stanford.edu Mon Apr 22 07:28:23 2019 From: neilp at cs.stanford.edu (Neil Patel) Date: Mon, 22 Apr 2019 12:58:23 +0530 Subject: [Freeswitch-users] ESL connection lost to FS Message-ID: Hi all, I have a fresh server running FS 1.8 from package on Debian 9. It runs a python app connecting to FS using ESL that executes this code per call attempt: c = ESLconnection(str(settings.ESL_HOSTNAME), str(settings.ESL_PORT), str(settings.ESL_PASSWORD)) if not c.connected(): abort() dial_command = "originate …" ev = c.api("bgapi", str(dial_command)) c.disconnect() if ev: result = ev.serialize() logger.debug('API result = {}'.format(result)) When we ran 350K call test, 70K calls got to this code and failed the final if condition, meaning ev was None. No CDR generated. This is totally an unexpected error case for us after tens of millions of calls over last 3 years on our other servers. Any idea why this is happening? The only difference I can see is we’ve not seen this issue on FS 1.6 (built from source), so maybe it’s introduced in 1.8 (run from package)? FYI we've built pyESL from source, which is what's recommended here. Any chance there is an incompatibility between pyESL built from source and FS 1.8 installed from package? Thanks, Neil This question reproduced from Slack where I didn't get a response -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Apr 22 12:54:15 2019 From: brian at freeswitch.com (Brian West) Date: Mon, 22 Apr 2019 07:54:15 -0500 Subject: [Freeswitch-users] ESL connection lost to FS In-Reply-To: References: Message-ID: You're doing the CDR collection inline or what are you speaking of exactly? On Mon, Apr 22, 2019 at 2:29 AM Neil Patel wrote: > Hi all, I have a fresh server running FS 1.8 from package on Debian 9. It > runs a python app connecting to FS using ESL that executes this code per > call attempt: > > c = ESLconnection(str(settings.ESL_HOSTNAME), str(settings.ESL_PORT), > str(settings.ESL_PASSWORD)) > if not c.connected(): > abort() > dial_command = "originate …" > ev = c.api("bgapi", str(dial_command)) > c.disconnect() > if ev: > result = ev.serialize() > logger.debug('API result = {}'.format(result)) > > > When we ran 350K call test, 70K calls got to this code and failed the > final if condition, meaning ev was None. No CDR generated. > > This is totally an unexpected error case for us after tens of millions of > calls over last 3 years on our other servers. Any idea why this is > happening? The only difference I can see is we’ve not seen this issue on FS > 1.6 (built from source), so maybe it’s introduced in 1.8 (run from > package)? FYI we've built pyESL from source, which is what's recommended > here. Any chance there is an incompatibility between pyESL built from > source and FS 1.8 installed from package? > > Thanks, > Neil > > This question reproduced from Slack > > where I didn't get a response > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From neilp at cs.stanford.edu Mon Apr 22 16:06:15 2019 From: neilp at cs.stanford.edu (Neil Patel) Date: Mon, 22 Apr 2019 21:36:15 +0530 Subject: [Freeswitch-users] ESL connection lost to FS In-Reply-To: References: Message-ID: Hi Brian, Sorry, I didn't give enough context. The code below is for the origination of calls, which we are doing through ESL and where the connection is being unexpectedly dropped, or even if not dropped, no record of the origination appears in either FS logs or CDR. CDRs are being generated to sqlite and we are reading them from there asynchronously. Also forgot to link the documentation that suggests building from source is the way, it's here On Mon, Apr 22, 2019 at 6:25 PM Brian West wrote: > You're doing the CDR collection inline or what are you speaking of exactly? > > On Mon, Apr 22, 2019 at 2:29 AM Neil Patel wrote: > >> Hi all, I have a fresh server running FS 1.8 from package on Debian 9. It >> runs a python app connecting to FS using ESL that executes this code per >> call attempt: >> >> c = ESLconnection(str(settings.ESL_HOSTNAME), str(settings.ESL_PORT), >> str(settings.ESL_PASSWORD)) >> if not c.connected(): >> abort() >> dial_command = "originate …" >> ev = c.api("bgapi", str(dial_command)) >> c.disconnect() >> if ev: >> result = ev.serialize() >> logger.debug('API result = {}'.format(result)) >> >> >> When we ran 350K call test, 70K calls got to this code and failed the >> final if condition, meaning ev was None. No CDR generated. >> >> This is totally an unexpected error case for us after tens of millions of >> calls over last 3 years on our other servers. Any idea why this is >> happening? The only difference I can see is we’ve not seen this issue on FS >> 1.6 (built from source), so maybe it’s introduced in 1.8 (run from >> package)? FYI we've built pyESL from source, which is what's recommended >> here. Any chance there is an incompatibility between pyESL built from >> source and FS 1.8 installed from package? >> >> Thanks, >> Neil >> >> This question reproduced from Slack >> >> where I didn't get a response >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Sun Apr 21 21:07:01 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Sun, 21 Apr 2019 17:07:01 -0400 Subject: [Freeswitch-users] dial extension after call is setup Message-ID: I need to dial an extension within an IVR. So my freeswitch application will test PBX extensions. The application will dial an IVR (Could be running any PBX vendor), when the PBX picks up it will dial an extension and run several tests including testing two way audio, DTMF and other tests. I got my test scenarios working with a normal numbers, but now I need to extend it to dial extensions within an IVR. Most of this is written in Lua I have two problems with this setup. 1. How can I dial an extension after the call is setup. Tried the "send_dtmf" but it didnt work or maybe I just dont know how to use it. I have done "send_dtmf " and nothing happens. What would be the best way to dial an extension after the call has been answered? 2. Once I get this part working. How can I wait for the extension to answer before starting to execute my test script. I was thinking of doing "wait_for_silence 200 15 10 5000" then execute the rest of my script. What do you think? Is there a better way? -------------- next part -------------- An HTML attachment was scrubbed... URL: From deepikay at iiitd.ac.in Mon Apr 22 16:18:46 2019 From: deepikay at iiitd.ac.in (Deepika Yadav) Date: Mon, 22 Apr 2019 21:48:46 +0530 Subject: [Freeswitch-users] ESL connection lost to FS In-Reply-To: References: Message-ID: Hi Neil, Just a guess, shouldn't you put a significant sleep before "c.disconnect()". Since the previous command starts background api, it would be appropriate to introduce some time gap before disconnecting ESL. Regards, Deepika PhD Scholar IIIT Delhi , India Webpage: https://deepikay.wixsite.com/deepika On Mon, Apr 22, 2019 at 9:37 PM Neil Patel wrote: > Hi Brian, > > Sorry, I didn't give enough context. > > The code below is for the origination of calls, which we are doing through > ESL and where the connection is being unexpectedly dropped, or even if not > dropped, no record of the origination appears in either FS logs or CDR. > > CDRs are being generated to sqlite and we are reading them from there > asynchronously. > > Also forgot to link the documentation that suggests building from source > is the way, it's here > > > On Mon, Apr 22, 2019 at 6:25 PM Brian West wrote: > >> You're doing the CDR collection inline or what are you speaking of >> exactly? >> >> On Mon, Apr 22, 2019 at 2:29 AM Neil Patel wrote: >> >>> Hi all, I have a fresh server running FS 1.8 from package on Debian 9. >>> It runs a python app connecting to FS using ESL that executes this code per >>> call attempt: >>> >>> c = ESLconnection(str(settings.ESL_HOSTNAME), str(settings.ESL_PORT), >>> str(settings.ESL_PASSWORD)) >>> if not c.connected(): >>> abort() >>> dial_command = "originate …" >>> ev = c.api("bgapi", str(dial_command)) >>> c.disconnect() >>> if ev: >>> result = ev.serialize() >>> logger.debug('API result = {}'.format(result)) >>> >>> >>> When we ran 350K call test, 70K calls got to this code and failed the >>> final if condition, meaning ev was None. No CDR generated. >>> >>> This is totally an unexpected error case for us after tens of millions >>> of calls over last 3 years on our other servers. Any idea why this is >>> happening? The only difference I can see is we’ve not seen this issue on FS >>> 1.6 (built from source), so maybe it’s introduced in 1.8 (run from >>> package)? FYI we've built pyESL from source, which is what's recommended >>> here. Any chance there is an incompatibility between pyESL built from >>> source and FS 1.8 installed from package? >>> >>> Thanks, >>> Neil >>> >>> This question reproduced from Slack >>> >>> where I didn't get a response >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, Deepika PhD Scholar IIIT Delhi , India Webpage: https://deepikay.wixsite.com/deepika -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Apr 23 01:26:28 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 23 Apr 2019 01:26:28 +0000 Subject: [Freeswitch-users] Caller ID NAme switches to "mod_sofia" Message-ID: Hi, My customer has Aastra 67xx phones. I have two problems relating to caller id. 1 - The setup on the phone appears to take president over my setup for that extension in the XML (for caller id and caller name). 2 - While the correct number and extension appear from interoffice phones, as soon as it gets answered the display changes to "mod_sofia". Any advise will be greatly appreciated. Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From neilp at cs.stanford.edu Tue Apr 23 04:42:50 2019 From: neilp at cs.stanford.edu (Neil Patel) Date: Tue, 23 Apr 2019 10:12:50 +0530 Subject: [Freeswitch-users] ESL connection lost to FS In-Reply-To: References: Message-ID: Deepika, I don't think this is the issue as we've had this pattern of code for years and only recently (after upgrading to v1.8) have we seen ESL connection instability. Note we took this pattern from Newfies which does exact same thing . Areski hasn't responded yet but I believe he would say this is not an issue. We've adjusted our code to abort the attempt and retry if ev=None, but there remains a portion of calls for which ev returns success but there is actually no call originated and no trace of it in FS logs or in CDR. Any other ideas? On Mon, Apr 22, 2019 at 9:51 PM Deepika Yadav wrote: > Hi Neil, > > Just a guess, shouldn't you put a significant sleep before > "c.disconnect()". Since the previous command starts background api, it > would be appropriate to introduce some time gap before disconnecting ESL. > > Regards, > Deepika > PhD Scholar > IIIT Delhi , India > Webpage: https://deepikay.wixsite.com/deepika > > On Mon, Apr 22, 2019 at 9:37 PM Neil Patel wrote: > >> Hi Brian, >> >> Sorry, I didn't give enough context. >> >> The code below is for the origination of calls, which we are doing >> through ESL and where the connection is being unexpectedly dropped, or even >> if not dropped, no record of the origination appears in either FS logs or >> CDR. >> >> CDRs are being generated to sqlite and we are reading them from there >> asynchronously. >> >> Also forgot to link the documentation that suggests building from source >> is the way, it's here >> >> >> On Mon, Apr 22, 2019 at 6:25 PM Brian West wrote: >> >>> You're doing the CDR collection inline or what are you speaking of >>> exactly? >>> >>> On Mon, Apr 22, 2019 at 2:29 AM Neil Patel >>> wrote: >>> >>>> Hi all, I have a fresh server running FS 1.8 from package on Debian 9. >>>> It runs a python app connecting to FS using ESL that executes this code per >>>> call attempt: >>>> >>>> c = ESLconnection(str(settings.ESL_HOSTNAME), str(settings.ESL_PORT), >>>> str(settings.ESL_PASSWORD)) >>>> if not c.connected(): >>>> abort() >>>> dial_command = "originate …" >>>> ev = c.api("bgapi", str(dial_command)) >>>> c.disconnect() >>>> if ev: >>>> result = ev.serialize() >>>> logger.debug('API result = {}'.format(result)) >>>> >>>> >>>> When we ran 350K call test, 70K calls got to this code and failed the >>>> final if condition, meaning ev was None. No CDR generated. >>>> >>>> This is totally an unexpected error case for us after tens of millions >>>> of calls over last 3 years on our other servers. Any idea why this is >>>> happening? The only difference I can see is we’ve not seen this issue on FS >>>> 1.6 (built from source), so maybe it’s introduced in 1.8 (run from >>>> package)? FYI we've built pyESL from source, which is what's recommended >>>> here. Any chance there is an incompatibility between pyESL built from >>>> source and FS 1.8 installed from package? >>>> >>>> Thanks, >>>> Neil >>>> >>>> This question reproduced from Slack >>>> >>>> where I didn't get a response >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> >>> >>> -- >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> [image: https://www.facebook.com/signalwireinc?src=email] >>> [image: >>> https://twitter.com/freeswitch] >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Regards, > Deepika > PhD Scholar > IIIT Delhi , India > Webpage: https://deepikay.wixsite.com/deepika > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Tue Apr 23 18:40:11 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Tue, 23 Apr 2019 18:40:11 +0000 Subject: [Freeswitch-users] how to connect FS to openSIPS Message-ID: I have openSIPS configured as a load balancer behind FreeSWITCH. I setup a sip profile for openSIPS in /etc/freeswitch/sip_profiles/internal/engagement.xml Then setup a diaplan that should call openSIPS: ... ... When call is made, I don't see any errors in the FreeSWITCH log and nothing is seen in the openSIPS log. I suspect I have an error in the sip profile. ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Apr 23 21:19:53 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 23 Apr 2019 21:19:53 +0000 Subject: [Freeswitch-users] Bridge question Message-ID: Hi, My customer wants to ring the local extension, then 15 seconds later connect their cell phone. I have the leg_delay_start working fine. What I don't know is how to pass the internal Caller ID to one and the external caller id to the other? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Wed Apr 24 15:39:59 2019 From: mario_fs at mgtech.com (mario_fs) Date: Wed, 24 Apr 2019 08:39:59 -0700 Subject: [Freeswitch-users] Bridge question In-Reply-To: References: Message-ID: <897890EA-135E-4D8C-9826-E8DF52DEE76A@mgtech.com> I do exactly that and more. First, see this page for what the caller hears: https://freeswitch.org/confluence/display/FREESWITCH/macOS I replace the early media ringing with custom prerecorded messages that includes the caller name. The I bridge with the parts below built from a LUA program. The called cell phone displays the callerid of the original caller (that took a year to figure out). What you are after is "sip_h_In-Reply-To=${sip_call_id}”. But… keep two things in mind: First. Your ITSP must support it, in my case I use Callcentric and you MUST inform them you are doing this so they can turn it on for your account. Second, the biggie: with stir/shaken (https://www.fcc.gov/call-authentication ) coming up I don’t think this will be possible anymore. See my comment below. {originate_timeout=48,alert_info=;info=Family}${group_call(deskphone@${domain_name}+A)},${group_call(iPads@${domain_name}+A)},${group_call(iPhones@${domain_name}+A)},[leg_delay_start=24,leg_timeout=24,sip_h_In-Reply-To=${sip_call_id}]sofia/gateway/${dial_gateway}/12121234567,[leg_delay_start=24,leg_timeout=24,sip_h_In-Reply-To=${sip_call_id}]sofia/gateway/${dial_gateway}/12127654321 More than you asked about but important to note: Because of problems below (there are more) bridging to a cell phone, I am trying something different and if it works will put it in the wiki. Instead of bridging the call I want to make the cell phone a simple Freeswitch extension. That resolves all the problems including passing callerID. This is done using VPN and a SIP app, in this case Bria for iPhone which uses Apple Notifications to trigger the app when a call comes on. Only problem is… VPN on demand does not work with Bria because it uses sockets instead of the recommended Apple API. So I have been trying to convince Counterpath to add one DNS lookup to trigger VPN On Demand. This solution would be 1000 percent better than bridging. Problems with this method: Due to the T-Mobile (ATT and Verizon same) 30 second ring limit before voicemail, we cannot ring our iPhones at the same time as the local phones, so people have to wait a very long time before the cell rings. When the iPhones do ring, we may miss a call simply because we cannot get the iPhone out in 20-30 seconds. If the cellular network has a quirk, the iPhone will not connect for a long time, then a voicemail is taken by the iPhone VM( which we never look at) instead of Freeswitch, so the voicemail is essentially lost. > On Apr 23, 2019, at 2:19 PM, Sean Devoy wrote: > > Hi, > > My customer wants to ring the local extension, then 15 seconds later connect their cell phone. I have the leg_delay_start working fine. What I don’t know is how to pass the internal Caller ID to one and the external caller id to the other? > > Thanks, > Sean > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Wed Apr 24 16:59:14 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Wed, 24 Apr 2019 12:59:14 -0400 Subject: [Freeswitch-users] execute_on_answer Message-ID: Hello, I am trying to find more info on the application "execute_on_answer". I have a script that calls an IVR then dials a users extension. I need to wait for the calling party extension to answer before executing the rest of my script. I don't seem to find much documentation on this application. Is there another way to test if the calling party has been answered? thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Wed Apr 24 17:26:03 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 24 Apr 2019 18:26:03 +0100 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: That should work properly, what are trying to accomplish exactly? On Wed, 24 Apr 2019 at 18:19, Joli Martinez wrote: > Hello, > > I am trying to find more info on the application "execute_on_answer". > > I have a script that calls an IVR then dials a users extension. I need to > wait for the calling party extension to answer before executing the rest of > my script. I don't seem to find much documentation on this application. > Is there another way to test if the calling party has been answered? > > > thanks, > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dujinfang at gmail.com Wed Apr 24 00:21:12 2019 From: dujinfang at gmail.com (Seven Du) Date: Wed, 24 Apr 2019 08:21:12 +0800 Subject: [Freeswitch-users] No Video in conference video mux mode with VP8 but H264 works fine In-Reply-To: References: Message-ID: I used to test linphone last year and vp8 bitstream looks has problem but vp8 on bria and chrome is fine. On Thu, Apr 18, 2019 at 12:13 AM Faisal Hanif wrote: > Hi, > > FreeSWITCH Version 1.8.5-6-31281a0bf1~64bit (-6-31281a0bf1 64bit) > > on Debian > Description: Debian GNU/Linux 9.8 (stretch) > Release: 9.8 > Codename: stretch > > SIP Client is Linphone mobile client. Tested on both iOS and Android > Client. > > Regards, > > Faisal > > > On Wed, 17 Apr 2019 at 19:23, Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> What version of FS and what version of what browser? >> >> On Wed, Apr 17, 2019 at 1:44 AM Faisal Hanif wrote: >> >>> I have a conference with video-mode mux and I have proper mixed video >>> with H264 but with VP8 only empty canvas sent by FreeSWITCH while >>> video-mode passthrough send proper video with VP8. >>> >>> Any idea what's wrong or missing here? >>> >>> Regards, >>> >>> Faisal >>> >>> _________________________________________________________________________ >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> -- >> Anthony Minessale II >> Founder, FreeSWITCH. >> http://freeswitch.com >> >> >> https://youtu.be/l_hOxzCt6X4 >> https://www.youtube.com/watch?v=oAxXgyx5jUw >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Regards, > > Faisal Hanif > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramelcom at gmail.com Wed Apr 24 18:27:39 2019 From: ramelcom at gmail.com (Ramesh Kandasamy) Date: Wed, 24 Apr 2019 12:27:39 -0600 Subject: [Freeswitch-users] ESL API command to get the status of Freeswitch Message-ID: Hi everyone, I am looking for a way to get the status of a Freeswitch from a remote server through ESL API command. I tried using SendRecv and Api methods of ESLconnection class to send the 'status' command. But I don't receive the response. However, after further reading through the confluence, I realized that it is probably because, 'status' command output doesn't include with a header named "content-type" that has a value of "api/response" or "command/reply" and both SendRecv and Api methods look for this. So, the question is what other ESL methods shall be used to get the status of freeswitch? Thanks Ramesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Apr 24 21:54:32 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 24 Apr 2019 21:54:32 +0000 Subject: [Freeswitch-users] Bridge question In-Reply-To: <897890EA-135E-4D8C-9826-E8DF52DEE76A@mgtech.com> References: <897890EA-135E-4D8C-9826-E8DF52DEE76A@mgtech.com> Message-ID: Mario, Thanks for your reply. I think I get the majority of what you are saying. I am pretty sure the I can get it based on your response as my requirements are not as broad as yours. If I set the effective caller id name and number to the external values and then use sip_h_In-Reply-To=${sip_call_id} for the internal extensions in the dial-string, I think I am good. I was wondering if I could set the channel variables for caller id in the dial-string with {} or in this case []? That of course leaves the political debate of how long to delay for VM (call_timeout=) and [leg_delay_start=] for the cell phone connection (attempt). Sean From: FreeSWITCH-users On Behalf Of mario_fs Sent: Wednesday, April 24, 2019 11:40 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Bridge question I do exactly that and more. First, see this page for what the caller hears: https://freeswitch.org/confluence/display/FREESWITCH/macOS I replace the early media ringing with custom prerecorded messages that includes the caller name. The I bridge with the parts below built from a LUA program. The called cell phone displays the callerid of the original caller (that took a year to figure out). What you are after is "sip_h_In-Reply-To=${sip_call_id}”. But… keep two things in mind: First. Your ITSP must support it, in my case I use Callcentric and you MUST inform them you are doing this so they can turn it on for your account. Second, the biggie: with stir/shaken (https://www.fcc.gov/call-authentication) coming up I don’t think this will be possible anymore. See my comment below. {originate_timeout=48,alert_info=;info=Family}${group_call(deskphone@${domain_name}+A)},${group_call(iPads@${domain_name}+A)},${group_call(iPhones@${domain_name}+A)},[leg_delay_start=24,leg_timeout=24,sip_h_In-Reply-To=${sip_call_id}]sofia/gateway/${dial_gateway}/12121234567,[leg_delay_start=24,leg_timeout=24,sip_h_In-Reply-To=${sip_call_id}]sofia/gateway/${dial_gateway}/12127654321 More than you asked about but important to note: Because of problems below (there are more) bridging to a cell phone, I am trying something different and if it works will put it in the wiki. Instead of bridging the call I want to make the cell phone a simple Freeswitch extension. That resolves all the problems including passing callerID. This is done using VPN and a SIP app, in this case Bria for iPhone which uses Apple Notifications to trigger the app when a call comes on. Only problem is… VPN on demand does not work with Bria because it uses sockets instead of the recommended Apple API. So I have been trying to convince Counterpath to add one DNS lookup to trigger VPN On Demand. This solution would be 1000 percent better than bridging. Problems with this method: * Due to the T-Mobile (ATT and Verizon same) 30 second ring limit before voicemail, we cannot ring our iPhones at the same time as the local phones, so people have to wait a very long time before the cell rings. * When the iPhones do ring, we may miss a call simply because we cannot get the iPhone out in 20-30 seconds. * If the cellular network has a quirk, the iPhone will not connect for a long time, then a voicemail is taken by the iPhone VM( which we never look at) instead of Freeswitch, so the voicemail is essentially lost. On Apr 23, 2019, at 2:19 PM, Sean Devoy > wrote: Hi, My customer wants to ring the local extension, then 15 seconds later connect their cell phone. I have the leg_delay_start working fine. What I don’t know is how to pass the internal Caller ID to one and the external caller id to the other? Thanks, Sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Wed Apr 24 23:58:54 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Wed, 24 Apr 2019 19:58:54 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Hello, I need my dial plan to dial an extension within then wait until the extension picks up before starting the lua script. I got it to dial the extension but can't seem to get the syntax for the "execute_on_answer" correct. When I uncomment it out it call just fails. What am I missing? ----------------------------- ---------------------------------------- On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > That should work properly, what are trying to accomplish exactly? > > On Wed, 24 Apr 2019 at 18:19, Joli Martinez wrote: > >> Hello, >> >> I am trying to find more info on the application "execute_on_answer". >> >> I have a script that calls an IVR then dials a users extension. I need >> to wait for the calling party extension to answer before executing the rest >> of my script. I don't seem to find much documentation on this >> application. Is there another way to test if the calling party has been >> answered? >> >> >> thanks, >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Thu Apr 25 10:05:42 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 25 Apr 2019 11:05:42 +0100 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Can you send the console log when it fails? On Thu, 25 Apr 2019 at 01:31, Joli Martinez wrote: > Hello, > > I need my dial plan to dial an extension within then wait until the > extension picks up before starting the lua script. I got it to dial the > extension but can't seem to get the syntax for the "execute_on_answer" > correct. When I uncomment it out it call just fails. What am I missing? > > ----------------------------- > > > > > > > > > > ---------------------------------------- > > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> That should work properly, what are trying to accomplish exactly? >> >> On Wed, 24 Apr 2019 at 18:19, Joli Martinez wrote: >> >>> Hello, >>> >>> I am trying to find more info on the application "execute_on_answer". >>> >>> I have a script that calls an IVR then dials a users extension. I need >>> to wait for the calling party extension to answer before executing the rest >>> of my script. I don't seem to find much documentation on this >>> application. Is there another way to test if the calling party has been >>> answered? >>> >>> >>> thanks, >>> >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shaun.stokes at itec-support.co.uk Thu Apr 25 12:10:48 2019 From: shaun.stokes at itec-support.co.uk (Shaun Stokes) Date: Thu, 25 Apr 2019 12:10:48 +0000 Subject: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's In-Reply-To: References: , Message-ID: After FreeSWITCH 1.8.5 (and 1.8.3) we've noticed that display updates have changed, on Polycom's (UA/5) for example this now includes the host portion such as the IP address which breaks directory contact association and is confusing for the user to see on the display: "Name" Previously in FreeSWITCH 1.8.2 on Polycom's and on most other devices we've tested this doesn't include the host portion and works perfectly: "Name" This is a result of this change: 9e8ae18f95e How do we stop FreeSWITCH from including the IP address in the PAI on display updates for Polycom's? Other than manually reversing this change in our environment. Thanks, Shaun -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Thu Apr 25 12:51:45 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Thu, 25 Apr 2019 08:51:45 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Hello, This is what I get when I uncomment the lines. I also did a reloadxml. right after the last DTMF digit it dies ------------------------------------------------------ 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 sofia/external/12223334444 send dtmf digit=2 ms=250 samples=2000 EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua samsclub.lua) 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 sofia/external/12223334444 has executed the last dialplan instruction, hanging up. 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] ------------------------------------------------------------ On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < david.villasmil.work at gmail.com> wrote: > Can you send the console log when it fails? > > On Thu, 25 Apr 2019 at 01:31, Joli Martinez wrote: > >> Hello, >> >> I need my dial plan to dial an extension within then wait until the >> extension picks up before starting the lua script. I got it to dial the >> extension but can't seem to get the syntax for the "execute_on_answer" >> correct. When I uncomment it out it call just fails. What am I missing? >> >> ----------------------------- >> >> >> >> >> >> >> >> >> >> ---------------------------------------- >> >> On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >>> That should work properly, what are trying to accomplish exactly? >>> >>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez wrote: >>> >>>> Hello, >>>> >>>> I am trying to find more info on the application "execute_on_answer". >>>> >>>> I have a script that calls an IVR then dials a users extension. I need >>>> to wait for the calling party extension to answer before executing the rest >>>> of my script. I don't seem to find much documentation on this >>>> application. Is there another way to test if the calling party has been >>>> answered? >>>> >>>> >>>> thanks, >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> -- >>> Regards, >>> >>> David Villasmil >>> email: david.villasmil.work at gmail.com >>> phone: +34669448337 >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From shaun.stokes at itec-support.co.uk Thu Apr 25 14:37:44 2019 From: shaun.stokes at itec-support.co.uk (Shaun Stokes) Date: Thu, 25 Apr 2019 14:37:44 +0000 Subject: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's In-Reply-To: <8db76c40-1397-adc2-eeb1-e1eb813a4d93@mst.edu> References: , <8db76c40-1397-adc2-eeb1-e1eb813a4d93@mst.edu> Message-ID: Polycom's are on current firmware '5.7.4'. We use FreeSWITCH internally with Kamailio as our internet facing registrar but FreeSWITCH is grabbing the IP address of Kamailio and using it in the PAI which is sent to the device. I'm going to do some more digging to see if there's anyway we can get FreeSWITCH to use the domain\context instead of the IP address, if not then we should be able to fix this with-in Kamailio before the UPDATE is sent to the device. Thanks, Shaun ________________________________ From: Nathan Neulinger Sent: 25 April 2019 14:17:19 To: FreeSWITCH Users Help; Shaun Stokes Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's Are you running current polycom firmware on the devices? Sounds from the commit like it was changes after polycom fixed bug on their side. -- Nathan ________________________________ From: Shaun Stokes Sent: Thu, Apr 25, 2019 7:10 AM CDT To: FreeSWITCH Users Help Subject: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's After FreeSWITCH 1.8.5 (and 1.8.3) we've noticed that display updates have changed, on Polycom's (UA/5) for example this now includes the host portion such as the IP address which breaks directory contact association and is confusing for the user to see on the display: "Name" Previously in FreeSWITCH 1.8.2 on Polycom's and on most other devices we've tested this doesn't include the host portion and works perfectly: "Name" This is a result of this change: 9e8ae18f95e How do we stop FreeSWITCH from including the IP address in the PAI on display updates for Polycom's? Other than manually reversing this change in our environment. Thanks, Shaun _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Thu Apr 25 15:25:54 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 25 Apr 2019 16:25:54 +0100 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: So you’re not bridging anywhere, nor answering the call, right? I ask because you talk about when the call is answered, but you’re not bridging it anywhere? On Thu, 25 Apr 2019 at 14:15, Joli Martinez wrote: > Hello, > > This is what I get when I uncomment the lines. I also did a reloadxml. > > right after the last DTMF digit it dies > > ------------------------------------------------------ > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 > sofia/external/12223334444 send dtmf > digit=2 ms=250 samples=2000 > EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua > samsclub.lua) > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT > (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 > sofia/external/12223334444 has executed the last dialplan instruction, > hanging up. > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 Hangup > sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] > > ------------------------------------------------------------ > > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Can you send the console log when it fails? >> >> On Thu, 25 Apr 2019 at 01:31, Joli Martinez wrote: >> >>> Hello, >>> >>> I need my dial plan to dial an extension within then wait until the >>> extension picks up before starting the lua script. I got it to dial the >>> extension but can't seem to get the syntax for the "execute_on_answer" >>> correct. When I uncomment it out it call just fails. What am I missing? >>> >>> ----------------------------- >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ---------------------------------------- >>> >>> On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> That should work properly, what are trying to accomplish exactly? >>>> >>>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> I am trying to find more info on the application "execute_on_answer". >>>>> >>>>> I have a script that calls an IVR then dials a users extension. I >>>>> need to wait for the calling party extension to answer before executing the >>>>> rest of my script. I don't seem to find much documentation on this >>>>> application. Is there another way to test if the calling party has been >>>>> answered? >>>>> >>>>> >>>>> thanks, >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> Build your next product on our scalable cloud platform. >>>>> >>>>> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> -- >>>> Regards, >>>> >>>> David Villasmil >>>> email: david.villasmil.work at gmail.com >>>> phone: +34669448337 >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony.minessale at gmail.com Thu Apr 25 15:59:31 2019 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Thu, 25 Apr 2019 10:59:31 -0500 Subject: [Freeswitch-users] ESL API command to get the status of Freeswitch In-Reply-To: References: Message-ID: Maybe you have a bad client, are you using one of the official ones? See below using raw protocol commands over basic telnet connection to demonstrate. ------ # telnet localhost 8021 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Content-Type: auth/request auth ClueCon Content-Type: command/reply Reply-Text: +OK accepted api status Content-Type: api/response Content-Length: 371 UP 0 years, 1 day, 3 hours, 39 minutes, 51 seconds, 345 milliseconds, 930 microseconds FreeSWITCH (Version 20.19.4-dev git 837c62c 2019-04-24 12:16:15Z 64bit) is ready 246 session(s) since startup 14 session(s) - peak 25, last 5min 14 0 session(s) per Sec out of max 30, peak 2, last 5min 0 1000 session(s) max min idle cpu 0.00/86.43 Current Stack Size/Max 240K/8192K exit Content-Type: command/reply Reply-Text: +OK bye Content-Type: text/disconnect-notice Content-Length: 67 Disconnected, goodbye. See you at ClueCon! http://www.cluecon.com/ Connection closed by foreign host. On Wed, Apr 24, 2019 at 4:34 PM Ramesh Kandasamy wrote: > Hi everyone, > > I am looking for a way to get the status of a Freeswitch from a remote > server through ESL API command. I tried using SendRecv and Api methods > of ESLconnection class to send the 'status' command. But I don't receive > the response. However, after further reading through the confluence, I > realized that it is probably because, 'status' command output doesn't > include with a header named "content-type" that has a value of > "api/response" or "command/reply" and both SendRecv and Api methods look > for this. > > So, the question is what other ESL methods shall be used to get the status > of freeswitch? > > Thanks > Ramesh > > > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Anthony Minessale II Founder, FreeSWITCH. http://freeswitch.com https://youtu.be/l_hOxzCt6X4 https://www.youtube.com/watch?v=oAxXgyx5jUw https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Thu Apr 25 15:59:48 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Thu, 25 Apr 2019 11:59:48 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Hello, What I am trying to accomplish is that once the call gets answered by the initial IVR, the call gets sent to an extension. At that point the call waits for an answer and sends it to my lua script which bridges the call. If I just send the call without the wait_on_answer the call works, but my scripts starts executing right away, so by the time I answer the phone I am hearing the prompts half way through. What am I missing or how can I get it to work? thanks, On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < david.villasmil.work at gmail.com> wrote: > So you’re not bridging anywhere, nor answering the call, right? I ask > because you talk about when the call is answered, but you’re not bridging > it anywhere? > > On Thu, 25 Apr 2019 at 14:15, Joli Martinez wrote: > >> Hello, >> >> This is what I get when I uncomment the lines. I also did a reloadxml. >> >> right after the last DTMF digit it dies >> >> ------------------------------------------------------ >> 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >> sofia/external/12223334444 send dtmf >> digit=2 ms=250 samples=2000 >> EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua >> samsclub.lua) >> 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/12223334444 has executed the last dialplan instruction, >> hanging up. >> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >> >> ------------------------------------------------------------ >> >> On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >>> Can you send the console log when it fails? >>> >>> On Thu, 25 Apr 2019 at 01:31, Joli Martinez wrote: >>> >>>> Hello, >>>> >>>> I need my dial plan to dial an extension within then wait until the >>>> extension picks up before starting the lua script. I got it to dial the >>>> extension but can't seem to get the syntax for the "execute_on_answer" >>>> correct. When I uncomment it out it call just fails. What am I missing? >>>> >>>> ----------------------------- >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ---------------------------------------- >>>> >>>> On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >>>>> That should work properly, what are trying to accomplish exactly? >>>>> >>>>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I am trying to find more info on the application "execute_on_answer". >>>>>> >>>>>> I have a script that calls an IVR then dials a users extension. I >>>>>> need to wait for the calling party extension to answer before executing the >>>>>> rest of my script. I don't seem to find much documentation on this >>>>>> application. Is there another way to test if the calling party has been >>>>>> answered? >>>>>> >>>>>> >>>>>> thanks, >>>>>> >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>> https://signalwire.com >>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>> services. >>>>>> Build your next product on our scalable cloud platform. >>>>>> >>>>>> Join our online community to chat in real time >>>>>> https://signalwire.community >>>>>> >>>>>> Professional FreeSWITCH Services >>>>>> sales at freeswitch.com >>>>>> https://freeswitch.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> https://freeswitch.com/oss >>>>>> https://freeswitch.org/confluence >>>>>> https://cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> https://freeswitch.com >>>>> >>>>> -- >>>>> Regards, >>>>> >>>>> David Villasmil >>>>> email: david.villasmil.work at gmail.com >>>>> phone: +34669448337 >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> Build your next product on our scalable cloud platform. >>>>> >>>>> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> -- >>> Regards, >>> >>> David Villasmil >>> email: david.villasmil.work at gmail.com >>> phone: +34669448337 >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Thu Apr 25 16:22:08 2019 From: brian at freeswitch.com (Brian West) Date: Thu, 25 Apr 2019 11:22:08 -0500 Subject: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's In-Reply-To: References: <8db76c40-1397-adc2-eeb1-e1eb813a4d93@mst.edu> Message-ID: The host in the PAI differ from the host FS is accessed with? and they differ from the proxy? /b On Thu, Apr 25, 2019 at 9:38 AM Shaun Stokes < shaun.stokes at itec-support.co.uk> wrote: > Polycom's are on current firmware '5.7.4'. > > We use FreeSWITCH internally with Kamailio as our internet facing > registrar but FreeSWITCH is grabbing the IP address of Kamailio and using > it in the PAI which is sent to the device. > > I'm going to do some more digging to see if there's anyway we can get > FreeSWITCH to use the domain\context instead of the IP address, if not then > we should be able to fix this with-in Kamailio before the UPDATE is sent > to the device. > > Thanks, > Shaun > ------------------------------ > *From:* Nathan Neulinger > *Sent:* 25 April 2019 14:17:19 > *To:* FreeSWITCH Users Help; Shaun Stokes > *Subject:* Re: [Freeswitch-users] P-Asserted-Identity in display updates > for Polycom's > > Are you running current polycom firmware on the devices? Sounds from the > commit like it was changes after polycom fixed bug on their side. > > -- Nathan > > ------------------------------ > *From:* Shaun Stokes > > *Sent:* Thu, Apr 25, 2019 7:10 AM CDT > *To:* FreeSWITCH Users Help > > *Subject:* [Freeswitch-users] P-Asserted-Identity in display updates for > Polycom's > > After FreeSWITCH 1.8.5 (and 1.8.3) we've noticed that display updates have > changed, on Polycom's (UA/5) for example this now includes the host portion > such as the IP address which breaks directory contact association and > is confusing for the user to see on the display: > "Name" > > Previously in FreeSWITCH 1.8.2 on Polycom's and on most other devices > we've tested this doesn't include the host portion and works perfectly: > "Name" > > This is a result of this change: 9e8ae18f95e > > > How do we stop FreeSWITCH from including the IP address in the PAI on > display updates for Polycom's? Other than manually reversing this change > in our environment. > > Thanks, > Shaun > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Servicessales at freeswitch.comhttps://freeswitch.com > > Official FreeSWITCH Siteshttps://freeswitch.com/osshttps://freeswitch.org/confluencehttps://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-usershttps://freeswitch.com > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 341-6679 > System Administrator - Architect (573) 612-1412 > System and Desktop Infrastructure Team Manager > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Thu Apr 25 16:23:02 2019 From: mario_fs at mgtech.com (mario_fs) Date: Thu, 25 Apr 2019 09:23:02 -0700 Subject: [Freeswitch-users] No Video in conference video mux mode with VP8 but H264 works fine In-Reply-To: References: Message-ID: <68BB357E-491C-4B6B-BCF7-7DD87AE6B6D2@mgtech.com> I can also say VP8 and Bria works fine, also H264. Mario G > On Apr 23, 2019, at 5:21 PM, Seven Du wrote: > > I used to test linphone last year and vp8 bitstream looks has problem but vp8 on bria and chrome is fine. > > On Thu, Apr 18, 2019 at 12:13 AM Faisal Hanif > wrote: > Hi, > > FreeSWITCH Version 1.8.5-6-31281a0bf1~64bit (-6-31281a0bf1 64bit) > > on Debian > Description: Debian GNU/Linux 9.8 (stretch) > Release: 9.8 > Codename: stretch > > SIP Client is Linphone mobile client. Tested on both iOS and Android Client. > > Regards, > > Faisal > > > On Wed, 17 Apr 2019 at 19:23, Anthony Minessale > wrote: > What version of FS and what version of what browser? > > On Wed, Apr 17, 2019 at 1:44 AM Faisal Hanif > wrote: > I have a conference with video-mode mux and I have proper mixed video with H264 but with VP8 only empty canvas sent by FreeSWITCH while video-mode passthrough send proper video with VP8. > > Any idea what's wrong or missing here? > > Regards, > > Faisal > > _________________________________________________________________________ > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Anthony Minessale II > Founder, FreeSWITCH. > http://freeswitch.com > > > https://youtu.be/l_hOxzCt6X4 > https://www.youtube.com/watch?v=oAxXgyx5jUw > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Regards, > > Faisal Hanif > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > About: http://about.me/dujinfang > Blog: http://www.dujinfang.com > Proj: http://www.freeswitch.org.cn _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Thu Apr 25 16:20:13 2019 From: mario_fs at mgtech.com (mario_fs) Date: Thu, 25 Apr 2019 09:20:13 -0700 Subject: [Freeswitch-users] Bridge question In-Reply-To: References: <897890EA-135E-4D8C-9826-E8DF52DEE76A@mgtech.com> Message-ID: I set the effective caller name if a number matches a table, because many numbers call without a name. I don’t know why you would set the internal extensions using sip reply, I only use it for the outgoing 2 cell phones. I am pretty sure you can use it in [] or {} because I think I tested that way but it’s been a while and memory is not what is used to be. As for leg_delay, it’s because we want time to answer the call on internal extensions/ipads before going to cell phones. If you want the cell to take the VM then call_timeout not needed, if you want Freeswitch to take the VM then it's critical and not something with a lot of choice. Keep in mind I want the internals ring 24 seconds, then the internals continue ringing and cells start, but if no answer at cell let Freeswitch take the voicemail. This means we do not want the cell company to take the VM, so the call must be timed out before 30 seconds, actually 24 since call setup is included in that 30. Now…. Most cells switch to VM in 20 seconds so in addition to all this, you need to set the carrie VM to 30 seconds which is the max for att, T-mobile, etc. You can find instructions on the web for each how to do this. Hope this helps a little. Mario G > On Apr 24, 2019, at 2:54 PM, Sean Devoy wrote: > > Mario, > Thanks for your reply. I think I get the majority of what you are saying. > I am pretty sure the I can get it based on your response as my requirements are not as broad as yours. > > If I set the effective caller id name and number to the external values and then use sip_h_In-Reply-To=${sip_call_id} for the internal extensions in the dial-string, I think I am good. > > I was wondering if I could set the channel variables for caller id in the dial-string with {} or in this case []? > > That of course leaves the political debate of how long to delay for VM (call_timeout=) and [leg_delay_start=] for the cell phone connection (attempt). > > Sean > > From: FreeSWITCH-users > On Behalf Of mario_fs > Sent: Wednesday, April 24, 2019 11:40 AM > To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] Bridge question > > I do exactly that and more. First, see this page for what the caller hears: https://freeswitch.org/confluence/display/FREESWITCH/macOS > > I replace the early media ringing with custom prerecorded messages that includes the caller name. > > The I bridge with the parts below built from a LUA program. The called cell phone displays the callerid of the original caller (that took a year to figure out). > > What you are after is "sip_h_In-Reply-To=${sip_call_id}”. But… keep two things in mind: First. Your ITSP must support it, in my case I use Callcentric and you MUST inform them you are doing this so they can turn it on for your account. Second, the biggie: with stir/shaken (https://www.fcc.gov/call-authentication ) coming up I don’t think this will be possible anymore. See my comment below. > > {originate_timeout=48,alert_info=>;info=Family}${group_call(deskphone@${domain_name}+A)},${group_call(iPads@${domain_name}+A)},${group_call(iPhones@${domain_name}+A)},[leg_delay_start=24,leg_timeout=24,sip_h_In-Reply-To=${sip_call_id}]sofia/gateway/${dial_gateway}/12121234567,[leg_delay_start=24,leg_timeout=24,sip_h_In-Reply-To=${sip_call_id}]sofia/gateway/${dial_gateway}/12127654321 > > More than you asked about but important to note: > Because of problems below (there are more) bridging to a cell phone, I am trying something different and if it works will put it in the wiki. Instead of bridging the call I want to make the cell phone a simple Freeswitch extension. That resolves all the problems including passing callerID. This is done using VPN and a SIP app, in this case Bria for iPhone which uses Apple Notifications to trigger the app when a call comes on. Only problem is… VPN on demand does not work with Bria because it uses sockets instead of the recommended Apple API. So I have been trying to convince Counterpath to add one DNS lookup to trigger VPN On Demand. This solution would be 1000 percent better than bridging. > > Problems with this method: > Due to the T-Mobile (ATT and Verizon same) 30 second ring limit before voicemail, we cannot ring our iPhones at the same time as the local phones, so people have to wait a very long time before the cell rings. > When the iPhones do ring, we may miss a call simply because we cannot get the iPhone out in 20-30 seconds. > If the cellular network has a quirk, the iPhone will not connect for a long time, then a voicemail is taken by the iPhone VM( which we never look at) instead of Freeswitch, so the voicemail is essentially lost. > > > > > > On Apr 23, 2019, at 2:19 PM, Sean Devoy > wrote: > > Hi, > > My customer wants to ring the local extension, then 15 seconds later connect their cell phone. I have the leg_delay_start working fine. What I don’t know is how to pass the internal Caller ID to one and the external caller id to the other? > > Thanks, > Sean > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Thu Apr 25 17:10:19 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 25 Apr 2019 18:10:19 +0100 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: I understand, but you're not doing anything with call. You need to set the execute on answer either befire the bridge or on the bridge itself. If you want to manipulate the incoming call with the lua, then just do; Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez wrote: > Hello, > > What I am trying to accomplish is that once the call gets answered by the > initial IVR, the call gets sent to an extension. At that point the call > waits for an answer and sends it to my lua script which bridges the call. > > If I just send the call without the wait_on_answer the call works, but my > scripts starts executing right away, so by the time I answer the phone I am > hearing the prompts half way through. > > What am I missing or how can I get it to work? > > > thanks, > > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> So you’re not bridging anywhere, nor answering the call, right? I ask >> because you talk about when the call is answered, but you’re not bridging >> it anywhere? >> >> On Thu, 25 Apr 2019 at 14:15, Joli Martinez wrote: >> >>> Hello, >>> >>> This is what I get when I uncomment the lines. I also did a reloadxml. >>> >>> right after the last DTMF digit it dies >>> >>> ------------------------------------------------------ >>> 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>> sofia/external/12223334444 send dtmf >>> digit=2 ms=250 samples=2000 >>> EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua >>> samsclub.lua) >>> 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/12223334444 has executed the last dialplan instruction, >>> hanging up. >>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >>> >>> ------------------------------------------------------------ >>> >>> On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> Can you send the console log when it fails? >>>> >>>> On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> I need my dial plan to dial an extension within then wait until the >>>>> extension picks up before starting the lua script. I got it to dial the >>>>> extension but can't seem to get the syntax for the "execute_on_answer" >>>>> correct. When I uncomment it out it call just fails. What am I missing? >>>>> >>>>> ----------------------------- >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ---------------------------------------- >>>>> >>>>> On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >>>>>> That should work properly, what are trying to accomplish exactly? >>>>>> >>>>>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>>>> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I am trying to find more info on the application "execute_on_answer". >>>>>>> >>>>>>> I have a script that calls an IVR then dials a users extension. I >>>>>>> need to wait for the calling party extension to answer before executing the >>>>>>> rest of my script. I don't seem to find much documentation on this >>>>>>> application. Is there another way to test if the calling party has been >>>>>>> answered? >>>>>>> >>>>>>> >>>>>>> thanks, >>>>>>> >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>> https://signalwire.com >>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>> services. >>>>>>> Build your next product on our scalable cloud platform. >>>>>>> >>>>>>> Join our online community to chat in real time >>>>>>> https://signalwire.community >>>>>>> >>>>>>> Professional FreeSWITCH Services >>>>>>> sales at freeswitch.com >>>>>>> https://freeswitch.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> https://freeswitch.com/oss >>>>>>> https://freeswitch.org/confluence >>>>>>> https://cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> https://freeswitch.com >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> David Villasmil >>>>>> email: david.villasmil.work at gmail.com >>>>>> phone: +34669448337 >>>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>> https://signalwire.com >>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>> services. >>>>>> Build your next product on our scalable cloud platform. >>>>>> >>>>>> Join our online community to chat in real time >>>>>> https://signalwire.community >>>>>> >>>>>> Professional FreeSWITCH Services >>>>>> sales at freeswitch.com >>>>>> https://freeswitch.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> https://freeswitch.com/oss >>>>>> https://freeswitch.org/confluence >>>>>> https://cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> https://freeswitch.com >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> Build your next product on our scalable cloud platform. >>>>> >>>>> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> -- >>>> Regards, >>>> >>>> David Villasmil >>>> email: david.villasmil.work at gmail.com >>>> phone: +34669448337 >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From imfanee at gmail.com Thu Apr 25 18:00:08 2019 From: imfanee at gmail.com (Faisal Hanif) Date: Thu, 25 Apr 2019 23:00:08 +0500 Subject: [Freeswitch-users] No Video in conference video mux mode with VP8 but H264 works fine In-Reply-To: <68BB357E-491C-4B6B-BCF7-7DD87AE6B6D2@mgtech.com> References: <68BB357E-491C-4B6B-BCF7-7DD87AE6B6D2@mgtech.com> Message-ID: Bria on Android ? On Thu, 25 Apr 2019 at 22:17, mario_fs wrote: > I can also say VP8 and Bria works fine, also H264. > Mario G > > On Apr 23, 2019, at 5:21 PM, Seven Du wrote: > > I used to test linphone last year and vp8 bitstream looks has problem but > vp8 on bria and chrome is fine. > > On Thu, Apr 18, 2019 at 12:13 AM Faisal Hanif wrote: > >> Hi, >> >> FreeSWITCH Version 1.8.5-6-31281a0bf1~64bit (-6-31281a0bf1 64bit) >> >> on Debian >> Description: Debian GNU/Linux 9.8 (stretch) >> Release: 9.8 >> Codename: stretch >> >> SIP Client is Linphone mobile client. Tested on both iOS and Android >> Client. >> >> Regards, >> >> Faisal >> >> >> On Wed, 17 Apr 2019 at 19:23, Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> What version of FS and what version of what browser? >>> >>> On Wed, Apr 17, 2019 at 1:44 AM Faisal Hanif wrote: >>> >>>> I have a conference with video-mode mux and I have proper mixed video >>>> with H264 but with VP8 only empty canvas sent by FreeSWITCH while >>>> video-mode passthrough send proper video with VP8. >>>> >>>> Any idea what's wrong or missing here? >>>> >>>> Regards, >>>> >>>> Faisal >>>> >>>> >>>> _________________________________________________________________________ >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> >>> >>> -- >>> Anthony Minessale II >>> Founder, FreeSWITCH. >>> http://freeswitch.com >>> >>> >>> https://youtu.be/l_hOxzCt6X4 >>> https://www.youtube.com/watch?v=oAxXgyx5jUw >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> -- >> Regards, >> >> Faisal Hanif >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > About: http://about.me/dujinfang > Blog: http://www.dujinfang.com > Proj: http://www.freeswitch.org.cn > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, Faisal Hanif -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Thu Apr 25 18:01:42 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Thu, 25 Apr 2019 14:01:42 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Hello, ok, if I put the line back to just send the call to my lua script it works, but the script starts executing. I need for it to wait until someone answeres the phone before executing. so on my lua script instead of the first line reading session:answer() can I replace it with session:execute_on_answer()? Or what would be the best way to tell my lua script to wait until the phone is answered before continuing execution? thanks, On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > I understand, but you're not doing anything with call. You need to set the > execute on answer either befire the bridge or on the bridge itself. > If you want to manipulate the incoming call with the lua, then just do; > > > > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez wrote: > >> Hello, >> >> What I am trying to accomplish is that once the call gets answered by the >> initial IVR, the call gets sent to an extension. At that point the call >> waits for an answer and sends it to my lua script which bridges the call. >> >> If I just send the call without the wait_on_answer the call works, but my >> scripts starts executing right away, so by the time I answer the phone I am >> hearing the prompts half way through. >> >> What am I missing or how can I get it to work? >> >> >> thanks, >> >> On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >>> So you’re not bridging anywhere, nor answering the call, right? I ask >>> because you talk about when the call is answered, but you’re not bridging >>> it anywhere? >>> >>> On Thu, 25 Apr 2019 at 14:15, Joli Martinez wrote: >>> >>>> Hello, >>>> >>>> This is what I get when I uncomment the lines. I also did a reloadxml. >>>> >>>> right after the last DTMF digit it dies >>>> >>>> ------------------------------------------------------ >>>> 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/12223334444 send dtmf >>>> digit=2 ms=250 samples=2000 >>>> EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua >>>> samsclub.lua) >>>> 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >>>> sofia/external/12223334444 has executed the last dialplan instruction, >>>> hanging up. >>>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >>>> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >>>> >>>> ------------------------------------------------------------ >>>> >>>> On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >>>>> Can you send the console log when it fails? >>>>> >>>>> On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> I need my dial plan to dial an extension within then wait until the >>>>>> extension picks up before starting the lua script. I got it to dial the >>>>>> extension but can't seem to get the syntax for the "execute_on_answer" >>>>>> correct. When I uncomment it out it call just fails. What am I missing? >>>>>> >>>>>> ----------------------------- >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ---------------------------------------- >>>>>> >>>>>> On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>>>>> david.villasmil.work at gmail.com> wrote: >>>>>> >>>>>>> That should work properly, what are trying to accomplish exactly? >>>>>>> >>>>>>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>>>>> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> I am trying to find more info on the application >>>>>>>> "execute_on_answer". >>>>>>>> >>>>>>>> I have a script that calls an IVR then dials a users extension. I >>>>>>>> need to wait for the calling party extension to answer before executing the >>>>>>>> rest of my script. I don't seem to find much documentation on this >>>>>>>> application. Is there another way to test if the calling party has been >>>>>>>> answered? >>>>>>>> >>>>>>>> >>>>>>>> thanks, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>>> https://signalwire.com >>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>>> services. >>>>>>>> Build your next product on our scalable cloud platform. >>>>>>>> >>>>>>>> Join our online community to chat in real time >>>>>>>> https://signalwire.community >>>>>>>> >>>>>>>> Professional FreeSWITCH Services >>>>>>>> sales at freeswitch.com >>>>>>>> https://freeswitch.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> https://freeswitch.com/oss >>>>>>>> https://freeswitch.org/confluence >>>>>>>> https://cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> https://freeswitch.com >>>>>>> >>>>>>> -- >>>>>>> Regards, >>>>>>> >>>>>>> David Villasmil >>>>>>> email: david.villasmil.work at gmail.com >>>>>>> phone: +34669448337 >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>> https://signalwire.com >>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>> services. >>>>>>> Build your next product on our scalable cloud platform. >>>>>>> >>>>>>> Join our online community to chat in real time >>>>>>> https://signalwire.community >>>>>>> >>>>>>> Professional FreeSWITCH Services >>>>>>> sales at freeswitch.com >>>>>>> https://freeswitch.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> https://freeswitch.com/oss >>>>>>> https://freeswitch.org/confluence >>>>>>> https://cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> https://freeswitch.com >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>> https://signalwire.com >>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>> services. >>>>>> Build your next product on our scalable cloud platform. >>>>>> >>>>>> Join our online community to chat in real time >>>>>> https://signalwire.community >>>>>> >>>>>> Professional FreeSWITCH Services >>>>>> sales at freeswitch.com >>>>>> https://freeswitch.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> https://freeswitch.com/oss >>>>>> https://freeswitch.org/confluence >>>>>> https://cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> https://freeswitch.com >>>>> >>>>> -- >>>>> Regards, >>>>> >>>>> David Villasmil >>>>> email: david.villasmil.work at gmail.com >>>>> phone: +34669448337 >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> Build your next product on our scalable cloud platform. >>>>> >>>>> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> -- >>> Regards, >>> >>> David Villasmil >>> email: david.villasmil.work at gmail.com >>> phone: +34669448337 >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Thu Apr 25 18:05:06 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Thu, 25 Apr 2019 14:05:06 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Hello, This is what I get when I run my lua script with the first line reading session:execute_on_answer() -------------------------------------------- 2019-04-25 11:02:18.131954 [ERR] mod_lua.cpp:203 /usr/share/freeswitch/scripts/test.lua:88: attempt to call method 'execute_on_answer' () stack traceback: /usr/share/freeswitch/scripts/test.lua:88: in main chunk -------------------------------------------- On Thu, Apr 25, 2019 at 2:01 PM Joli Martinez wrote: > Hello, > > ok, if I put the line back to just send the call to my lua script it > works, but the script starts executing. I need for it to wait until > someone answeres the phone before executing. so on my lua script instead > of the first line reading session:answer() can I replace it with > session:execute_on_answer()? > > Or what would be the best way to tell my lua script to wait until the > phone is answered before continuing execution? > > thanks, > > > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> I understand, but you're not doing anything with call. You need to set >> the execute on answer either befire the bridge or on the bridge itself. >> If you want to manipulate the incoming call with the lua, then just do; >> >> >> >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> >> >> On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez >> wrote: >> >>> Hello, >>> >>> What I am trying to accomplish is that once the call gets answered by >>> the initial IVR, the call gets sent to an extension. At that point the >>> call waits for an answer and sends it to my lua script which bridges the >>> call. >>> >>> If I just send the call without the wait_on_answer the call works, but >>> my scripts starts executing right away, so by the time I answer the phone I >>> am hearing the prompts half way through. >>> >>> What am I missing or how can I get it to work? >>> >>> >>> thanks, >>> >>> On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> So you’re not bridging anywhere, nor answering the call, right? I ask >>>> because you talk about when the call is answered, but you’re not bridging >>>> it anywhere? >>>> >>>> On Thu, 25 Apr 2019 at 14:15, Joli Martinez >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> This is what I get when I uncomment the lines. I also did a reloadxml. >>>>> >>>>> right after the last DTMF digit it dies >>>>> >>>>> ------------------------------------------------------ >>>>> 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>>>> sofia/external/12223334444 send dtmf >>>>> digit=2 ms=250 samples=2000 >>>>> EXECUTE sofia/external/12223334444 >>>>> export(nolocal:execute_on_answer=lua samsclub.lua) >>>>> 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>>>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>>>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >>>>> sofia/external/12223334444 has executed the last dialplan instruction, >>>>> hanging up. >>>>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >>>>> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >>>>> >>>>> ------------------------------------------------------------ >>>>> >>>>> On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >>>>>> Can you send the console log when it fails? >>>>>> >>>>>> On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>>>>> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I need my dial plan to dial an extension within then wait until the >>>>>>> extension picks up before starting the lua script. I got it to dial the >>>>>>> extension but can't seem to get the syntax for the "execute_on_answer" >>>>>>> correct. When I uncomment it out it call just fails. What am I missing? >>>>>>> >>>>>>> ----------------------------- >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ---------------------------------------- >>>>>>> >>>>>>> On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>>>>>> david.villasmil.work at gmail.com> wrote: >>>>>>> >>>>>>>> That should work properly, what are trying to accomplish exactly? >>>>>>>> >>>>>>>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hello, >>>>>>>>> >>>>>>>>> I am trying to find more info on the application >>>>>>>>> "execute_on_answer". >>>>>>>>> >>>>>>>>> I have a script that calls an IVR then dials a users extension. I >>>>>>>>> need to wait for the calling party extension to answer before executing the >>>>>>>>> rest of my script. I don't seem to find much documentation on this >>>>>>>>> application. Is there another way to test if the calling party has been >>>>>>>>> answered? >>>>>>>>> >>>>>>>>> >>>>>>>>> thanks, >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>>>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>>>> https://signalwire.com >>>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and >>>>>>>>> PSTN services. >>>>>>>>> Build your next product on our scalable cloud platform. >>>>>>>>> >>>>>>>>> Join our online community to chat in real time >>>>>>>>> https://signalwire.community >>>>>>>>> >>>>>>>>> Professional FreeSWITCH Services >>>>>>>>> sales at freeswitch.com >>>>>>>>> https://freeswitch.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> https://freeswitch.com/oss >>>>>>>>> https://freeswitch.org/confluence >>>>>>>>> https://cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> https://freeswitch.com >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> >>>>>>>> David Villasmil >>>>>>>> email: david.villasmil.work at gmail.com >>>>>>>> phone: +34669448337 >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>>> https://signalwire.com >>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>>> services. >>>>>>>> Build your next product on our scalable cloud platform. >>>>>>>> >>>>>>>> Join our online community to chat in real time >>>>>>>> https://signalwire.community >>>>>>>> >>>>>>>> Professional FreeSWITCH Services >>>>>>>> sales at freeswitch.com >>>>>>>> https://freeswitch.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> https://freeswitch.com/oss >>>>>>>> https://freeswitch.org/confluence >>>>>>>> https://cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> https://freeswitch.com >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>> https://signalwire.com >>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>> services. >>>>>>> Build your next product on our scalable cloud platform. >>>>>>> >>>>>>> Join our online community to chat in real time >>>>>>> https://signalwire.community >>>>>>> >>>>>>> Professional FreeSWITCH Services >>>>>>> sales at freeswitch.com >>>>>>> https://freeswitch.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> https://freeswitch.com/oss >>>>>>> https://freeswitch.org/confluence >>>>>>> https://cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> https://freeswitch.com >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> David Villasmil >>>>>> email: david.villasmil.work at gmail.com >>>>>> phone: +34669448337 >>>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>> https://signalwire.com >>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>> services. >>>>>> Build your next product on our scalable cloud platform. >>>>>> >>>>>> Join our online community to chat in real time >>>>>> https://signalwire.community >>>>>> >>>>>> Professional FreeSWITCH Services >>>>>> sales at freeswitch.com >>>>>> https://freeswitch.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> https://freeswitch.com/oss >>>>>> https://freeswitch.org/confluence >>>>>> https://cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> https://freeswitch.com >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> Build your next product on our scalable cloud platform. >>>>> >>>>> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> -- >>>> Regards, >>>> >>>> David Villasmil >>>> email: david.villasmil.work at gmail.com >>>> phone: +34669448337 >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shaun.stokes at itec-support.co.uk Thu Apr 25 18:14:32 2019 From: shaun.stokes at itec-support.co.uk (Shaun Stokes) Date: Thu, 25 Apr 2019 18:14:32 +0000 Subject: [Freeswitch-users] P-Asserted-Identity in display updates fortPolycom's In-Reply-To: References: <8db76c40-1397-adc2-eeb1-e1eb813a4d93@mst.edu> , Message-ID: The host in our PAI is the proxy (Kamailio) which sits between the device and FreeSWITCH. Kamailio proxies all messages between the device and FreeSWITCH on an internal address. The device communicates with Kamilio on an external address and has no communication with FreeSWITCH other than RTP. - Shaun Get Outlook for Android From: Brian West Sent: Thursday 25 April, 19:15 Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates forPolycom's To: FreeSWITCH Users Help The host in the PAI differ from the host FS is accessed with? and they differ from the proxy? /b On Thu, Apr 25, 2019 at 9:38 AM Shaun Stokes > wrote: Polycom's are on current firmware '5.7.4'. We use FreeSWITCH internally with Kamailio as our internet facing registrar but FreeSWITCH is grabbing the IP address of Kamailio and using it in the PAI which is sent to the device. I'm going to do some more digging to see if there's anyway we can get FreeSWITCH to use the domain\context instead of the IP address, if not then we should be able to fix this with-in Kamailio before the UPDATE is sent to the device. Thanks, Shaun From: Nathan Neulinger > Sent: 25 April 2019 14:17:19 To: FreeSWITCH Users Help; Shaun Stokes Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's Are you running current polycom firmware on the devices? Sounds from the commit like it was changes after polycom fixed bug on their side. -- Nathan From: Shaun Stokes Sent: Thu, Apr 25, 2019 7:10 AM CDT To: FreeSWITCH Users Help Subject: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's After FreeSWITCH 1.8.5 (and 1.8.3) we've noticed that display updates have changed, on Polycom's (UA/5) for example this now includes the host portion such as the IP address which breaks directory contact association and is confusing for the user to see on the display: "Name" Previously in FreeSWITCH 1.8.2 on Polycom's and on most other devices we've tested this doesn't include the host portion and works perfectly: "Name" This is a result of this change: 9e8ae18f95e How do we stop FreeSWITCH from including the IP address in the PAI on display updates for Polycom's? Other than manually reversing this change in our environment. Thanks, Shaun _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramelcom at gmail.com Thu Apr 25 19:04:51 2019 From: ramelcom at gmail.com (Ramesh Kandasamy) Date: Thu, 25 Apr 2019 13:04:51 -0600 Subject: [Freeswitch-users] ESL API command to get the status of Freeswitch In-Reply-To: References: Message-ID: Thanks Anthony for the response! I am using ESL library that comes with Freeswitch source code. I am trying to use C# ESL APIs as below to send the 'api status' command to the Freeswitch VM from a remote server. //Initializes a new instance of ESLconnection, and connects to the host $host on the port $port, and supplies $password to freeswitch ESLconnection eslConnection = new ESLconnection(hostName, "8021", password); if (eslConnection.Connected() != ESL_SUCCESS) { Console.WriteLine("Error connecting to FreeSwitch"); return null; } Console.WriteLine("successful connection"); ESLevent eslEvent = eslConnection.SendRecv("api status"); if (eslEvent == null) { Console.WriteLine("Error sending command"); return; } if (eslConnection.Connected() == ESL_SUCCESS) { eslEvent = eslConnection.RecvEvent(); Console.WriteLine(eslEvent.Serialize(String.Empty)); } With this am able to connect successfully. But unable to see any response. I see the same symptoms 'conference xml_list' etc. But If I subscribe for HEARTBEAT event as below instead of 'api status' shown above, I see the events coming at regular intervals. ESLevent eslEvent = eslConnection.SendRecv("event xml HEARTBEAT"); Am I using something wrong above? Thanks Ramesh On Thu, Apr 25, 2019 at 10:31 AM Anthony Minessale < anthony.minessale at gmail.com> wrote: > Maybe you have a bad client, are you using one of the official ones? > See below using raw protocol commands over basic telnet connection to > demonstrate. > > ------ > > # telnet localhost 8021 > Trying ::1... > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > Content-Type: auth/request > > auth ClueCon > > Content-Type: command/reply > Reply-Text: +OK accepted > > api status > > Content-Type: api/response > Content-Length: 371 > > UP 0 years, 1 day, 3 hours, 39 minutes, 51 seconds, 345 milliseconds, 930 > microseconds > FreeSWITCH (Version 20.19.4-dev git 837c62c 2019-04-24 12:16:15Z 64bit) is > ready > 246 session(s) since startup > 14 session(s) - peak 25, last 5min 14 > 0 session(s) per Sec out of max 30, peak 2, last 5min 0 > 1000 session(s) max > min idle cpu 0.00/86.43 > Current Stack Size/Max 240K/8192K > > exit > > Content-Type: command/reply > Reply-Text: +OK bye > > Content-Type: text/disconnect-notice > Content-Length: 67 > > Disconnected, goodbye. > See you at ClueCon! http://www.cluecon.com/ > Connection closed by foreign host. > > > On Wed, Apr 24, 2019 at 4:34 PM Ramesh Kandasamy > wrote: > >> Hi everyone, >> >> I am looking for a way to get the status of a Freeswitch from a remote >> server through ESL API command. I tried using SendRecv and Api methods >> of ESLconnection class to send the 'status' command. But I don't receive >> the response. However, after further reading through the confluence, I >> realized that it is probably because, 'status' command output doesn't >> include with a header named "content-type" that has a value of >> "api/response" or "command/reply" and both SendRecv and Api methods look >> for this. >> >> So, the question is what other ESL methods shall be used to get the >> status of freeswitch? >> >> Thanks >> Ramesh >> >> >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Anthony Minessale II > Founder, FreeSWITCH. > http://freeswitch.com > > > https://youtu.be/l_hOxzCt6X4 > https://www.youtube.com/watch?v=oAxXgyx5jUw > https://www.youtube.com/watch?v=9XXgW34t40s > https://www.youtube.com/watch?v=NLaDpGQuZDA > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Thu Apr 25 21:03:19 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 25 Apr 2019 22:03:19 +0100 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: You need to bridge the call SOMEWHERE before you can run execute_on_answer. So what you have to do, send the call out setting the execute_on_answer. Something like: Answer() Play some message Bridge with {execute_on_answer=‘lua myanswer.lua’}sofia/gateway/mygw/1224 Then, when the BRIDGE is answered, the lua will execute. You can’t execute on answer on a call that’s never answered. On Thu, 25 Apr 2019 at 20:08, Joli Martinez wrote: > Hello, > > ok, if I put the line back to just send the call to my lua script it > works, but the script starts executing. I need for it to wait until > someone answeres the phone before executing. so on my lua script instead > of the first line reading session:answer() can I replace it with > session:execute_on_answer()? > > Or what would be the best way to tell my lua script to wait until the > phone is answered before continuing execution? > > thanks, > > > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> I understand, but you're not doing anything with call. You need to set >> the execute on answer either befire the bridge or on the bridge itself. >> If you want to manipulate the incoming call with the lua, then just do; >> >> >> >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> >> >> On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez >> wrote: >> >>> Hello, >>> >>> What I am trying to accomplish is that once the call gets answered by >>> the initial IVR, the call gets sent to an extension. At that point the >>> call waits for an answer and sends it to my lua script which bridges the >>> call. >>> >>> If I just send the call without the wait_on_answer the call works, but >>> my scripts starts executing right away, so by the time I answer the phone I >>> am hearing the prompts half way through. >>> >>> What am I missing or how can I get it to work? >>> >>> >>> thanks, >>> >>> On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>> So you’re not bridging anywhere, nor answering the call, right? I ask >>>> because you talk about when the call is answered, but you’re not bridging >>>> it anywhere? >>>> >>>> On Thu, 25 Apr 2019 at 14:15, Joli Martinez >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> This is what I get when I uncomment the lines. I also did a reloadxml. >>>>> >>>>> right after the last DTMF digit it dies >>>>> >>>>> ------------------------------------------------------ >>>>> 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>>>> sofia/external/12223334444 send dtmf >>>>> digit=2 ms=250 samples=2000 >>>>> EXECUTE sofia/external/12223334444 >>>>> export(nolocal:execute_on_answer=lua samsclub.lua) >>>>> 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>>>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>>>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >>>>> sofia/external/12223334444 has executed the last dialplan instruction, >>>>> hanging up. >>>>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >>>>> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >>>>> >>>>> ------------------------------------------------------------ >>>>> >>>>> On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >>>>>> Can you send the console log when it fails? >>>>>> >>>>>> On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>>>>> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I need my dial plan to dial an extension within then wait until the >>>>>>> extension picks up before starting the lua script. I got it to dial the >>>>>>> extension but can't seem to get the syntax for the "execute_on_answer" >>>>>>> correct. When I uncomment it out it call just fails. What am I missing? >>>>>>> >>>>>>> ----------------------------- >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ---------------------------------------- >>>>>>> >>>>>>> On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>>>>>> david.villasmil.work at gmail.com> wrote: >>>>>>> >>>>>>>> That should work properly, what are trying to accomplish exactly? >>>>>>>> >>>>>>>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hello, >>>>>>>>> >>>>>>>>> I am trying to find more info on the application >>>>>>>>> "execute_on_answer". >>>>>>>>> >>>>>>>>> I have a script that calls an IVR then dials a users extension. I >>>>>>>>> need to wait for the calling party extension to answer before executing the >>>>>>>>> rest of my script. I don't seem to find much documentation on this >>>>>>>>> application. Is there another way to test if the calling party has been >>>>>>>>> answered? >>>>>>>>> >>>>>>>>> >>>>>>>>> thanks, >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>>>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>>>> https://signalwire.com >>>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and >>>>>>>>> PSTN services. >>>>>>>>> Build your next product on our scalable cloud platform. >>>>>>>>> >>>>>>>>> Join our online community to chat in real time >>>>>>>>> https://signalwire.community >>>>>>>>> >>>>>>>>> Professional FreeSWITCH Services >>>>>>>>> sales at freeswitch.com >>>>>>>>> https://freeswitch.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> https://freeswitch.com/oss >>>>>>>>> https://freeswitch.org/confluence >>>>>>>>> https://cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> https://freeswitch.com >>>>>>>> >>>>>>>> -- >>>>>>>> Regards, >>>>>>>> >>>>>>>> David Villasmil >>>>>>>> email: david.villasmil.work at gmail.com >>>>>>>> phone: +34669448337 >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>>> https://signalwire.com >>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>>> services. >>>>>>>> Build your next product on our scalable cloud platform. >>>>>>>> >>>>>>>> Join our online community to chat in real time >>>>>>>> https://signalwire.community >>>>>>>> >>>>>>>> Professional FreeSWITCH Services >>>>>>>> sales at freeswitch.com >>>>>>>> https://freeswitch.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> https://freeswitch.com/oss >>>>>>>> https://freeswitch.org/confluence >>>>>>>> https://cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> https://freeswitch.com >>>>>>> >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>> https://signalwire.com >>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>> services. >>>>>>> Build your next product on our scalable cloud platform. >>>>>>> >>>>>>> Join our online community to chat in real time >>>>>>> https://signalwire.community >>>>>>> >>>>>>> Professional FreeSWITCH Services >>>>>>> sales at freeswitch.com >>>>>>> https://freeswitch.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> https://freeswitch.com/oss >>>>>>> https://freeswitch.org/confluence >>>>>>> https://cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> https://freeswitch.com >>>>>> >>>>>> -- >>>>>> Regards, >>>>>> >>>>>> David Villasmil >>>>>> email: david.villasmil.work at gmail.com >>>>>> phone: +34669448337 >>>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>> https://signalwire.com >>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>> services. >>>>>> Build your next product on our scalable cloud platform. >>>>>> >>>>>> Join our online community to chat in real time >>>>>> https://signalwire.community >>>>>> >>>>>> Professional FreeSWITCH Services >>>>>> sales at freeswitch.com >>>>>> https://freeswitch.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> https://freeswitch.com/oss >>>>>> https://freeswitch.org/confluence >>>>>> https://cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> https://freeswitch.com >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> Build your next product on our scalable cloud platform. >>>>> >>>>> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> -- >>>> Regards, >>>> >>>> David Villasmil >>>> email: david.villasmil.work at gmail.com >>>> phone: +34669448337 >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From steveayre at gmail.com Thu Apr 25 23:10:14 2019 From: steveayre at gmail.com (Steven Ayre) Date: Fri, 26 Apr 2019 00:10:14 +0100 Subject: [Freeswitch-users] ESL API command to get the status of Freeswitch In-Reply-To: References: Message-ID: You're setting eslEvent as the return value of SendRecv but not inspecting it and then overwriting it with RecvEvent. Have you tried checking what the SendRecv return value looks like serialised? It should be there. On Thu, 25 Apr 2019 at 20:17, Ramesh Kandasamy wrote: > Thanks Anthony for the response! > > I am using ESL library that comes with Freeswitch source code. > I am trying to use C# ESL APIs as below to send the 'api status' command > to the Freeswitch VM from a remote server. > > //Initializes a new instance of ESLconnection, and connects to > the host $host on the port $port, and supplies $password to freeswitch > ESLconnection eslConnection = new ESLconnection(hostName, > "8021", password); > > if (eslConnection.Connected() != ESL_SUCCESS) > { > Console.WriteLine("Error connecting to FreeSwitch"); > return null; > } > > Console.WriteLine("successful connection"); > > ESLevent eslEvent = eslConnection.SendRecv("api status"); > if (eslEvent == null) > { > Console.WriteLine("Error sending command"); > return; > } > if (eslConnection.Connected() == ESL_SUCCESS) > { > eslEvent = eslConnection.RecvEvent(); > Console.WriteLine(eslEvent.Serialize(String.Empty)); > } > > With this am able to connect successfully. But unable to see any response. > I see the same symptoms 'conference xml_list' etc. > > But If I subscribe for HEARTBEAT event as below instead of 'api status' > shown above, I see the events coming at regular intervals. > ESLevent eslEvent = eslConnection.SendRecv("event xml > HEARTBEAT"); > > Am I using something wrong above? > > Thanks > Ramesh > > On Thu, Apr 25, 2019 at 10:31 AM Anthony Minessale < > anthony.minessale at gmail.com> wrote: > >> Maybe you have a bad client, are you using one of the official ones? >> See below using raw protocol commands over basic telnet connection to >> demonstrate. >> >> ------ >> >> # telnet localhost 8021 >> Trying ::1... >> Trying 127.0.0.1... >> Connected to localhost. >> Escape character is '^]'. >> Content-Type: auth/request >> >> auth ClueCon >> >> Content-Type: command/reply >> Reply-Text: +OK accepted >> >> api status >> >> Content-Type: api/response >> Content-Length: 371 >> >> UP 0 years, 1 day, 3 hours, 39 minutes, 51 seconds, 345 milliseconds, 930 >> microseconds >> FreeSWITCH (Version 20.19.4-dev git 837c62c 2019-04-24 12:16:15Z 64bit) >> is ready >> 246 session(s) since startup >> 14 session(s) - peak 25, last 5min 14 >> 0 session(s) per Sec out of max 30, peak 2, last 5min 0 >> 1000 session(s) max >> min idle cpu 0.00/86.43 >> Current Stack Size/Max 240K/8192K >> >> exit >> >> Content-Type: command/reply >> Reply-Text: +OK bye >> >> Content-Type: text/disconnect-notice >> Content-Length: 67 >> >> Disconnected, goodbye. >> See you at ClueCon! http://www.cluecon.com/ >> Connection closed by foreign host. >> >> >> On Wed, Apr 24, 2019 at 4:34 PM Ramesh Kandasamy >> wrote: >> >>> Hi everyone, >>> >>> I am looking for a way to get the status of a Freeswitch from a remote >>> server through ESL API command. I tried using SendRecv and Api methods >>> of ESLconnection class to send the 'status' command. But I don't receive >>> the response. However, after further reading through the confluence, I >>> realized that it is probably because, 'status' command output doesn't >>> include with a header named "content-type" that has a value of >>> "api/response" or "command/reply" and both SendRecv and Api methods look >>> for this. >>> >>> So, the question is what other ESL methods shall be used to get the >>> status of freeswitch? >>> >>> Thanks >>> Ramesh >>> >>> >>> >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> -- >> Anthony Minessale II >> Founder, FreeSWITCH. >> http://freeswitch.com >> >> >> https://youtu.be/l_hOxzCt6X4 >> https://www.youtube.com/watch?v=oAxXgyx5jUw >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramelcom at gmail.com Thu Apr 25 23:52:01 2019 From: ramelcom at gmail.com (Ramesh Kandasamy) Date: Thu, 25 Apr 2019 17:52:01 -0600 Subject: [Freeswitch-users] ESL API command to get the status of Freeswitch In-Reply-To: References: Message-ID: Thanks ! Yes. I serialized the ESL event I got it for SendRecv and see the output now. Thanks again for all your help. - Ramesh On Thu, Apr 25, 2019 at 5:16 PM Steven Ayre wrote: > You're setting eslEvent as the return value of SendRecv but not inspecting > it and then overwriting it with RecvEvent. > > Have you tried checking what the SendRecv return value looks like > serialised? It should be there. > > On Thu, 25 Apr 2019 at 20:17, Ramesh Kandasamy wrote: > >> Thanks Anthony for the response! >> >> I am using ESL library that comes with Freeswitch source code. >> I am trying to use C# ESL APIs as below to send the 'api status' command >> to the Freeswitch VM from a remote server. >> >> //Initializes a new instance of ESLconnection, and connects >> to the host $host on the port $port, and supplies $password to freeswitch >> ESLconnection eslConnection = new ESLconnection(hostName, >> "8021", password); >> >> if (eslConnection.Connected() != ESL_SUCCESS) >> { >> Console.WriteLine("Error connecting to FreeSwitch"); >> return null; >> } >> >> Console.WriteLine("successful connection"); >> >> ESLevent eslEvent = eslConnection.SendRecv("api status"); >> if (eslEvent == null) >> { >> Console.WriteLine("Error sending command"); >> return; >> } >> if (eslConnection.Connected() == ESL_SUCCESS) >> { >> eslEvent = eslConnection.RecvEvent(); >> Console.WriteLine(eslEvent.Serialize(String.Empty)); >> } >> >> With this am able to connect successfully. But unable to see any response. >> I see the same symptoms 'conference xml_list' etc. >> >> But If I subscribe for HEARTBEAT event as below instead of 'api status' >> shown above, I see the events coming at regular intervals. >> ESLevent eslEvent = eslConnection.SendRecv("event xml >> HEARTBEAT"); >> >> Am I using something wrong above? >> >> Thanks >> Ramesh >> >> On Thu, Apr 25, 2019 at 10:31 AM Anthony Minessale < >> anthony.minessale at gmail.com> wrote: >> >>> Maybe you have a bad client, are you using one of the official ones? >>> See below using raw protocol commands over basic telnet connection to >>> demonstrate. >>> >>> ------ >>> >>> # telnet localhost 8021 >>> Trying ::1... >>> Trying 127.0.0.1... >>> Connected to localhost. >>> Escape character is '^]'. >>> Content-Type: auth/request >>> >>> auth ClueCon >>> >>> Content-Type: command/reply >>> Reply-Text: +OK accepted >>> >>> api status >>> >>> Content-Type: api/response >>> Content-Length: 371 >>> >>> UP 0 years, 1 day, 3 hours, 39 minutes, 51 seconds, 345 milliseconds, >>> 930 microseconds >>> FreeSWITCH (Version 20.19.4-dev git 837c62c 2019-04-24 12:16:15Z 64bit) >>> is ready >>> 246 session(s) since startup >>> 14 session(s) - peak 25, last 5min 14 >>> 0 session(s) per Sec out of max 30, peak 2, last 5min 0 >>> 1000 session(s) max >>> min idle cpu 0.00/86.43 >>> Current Stack Size/Max 240K/8192K >>> >>> exit >>> >>> Content-Type: command/reply >>> Reply-Text: +OK bye >>> >>> Content-Type: text/disconnect-notice >>> Content-Length: 67 >>> >>> Disconnected, goodbye. >>> See you at ClueCon! http://www.cluecon.com/ >>> Connection closed by foreign host. >>> >>> >>> On Wed, Apr 24, 2019 at 4:34 PM Ramesh Kandasamy >>> wrote: >>> >>>> Hi everyone, >>>> >>>> I am looking for a way to get the status of a Freeswitch from a remote >>>> server through ESL API command. I tried using SendRecv and Api methods >>>> of ESLconnection class to send the 'status' command. But I don't receive >>>> the response. However, after further reading through the confluence, I >>>> realized that it is probably because, 'status' command output doesn't >>>> include with a header named "content-type" that has a value of >>>> "api/response" or "command/reply" and both SendRecv and Api methods look >>>> for this. >>>> >>>> So, the question is what other ESL methods shall be used to get the >>>> status of freeswitch? >>>> >>>> Thanks >>>> Ramesh >>>> >>>> >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> >>> >>> -- >>> Anthony Minessale II >>> Founder, FreeSWITCH. >>> http://freeswitch.com >>> >>> >>> https://youtu.be/l_hOxzCt6X4 >>> https://www.youtube.com/watch?v=oAxXgyx5jUw >>> https://www.youtube.com/watch?v=9XXgW34t40s >>> https://www.youtube.com/watch?v=NLaDpGQuZDA >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From nneul at mst.edu Thu Apr 25 13:17:19 2019 From: nneul at mst.edu (Nathan Neulinger) Date: Thu, 25 Apr 2019 08:17:19 -0500 Subject: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's In-Reply-To: References: Message-ID: <8db76c40-1397-adc2-eeb1-e1eb813a4d93@mst.edu> Are you running current polycom firmware on the devices? Sounds from the commit like it was changes after polycom fixed bug on their side. -- Nathan ------------------------------------------------------------------------------------------------------------------------ *From:* Shaun Stokes *Sent:* Thu, Apr 25, 2019 7:10 AM CDT *To:* FreeSWITCH Users Help *Subject:* [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's > After FreeSWITCH 1.8.5 (and 1.8.3) we've noticed that display updates have changed, on Polycom's (UA/5) for example > this now includes the host portion such as the IP address which breaks directory contact association and is confusing > for the user to see on the display: > "Name" > > Previously in FreeSWITCH 1.8.2 on Polycom's and on most other devices we've tested this doesn't include the host > portion and works perfectly: > "Name" > > This is a result of this change: 9e8ae18f95e > > > > How do we stop FreeSWITCH from including the IP address in the PAI on display updates for Polycom's? Other than > manually reversing this change in our environment. > > Thanks, > Shaun > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmundkowsky at ets.org Thu Apr 25 14:53:44 2019 From: rmundkowsky at ets.org (Mundkowsky, Robert) Date: Thu, 25 Apr 2019 14:53:44 +0000 Subject: [Freeswitch-users] how to connect FS to openSIPS In-Reply-To: References: Message-ID: Well, my configuration works, I just did not know that "reloadxml" did not load this, I just had to restart FreeSWITCH. Robert From: FreeSWITCH-users On Behalf Of Mundkowsky, Robert Sent: Tuesday, April 23, 2019 2:40 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] how to connect FS to openSIPS I have openSIPS configured as a load balancer behind FreeSWITCH. I setup a sip profile for openSIPS in /etc/freeswitch/sip_profiles/internal/engagement.xml Then setup a diaplan that should call openSIPS: ... ... When call is made, I don't see any errors in the FreeSWITCH log and nothing is seen in the openSIPS log. I suspect I have an error in the sip profile. ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ ________________________________ This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited. Thank you for your compliance. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From arik.halperin at s3code.com Thu Apr 25 15:41:08 2019 From: arik.halperin at s3code.com (Arik Halperin) Date: Thu, 25 Apr 2019 18:41:08 +0300 Subject: [Freeswitch-users] Sending periodical audio announcement to callee Message-ID: Hello, I would like to play an audio recording to the callee of a call every few seconds. What is the best way to do this? Thanks, Arik Halperin -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Fri Apr 26 04:02:14 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Fri, 26 Apr 2019 00:02:14 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Hello It is still not working. When I do just the application lua it works, but lua script starts running before I pick up. When I uncomment any of the two execute_on_answer the call fails. Below is the error messages. I am bridging the call at the beginning of my lua script. ---------------------------------------------------------------------- 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[test.lua] 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms EXECUTE sofia/external/1112223333 export(nolocal:execute_on_answer=lua test.lua) 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > You need to bridge the call SOMEWHERE before you can run > execute_on_answer. > So what you have to do, send the call out setting the execute_on_answer. > > Something like: > > Answer() > Play some message > Bridge with {execute_on_answer=‘lua myanswer.lua’}sofia/gateway/mygw/1224 > > Then, when the BRIDGE is answered, the lua will execute. You can’t execute > on answer on a call that’s never answered. > > > On Thu, 25 Apr 2019 at 20:08, Joli Martinez wrote: > >> Hello, >> >> ok, if I put the line back to just send the call to my lua script it >> works, but the script starts executing. I need for it to wait until >> someone answeres the phone before executing. so on my lua script instead >> of the first line reading session:answer() can I replace it with >> session:execute_on_answer()? >> >> Or what would be the best way to tell my lua script to wait until the >> phone is answered before continuing execution? >> >> thanks, >> >> >> On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >>> I understand, but you're not doing anything with call. You need to set >>> the execute on answer either befire the bridge or on the bridge itself. >>> If you want to manipulate the incoming call with the lua, then just do; >>> >>> >>> >>> >>> Regards, >>> >>> David Villasmil >>> email: david.villasmil.work at gmail.com >>> phone: +34669448337 >>> >>> >>> On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez >>> wrote: >>> >>>> Hello, >>>> >>>> What I am trying to accomplish is that once the call gets answered by >>>> the initial IVR, the call gets sent to an extension. At that point the >>>> call waits for an answer and sends it to my lua script which bridges the >>>> call. >>>> >>>> If I just send the call without the wait_on_answer the call works, but >>>> my scripts starts executing right away, so by the time I answer the phone I >>>> am hearing the prompts half way through. >>>> >>>> What am I missing or how can I get it to work? >>>> >>>> >>>> thanks, >>>> >>>> On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >>>>> So you’re not bridging anywhere, nor answering the call, right? I ask >>>>> because you talk about when the call is answered, but you’re not bridging >>>>> it anywhere? >>>>> >>>>> On Thu, 25 Apr 2019 at 14:15, Joli Martinez >>>>> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> This is what I get when I uncomment the lines. I also did a >>>>>> reloadxml. >>>>>> >>>>>> right after the last DTMF digit it dies >>>>>> >>>>>> ------------------------------------------------------ >>>>>> 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>>>>> sofia/external/12223334444 send dtmf >>>>>> digit=2 ms=250 samples=2000 >>>>>> EXECUTE sofia/external/12223334444 >>>>>> export(nolocal:execute_on_answer=lua samsclub.lua) >>>>>> 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>>>>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>>>>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >>>>>> sofia/external/12223334444 has executed the last dialplan instruction, >>>>>> hanging up. >>>>>> 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >>>>>> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >>>>>> >>>>>> ------------------------------------------------------------ >>>>>> >>>>>> On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>>>>> david.villasmil.work at gmail.com> wrote: >>>>>> >>>>>>> Can you send the console log when it fails? >>>>>>> >>>>>>> On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>>>>>> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> I need my dial plan to dial an extension within then wait until the >>>>>>>> extension picks up before starting the lua script. I got it to dial the >>>>>>>> extension but can't seem to get the syntax for the "execute_on_answer" >>>>>>>> correct. When I uncomment it out it call just fails. What am I missing? >>>>>>>> >>>>>>>> ----------------------------- >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ---------------------------------------- >>>>>>>> >>>>>>>> On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>>>>>>> david.villasmil.work at gmail.com> wrote: >>>>>>>> >>>>>>>>> That should work properly, what are trying to accomplish exactly? >>>>>>>>> >>>>>>>>> On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> I am trying to find more info on the application >>>>>>>>>> "execute_on_answer". >>>>>>>>>> >>>>>>>>>> I have a script that calls an IVR then dials a users extension. >>>>>>>>>> I need to wait for the calling party extension to answer before executing >>>>>>>>>> the rest of my script. I don't seem to find much documentation on this >>>>>>>>>> application. Is there another way to test if the calling party has been >>>>>>>>>> answered? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> thanks, >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >>>>>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>>>>> https://signalwire.com >>>>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and >>>>>>>>>> PSTN services. >>>>>>>>>> Build your next product on our scalable cloud platform. >>>>>>>>>> >>>>>>>>>> Join our online community to chat in real time >>>>>>>>>> https://signalwire.community >>>>>>>>>> >>>>>>>>>> Professional FreeSWITCH Services >>>>>>>>>> sales at freeswitch.com >>>>>>>>>> https://freeswitch.com >>>>>>>>>> >>>>>>>>>> Official FreeSWITCH Sites >>>>>>>>>> https://freeswitch.com/oss >>>>>>>>>> https://freeswitch.org/confluence >>>>>>>>>> https://cluecon.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>>> UNSUBSCRIBE: >>>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>>> https://freeswitch.com >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> David Villasmil >>>>>>>>> email: david.villasmil.work at gmail.com >>>>>>>>> phone: +34669448337 >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>>>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>>>> https://signalwire.com >>>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and >>>>>>>>> PSTN services. >>>>>>>>> Build your next product on our scalable cloud platform. >>>>>>>>> >>>>>>>>> Join our online community to chat in real time >>>>>>>>> https://signalwire.community >>>>>>>>> >>>>>>>>> Professional FreeSWITCH Services >>>>>>>>> sales at freeswitch.com >>>>>>>>> https://freeswitch.com >>>>>>>>> >>>>>>>>> Official FreeSWITCH Sites >>>>>>>>> https://freeswitch.com/oss >>>>>>>>> https://freeswitch.org/confluence >>>>>>>>> https://cluecon.com >>>>>>>>> >>>>>>>>> FreeSWITCH-users mailing list >>>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>>> UNSUBSCRIBE: >>>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>>> https://freeswitch.com >>>>>>>> >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>>> https://signalwire.com >>>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>>> services. >>>>>>>> Build your next product on our scalable cloud platform. >>>>>>>> >>>>>>>> Join our online community to chat in real time >>>>>>>> https://signalwire.community >>>>>>>> >>>>>>>> Professional FreeSWITCH Services >>>>>>>> sales at freeswitch.com >>>>>>>> https://freeswitch.com >>>>>>>> >>>>>>>> Official FreeSWITCH Sites >>>>>>>> https://freeswitch.com/oss >>>>>>>> https://freeswitch.org/confluence >>>>>>>> https://cluecon.com >>>>>>>> >>>>>>>> FreeSWITCH-users mailing list >>>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>>> UNSUBSCRIBE: >>>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>>> https://freeswitch.com >>>>>>> >>>>>>> -- >>>>>>> Regards, >>>>>>> >>>>>>> David Villasmil >>>>>>> email: david.villasmil.work at gmail.com >>>>>>> phone: +34669448337 >>>>>>> >>>>>>> _________________________________________________________________________ >>>>>>> >>>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>>> https://signalwire.com >>>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>>> services. >>>>>>> Build your next product on our scalable cloud platform. >>>>>>> >>>>>>> Join our online community to chat in real time >>>>>>> https://signalwire.community >>>>>>> >>>>>>> Professional FreeSWITCH Services >>>>>>> sales at freeswitch.com >>>>>>> https://freeswitch.com >>>>>>> >>>>>>> Official FreeSWITCH Sites >>>>>>> https://freeswitch.com/oss >>>>>>> https://freeswitch.org/confluence >>>>>>> https://cluecon.com >>>>>>> >>>>>>> FreeSWITCH-users mailing list >>>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>>> UNSUBSCRIBE: >>>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>>> https://freeswitch.com >>>>>> >>>>>> >>>>>> _________________________________________________________________________ >>>>>> >>>>>> The FreeSWITCH project is sponsored by SignalWire >>>>>> https://signalwire.com >>>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>>> services. >>>>>> Build your next product on our scalable cloud platform. >>>>>> >>>>>> Join our online community to chat in real time >>>>>> https://signalwire.community >>>>>> >>>>>> Professional FreeSWITCH Services >>>>>> sales at freeswitch.com >>>>>> https://freeswitch.com >>>>>> >>>>>> Official FreeSWITCH Sites >>>>>> https://freeswitch.com/oss >>>>>> https://freeswitch.org/confluence >>>>>> https://cluecon.com >>>>>> >>>>>> FreeSWITCH-users mailing list >>>>>> FreeSWITCH-users at lists.freeswitch.org >>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>>> UNSUBSCRIBE: >>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>>> https://freeswitch.com >>>>> >>>>> -- >>>>> Regards, >>>>> >>>>> David Villasmil >>>>> email: david.villasmil.work at gmail.com >>>>> phone: +34669448337 >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> Build your next product on our scalable cloud platform. >>>>> >>>>> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From covici at ccs.covici.com Fri Apr 26 05:09:49 2019 From: covici at ccs.covici.com (John Covici) Date: Fri, 26 Apr 2019 01:09:49 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: You have to have a bridge command in that dialplan to start the call after setting the execute_on_answer, the bridge does not belong in your samsclub script. On Fri, 26 Apr 2019 00:02:14 -0400, Joli Martinez wrote: > > [1 ] > [1.1 ] > [1.2 ] > Hello > > It is still not working. When I do just the application lua it works, but lua script starts running before I pick up. When I uncomment any of the two execute_on_answer the call fails. Below is the error messages. I am bridging the > call at the beginning of my lua script. > > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[test.lua] > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms > EXECUTE sofia/external/1112223333 export(nolocal:execute_on_answer=lua test.lua) > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil wrote: > > You need to bridge the call SOMEWHERE before you can run execute_on_answer. > So what you have to do, send the call out setting the execute_on_answer. > > Something like: > > Answer() > Play some message > Bridge with {execute_on_answer=‘lua myanswer.lua’}sofia/gateway/mygw/1224 > > Then, when the BRIDGE is answered, the lua will execute. You can’t execute on answer on a call that’s never answered. > > On Thu, 25 Apr 2019 at 20:08, Joli Martinez wrote: > > Hello, > > ok, if I put the line back to just send the call to my lua script it works, but the script starts executing. I need for it to wait until someone answeres the phone before executing. so on my lua script instead of the first > line reading session:answer() can I replace it with session:execute_on_answer()? > > Or what would be the best way to tell my lua script to wait until the phone is answered before continuing execution? > > thanks, > > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil wrote: > > I understand, but you're not doing anything with call. You need to set the execute on answer either befire the bridge or on the bridge itself. > If you want to manipulate the incoming call with the lua, then just do; > > > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez wrote: > > Hello, > > What I am trying to accomplish is that once the call gets answered by the initial IVR, the call gets sent to an extension. At that point the call waits for an answer and sends it to my lua script which bridges the call. > > If I just send the call without the wait_on_answer the call works, but my scripts starts executing right away, so by the time I answer the phone I am hearing the prompts half way through. > > What am I missing or how can I get it to work? > > thanks, > > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil wrote: > > So you’re not bridging anywhere, nor answering the call, right? I ask because you talk about when the call is answered, but you’re not bridging it anywhere? > > On Thu, 25 Apr 2019 at 14:15, Joli Martinez wrote: > > Hello, > > This is what I get when I uncomment the lines. I also did a reloadxml. > > right after the last DTMF digit it dies > > ------------------------------------------------------ > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 sofia/external/12223334444 send dtmf > digit=2 ms=250 samples=2000 > EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua samsclub.lua) > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 sofia/external/12223334444 has executed the last dialplan instruction, hanging up. > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] > > ------------------------------------------------------------ > > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil wrote: > > Can you send the console log when it fails? > > On Thu, 25 Apr 2019 at 01:31, Joli Martinez wrote: > > Hello, > > I need my dial plan to dial an extension within then wait until the extension picks up before starting the lua script. I got it to dial the extension but can't seem to get the syntax for the > "execute_on_answer" correct. When I uncomment it out it call just fails. What am I missing? > > ----------------------------- > > > > > > > > > > ---------------------------------------- > > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil wrote: > > That should work properly, what are trying to accomplish exactly? > > On Wed, 24 Apr 2019 at 18:19, Joli Martinez wrote: > > Hello, > > I am trying to find more info on the application "execute_on_answer". > > I have a script that calls an IVR then dials a users extension. I need to wait for the calling party extension to answer before executing the rest of my script. I don't seem to find much > documentation on this application. Is there another way to test if the calling party has been answered? > > thanks, > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > [2 ] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici at ccs.covici.com From sdevoy at bizfocused.com Fri Apr 26 05:10:11 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Fri, 26 Apr 2019 05:10:11 +0000 Subject: [Freeswitch-users] VoiceMail to Email has blank WAV file Message-ID: Hi All, I have been trying to get VoiceMail to email working in the latest production version (1.8) on Ubuntu. I am using sendmail and I have gotten as far as sending the email with an attachment. The attachment is a wav file of the correct length but has no audio. It is for example 5 seconds of silence. In the voicemail folder for this extension is a wav file with audio just fine. The logfile says: 2019-04-26 04:01:46.842091 [DEBUG] switch_utils.c:1210 Emailed file [/tmp/mail.155625130604d1] to [sdevoy at bizfocused.com] 2019-04-26 04:01:46.842091 [DEBUG] mod_voicemail.c:3042 Sending message to sdevoy at bizfocused.com I have checked to protection on the /tmp folder. Any ideas what is wrong? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Fri Apr 26 05:16:17 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Fri, 26 Apr 2019 05:16:17 +0000 Subject: [Freeswitch-users] VoiceMail to Email has blank WAV file In-Reply-To: References: Message-ID: OMG, Please disregard. Sorry. I pushed something on my desk back and it hit the speaker volume down button on the actual speaker. It's been a long day. From: FreeSWITCH-users On Behalf Of Sean Devoy Sent: Friday, April 26, 2019 1:10 AM To: FreeSWITCH Users Help Subject: [Freeswitch-users] VoiceMail to Email has blank WAV file Hi All, I have been trying to get VoiceMail to email working in the latest production version (1.8) on Ubuntu. I am using sendmail and I have gotten as far as sending the email with an attachment. The attachment is a wav file of the correct length but has no audio. It is for example 5 seconds of silence. In the voicemail folder for this extension is a wav file with audio just fine. The logfile says: 2019-04-26 04:01:46.842091 [DEBUG] switch_utils.c:1210 Emailed file [/tmp/mail.155625130604d1] to [sdevoy at bizfocused.com] 2019-04-26 04:01:46.842091 [DEBUG] mod_voicemail.c:3042 Sending message to sdevoy at bizfocused.com I have checked to protection on the /tmp folder. Any ideas what is wrong? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Fri Apr 26 12:28:26 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Fri, 26 Apr 2019 13:28:26 +0100 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Joli, On you IVR, assuming you are using fs IVR? Please show us the IVR. On Fri, 26 Apr 2019 at 06:19, John Covici wrote: > You have to have a bridge command in that dialplan to start the call > after setting the execute_on_answer, the bridge does not belong in > your samsclub script. > > On Fri, 26 Apr 2019 00:02:14 -0400, > Joli Martinez wrote: > > > > [1 ] > > [1.1 ] > > [1.2 ] > > Hello > > > > It is still not working. When I do just the application lua it works, > but lua script starts running before I pick up. When I uncomment any of > the two execute_on_answer the call fails. Below is the error messages. I > am bridging the > > call at the beginning of my lua script. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit delay > of 40ms > > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) > > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET > sofia/external/1112223333 [execute_on_answer]=[test.lua] > > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 > sofia/external/1112223333 has executed the last dialplan instruction, > hanging up. > > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 > Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > > > > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit delay > of 40ms > > EXECUTE sofia/external/1112223333 export(nolocal:execute_on_answer=lua > test.lua) > > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT > (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 > sofia/external/1112223333 has executed the last dialplan instruction, > hanging up. > > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 > Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > > > > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > > > > You need to bridge the call SOMEWHERE before you can run > execute_on_answer. > > So what you have to do, send the call out setting the execute_on_answer. > > > > Something like: > > > > Answer() > > Play some message > > Bridge with {execute_on_answer=‘lua > myanswer.lua’}sofia/gateway/mygw/1224 > > > > Then, when the BRIDGE is answered, the lua will execute. You can’t > execute on answer on a call that’s never answered. > > > > On Thu, 25 Apr 2019 at 20:08, Joli Martinez > wrote: > > > > Hello, > > > > ok, if I put the line back to just send the call to my lua script it > works, but the script starts executing. I need for it to wait until > someone answeres the phone before executing. so on my lua script instead > of the first > > line reading session:answer() can I replace it with > session:execute_on_answer()? > > > > Or what would be the best way to tell my lua script to wait until the > phone is answered before continuing execution? > > > > thanks, > > > > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > > > > I understand, but you're not doing anything with call. You need to set > the execute on answer either befire the bridge or on the bridge itself. > > If you want to manipulate the incoming call with the lua, then just do; > > > > > > > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > > > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez > wrote: > > > > Hello, > > > > What I am trying to accomplish is that once the call gets answered by > the initial IVR, the call gets sent to an extension. At that point the > call waits for an answer and sends it to my lua script which bridges the > call. > > > > If I just send the call without the wait_on_answer the call works, but > my scripts starts executing right away, so by the time I answer the phone I > am hearing the prompts half way through. > > > > What am I missing or how can I get it to work? > > > > thanks, > > > > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > > > > So you’re not bridging anywhere, nor answering the call, right? I ask > because you talk about when the call is answered, but you’re not bridging > it anywhere? > > > > On Thu, 25 Apr 2019 at 14:15, Joli Martinez > wrote: > > > > Hello, > > > > This is what I get when I uncomment the lines. I also did a reloadxml. > > > > right after the last DTMF digit it dies > > > > ------------------------------------------------------ > > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 > sofia/external/12223334444 send dtmf > > digit=2 ms=250 samples=2000 > > EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua > samsclub.lua) > > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT > (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 > sofia/external/12223334444 has executed the last dialplan instruction, > hanging up. > > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 > Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] > > > > ------------------------------------------------------------ > > > > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > > > > Can you send the console log when it fails? > > > > On Thu, 25 Apr 2019 at 01:31, Joli Martinez > wrote: > > > > Hello, > > > > I need my dial plan to dial an extension within then wait until the > extension picks up before starting the lua script. I got it to dial the > extension but can't seem to get the syntax for the > > "execute_on_answer" correct. When I uncomment it out it call just > fails. What am I missing? > > > > ----------------------------- > > > > > > > > > > > > > > > > > > > > ---------------------------------------- > > > > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > > > > That should work properly, what are trying to accomplish exactly? > > > > On Wed, 24 Apr 2019 at 18:19, Joli Martinez > wrote: > > > > Hello, > > > > I am trying to find more info on the application "execute_on_answer". > > > > I have a script that calls an IVR then dials a users extension. I need > to wait for the calling party extension to answer before executing the rest > of my script. I don't seem to find much > > documentation on this application. Is there another way to test if the > calling party has been answered? > > > > thanks, > > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > [2 ] > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici wb2una > covici at ccs.covici.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shaun.stokes at itec-support.co.uk Fri Apr 26 13:19:58 2019 From: shaun.stokes at itec-support.co.uk (Shaun Stokes) Date: Fri, 26 Apr 2019 13:19:58 +0000 Subject: [Freeswitch-users] P-Asserted-Identity in display updates fortPolycom's In-Reply-To: References: <8db76c40-1397-adc2-eeb1-e1eb813a4d93@mst.edu> , , Message-ID: The RPID FreeSWITCH sends in the INVITE and in SIP SIP OK is formatted correctly: Remote-Party-ID: "test" ;party=calling;screen=yes;privacy=off The RPID appears to get this information from the To\From headers, the Contact header has the proxy as the host which wouldn't be suitable. The UPDATE which follows with the PAI is formatted differently: P-Asserted-Identity: "test" The host portion of the PAI appears to come from the host portion of the Contact header instead of using the From header. There doesn't appear to be a way to fix this with-out changing code with-in 'mod_sofia.c'. We're working around the problem for now by transforming the PAI from FreeSWITCH as it passes through our proxy. - Shaun ________________________________ From: FreeSWITCH-users on behalf of Shaun Stokes Sent: 25 April 2019 19:14:32 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates fortPolycom's The host in our PAI is the proxy (Kamailio) which sits between the device and FreeSWITCH. Kamailio proxies all messages between the device and FreeSWITCH on an internal address. The device communicates with Kamilio on an external address and has no communication with FreeSWITCH other than RTP. - Shaun Get Outlook for Android From: Brian West Sent: Thursday 25 April, 19:15 Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates forPolycom's To: FreeSWITCH Users Help The host in the PAI differ from the host FS is accessed with? and they differ from the proxy? /b On Thu, Apr 25, 2019 at 9:38 AM Shaun Stokes > wrote: Polycom's are on current firmware '5.7.4'. We use FreeSWITCH internally with Kamailio as our internet facing registrar but FreeSWITCH is grabbing the IP address of Kamailio and using it in the PAI which is sent to the device. I'm going to do some more digging to see if there's anyway we can get FreeSWITCH to use the domain\context instead of the IP address, if not then we should be able to fix this with-in Kamailio before the UPDATE is sent to the device. Thanks, Shaun From: Nathan Neulinger > Sent: 25 April 2019 14:17:19 To: FreeSWITCH Users Help; Shaun Stokes Subject: Re: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's Are you running current polycom firmware on the devices? Sounds from the commit like it was changes after polycom fixed bug on their side. -- Nathan From: Shaun Stokes Sent: Thu, Apr 25, 2019 7:10 AM CDT To: FreeSWITCH Users Help Subject: [Freeswitch-users] P-Asserted-Identity in display updates for Polycom's After FreeSWITCH 1.8.5 (and 1.8.3) we've noticed that display updates have changed, on Polycom's (UA/5) for example this now includes the host portion such as the IP address which breaks directory contact association and is confusing for the user to see on the display: "Name" Previously in FreeSWITCH 1.8.2 on Polycom's and on most other devices we've tested this doesn't include the host portion and works perfectly: "Name" This is a result of this change: 9e8ae18f95e How do we stop FreeSWITCH from including the IP address in the PAI on display updates for Polycom's? Other than manually reversing this change in our environment. Thanks, Shaun _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System and Desktop Infrastructure Team Manager _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Fri Apr 26 15:33:49 2019 From: mario_fs at mgtech.com (mario_fs) Date: Fri, 26 Apr 2019 08:33:49 -0700 Subject: [Freeswitch-users] No Video in conference video mux mode with VP8 but H264 works fine In-Reply-To: References: <68BB357E-491C-4B6B-BCF7-7DD87AE6B6D2@mgtech.com> Message-ID: <15F9445C-A95F-43F7-B1AF-AF24FCD0B9B6@mgtech.com> Bria on IOS iPads and iPhones work fine with VP8 and H264 here. > On Apr 25, 2019, at 11:00 AM, Faisal Hanif wrote: > > Bria on Android ? > > On Thu, 25 Apr 2019 at 22:17, mario_fs > wrote: > I can also say VP8 and Bria works fine, also H264. > Mario G > >> On Apr 23, 2019, at 5:21 PM, Seven Du > wrote: >> >> I used to test linphone last year and vp8 bitstream looks has problem but vp8 on bria and chrome is fine. >> >> On Thu, Apr 18, 2019 at 12:13 AM Faisal Hanif > wrote: >> Hi, >> >> FreeSWITCH Version 1.8.5-6-31281a0bf1~64bit (-6-31281a0bf1 64bit) >> >> on Debian >> Description: Debian GNU/Linux 9.8 (stretch) >> Release: 9.8 >> Codename: stretch >> >> SIP Client is Linphone mobile client. Tested on both iOS and Android Client. >> >> Regards, >> >> Faisal >> >> >> On Wed, 17 Apr 2019 at 19:23, Anthony Minessale > wrote: >> What version of FS and what version of what browser? >> >> On Wed, Apr 17, 2019 at 1:44 AM Faisal Hanif > wrote: >> I have a conference with video-mode mux and I have proper mixed video with H264 but with VP8 only empty canvas sent by FreeSWITCH while video-mode passthrough send proper video with VP8. >> >> Any idea what's wrong or missing here? >> >> Regards, >> >> Faisal >> >> _________________________________________________________________________ >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> -- >> Anthony Minessale II >> Founder, FreeSWITCH. >> http://freeswitch.com >> >> >> https://youtu.be/l_hOxzCt6X4 >> https://www.youtube.com/watch?v=oAxXgyx5jUw >> https://www.youtube.com/watch?v=9XXgW34t40s >> https://www.youtube.com/watch?v=NLaDpGQuZDA >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> -- >> Regards, >> >> Faisal Hanif >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> -- >> About: http://about.me/dujinfang >> Blog: http://www.dujinfang.com >> Proj: http://www.freeswitch.org.cn _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Regards, > > Faisal Hanif > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at voxtelesys.net Fri Apr 26 18:39:13 2019 From: john at voxtelesys.net (John Burke) Date: Fri, 26 Apr 2019 13:39:13 -0500 Subject: [Freeswitch-users] originate with SIT tones Message-ID: <145ec93fb439ed200cce348dab5d957a@voxtelesys.net> Hello: Does the originate command support monitor_early_media_fail like the following: originate {ignore_early_media=true,monitor_early_media_fail=user_busy:2:480+620!destination_out_of_order:2:1776.7}sofia/gateway/test/1000 All examples online that I have seen are for the bridge application, but I am not having much luck with originate.  I made several test calls on FS1.8.5 with 480/620 tones in the 183, but originate progresses normally without firing an event or hanging up the call (not sure which one is expected). Anyone have any examples, configs, etc? Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Sat Apr 27 01:00:06 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Fri, 26 Apr 2019 21:00:06 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: Hello, When I just use the "" the call goes through and sends the correct DTMF from the channel variable passed which is 1002. When I uncomment the "" and comment out the other line, then do a reloadxml on fs. The DTMF is not passed correctly and the call fails. I have stripped down my test.lua script to just basic to only play a file and it still fails. In this scenario I am testing calling from the freeswitch box to another freeswitch IVR, but this should work regardless of what IVR it calls. Below is the output of the both boxes. --------------xml---------------------- --------------xml---------------------- --------------test.lua---------------------- #!/bin/lua soundDir = "/etc/freeswitch/scripts/sounds/" welcome = soundDir .. "welcome.wav" freeswitch.consoleLog("INFO", "got here\n") --Starts Playing welcome message and accepts digits value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", "\\d+") freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") --------------test.lua---------------------- --------------this FS box---------------------- Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] destination_number(9176) =~ /^9176$/ break=on-false Dialplan: sofia/external/1112223333 Action sleep(2000) Dialplan: sofia/external/1112223333 Action send_dtmf(1002) Dialplan: sofia/external/1112223333 Action sleep(1000) Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua test.lua) 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound Call" <> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 (sofia/external/1112223333) State ROUTING going to sleep 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 (sofia/external/1112223333) State EXECUTE 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 sofia/external/1112223333 SOFIA EXECUTE 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 sofia/external/1112223333 Standard EXECUTE EXECUTE sofia/external/1112223333 set(open=true) 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [open]=[true] EXECUTE sofia/external/1112223333 sleep(2000) EXECUTE sofia/external/1112223333 send_dtmf(1002) 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf digit=1 ms=250 samples=2000 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf digit=0 ms=250 samples=2000 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf digit=0 ms=250 samples=2000 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf digit=2 ms=250 samples=2000 EXECUTE sofia/external/1112223333 sleep(1000) 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start packet for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start packet for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[lua test.lua] 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction. 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] --------------this FS box---------------------- --------------receiving FS box----------------------2019-04-26 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+ 13337777777 at 10.21.10.4] has been answered 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 (sofia/internal/+ 13337777777 at 10.21.10.4) Callstate Change RINGING -> ACTIVE EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel sofia/internal/+ 13337777777 at 10.21.10.4 entering state [ready][200] EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(hangup_after_bridge=true) 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ 13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(ringback=local_stream://default) 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ 13337777777 at 10.21.10.4 [ringback]=[local_stream://default] EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id= 9000 at 10.21.10.4) 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ 13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(transfer_ringback=local_stream://default) 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ 13337777777 at 10.21.10.4 [transfer_ringback]=[local_stream://default] EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ 13337777777 at 10.21.10.4 [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] EXECUTE sofia/internal/+13337777777 at 10.21.10.4 ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3c6005cdf0 Connected. 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3c6005cdf0 released. 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building menu 'd67bb786-a0bc-4094-91fa-76f7db68caeb' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu d67bb786-a0bc-4094-91fa-76f7db68caeb 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS flite 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec Activated 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 Speaking text: Hello World, This is a test IVR 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF 1:2080 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done speaking text 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 digits t/o 2000 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 0:2080 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF 0:2080 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup sofia/internal/+ 13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] --------------receiving FS box---------------------- On Fri, Apr 26, 2019 at 8:53 AM David Villasmil < david.villasmil.work at gmail.com> wrote: > Joli, > > On you IVR, assuming you are using fs IVR? Please show us the IVR. > > > On Fri, 26 Apr 2019 at 06:19, John Covici wrote: > >> You have to have a bridge command in that dialplan to start the call >> after setting the execute_on_answer, the bridge does not belong in >> your samsclub script. >> >> On Fri, 26 Apr 2019 00:02:14 -0400, >> Joli Martinez wrote: >> > >> > [1 ] >> > [1.1 ] >> > [1.2 ] >> > Hello >> > >> > It is still not working. When I do just the application lua it works, >> but lua script starts running before I pick up. When I uncomment any of >> the two execute_on_answer the call fails. Below is the error messages. I >> am bridging the >> > call at the beginning of my lua script. >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > ---------------------------------------------------------------------- >> > >> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit delay >> of 40ms >> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) >> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET >> sofia/external/1112223333 [execute_on_answer]=[test.lua] >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/1112223333 has executed the last dialplan instruction, >> hanging up. >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> > >> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit delay >> of 40ms >> > EXECUTE sofia/external/1112223333 export(nolocal:execute_on_answer=lua >> test.lua) >> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT >> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/1112223333 has executed the last dialplan instruction, >> hanging up. >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> > >> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> > >> > You need to bridge the call SOMEWHERE before you can run >> execute_on_answer. >> > So what you have to do, send the call out setting the >> execute_on_answer. >> > >> > Something like: >> > >> > Answer() >> > Play some message >> > Bridge with {execute_on_answer=‘lua >> myanswer.lua’}sofia/gateway/mygw/1224 >> > >> > Then, when the BRIDGE is answered, the lua will execute. You can’t >> execute on answer on a call that’s never answered. >> > >> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez >> wrote: >> > >> > Hello, >> > >> > ok, if I put the line back to just send the call to my lua script it >> works, but the script starts executing. I need for it to wait until >> someone answeres the phone before executing. so on my lua script instead >> of the first >> > line reading session:answer() can I replace it with >> session:execute_on_answer()? >> > >> > Or what would be the best way to tell my lua script to wait until the >> phone is answered before continuing execution? >> > >> > thanks, >> > >> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> > >> > I understand, but you're not doing anything with call. You need to set >> the execute on answer either befire the bridge or on the bridge itself. >> > If you want to manipulate the incoming call with the lua, then just do; >> > >> > >> > >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > >> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez >> wrote: >> > >> > Hello, >> > >> > What I am trying to accomplish is that once the call gets answered by >> the initial IVR, the call gets sent to an extension. At that point the >> call waits for an answer and sends it to my lua script which bridges the >> call. >> > >> > If I just send the call without the wait_on_answer the call works, but >> my scripts starts executing right away, so by the time I answer the phone I >> am hearing the prompts half way through. >> > >> > What am I missing or how can I get it to work? >> > >> > thanks, >> > >> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> > >> > So you’re not bridging anywhere, nor answering the call, right? I ask >> because you talk about when the call is answered, but you’re not bridging >> it anywhere? >> > >> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez >> wrote: >> > >> > Hello, >> > >> > This is what I get when I uncomment the lines. I also did a reloadxml. >> > >> > right after the last DTMF digit it dies >> > >> > ------------------------------------------------------ >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >> sofia/external/12223334444 send dtmf >> > digit=2 ms=250 samples=2000 >> > EXECUTE sofia/external/12223334444 >> export(nolocal:execute_on_answer=lua samsclub.lua) >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/12223334444 has executed the last dialplan instruction, >> hanging up. >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >> > >> > ------------------------------------------------------------ >> > >> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> > >> > Can you send the console log when it fails? >> > >> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez >> wrote: >> > >> > Hello, >> > >> > I need my dial plan to dial an extension within then wait until the >> extension picks up before starting the lua script. I got it to dial the >> extension but can't seem to get the syntax for the >> > "execute_on_answer" correct. When I uncomment it out it call just >> fails. What am I missing? >> > >> > ----------------------------- >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > ---------------------------------------- >> > >> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> > >> > That should work properly, what are trying to accomplish exactly? >> > >> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez >> wrote: >> > >> > Hello, >> > >> > I am trying to find more info on the application "execute_on_answer". >> > >> > I have a script that calls an IVR then dials a users extension. I >> need to wait for the calling party extension to answer before executing the >> rest of my script. I don't seem to find much >> > documentation on this application. Is there another way to test if >> the calling party has been answered? >> > >> > thanks, >> > >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > [2 ] >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> >> -- >> Your life is like a penny. You're going to lose it. The question is: >> How do >> you spend it? >> >> John Covici wb2una >> covici at ccs.covici.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From vma at vallimamod.org Sat Apr 27 11:49:01 2019 From: vma at vallimamod.org (Vallimamod Abdullah) Date: Sat, 27 Apr 2019 13:49:01 +0200 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: Message-ID: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> Hi, You need to set the execute_on_answer var before calling the answer application. Once the call is answered or bridged, it's too late. Best Regards, -- Vallimamod Abdullah SIP Solutions vma at sip.solutions linkedin.com/in/vallimamod . > On 27 Apr 2019, at 03:00, Joli Martinez wrote: > > Hello, > > When I just use the "" the call goes through and sends the correct DTMF from the channel variable passed which is 1002. When I uncomment the "" and comment out the other line, then do a reloadxml on fs. The DTMF is not passed correctly and the call fails. I have stripped down my test.lua script to just basic to only play a file and it still fails. In this scenario I am testing calling from the freeswitch box to another freeswitch IVR, but this should work regardless of what IVR it calls. Below is the output of the both boxes. > > > --------------xml---------------------- > > > > > > > > > > > > > --------------xml---------------------- > > --------------test.lua---------------------- > #!/bin/lua > > soundDir = "/etc/freeswitch/scripts/sounds/" > welcome = soundDir .. "welcome.wav" > > freeswitch.consoleLog("INFO", "got here\n") > > --Starts Playing welcome message and accepts digits > value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", "\\d+") > > freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") > --------------test.lua---------------------- > > --------------this FS box---------------------- > Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] destination_number(9176) =~ /^9176$/ break=on-false > Dialplan: sofia/external/1112223333 Action sleep(2000) > Dialplan: sofia/external/1112223333 Action send_dtmf(1002) > Dialplan: sofia/external/1112223333 Action sleep(1000) > Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua test.lua) > 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound Call" <> > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 (sofia/external/1112223333) State ROUTING going to sleep > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 (sofia/external/1112223333) State EXECUTE > 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 sofia/external/1112223333 SOFIA EXECUTE > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 sofia/external/1112223333 Standard EXECUTE > EXECUTE sofia/external/1112223333 set(open=true) > 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [open]=[true] > EXECUTE sofia/external/1112223333 sleep(2000) > EXECUTE sofia/external/1112223333 send_dtmf(1002) > 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf > digit=1 ms=250 samples=2000 > 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf > digit=0 ms=250 samples=2000 > 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf > digit=0 ms=250 samples=2000 > 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf > digit=2 ms=250 samples=2000 > EXECUTE sofia/external/1112223333 sleep(1000) > 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start packet for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 > 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 > 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. > 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 > 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 > 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 > 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 > 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 > 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 > 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 > 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 > 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 > 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 > 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 > 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 > 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 > 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms > 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start packet for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 > 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 > 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 > 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 > 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 > 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 > 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 > 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 > 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 > 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 > 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 > 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 > 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 > 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 > 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 > 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms > EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) > 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[lua test.lua] > 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction. > 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > --------------this FS box---------------------- > > --------------receiving FS box----------------------2019-04-26 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+13337777777 at 10.21.10.4 ] has been answered > 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 (sofia/internal/+13337777777 at 10.21.10.4 ) Callstate Change RINGING -> ACTIVE > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) > 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. > 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel sofia/internal/+13337777777 at 10.21.10.4 entering state [ready][200] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(hangup_after_bridge=true) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(ringback=local_stream://default) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [ringback]=[local_stream://default] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id=9000 at 10.21.10.4 ) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4 ] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(transfer_ringback=local_stream://default) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [transfer_ringback]=[local_stream://default] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) > 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3c6005cdf0 Connected. > 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3c6005cdf0 released. > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building menu 'd67bb786-a0bc-4094-91fa-76f7db68caeb' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu d67bb786-a0bc-4094-91fa-76f7db68caeb > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS flite > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec Activated > 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 Speaking text: Hello World, This is a test IVR > 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 > 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF 1:2080 > 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done speaking text > 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 digits t/o 2000 > 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 0:2080 > 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF 0:2080 > 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup sofia/internal/+13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] > --------------receiving FS box---------------------- > > On Fri, Apr 26, 2019 at 8:53 AM David Villasmil > wrote: > Joli, > > On you IVR, assuming you are using fs IVR? Please show us the IVR. > > > On Fri, 26 Apr 2019 at 06:19, John Covici > wrote: > You have to have a bridge command in that dialplan to start the call > after setting the execute_on_answer, the bridge does not belong in > your samsclub script. > > On Fri, 26 Apr 2019 00:02:14 -0400, > Joli Martinez wrote: > > > > [1 ] > > [1.1 ] > > [1.2 ] > > Hello > > > > It is still not working. When I do just the application lua it works, but lua script starts running before I pick up. When I uncomment any of the two execute_on_answer the call fails. Below is the error messages. I am bridging the > > call at the beginning of my lua script. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms > > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) > > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[test.lua] > > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. > > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > > > > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms > > EXECUTE sofia/external/1112223333 export(nolocal:execute_on_answer=lua test.lua) > > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. > > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > > > > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil > wrote: > > > > You need to bridge the call SOMEWHERE before you can run execute_on_answer. > > So what you have to do, send the call out setting the execute_on_answer. > > > > Something like: > > > > Answer() > > Play some message > > Bridge with {execute_on_answer=‘lua myanswer.lua’}sofia/gateway/mygw/1224 > > > > Then, when the BRIDGE is answered, the lua will execute. You can’t execute on answer on a call that’s never answered. > > > > On Thu, 25 Apr 2019 at 20:08, Joli Martinez > wrote: > > > > Hello, > > > > ok, if I put the line back to just send the call to my lua script it works, but the script starts executing. I need for it to wait until someone answeres the phone before executing. so on my lua script instead of the first > > line reading session:answer() can I replace it with session:execute_on_answer()? > > > > Or what would be the best way to tell my lua script to wait until the phone is answered before continuing execution? > > > > thanks, > > > > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil > wrote: > > > > I understand, but you're not doing anything with call. You need to set the execute on answer either befire the bridge or on the bridge itself. > > If you want to manipulate the incoming call with the lua, then just do; > > > > > > > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > > > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez > wrote: > > > > Hello, > > > > What I am trying to accomplish is that once the call gets answered by the initial IVR, the call gets sent to an extension. At that point the call waits for an answer and sends it to my lua script which bridges the call. > > > > If I just send the call without the wait_on_answer the call works, but my scripts starts executing right away, so by the time I answer the phone I am hearing the prompts half way through. > > > > What am I missing or how can I get it to work? > > > > thanks, > > > > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil > wrote: > > > > So you’re not bridging anywhere, nor answering the call, right? I ask because you talk about when the call is answered, but you’re not bridging it anywhere? > > > > On Thu, 25 Apr 2019 at 14:15, Joli Martinez > wrote: > > > > Hello, > > > > This is what I get when I uncomment the lines. I also did a reloadxml. > > > > right after the last DTMF digit it dies > > > > ------------------------------------------------------ > > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 sofia/external/12223334444 send dtmf > > digit=2 ms=250 samples=2000 > > EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua samsclub.lua) > > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 sofia/external/12223334444 has executed the last dialplan instruction, hanging up. > > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] > > > > ------------------------------------------------------------ > > > > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil > wrote: > > > > Can you send the console log when it fails? > > > > On Thu, 25 Apr 2019 at 01:31, Joli Martinez > wrote: > > > > Hello, > > > > I need my dial plan to dial an extension within then wait until the extension picks up before starting the lua script. I got it to dial the extension but can't seem to get the syntax for the > > "execute_on_answer" correct. When I uncomment it out it call just fails. What am I missing? > > > > ----------------------------- > > > > > > > > > > > > > > > > > > > > ---------------------------------------- > > > > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil > wrote: > > > > That should work properly, what are trying to accomplish exactly? > > > > On Wed, 24 Apr 2019 at 18:19, Joli Martinez > wrote: > > > > Hello, > > > > I am trying to find more info on the application "execute_on_answer". > > > > I have a script that calls an IVR then dials a users extension. I need to wait for the calling party extension to answer before executing the rest of my script. I don't seem to find much > > documentation on this application. Is there another way to test if the calling party has been answered? > > > > thanks, > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > [2 ] > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici wb2una > covici at ccs.covici.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From babak.freeswitch at gmail.com Sat Apr 27 11:53:50 2019 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Sat, 27 Apr 2019 16:23:50 +0430 Subject: [Freeswitch-users] dynamic payload negotiation Message-ID: Hi I'm trying to make calls between a custom softphone as client and freeswitch using opus as codec. when client calls freeswitch everything is working fine. but when I originate a call from freeswitch there is no audio from sofphone but client hears fs. After capturing packets I see that when client sends invite it is using 107 as its payload type and freeswitch sends 107 in reply. But when fs sends invite it is using 102 and client is sending 107. What is the standard? I think the softphone is doing something wrong because testing with jitsi works fine. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Sat Apr 27 14:10:02 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Sat, 27 Apr 2019 10:10:02 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> References: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> Message-ID: Hello, Not sure I follow, the only variable in this case is the EXT and it is set above the execute_on_answer command. What other var should I set? Call originates from FS to an IVR, IVR answers and FS dials EXT (1002), FS wait for EXT to answer then executes lua script. In this case I have stripped down my script to just play a file. So my lua script does not take any parameters. thanks, On Sat, Apr 27, 2019 at 8:26 AM Vallimamod Abdullah wrote: > Hi, > > You need to set the execute_on_answer var before calling the answer > application. > Once the call is answered or bridged, it's too late. > > > Best Regards, > -- > Vallimamod Abdullah > SIP Solutions > vma at sip.solutions > linkedin.com/in/vallimamod > . > > > On 27 Apr 2019, at 03:00, Joli Martinez wrote: > > Hello, > > When I just use the "" the > call goes through and sends the correct DTMF from the channel variable > passed which is 1002. When I uncomment the " data="execute_on_answer=lua test.lua"/>" and comment out the other line, > then do a reloadxml on fs. The DTMF is not passed correctly and the call > fails. I have stripped down my test.lua script to just basic to only play > a file and it still fails. In this scenario I am testing calling from the > freeswitch box to another freeswitch IVR, but this should work regardless > of what IVR it calls. Below is the output of the both boxes. > > > --------------xml---------------------- > > > > > > > > > > > > > --------------xml---------------------- > > --------------test.lua---------------------- > #!/bin/lua > > soundDir = "/etc/freeswitch/scripts/sounds/" > welcome = soundDir .. "welcome.wav" > > freeswitch.consoleLog("INFO", "got here\n") > > --Starts Playing welcome message and accepts digits > value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", "\\d+") > > freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") > --------------test.lua---------------------- > > --------------this FS box---------------------- > Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] > destination_number(9176) =~ /^9176$/ break=on-false > Dialplan: sofia/external/1112223333 Action sleep(2000) > Dialplan: sofia/external/1112223333 Action send_dtmf(1002) > Dialplan: sofia/external/1112223333 Action sleep(1000) > Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua > test.lua) > 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 > sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound > Call" <> > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 > (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 > (sofia/external/1112223333) State ROUTING going to sleep > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 > (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 > (sofia/external/1112223333) State EXECUTE > 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 > sofia/external/1112223333 SOFIA EXECUTE > 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 > sofia/external/1112223333 Standard EXECUTE > EXECUTE sofia/external/1112223333 set(open=true) > 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET > sofia/external/1112223333 [open]=[true] > EXECUTE sofia/external/1112223333 sleep(2000) > EXECUTE sofia/external/1112223333 send_dtmf(1002) > 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > digit=1 ms=250 samples=2000 > 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > digit=0 ms=250 samples=2000 > 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > digit=0 ms=250 samples=2000 > 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > digit=2 ms=250 samples=2000 > EXECUTE sofia/external/1112223333 sleep(1000) > 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start packet for > [1] ts=160 dur=160/160/2000 seq=16436 lw=160 > 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 > 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio ip/port > confirmed. > 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 > 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 > 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 > 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 > 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 > 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 > 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 > 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 > 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 > 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 > 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for > [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 > 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for > [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 > 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for > [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 > 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit delay of > 40ms > 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start packet for > [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 > 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 > 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 > 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 > 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 > 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 > 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 > 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 > 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 > 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 > 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 > 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 > 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for > [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 > 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for > [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 > 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for > [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 > 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit delay of > 40ms > EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) > 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET > sofia/external/1112223333 [execute_on_answer]=[lua test.lua] > 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 > sofia/external/1112223333 has executed the last dialplan instruction. > 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 Hangup > sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > --------------this FS box---------------------- > > --------------receiving FS box----------------------2019-04-26 > 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+ > 13337777777 at 10.21.10.4] has been answered > 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 (sofia/internal/+ > 13337777777 at 10.21.10.4) Callstate Change RINGING -> ACTIVE > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) > 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio ip/port > confirmed. > 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel sofia/internal/+ > 13337777777 at 10.21.10.4 entering state [ready][200] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > set(hangup_after_bridge=true) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ > 13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > set(ringback=local_stream://default) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ > 13337777777 at 10.21.10.4 [ringback]=[local_stream://default] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id= > 9000 at 10.21.10.4) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ > 13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > set(transfer_ringback=local_stream://default) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ > 13337777777 at 10.21.10.4 [transfer_ringback]=[local_stream://default] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) > 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+ > 13337777777 at 10.21.10.4 > [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] > EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) > 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle > 0x7f3c6005cdf0 Connected. > 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle > 0x7f3c6005cdf0 released. > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-exit' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-sub' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-exec-app' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-play-sound' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-back' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-top' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building menu > 'd67bb786-a0bc-4094-91fa-76f7db68caeb' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu > action 'menu-exec-app' to '1' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu > action 'menu-exec-app' to '/^(\d{2,11})$/' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu > action 'menu-exec-app' to '/^(\d{2,11})$/' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu > action 'menu-exec-app' to '/^(\d{2,11})$/' > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing IVR > menu d67bb786-a0bc-4094-91fa-76f7db68caeb > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS > flite > 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec > Activated > 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 Speaking > text: Hello World, This is a test IVR > 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 > 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF 1:2080 > 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done > speaking text > 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 > digits t/o 2000 > 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 0:2080 > 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF 0:2080 > 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup sofia/internal/+ > 13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] > --------------receiving FS box---------------------- > > On Fri, Apr 26, 2019 at 8:53 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Joli, >> >> On you IVR, assuming you are using fs IVR? Please show us the IVR. >> >> >> On Fri, 26 Apr 2019 at 06:19, John Covici wrote: >> >>> You have to have a bridge command in that dialplan to start the call >>> after setting the execute_on_answer, the bridge does not belong in >>> your samsclub script. >>> >>> On Fri, 26 Apr 2019 00:02:14 -0400, >>> Joli Martinez wrote: >>> > >>> > [1 ] >>> > [1.1 ] >>> > [1.2 ] >>> > Hello >>> > >>> > It is still not working. When I do just the application lua it works, >>> but lua script starts running before I pick up. When I uncomment any of >>> the two execute_on_answer the call fails. Below is the error messages. I >>> am bridging the >>> > call at the beginning of my lua script. >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > ---------------------------------------------------------------------- >>> > >>> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit delay >>> of 40ms >>> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) >>> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET >>> sofia/external/1112223333 [execute_on_answer]=[test.lua] >>> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/1112223333 has executed the last dialplan instruction, >>> hanging up. >>> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>> > >>> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit delay >>> of 40ms >>> > EXECUTE sofia/external/1112223333 export(nolocal:execute_on_answer=lua >>> test.lua) >>> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT >>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/1112223333 has executed the last dialplan instruction, >>> hanging up. >>> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>> > >>> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> > >>> > You need to bridge the call SOMEWHERE before you can run >>> execute_on_answer. >>> > So what you have to do, send the call out setting the >>> execute_on_answer. >>> > >>> > Something like: >>> > >>> > Answer() >>> > Play some message >>> > Bridge with {execute_on_answer=‘lua >>> myanswer.lua’}sofia/gateway/mygw/1224 >>> > >>> > Then, when the BRIDGE is answered, the lua will execute. You can’t >>> execute on answer on a call that’s never answered. >>> > >>> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez >>> wrote: >>> > >>> > Hello, >>> > >>> > ok, if I put the line back to just send the call to my lua script it >>> works, but the script starts executing. I need for it to wait until >>> someone answeres the phone before executing. so on my lua script instead >>> of the first >>> > line reading session:answer() can I replace it with >>> session:execute_on_answer()? >>> > >>> > Or what would be the best way to tell my lua script to wait until the >>> phone is answered before continuing execution? >>> > >>> > thanks, >>> > >>> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> > >>> > I understand, but you're not doing anything with call. You need to >>> set the execute on answer either befire the bridge or on the bridge itself. >>> > If you want to manipulate the incoming call with the lua, then just >>> do; >>> > >>> > >>> > >>> > Regards, >>> > >>> > David Villasmil >>> > email: david.villasmil.work at gmail.com >>> > phone: +34669448337 >>> > >>> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez >>> wrote: >>> > >>> > Hello, >>> > >>> > What I am trying to accomplish is that once the call gets answered by >>> the initial IVR, the call gets sent to an extension. At that point the >>> call waits for an answer and sends it to my lua script which bridges the >>> call. >>> > >>> > If I just send the call without the wait_on_answer the call works, >>> but my scripts starts executing right away, so by the time I answer the >>> phone I am hearing the prompts half way through. >>> > >>> > What am I missing or how can I get it to work? >>> > >>> > thanks, >>> > >>> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> > >>> > So you’re not bridging anywhere, nor answering the call, right? I ask >>> because you talk about when the call is answered, but you’re not bridging >>> it anywhere? >>> > >>> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez >>> wrote: >>> > >>> > Hello, >>> > >>> > This is what I get when I uncomment the lines. I also did a >>> reloadxml. >>> > >>> > right after the last DTMF digit it dies >>> > >>> > ------------------------------------------------------ >>> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>> sofia/external/12223334444 send dtmf >>> > digit=2 ms=250 samples=2000 >>> > EXECUTE sofia/external/12223334444 >>> export(nolocal:execute_on_answer=lua samsclub.lua) >>> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/12223334444 has executed the last dialplan instruction, >>> hanging up. >>> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >>> > >>> > ------------------------------------------------------------ >>> > >>> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> > >>> > Can you send the console log when it fails? >>> > >>> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>> wrote: >>> > >>> > Hello, >>> > >>> > I need my dial plan to dial an extension within then wait until the >>> extension picks up before starting the lua script. I got it to dial the >>> extension but can't seem to get the syntax for the >>> > "execute_on_answer" correct. When I uncomment it out it call just >>> fails. What am I missing? >>> > >>> > ----------------------------- >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > ---------------------------------------- >>> > >>> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> > >>> > That should work properly, what are trying to accomplish exactly? >>> > >>> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>> wrote: >>> > >>> > Hello, >>> > >>> > I am trying to find more info on the application "execute_on_answer". >>> > >>> > I have a script that calls an IVR then dials a users extension. I >>> need to wait for the calling party extension to answer before executing the >>> rest of my script. I don't seem to find much >>> > documentation on this application. Is there another way to test if >>> the calling party has been answered? >>> > >>> > thanks, >>> > >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > -- >>> > Regards, >>> > >>> > David Villasmil >>> > email: david.villasmil.work at gmail.com >>> > phone: +34669448337 >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > -- >>> > Regards, >>> > >>> > David Villasmil >>> > email: david.villasmil.work at gmail.com >>> > phone: +34669448337 >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > -- >>> > Regards, >>> > >>> > David Villasmil >>> > email: david.villasmil.work at gmail.com >>> > phone: +34669448337 >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> > -- >>> > Regards, >>> > >>> > David Villasmil >>> > email: david.villasmil.work at gmail.com >>> > phone: +34669448337 >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > [2 ] >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> >>> -- >>> Your life is like a penny. You're going to lose it. The question is: >>> How do >>> you spend it? >>> >>> John Covici wb2una >>> covici at ccs.covici.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Sat Apr 27 15:26:39 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sat, 27 Apr 2019 17:26:39 +0200 Subject: [Freeswitch-users] dynamic payload negotiation In-Reply-To: References: Message-ID: please, can you post (or much better, pastebin) a SIP trace ? On Sat, Apr 27, 2019 at 1:54 PM Babak Yakhchali wrote: > Hi > I'm trying to make calls between a custom softphone as client and > freeswitch using opus as codec. when client calls freeswitch everything is > working fine. but when I originate a call from freeswitch there is no audio > from sofphone but client hears fs. After capturing packets I see that when > client sends invite it is using 107 as its payload type and freeswitch > sends 107 in reply. But when fs sends invite it is using 102 and client is > sending 107. What is the standard? I think the softphone is doing something > wrong because testing with jitsi works fine. > thanks > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From vma at vallimamod.org Sat Apr 27 17:21:50 2019 From: vma at vallimamod.org (Vallimamod Abdullah) Date: Sat, 27 Apr 2019 19:21:50 +0200 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> Message-ID: <9E832E94-A587-427A-8062-4688029F2CA5@vallimamod.org> Your non working example is (without the commented parts): It should be: Keep in mind that execute_on_answer is an actual channel variable that you set (and not an application). On call answer, it is retrieved by freeswitch and its content is executed. Best Regards, -- Vallimamod Abdullah SIP Solutions vma at sip.solutions linkedin.com/in/vallimamod . > On 27 Apr 2019, at 16:10, Joli Martinez wrote: > > Hello, > > Not sure I follow, the only variable in this case is the EXT and it is set above the execute_on_answer command. What other var should I set? Call originates from FS to an IVR, IVR answers and FS dials EXT (1002), FS wait for EXT to answer then executes lua script. In this case I have stripped down my script to just play a file. So my lua script does not take any parameters. > > thanks, > > > On Sat, Apr 27, 2019 at 8:26 AM Vallimamod Abdullah wrote: > Hi, > > You need to set the execute_on_answer var before calling the answer application. > Once the call is answered or bridged, it's too late. > > > Best Regards, > -- > Vallimamod Abdullah > SIP Solutions > vma at sip.solutions > linkedin.com/in/vallimamod > . > > >> On 27 Apr 2019, at 03:00, Joli Martinez wrote: >> >> Hello, >> >> When I just use the "" the call goes through and sends the correct DTMF from the channel variable passed which is 1002. When I uncomment the "" and comment out the other line, then do a reloadxml on fs. The DTMF is not passed correctly and the call fails. I have stripped down my test.lua script to just basic to only play a file and it still fails. In this scenario I am testing calling from the freeswitch box to another freeswitch IVR, but this should work regardless of what IVR it calls. Below is the output of the both boxes. >> >> >> --------------xml---------------------- >> >> >> >> >> >> >> >> >> >> >> >> >> --------------xml---------------------- >> >> --------------test.lua---------------------- >> #!/bin/lua >> >> soundDir = "/etc/freeswitch/scripts/sounds/" >> welcome = soundDir .. "welcome.wav" >> >> freeswitch.consoleLog("INFO", "got here\n") >> >> --Starts Playing welcome message and accepts digits >> value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", "\\d+") >> >> freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") >> --------------test.lua---------------------- >> >> --------------this FS box---------------------- >> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] destination_number(9176) =~ /^9176$/ break=on-false >> Dialplan: sofia/external/1112223333 Action sleep(2000) >> Dialplan: sofia/external/1112223333 Action send_dtmf(1002) >> Dialplan: sofia/external/1112223333 Action sleep(1000) >> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua test.lua) >> 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound Call" <> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 (sofia/external/1112223333) State ROUTING going to sleep >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 (sofia/external/1112223333) State EXECUTE >> 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 sofia/external/1112223333 SOFIA EXECUTE >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 sofia/external/1112223333 Standard EXECUTE >> EXECUTE sofia/external/1112223333 set(open=true) >> 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [open]=[true] >> EXECUTE sofia/external/1112223333 sleep(2000) >> EXECUTE sofia/external/1112223333 send_dtmf(1002) >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf >> digit=1 ms=250 samples=2000 >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf >> digit=0 ms=250 samples=2000 >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf >> digit=0 ms=250 samples=2000 >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf >> digit=2 ms=250 samples=2000 >> EXECUTE sofia/external/1112223333 sleep(1000) >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start packet for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 >> 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 >> 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 >> 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 >> 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 >> 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 >> 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 >> 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 >> 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 >> 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms >> 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start packet for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 >> 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 >> 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 >> 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 >> 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 >> 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 >> 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 >> 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 >> 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 >> 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 >> 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 >> 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms >> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) >> 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction. >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> --------------this FS box---------------------- >> >> --------------receiving FS box----------------------2019-04-26 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+13337777777 at 10.21.10.4] has been answered >> 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 (sofia/internal/+13337777777 at 10.21.10.4) Callstate Change RINGING -> ACTIVE >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) >> 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. >> 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel sofia/internal/+13337777777 at 10.21.10.4 entering state [ready][200] >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(hangup_after_bridge=true) >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(ringback=local_stream://default) >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [ringback]=[local_stream://default] >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id=9000 at 10.21.10.4) >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(transfer_ringback=local_stream://default) >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [transfer_ringback]=[local_stream://default] >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3c6005cdf0 Connected. >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3c6005cdf0 released. >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building menu 'd67bb786-a0bc-4094-91fa-76f7db68caeb' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu d67bb786-a0bc-4094-91fa-76f7db68caeb >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS flite >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec Activated >> 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 Speaking text: Hello World, This is a test IVR >> 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 >> 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF 1:2080 >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done speaking text >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 digits t/o 2000 >> 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 0:2080 >> 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF 0:2080 >> 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup sofia/internal/+13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >> --------------receiving FS box---------------------- >> >> On Fri, Apr 26, 2019 at 8:53 AM David Villasmil wrote: >> Joli, >> >> On you IVR, assuming you are using fs IVR? Please show us the IVR. >> >> >> On Fri, 26 Apr 2019 at 06:19, John Covici wrote: >> You have to have a bridge command in that dialplan to start the call >> after setting the execute_on_answer, the bridge does not belong in >> your samsclub script. >> >> On Fri, 26 Apr 2019 00:02:14 -0400, >> Joli Martinez wrote: >> > >> > [1 ] >> > [1.1 ] >> > [1.2 ] >> > Hello >> > >> > It is still not working. When I do just the application lua it works, but lua script starts running before I pick up. When I uncomment any of the two execute_on_answer the call fails. Below is the error messages. I am bridging the >> > call at the beginning of my lua script. >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > ---------------------------------------------------------------------- >> > >> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms >> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) >> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[test.lua] >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> > >> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms >> > EXECUTE sofia/external/1112223333 export(nolocal:execute_on_answer=lua test.lua) >> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> > >> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil wrote: >> > >> > You need to bridge the call SOMEWHERE before you can run execute_on_answer. >> > So what you have to do, send the call out setting the execute_on_answer. >> > >> > Something like: >> > >> > Answer() >> > Play some message >> > Bridge with {execute_on_answer=‘lua myanswer.lua’}sofia/gateway/mygw/1224 >> > >> > Then, when the BRIDGE is answered, the lua will execute. You can’t execute on answer on a call that’s never answered. >> > >> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez wrote: >> > >> > Hello, >> > >> > ok, if I put the line back to just send the call to my lua script it works, but the script starts executing. I need for it to wait until someone answeres the phone before executing. so on my lua script instead of the first >> > line reading session:answer() can I replace it with session:execute_on_answer()? >> > >> > Or what would be the best way to tell my lua script to wait until the phone is answered before continuing execution? >> > >> > thanks, >> > >> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil wrote: >> > >> > I understand, but you're not doing anything with call. You need to set the execute on answer either befire the bridge or on the bridge itself. >> > If you want to manipulate the incoming call with the lua, then just do; >> > >> > >> > >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > >> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez wrote: >> > >> > Hello, >> > >> > What I am trying to accomplish is that once the call gets answered by the initial IVR, the call gets sent to an extension. At that point the call waits for an answer and sends it to my lua script which bridges the call. >> > >> > If I just send the call without the wait_on_answer the call works, but my scripts starts executing right away, so by the time I answer the phone I am hearing the prompts half way through. >> > >> > What am I missing or how can I get it to work? >> > >> > thanks, >> > >> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil wrote: >> > >> > So you’re not bridging anywhere, nor answering the call, right? I ask because you talk about when the call is answered, but you’re not bridging it anywhere? >> > >> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez wrote: >> > >> > Hello, >> > >> > This is what I get when I uncomment the lines. I also did a reloadxml. >> > >> > right after the last DTMF digit it dies >> > >> > ------------------------------------------------------ >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 sofia/external/12223334444 send dtmf >> > digit=2 ms=250 samples=2000 >> > EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua samsclub.lua) >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 sofia/external/12223334444 has executed the last dialplan instruction, hanging up. >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >> > >> > ------------------------------------------------------------ >> > >> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil wrote: >> > >> > Can you send the console log when it fails? >> > >> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez wrote: >> > >> > Hello, >> > >> > I need my dial plan to dial an extension within then wait until the extension picks up before starting the lua script. I got it to dial the extension but can't seem to get the syntax for the >> > "execute_on_answer" correct. When I uncomment it out it call just fails. What am I missing? >> > >> > ----------------------------- >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > ---------------------------------------- >> > >> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil wrote: >> > >> > That should work properly, what are trying to accomplish exactly? >> > >> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez wrote: >> > >> > Hello, >> > >> > I am trying to find more info on the application "execute_on_answer". >> > >> > I have a script that calls an IVR then dials a users extension. I need to wait for the calling party extension to answer before executing the rest of my script. I don't seem to find much >> > documentation on this application. Is there another way to test if the calling party has been answered? >> > >> > thanks, >> > >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > [2 ] >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> >> -- >> Your life is like a penny. You're going to lose it. The question is: >> How do >> you spend it? >> >> John Covici wb2una >> covici at ccs.covici.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From mrjoli021 at gmail.com Sat Apr 27 18:34:20 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Sat, 27 Apr 2019 14:34:20 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: <9E832E94-A587-427A-8062-4688029F2CA5@vallimamod.org> References: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> <9E832E94-A587-427A-8062-4688029F2CA5@vallimamod.org> Message-ID: Hello, I have updated the config as requested with the exception of adding the send_dtmf line. I also did a reloadxml and it is still not working. What am I missing? ---------------xml-------------------- ---------------xml-------------------- ---------------local FS-------------------- Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] destination_number(9176) =~ /^9176$/ break=on-false Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua test.lua) Dialplan: sofia/external/1112223333 Action answer() Dialplan: sofia/external/1112223333 Action sleep(2000) Dialplan: sofia/external/1112223333 Action send_dtmf(${ext}) Dialplan: sofia/external/1112223333 Action sleep(1000) 2019-04-27 11:27:56.598764 [INFO] switch_channel.c:3129 sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound Call" <409> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:286 (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:643 (sofia/external/1112223333) State ROUTING going to sleep 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:584 (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 Tot 2) 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:650 (sofia/external/1112223333) State EXECUTE 2019-04-27 11:27:56.598764 [DEBUG] mod_sofia.c:198 sofia/external/1112223333 SOFIA EXECUTE 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:328 sofia/external/1112223333 Standard EXECUTE EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) 2019-04-27 11:27:56.598764 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[lua test.lua] EXECUTE sofia/external/1112223333 answer() EXECUTE sofia/external/1112223333 sleep(2000) EXECUTE sofia/external/1112223333 send_dtmf(1002) 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf digit=1 ms=250 samples=2000 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf digit=0 ms=250 samples=2000 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf digit=0 ms=250 samples=2000 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf digit=2 ms=250 samples=2000 EXECUTE sofia/external/1112223333 sleep(1000) 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5261 Send start packet for [1] ts=160 dur=160/160/2000 seq=50563 lw=160 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=320/320/2000 seq=50564 lw=320 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=480/480/2000 seq=50565 lw=480 2019-04-27 11:27:58.658789 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=640/640/2000 seq=50566 lw=640 2019-04-27 11:27:58.678753 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=800/800/2000 seq=50567 lw=800 2019-04-27 11:27:58.698752 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=960/960/2000 seq=50568 lw=960 2019-04-27 11:27:58.718750 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1120/1120/2000 seq=50569 lw=1120 2019-04-27 11:27:58.738752 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1280/1280/2000 seq=50570 lw=1280 2019-04-27 11:27:58.758871 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1440/1440/2000 seq=50571 lw=1440 2019-04-27 11:27:58.778753 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1600/1600/2000 seq=50572 lw=1600 2019-04-27 11:27:58.798750 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1760/1760/2000 seq=50573 lw=1760 2019-04-27 11:27:58.818750 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1920/1920/2000 seq=50574 lw=1920 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=50575 lw=1920 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=50576 lw=1920 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=50577 lw=1920 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms 2019-04-27 11:27:59.238764 [DEBUG] switch_rtp.c:5261 Send start packet for [0] ts=2400 dur=160/160/2000 seq=50578 lw=2400 2019-04-27 11:27:59.258748 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=320/320/2000 seq=50579 lw=2560 2019-04-27 11:27:59.278769 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=480/480/2000 seq=50580 lw=2720 2019-04-27 11:27:59.298757 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=640/640/2000 seq=50581 lw=2880 2019-04-27 11:27:59.318750 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=800/800/2000 seq=50582 lw=3040 2019-04-27 11:27:59.338757 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=960/960/2000 seq=50583 lw=3200 2019-04-27 11:27:59.358750 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1120/1120/2000 seq=50584 lw=3360 2019-04-27 11:27:59.378753 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1280/1280/2000 seq=50585 lw=3520 2019-04-27 11:27:59.398753 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1440/1440/2000 seq=50586 lw=3680 2019-04-27 11:27:59.418759 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1600/1600/2000 seq=50587 lw=3840 2019-04-27 11:27:59.438754 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1760/1760/2000 seq=50588 lw=4000 2019-04-27 11:27:59.458746 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1920/1920/2000 seq=50589 lw=4160 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=50590 lw=4160 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=50591 lw=4160 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=50592 lw=4160 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, h. 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] ---------------local FS-------------------- ---------------remote FS-------------------- 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS flite 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec Activated 2019-04-27 14:25:13.656926 [DEBUG] switch_ivr_play_say.c:2729 Speaking text: Hello World, This is a test IVR 2019-04-27 14:25:15.576972 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 2019-04-27 14:25:15.576972 [INFO] switch_channel.c:515 RECV DTMF 1:2080 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_play_say.c:2907 done speaking text 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 digits t/o 2000 2019-04-27 14:25:16.156952 [NOTICE] sofia.c:1012 Hangup sofia/internal/+ 13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] ---------------local FS-------------------- On Sat, Apr 27, 2019 at 1:49 PM Vallimamod Abdullah wrote: > Your non working example is (without the commented parts): > > > > > > > > > > > > It should be: > > > > > > > > > > > Keep in mind that execute_on_answer is an actual channel variable that you > set (and not an application). On call answer, it is retrieved by freeswitch > and its content is executed. > > > Best Regards, > -- > Vallimamod Abdullah > SIP Solutions > vma at sip.solutions > linkedin.com/in/vallimamod > . > > > > On 27 Apr 2019, at 16:10, Joli Martinez wrote: > > > > Hello, > > > > Not sure I follow, the only variable in this case is the EXT and it is > set above the execute_on_answer command. What other var should I set? > Call originates from FS to an IVR, IVR answers and FS dials EXT (1002), FS > wait for EXT to answer then executes lua script. In this case I have > stripped down my script to just play a file. So my lua script does not > take any parameters. > > > > thanks, > > > > > > On Sat, Apr 27, 2019 at 8:26 AM Vallimamod Abdullah > wrote: > > Hi, > > > > You need to set the execute_on_answer var before calling the answer > application. > > Once the call is answered or bridged, it's too late. > > > > > > Best Regards, > > -- > > Vallimamod Abdullah > > SIP Solutions > > vma at sip.solutions > > linkedin.com/in/vallimamod > > . > > > > > >> On 27 Apr 2019, at 03:00, Joli Martinez wrote: > >> > >> Hello, > >> > >> When I just use the "" the > call goes through and sends the correct DTMF from the channel variable > passed which is 1002. When I uncomment the " data="execute_on_answer=lua test.lua"/>" and comment out the other line, > then do a reloadxml on fs. The DTMF is not passed correctly and the call > fails. I have stripped down my test.lua script to just basic to only play > a file and it still fails. In this scenario I am testing calling from the > freeswitch box to another freeswitch IVR, but this should work regardless > of what IVR it calls. Below is the output of the both boxes. > >> > >> > >> --------------xml---------------------- > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> --------------xml---------------------- > >> > >> --------------test.lua---------------------- > >> #!/bin/lua > >> > >> soundDir = "/etc/freeswitch/scripts/sounds/" > >> welcome = soundDir .. "welcome.wav" > >> > >> freeswitch.consoleLog("INFO", "got here\n") > >> > >> --Starts Playing welcome message and accepts digits > >> value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", > "\\d+") > >> > >> freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") > >> --------------test.lua---------------------- > >> > >> --------------this FS box---------------------- > >> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] > destination_number(9176) =~ /^9176$/ break=on-false > >> Dialplan: sofia/external/1112223333 Action sleep(2000) > >> Dialplan: sofia/external/1112223333 Action send_dtmf(1002) > >> Dialplan: sofia/external/1112223333 Action sleep(1000) > >> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua > test.lua) > >> 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 > sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound > Call" <> > >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 > (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE > >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 > (sofia/external/1112223333) State ROUTING going to sleep > >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 > (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) > >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 > (sofia/external/1112223333) State EXECUTE > >> 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 > sofia/external/1112223333 SOFIA EXECUTE > >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 > sofia/external/1112223333 Standard EXECUTE > >> EXECUTE sofia/external/1112223333 set(open=true) > >> 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET > sofia/external/1112223333 [open]=[true] > >> EXECUTE sofia/external/1112223333 sleep(2000) > >> EXECUTE sofia/external/1112223333 send_dtmf(1002) > >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > >> digit=1 ms=250 samples=2000 > >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > >> digit=0 ms=250 samples=2000 > >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > >> digit=0 ms=250 samples=2000 > >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > >> digit=2 ms=250 samples=2000 > >> EXECUTE sofia/external/1112223333 sleep(1000) > >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start packet > for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 > >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 > >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio > ip/port confirmed. > >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 > >> 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 > >> 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 > >> 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 > >> 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 > >> 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 > >> 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 > >> 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 > >> 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 > >> 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 > >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet > for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 > >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet > for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 > >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet > for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 > >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit delay > of 40ms > >> 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start packet > for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 > >> 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 > >> 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 > >> 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 > >> 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 > >> 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 > >> 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 > >> 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 > >> 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 > >> 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 > >> 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 > >> 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 > >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet > for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 > >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet > for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 > >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet > for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 > >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit delay > of 40ms > >> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) > >> 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET > sofia/external/1112223333 [execute_on_answer]=[lua test.lua] > >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 > sofia/external/1112223333 has executed the last dialplan instruction. > >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 > Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > >> --------------this FS box---------------------- > >> > >> --------------receiving FS box----------------------2019-04-26 > 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+ > 13337777777 at 10.21.10.4] has been answered > >> 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 > (sofia/internal/+13337777777 at 10.21.10.4) Callstate Change RINGING -> > ACTIVE > >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) > >> 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio > ip/port confirmed. > >> 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel sofia/internal/+ > 13337777777 at 10.21.10.4 entering state [ready][200] > >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > set(hangup_after_bridge=true) > >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET > sofia/internal/+13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] > >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > set(ringback=local_stream://default) > >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET > sofia/internal/+13337777777 at 10.21.10.4 [ringback]=[local_stream://default] > >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id= > 9000 at 10.21.10.4) > >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET > sofia/internal/+13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] > >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > set(transfer_ringback=local_stream://default) > >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET > sofia/internal/+13337777777 at 10.21.10.4 > [transfer_ringback]=[local_stream://default] > >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) > >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET > sofia/internal/+13337777777 at 10.21.10.4 > [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] > >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 > ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) > >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle > 0x7f3c6005cdf0 Connected. > >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle > 0x7f3c6005cdf0 released. > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-exit' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-sub' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-exec-app' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-play-sound' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-back' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 > switch_ivr_menu_stack_xml_add binding 'menu-top' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building menu > 'd67bb786-a0bc-4094-91fa-76f7db68caeb' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu > action 'menu-exec-app' to '1' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu > action 'menu-exec-app' to '/^(\d{2,11})$/' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu > action 'menu-exec-app' to '/^(\d{2,11})$/' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu > action 'menu-exec-app' to '/^(\d{2,11})$/' > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing IVR > menu d67bb786-a0bc-4094-91fa-76f7db68caeb > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS > flite > >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec > Activated > >> 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 Speaking > text: Hello World, This is a test IVR > >> 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF > 1:2080 > >> 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF 1:2080 > >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done > speaking text > >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for > 3/4 digits t/o 2000 > >> 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF > 0:2080 > >> 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF 0:2080 > >> 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup sofia/internal/+ > 13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] > >> --------------receiving FS box---------------------- > >> > >> On Fri, Apr 26, 2019 at 8:53 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Joli, > >> > >> On you IVR, assuming you are using fs IVR? Please show us the IVR. > >> > >> > >> On Fri, 26 Apr 2019 at 06:19, John Covici > wrote: > >> You have to have a bridge command in that dialplan to start the call > >> after setting the execute_on_answer, the bridge does not belong in > >> your samsclub script. > >> > >> On Fri, 26 Apr 2019 00:02:14 -0400, > >> Joli Martinez wrote: > >> > > >> > [1 ] > >> > [1.1 ] > >> > [1.2 ] > >> > Hello > >> > > >> > It is still not working. When I do just the application lua it > works, but lua script starts running before I pick up. When I uncomment > any of the two execute_on_answer the call fails. Below is the error > messages. I am bridging the > >> > call at the beginning of my lua script. > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > data="nolocal:execute_on_answer=lua samsclub.lua"/> > >> > > >> > > >> > > >> > > >> > ---------------------------------------------------------------------- > >> > > >> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit > delay of 40ms > >> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) > >> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET > sofia/external/1112223333 [execute_on_answer]=[test.lua] > >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 > sofia/external/1112223333 has executed the last dialplan instruction, > hanging up. > >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 > Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > >> > > >> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit > delay of 40ms > >> > EXECUTE sofia/external/1112223333 > export(nolocal:execute_on_answer=lua test.lua) > >> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT > (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 > sofia/external/1112223333 has executed the last dialplan instruction, > hanging up. > >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 > Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > >> > > >> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> > > >> > You need to bridge the call SOMEWHERE before you can run > execute_on_answer. > >> > So what you have to do, send the call out setting the > execute_on_answer. > >> > > >> > Something like: > >> > > >> > Answer() > >> > Play some message > >> > Bridge with {execute_on_answer=‘lua > myanswer.lua’}sofia/gateway/mygw/1224 > >> > > >> > Then, when the BRIDGE is answered, the lua will execute. You can’t > execute on answer on a call that’s never answered. > >> > > >> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez > wrote: > >> > > >> > Hello, > >> > > >> > ok, if I put the line back to just send the call to my lua script it > works, but the script starts executing. I need for it to wait until > someone answeres the phone before executing. so on my lua script instead > of the first > >> > line reading session:answer() can I replace it with > session:execute_on_answer()? > >> > > >> > Or what would be the best way to tell my lua script to wait until > the phone is answered before continuing execution? > >> > > >> > thanks, > >> > > >> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> > > >> > I understand, but you're not doing anything with call. You need to > set the execute on answer either befire the bridge or on the bridge itself. > >> > If you want to manipulate the incoming call with the lua, then just > do; > >> > > >> > > >> > > >> > Regards, > >> > > >> > David Villasmil > >> > email: david.villasmil.work at gmail.com > >> > phone: +34669448337 > >> > > >> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez > wrote: > >> > > >> > Hello, > >> > > >> > What I am trying to accomplish is that once the call gets answered > by the initial IVR, the call gets sent to an extension. At that point the > call waits for an answer and sends it to my lua script which bridges the > call. > >> > > >> > If I just send the call without the wait_on_answer the call works, > but my scripts starts executing right away, so by the time I answer the > phone I am hearing the prompts half way through. > >> > > >> > What am I missing or how can I get it to work? > >> > > >> > thanks, > >> > > >> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> > > >> > So you’re not bridging anywhere, nor answering the call, right? I > ask because you talk about when the call is answered, but you’re not > bridging it anywhere? > >> > > >> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez > wrote: > >> > > >> > Hello, > >> > > >> > This is what I get when I uncomment the lines. I also did a > reloadxml. > >> > > >> > right after the last DTMF digit it dies > >> > > >> > ------------------------------------------------------ > >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 > sofia/external/12223334444 send dtmf > >> > digit=2 ms=250 samples=2000 > >> > EXECUTE sofia/external/12223334444 > export(nolocal:execute_on_answer=lua samsclub.lua) > >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT > (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] > >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 > sofia/external/12223334444 has executed the last dialplan instruction, > hanging up. > >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 > Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] > >> > > >> > ------------------------------------------------------------ > >> > > >> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> > > >> > Can you send the console log when it fails? > >> > > >> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez > wrote: > >> > > >> > Hello, > >> > > >> > I need my dial plan to dial an extension within then wait until the > extension picks up before starting the lua script. I got it to dial the > extension but can't seem to get the syntax for the > >> > "execute_on_answer" correct. When I uncomment it out it call just > fails. What am I missing? > >> > > >> > ----------------------------- > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > ---------------------------------------- > >> > > >> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> > > >> > That should work properly, what are trying to accomplish exactly? > >> > > >> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez > wrote: > >> > > >> > Hello, > >> > > >> > I am trying to find more info on the application "execute_on_answer". > >> > > >> > I have a script that calls an IVR then dials a users extension. I > need to wait for the calling party extension to answer before executing the > rest of my script. I don't seem to find much > >> > documentation on this application. Is there another way to test if > the calling party has been answered? > >> > > >> > thanks, > >> > > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > -- > >> > Regards, > >> > > >> > David Villasmil > >> > email: david.villasmil.work at gmail.com > >> > phone: +34669448337 > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > -- > >> > Regards, > >> > > >> > David Villasmil > >> > email: david.villasmil.work at gmail.com > >> > phone: +34669448337 > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > -- > >> > Regards, > >> > > >> > David Villasmil > >> > email: david.villasmil.work at gmail.com > >> > phone: +34669448337 > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > > >> > -- > >> > Regards, > >> > > >> > David Villasmil > >> > email: david.villasmil.work at gmail.com > >> > phone: +34669448337 > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > [2 ] > >> > > _________________________________________________________________________ > >> > > >> > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> > Build your next product on our scalable cloud platform. > >> > > >> > Join our online community to chat in real time > https://signalwire.community > >> > > >> > Professional FreeSWITCH Services > >> > sales at freeswitch.com > >> > https://freeswitch.com > >> > > >> > Official FreeSWITCH Sites > >> > https://freeswitch.com/oss > >> > https://freeswitch.org/confluence > >> > https://cluecon.com > >> > > >> > FreeSWITCH-users mailing list > >> > FreeSWITCH-users at lists.freeswitch.org > >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> > https://freeswitch.com > >> > >> -- > >> Your life is like a penny. You're going to lose it. The question is: > >> How do > >> you spend it? > >> > >> John Covici wb2una > >> covici at ccs.covici.com > >> > >> > _________________________________________________________________________ > >> > >> The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> Build your next product on our scalable cloud platform. > >> > >> Join our online community to chat in real time > https://signalwire.community > >> > >> Professional FreeSWITCH Services > >> sales at freeswitch.com > >> https://freeswitch.com > >> > >> Official FreeSWITCH Sites > >> https://freeswitch.com/oss > >> https://freeswitch.org/confluence > >> https://cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> https://freeswitch.com > >> -- > >> Regards, > >> > >> David Villasmil > >> email: david.villasmil.work at gmail.com > >> phone: +34669448337 > >> > _________________________________________________________________________ > >> > >> The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> Build your next product on our scalable cloud platform. > >> > >> Join our online community to chat in real time > https://signalwire.community > >> > >> Professional FreeSWITCH Services > >> sales at freeswitch.com > >> https://freeswitch.com > >> > >> Official FreeSWITCH Sites > >> https://freeswitch.com/oss > >> https://freeswitch.org/confluence > >> https://cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> https://freeswitch.com > >> > _________________________________________________________________________ > >> > >> The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >> Build your next product on our scalable cloud platform. > >> > >> Join our online community to chat in real time > https://signalwire.community > >> > >> Professional FreeSWITCH Services > >> sales at freeswitch.com > >> https://freeswitch.com > >> > >> Official FreeSWITCH Sites > >> https://freeswitch.com/oss > >> https://freeswitch.org/confluence > >> https://cluecon.com > >> > >> FreeSWITCH-users mailing list > >> FreeSWITCH-users at lists.freeswitch.org > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> https://freeswitch.com > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Sat Apr 27 22:24:06 2019 From: krice at freeswitch.org (Ken Rice) Date: Sat, 27 Apr 2019 17:24:06 -0500 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> <9E832E94-A587-427A-8062-4688029F2CA5@vallimamod.org> Message-ID: <879BD6C7-FB77-4DAA-B729-F73D00EDDED4@freeswitch.org> you need to export no local it most likely so it gets set on the b leg’s answer. set puts it on the a leg Sent from my iPhone > On Apr 27, 2019, at 13:34, Joli Martinez wrote: > > Hello, > > I have updated the config as requested with the exception of adding the send_dtmf line. I also did a reloadxml and it is still not working. What am I missing? > > ---------------xml-------------------- > > > > > > > > > > > > ---------------xml-------------------- > > ---------------local FS-------------------- > Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] destination_number(9176) =~ /^9176$/ break=on-false > Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua test.lua) > Dialplan: sofia/external/1112223333 Action answer() > Dialplan: sofia/external/1112223333 Action sleep(2000) > Dialplan: sofia/external/1112223333 Action send_dtmf(${ext}) > Dialplan: sofia/external/1112223333 Action sleep(1000) > 2019-04-27 11:27:56.598764 [INFO] switch_channel.c:3129 sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound Call" <409> > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:286 (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:643 (sofia/external/1112223333) State ROUTING going to sleep > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:584 (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 Tot 2) > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:650 (sofia/external/1112223333) State EXECUTE > 2019-04-27 11:27:56.598764 [DEBUG] mod_sofia.c:198 sofia/external/1112223333 SOFIA EXECUTE > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:328 sofia/external/1112223333 Standard EXECUTE > EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) > 2019-04-27 11:27:56.598764 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[lua test.lua] > EXECUTE sofia/external/1112223333 answer() > EXECUTE sofia/external/1112223333 sleep(2000) > EXECUTE sofia/external/1112223333 send_dtmf(1002) > 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf > digit=1 ms=250 samples=2000 > 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf > digit=0 ms=250 samples=2000 > 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf > digit=0 ms=250 samples=2000 > 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf > digit=2 ms=250 samples=2000 > EXECUTE sofia/external/1112223333 sleep(1000) > 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5261 Send start packet for [1] ts=160 dur=160/160/2000 seq=50563 lw=160 > 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=320/320/2000 seq=50564 lw=320 > 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. > 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=480/480/2000 seq=50565 lw=480 > 2019-04-27 11:27:58.658789 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=640/640/2000 seq=50566 lw=640 > 2019-04-27 11:27:58.678753 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=800/800/2000 seq=50567 lw=800 > 2019-04-27 11:27:58.698752 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=960/960/2000 seq=50568 lw=960 > 2019-04-27 11:27:58.718750 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1120/1120/2000 seq=50569 lw=1120 > 2019-04-27 11:27:58.738752 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1280/1280/2000 seq=50570 lw=1280 > 2019-04-27 11:27:58.758871 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1440/1440/2000 seq=50571 lw=1440 > 2019-04-27 11:27:58.778753 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1600/1600/2000 seq=50572 lw=1600 > 2019-04-27 11:27:58.798750 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1760/1760/2000 seq=50573 lw=1760 > 2019-04-27 11:27:58.818750 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1920/1920/2000 seq=50574 lw=1920 > 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=50575 lw=1920 > 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=50576 lw=1920 > 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=50577 lw=1920 > 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms > 2019-04-27 11:27:59.238764 [DEBUG] switch_rtp.c:5261 Send start packet for [0] ts=2400 dur=160/160/2000 seq=50578 lw=2400 > 2019-04-27 11:27:59.258748 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=320/320/2000 seq=50579 lw=2560 > 2019-04-27 11:27:59.278769 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=480/480/2000 seq=50580 lw=2720 > 2019-04-27 11:27:59.298757 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=640/640/2000 seq=50581 lw=2880 > 2019-04-27 11:27:59.318750 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=800/800/2000 seq=50582 lw=3040 > 2019-04-27 11:27:59.338757 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=960/960/2000 seq=50583 lw=3200 > 2019-04-27 11:27:59.358750 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1120/1120/2000 seq=50584 lw=3360 > 2019-04-27 11:27:59.378753 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1280/1280/2000 seq=50585 lw=3520 > 2019-04-27 11:27:59.398753 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1440/1440/2000 seq=50586 lw=3680 > 2019-04-27 11:27:59.418759 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1600/1600/2000 seq=50587 lw=3840 > 2019-04-27 11:27:59.438754 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1760/1760/2000 seq=50588 lw=4000 > 2019-04-27 11:27:59.458746 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1920/1920/2000 seq=50589 lw=4160 > 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=50590 lw=4160 > 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=50591 lw=4160 > 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=50592 lw=4160 > 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms > 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, h. > 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > ---------------local FS-------------------- > > ---------------remote FS-------------------- > 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS flite > 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec Activated > 2019-04-27 14:25:13.656926 [DEBUG] switch_ivr_play_say.c:2729 Speaking text: Hello World, This is a test IVR > 2019-04-27 14:25:15.576972 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 > 2019-04-27 14:25:15.576972 [INFO] switch_channel.c:515 RECV DTMF 1:2080 > 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_play_say.c:2907 done speaking text > 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 digits t/o 2000 > 2019-04-27 14:25:16.156952 [NOTICE] sofia.c:1012 Hangup sofia/internal/+13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] > ---------------local FS-------------------- > >> On Sat, Apr 27, 2019 at 1:49 PM Vallimamod Abdullah wrote: >> Your non working example is (without the commented parts): >> >> >> >> >> >> >> >> >> >> >> >> It should be: >> >> >> >> >> >> >> >> >> >> >> Keep in mind that execute_on_answer is an actual channel variable that you set (and not an application). On call answer, it is retrieved by freeswitch and its content is executed. >> >> >> Best Regards, >> -- >> Vallimamod Abdullah >> SIP Solutions >> vma at sip.solutions >> linkedin.com/in/vallimamod >> . >> >> >> > On 27 Apr 2019, at 16:10, Joli Martinez wrote: >> > >> > Hello, >> > >> > Not sure I follow, the only variable in this case is the EXT and it is set above the execute_on_answer command. What other var should I set? Call originates from FS to an IVR, IVR answers and FS dials EXT (1002), FS wait for EXT to answer then executes lua script. In this case I have stripped down my script to just play a file. So my lua script does not take any parameters. >> > >> > thanks, >> > >> > >> > On Sat, Apr 27, 2019 at 8:26 AM Vallimamod Abdullah wrote: >> > Hi, >> > >> > You need to set the execute_on_answer var before calling the answer application. >> > Once the call is answered or bridged, it's too late. >> > >> > >> > Best Regards, >> > -- >> > Vallimamod Abdullah >> > SIP Solutions >> > vma at sip.solutions >> > linkedin.com/in/vallimamod >> > . >> > >> > >> >> On 27 Apr 2019, at 03:00, Joli Martinez wrote: >> >> >> >> Hello, >> >> >> >> When I just use the "" the call goes through and sends the correct DTMF from the channel variable passed which is 1002. When I uncomment the "" and comment out the other line, then do a reloadxml on fs. The DTMF is not passed correctly and the call fails. I have stripped down my test.lua script to just basic to only play a file and it still fails. In this scenario I am testing calling from the freeswitch box to another freeswitch IVR, but this should work regardless of what IVR it calls. Below is the output of the both boxes. >> >> >> >> >> >> --------------xml---------------------- >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------xml---------------------- >> >> >> >> --------------test.lua---------------------- >> >> #!/bin/lua >> >> >> >> soundDir = "/etc/freeswitch/scripts/sounds/" >> >> welcome = soundDir .. "welcome.wav" >> >> >> >> freeswitch.consoleLog("INFO", "got here\n") >> >> >> >> --Starts Playing welcome message and accepts digits >> >> value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", "\\d+") >> >> >> >> freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") >> >> --------------test.lua---------------------- >> >> >> >> --------------this FS box---------------------- >> >> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] destination_number(9176) =~ /^9176$/ break=on-false >> >> Dialplan: sofia/external/1112223333 Action sleep(2000) >> >> Dialplan: sofia/external/1112223333 Action send_dtmf(1002) >> >> Dialplan: sofia/external/1112223333 Action sleep(1000) >> >> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua test.lua) >> >> 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound Call" <> >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 (sofia/external/1112223333) State ROUTING going to sleep >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 (sofia/external/1112223333) State EXECUTE >> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 sofia/external/1112223333 SOFIA EXECUTE >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 sofia/external/1112223333 Standard EXECUTE >> >> EXECUTE sofia/external/1112223333 set(open=true) >> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [open]=[true] >> >> EXECUTE sofia/external/1112223333 sleep(2000) >> >> EXECUTE sofia/external/1112223333 send_dtmf(1002) >> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf >> >> digit=1 ms=250 samples=2000 >> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf >> >> digit=0 ms=250 samples=2000 >> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf >> >> digit=0 ms=250 samples=2000 >> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 sofia/external/1112223333 send dtmf >> >> digit=2 ms=250 samples=2000 >> >> EXECUTE sofia/external/1112223333 sleep(1000) >> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start packet for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 >> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 >> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. >> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 >> >> 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 >> >> 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 >> >> 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 >> >> 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 >> >> 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 >> >> 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 >> >> 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 >> >> 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 >> >> 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle packet for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 >> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 >> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 >> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 >> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms >> >> 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start packet for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 >> >> 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 >> >> 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 >> >> 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 >> >> 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 >> >> 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 >> >> 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 >> >> 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 >> >> 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 >> >> 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 >> >> 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 >> >> 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle packet for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 >> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 >> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 >> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 >> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms >> >> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) >> >> 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction. >> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> >> --------------this FS box---------------------- >> >> >> >> --------------receiving FS box----------------------2019-04-26 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+13337777777 at 10.21.10.4] has been answered >> >> 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 (sofia/internal/+13337777777 at 10.21.10.4) Callstate Change RINGING -> ACTIVE >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) >> >> 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed. >> >> 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel sofia/internal/+13337777777 at 10.21.10.4 entering state [ready][200] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(hangup_after_bridge=true) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(ringback=local_stream://default) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [ringback]=[local_stream://default] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id=9000 at 10.21.10.4) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(transfer_ringback=local_stream://default) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [transfer_ringback]=[local_stream://default] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET sofia/internal/+13337777777 at 10.21.10.4 [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) >> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7f3c6005cdf0 Connected. >> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7f3c6005cdf0 released. >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exit' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-sub' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-exec-app' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-play-sound' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-back' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 switch_ivr_menu_stack_xml_add binding 'menu-top' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building menu 'd67bb786-a0bc-4094-91fa-76f7db68caeb' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '1' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu action 'menu-exec-app' to '/^(\d{2,11})$/' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu d67bb786-a0bc-4094-91fa-76f7db68caeb >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS flite >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec Activated >> >> 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 Speaking text: Hello World, This is a test IVR >> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 >> >> 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF 1:2080 >> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done speaking text >> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 digits t/o 2000 >> >> 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 0:2080 >> >> 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF 0:2080 >> >> 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup sofia/internal/+13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >> >> --------------receiving FS box---------------------- >> >> >> >> On Fri, Apr 26, 2019 at 8:53 AM David Villasmil wrote: >> >> Joli, >> >> >> >> On you IVR, assuming you are using fs IVR? Please show us the IVR. >> >> >> >> >> >> On Fri, 26 Apr 2019 at 06:19, John Covici wrote: >> >> You have to have a bridge command in that dialplan to start the call >> >> after setting the execute_on_answer, the bridge does not belong in >> >> your samsclub script. >> >> >> >> On Fri, 26 Apr 2019 00:02:14 -0400, >> >> Joli Martinez wrote: >> >> > >> >> > [1 ] >> >> > [1.1 ] >> >> > [1.2 ] >> >> > Hello >> >> > >> >> > It is still not working. When I do just the application lua it works, but lua script starts running before I pick up. When I uncomment any of the two execute_on_answer the call fails. Below is the error messages. I am bridging the >> >> > call at the beginning of my lua script. >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > ---------------------------------------------------------------------- >> >> > >> >> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms >> >> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) >> >> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET sofia/external/1112223333 [execute_on_answer]=[test.lua] >> >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. >> >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> >> > >> >> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit delay of 40ms >> >> > EXECUTE sofia/external/1112223333 export(nolocal:execute_on_answer=lua test.lua) >> >> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. >> >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> >> > >> >> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil wrote: >> >> > >> >> > You need to bridge the call SOMEWHERE before you can run execute_on_answer. >> >> > So what you have to do, send the call out setting the execute_on_answer. >> >> > >> >> > Something like: >> >> > >> >> > Answer() >> >> > Play some message >> >> > Bridge with {execute_on_answer=‘lua myanswer.lua’}sofia/gateway/mygw/1224 >> >> > >> >> > Then, when the BRIDGE is answered, the lua will execute. You can’t execute on answer on a call that’s never answered. >> >> > >> >> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez wrote: >> >> > >> >> > Hello, >> >> > >> >> > ok, if I put the line back to just send the call to my lua script it works, but the script starts executing. I need for it to wait until someone answeres the phone before executing. so on my lua script instead of the first >> >> > line reading session:answer() can I replace it with session:execute_on_answer()? >> >> > >> >> > Or what would be the best way to tell my lua script to wait until the phone is answered before continuing execution? >> >> > >> >> > thanks, >> >> > >> >> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil wrote: >> >> > >> >> > I understand, but you're not doing anything with call. You need to set the execute on answer either befire the bridge or on the bridge itself. >> >> > If you want to manipulate the incoming call with the lua, then just do; >> >> > >> >> > >> >> > >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > >> >> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez wrote: >> >> > >> >> > Hello, >> >> > >> >> > What I am trying to accomplish is that once the call gets answered by the initial IVR, the call gets sent to an extension. At that point the call waits for an answer and sends it to my lua script which bridges the call. >> >> > >> >> > If I just send the call without the wait_on_answer the call works, but my scripts starts executing right away, so by the time I answer the phone I am hearing the prompts half way through. >> >> > >> >> > What am I missing or how can I get it to work? >> >> > >> >> > thanks, >> >> > >> >> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil wrote: >> >> > >> >> > So you’re not bridging anywhere, nor answering the call, right? I ask because you talk about when the call is answered, but you’re not bridging it anywhere? >> >> > >> >> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez wrote: >> >> > >> >> > Hello, >> >> > >> >> > This is what I get when I uncomment the lines. I also did a reloadxml. >> >> > >> >> > right after the last DTMF digit it dies >> >> > >> >> > ------------------------------------------------------ >> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 sofia/external/12223334444 send dtmf >> >> > digit=2 ms=250 samples=2000 >> >> > EXECUTE sofia/external/12223334444 export(nolocal:execute_on_answer=lua samsclub.lua) >> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 sofia/external/12223334444 has executed the last dialplan instruction, hanging up. >> >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >> >> > >> >> > ------------------------------------------------------------ >> >> > >> >> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil wrote: >> >> > >> >> > Can you send the console log when it fails? >> >> > >> >> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez wrote: >> >> > >> >> > Hello, >> >> > >> >> > I need my dial plan to dial an extension within then wait until the extension picks up before starting the lua script. I got it to dial the extension but can't seem to get the syntax for the >> >> > "execute_on_answer" correct. When I uncomment it out it call just fails. What am I missing? >> >> > >> >> > ----------------------------- >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > ---------------------------------------- >> >> > >> >> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil wrote: >> >> > >> >> > That should work properly, what are trying to accomplish exactly? >> >> > >> >> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez wrote: >> >> > >> >> > Hello, >> >> > >> >> > I am trying to find more info on the application "execute_on_answer". >> >> > >> >> > I have a script that calls an IVR then dials a users extension. I need to wait for the calling party extension to answer before executing the rest of my script. I don't seem to find much >> >> > documentation on this application. Is there another way to test if the calling party has been answered? >> >> > >> >> > thanks, >> >> > >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > [2 ] >> >> > _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> >> >> -- >> >> Your life is like a penny. You're going to lose it. The question is: >> >> How do >> >> you spend it? >> >> >> >> John Covici wb2una >> >> covici at ccs.covici.com >> >> >> >> _________________________________________________________________________ >> >> >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> Build your next product on our scalable cloud platform. >> >> >> >> Join our online community to chat in real time https://signalwire.community >> >> >> >> Professional FreeSWITCH Services >> >> sales at freeswitch.com >> >> https://freeswitch.com >> >> >> >> Official FreeSWITCH Sites >> >> https://freeswitch.com/oss >> >> https://freeswitch.org/confluence >> >> https://cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com >> >> -- >> >> Regards, >> >> >> >> David Villasmil >> >> email: david.villasmil.work at gmail.com >> >> phone: +34669448337 >> >> _________________________________________________________________________ >> >> >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> Build your next product on our scalable cloud platform. >> >> >> >> Join our online community to chat in real time https://signalwire.community >> >> >> >> Professional FreeSWITCH Services >> >> sales at freeswitch.com >> >> https://freeswitch.com >> >> >> >> Official FreeSWITCH Sites >> >> https://freeswitch.com/oss >> >> https://freeswitch.org/confluence >> >> https://cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com >> >> _________________________________________________________________________ >> >> >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> >> Build your next product on our scalable cloud platform. >> >> >> >> Join our online community to chat in real time https://signalwire.community >> >> >> >> Professional FreeSWITCH Services >> >> sales at freeswitch.com >> >> https://freeswitch.com >> >> >> >> Official FreeSWITCH Sites >> >> https://freeswitch.com/oss >> >> https://freeswitch.org/confluence >> >> https://cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com >> > >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ak at hejdu.dk Sun Apr 28 19:20:26 2019 From: ak at hejdu.dk (Allan Kristensen) Date: Sun, 28 Apr 2019 21:20:26 +0200 Subject: [Freeswitch-users] Record_ession and SIP INFO record: on Message-ID: Hello, I'm having some issues getting dialplan command "record_session" and SIP INFO messages to work together. If recording is started using record_session in the dialplan, at the beginning of the call and I then send a SIP INFO message with "record: on" i get the response "Already recording", which is as expected. To avoid this situation, we then send the recording state in response header, so SIP client knows if recording is already started at the begining of the call. Now if I try to stop the recording using SIP INFO message, I get the error message "Nothing to stop"? I'm guessing it has something to do with recording bug being in a different session of the call. Is there anyway to adjust this behaviour? (One could argue that just because I send a SIP INFO to stop the recording does mean that it should be allowed) Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Sun Apr 28 22:07:56 2019 From: brian at freeswitch.com (Brian West) Date: Sun, 28 Apr 2019 17:07:56 -0500 Subject: [Freeswitch-users] Record_ession and SIP INFO record: on In-Reply-To: References: Message-ID: I'd start with filing a JIRA, this would probably take a little bit of time to fix. On Sun, Apr 28, 2019 at 2:21 PM Allan Kristensen wrote: > Hello, > > I'm having some issues getting dialplan command "record_session" and SIP > INFO messages to work together. > > If recording is started using record_session in the dialplan, at the > beginning of the call and I then send a SIP INFO message with "record: on" > i get the response "Already recording", which is as expected. > To avoid this situation, we then send the recording state in response > header, so SIP client knows if recording is already started at the begining > of the call. > > Now if I try to stop the recording using SIP INFO message, I get the > error message "Nothing to stop"? > > I'm guessing it has something to do with recording bug being in a > different session of the call. Is there anyway to adjust this behaviour? > (One could argue that just because I send a SIP INFO to stop the recording > does mean that it should be allowed) > > Thanks, > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Sun Apr 28 23:34:46 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Sun, 28 Apr 2019 19:34:46 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: <879BD6C7-FB77-4DAA-B729-F73D00EDDED4@freeswitch.org> References: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> <9E832E94-A587-427A-8062-4688029F2CA5@vallimamod.org> <879BD6C7-FB77-4DAA-B729-F73D00EDDED4@freeswitch.org> Message-ID: Hello, I finally got it to dial my extension, but that is all it does. It dials the extension once then hangs up. I have set the call timeout and that does not seem to work. How can I get the call to continue to ring until I pick up then bridge the calls together. I have used the export nolocal and the set on the wait_on_answer and it does not make a difference. I also have changed my lua script to answer() and still nothing. ------------------ XML ----------------------------------------- ------------------ XML ----------------------------------------- ------------------Response from FS ----------------------------------------- EXECUTE sofia/external/1112223333 answer() EXECUTE sofia/external/1112223333 sleep(1000) 2019-04-28 16:21:29.818764 [NOTICE] switch_core_state_machine.c:385 sofia/external/1112223333 has executed the last dialplan instruction, hanging up. 2019-04-28 16:21:29.818764 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] ------------------Response from FS ----------------------------------------- ------------------Lua Script ----------------------------------------- #!/bin/lua soundDir = "/etc/freeswitch/scripts/sounds/" welcome = soundDir .. "welcome.wav" session:answer() session:execute("playback", welcome) ------------------Lua Script ----------------------------------------- On Sat, Apr 27, 2019 at 7:00 PM Ken Rice wrote: > you need to export no local it most likely so it gets set on the b leg’s > answer. set puts it on the a leg > > Sent from my iPhone > > On Apr 27, 2019, at 13:34, Joli Martinez wrote: > > Hello, > > I have updated the config as requested with the exception of adding the > send_dtmf line. I also did a reloadxml and it is still not working. What > am I missing? > > ---------------xml-------------------- > > > > > > > > > > > > ---------------xml-------------------- > > ---------------local FS-------------------- > Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] > destination_number(9176) =~ /^9176$/ break=on-false > Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua > test.lua) > Dialplan: sofia/external/1112223333 Action answer() > Dialplan: sofia/external/1112223333 Action sleep(2000) > Dialplan: sofia/external/1112223333 Action send_dtmf(${ext}) > Dialplan: sofia/external/1112223333 Action sleep(1000) > 2019-04-27 11:27:56.598764 [INFO] switch_channel.c:3129 > sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound > Call" <409> > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:286 > (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:643 > (sofia/external/1112223333) State ROUTING going to sleep > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:584 > (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 Tot 2) > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:650 > (sofia/external/1112223333) State EXECUTE > 2019-04-27 11:27:56.598764 [DEBUG] mod_sofia.c:198 > sofia/external/1112223333 SOFIA EXECUTE > 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:328 > sofia/external/1112223333 Standard EXECUTE > EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) > 2019-04-27 11:27:56.598764 [DEBUG] mod_dptools.c:1548 SET > sofia/external/1112223333 [execute_on_answer]=[lua test.lua] > EXECUTE sofia/external/1112223333 answer() > EXECUTE sofia/external/1112223333 sleep(2000) > EXECUTE sofia/external/1112223333 send_dtmf(1002) > 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > digit=1 ms=250 samples=2000 > 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > digit=0 ms=250 samples=2000 > 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > digit=0 ms=250 samples=2000 > 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 > sofia/external/1112223333 send dtmf > digit=2 ms=250 samples=2000 > EXECUTE sofia/external/1112223333 sleep(1000) > 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5261 Send start packet for > [1] ts=160 dur=160/160/2000 seq=50563 lw=160 > 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=320/320/2000 seq=50564 lw=320 > 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:7308 Correct audio ip/port > confirmed. > 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=480/480/2000 seq=50565 lw=480 > 2019-04-27 11:27:58.658789 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=640/640/2000 seq=50566 lw=640 > 2019-04-27 11:27:58.678753 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=800/800/2000 seq=50567 lw=800 > 2019-04-27 11:27:58.698752 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=960/960/2000 seq=50568 lw=960 > 2019-04-27 11:27:58.718750 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1120/1120/2000 seq=50569 lw=1120 > 2019-04-27 11:27:58.738752 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1280/1280/2000 seq=50570 lw=1280 > 2019-04-27 11:27:58.758871 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1440/1440/2000 seq=50571 lw=1440 > 2019-04-27 11:27:58.778753 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1600/1600/2000 seq=50572 lw=1600 > 2019-04-27 11:27:58.798750 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1760/1760/2000 seq=50573 lw=1760 > 2019-04-27 11:27:58.818750 [DEBUG] switch_rtp.c:5160 Send middle packet > for [1] ts=160 dur=1920/1920/2000 seq=50574 lw=1920 > 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for > [1] ts=160 dur=2080/2080/2000 seq=50575 lw=1920 > 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for > [1] ts=160 dur=2080/2080/2000 seq=50576 lw=1920 > 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for > [1] ts=160 dur=2080/2080/2000 seq=50577 lw=1920 > 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5108 Queue digit delay of > 40ms > 2019-04-27 11:27:59.238764 [DEBUG] switch_rtp.c:5261 Send start packet for > [0] ts=2400 dur=160/160/2000 seq=50578 lw=2400 > 2019-04-27 11:27:59.258748 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=320/320/2000 seq=50579 lw=2560 > 2019-04-27 11:27:59.278769 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=480/480/2000 seq=50580 lw=2720 > 2019-04-27 11:27:59.298757 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=640/640/2000 seq=50581 lw=2880 > 2019-04-27 11:27:59.318750 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=800/800/2000 seq=50582 lw=3040 > 2019-04-27 11:27:59.338757 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=960/960/2000 seq=50583 lw=3200 > 2019-04-27 11:27:59.358750 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1120/1120/2000 seq=50584 lw=3360 > 2019-04-27 11:27:59.378753 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1280/1280/2000 seq=50585 lw=3520 > 2019-04-27 11:27:59.398753 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1440/1440/2000 seq=50586 lw=3680 > 2019-04-27 11:27:59.418759 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1600/1600/2000 seq=50587 lw=3840 > 2019-04-27 11:27:59.438754 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1760/1760/2000 seq=50588 lw=4000 > 2019-04-27 11:27:59.458746 [DEBUG] switch_rtp.c:5160 Send middle packet > for [0] ts=2400 dur=1920/1920/2000 seq=50589 lw=4160 > 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for > [0] ts=2400 dur=2080/2080/2000 seq=50590 lw=4160 > 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for > [0] ts=2400 dur=2080/2080/2000 seq=50591 lw=4160 > 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for > [0] ts=2400 dur=2080/2080/2000 seq=50592 lw=4160 > 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5108 Queue digit delay of > 40ms > 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:385 > sofia/external/1112223333 has executed the last dialplan instruction, h. > 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:387 Hangup > sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > ---------------local FS-------------------- > > ---------------remote FS-------------------- > 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS > flite > 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec > Activated > 2019-04-27 14:25:13.656926 [DEBUG] switch_ivr_play_say.c:2729 Speaking > text: Hello World, This is a test IVR > 2019-04-27 14:25:15.576972 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 > 2019-04-27 14:25:15.576972 [INFO] switch_channel.c:515 RECV DTMF 1:2080 > 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_play_say.c:2907 done > speaking text > 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 > digits t/o 2000 > 2019-04-27 14:25:16.156952 [NOTICE] sofia.c:1012 Hangup sofia/internal/+ > 13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] > ---------------local FS-------------------- > > On Sat, Apr 27, 2019 at 1:49 PM Vallimamod Abdullah > wrote: > >> Your non working example is (without the commented parts): >> >> >> >> >> >> >> >> >> >> >> >> It should be: >> >> >> >> >> >> >> >> >> >> >> Keep in mind that execute_on_answer is an actual channel variable that >> you set (and not an application). On call answer, it is retrieved by >> freeswitch and its content is executed. >> >> >> Best Regards, >> -- >> Vallimamod Abdullah >> SIP Solutions >> vma at sip.solutions >> linkedin.com/in/vallimamod >> . >> >> >> > On 27 Apr 2019, at 16:10, Joli Martinez wrote: >> > >> > Hello, >> > >> > Not sure I follow, the only variable in this case is the EXT and it is >> set above the execute_on_answer command. What other var should I set? >> Call originates from FS to an IVR, IVR answers and FS dials EXT (1002), FS >> wait for EXT to answer then executes lua script. In this case I have >> stripped down my script to just play a file. So my lua script does not >> take any parameters. >> > >> > thanks, >> > >> > >> > On Sat, Apr 27, 2019 at 8:26 AM Vallimamod Abdullah >> wrote: >> > Hi, >> > >> > You need to set the execute_on_answer var before calling the answer >> application. >> > Once the call is answered or bridged, it's too late. >> > >> > >> > Best Regards, >> > -- >> > Vallimamod Abdullah >> > SIP Solutions >> > vma at sip.solutions >> > linkedin.com/in/vallimamod >> > . >> > >> > >> >> On 27 Apr 2019, at 03:00, Joli Martinez wrote: >> >> >> >> Hello, >> >> >> >> When I just use the "" >> the call goes through and sends the correct DTMF from the channel variable >> passed which is 1002. When I uncomment the "> data="execute_on_answer=lua test.lua"/>" and comment out the other line, >> then do a reloadxml on fs. The DTMF is not passed correctly and the call >> fails. I have stripped down my test.lua script to just basic to only play >> a file and it still fails. In this scenario I am testing calling from the >> freeswitch box to another freeswitch IVR, but this should work regardless >> of what IVR it calls. Below is the output of the both boxes. >> >> >> >> >> >> --------------xml---------------------- >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------xml---------------------- >> >> >> >> --------------test.lua---------------------- >> >> #!/bin/lua >> >> >> >> soundDir = "/etc/freeswitch/scripts/sounds/" >> >> welcome = soundDir .. "welcome.wav" >> >> >> >> freeswitch.consoleLog("INFO", "got here\n") >> >> >> >> --Starts Playing welcome message and accepts digits >> >> value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", >> "\\d+") >> >> >> >> freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") >> >> --------------test.lua---------------------- >> >> >> >> --------------this FS box---------------------- >> >> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] >> destination_number(9176) =~ /^9176$/ break=on-false >> >> Dialplan: sofia/external/1112223333 Action sleep(2000) >> >> Dialplan: sofia/external/1112223333 Action send_dtmf(1002) >> >> Dialplan: sofia/external/1112223333 Action sleep(1000) >> >> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua >> test.lua) >> >> 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 >> sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound >> Call" <> >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 >> (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 >> (sofia/external/1112223333) State ROUTING going to sleep >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 >> (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 >> (sofia/external/1112223333) State EXECUTE >> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 >> sofia/external/1112223333 SOFIA EXECUTE >> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 >> sofia/external/1112223333 Standard EXECUTE >> >> EXECUTE sofia/external/1112223333 set(open=true) >> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET >> sofia/external/1112223333 [open]=[true] >> >> EXECUTE sofia/external/1112223333 sleep(2000) >> >> EXECUTE sofia/external/1112223333 send_dtmf(1002) >> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >> sofia/external/1112223333 send dtmf >> >> digit=1 ms=250 samples=2000 >> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >> sofia/external/1112223333 send dtmf >> >> digit=0 ms=250 samples=2000 >> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >> sofia/external/1112223333 send dtmf >> >> digit=0 ms=250 samples=2000 >> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >> sofia/external/1112223333 send dtmf >> >> digit=2 ms=250 samples=2000 >> >> EXECUTE sofia/external/1112223333 sleep(1000) >> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start packet >> for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 >> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 >> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio >> ip/port confirmed. >> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 >> >> 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 >> >> 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 >> >> 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 >> >> 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 >> >> 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 >> >> 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 >> >> 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 >> >> 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 >> >> 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 >> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >> for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 >> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >> for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 >> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >> for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 >> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit delay >> of 40ms >> >> 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start packet >> for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 >> >> 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 >> >> 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 >> >> 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 >> >> 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 >> >> 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 >> >> 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 >> >> 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 >> >> 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 >> >> 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 >> >> 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 >> >> 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle >> packet for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 >> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >> for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 >> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >> for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 >> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >> for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 >> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit delay >> of 40ms >> >> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) >> >> 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET >> sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/1112223333 has executed the last dialplan instruction. >> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> >> --------------this FS box---------------------- >> >> >> >> --------------receiving FS box----------------------2019-04-26 >> 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+ >> 13337777777 at 10.21.10.4] has been answered >> >> 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 >> (sofia/internal/+13337777777 at 10.21.10.4) Callstate Change RINGING -> >> ACTIVE >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) >> >> 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio >> ip/port confirmed. >> >> 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel >> sofia/internal/+13337777777 at 10.21.10.4 entering state [ready][200] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >> set(hangup_after_bridge=true) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >> sofia/internal/+13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >> set(ringback=local_stream://default) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >> sofia/internal/+13337777777 at 10.21.10.4 >> [ringback]=[local_stream://default] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id= >> 9000 at 10.21.10.4) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >> sofia/internal/+13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >> set(transfer_ringback=local_stream://default) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >> sofia/internal/+13337777777 at 10.21.10.4 >> [transfer_ringback]=[local_stream://default] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >> set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) >> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >> sofia/internal/+13337777777 at 10.21.10.4 >> [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] >> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >> ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) >> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle >> 0x7f3c6005cdf0 Connected. >> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle >> 0x7f3c6005cdf0 released. >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >> switch_ivr_menu_stack_xml_add binding 'menu-exit' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >> switch_ivr_menu_stack_xml_add binding 'menu-sub' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >> switch_ivr_menu_stack_xml_add binding 'menu-exec-app' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >> switch_ivr_menu_stack_xml_add binding 'menu-play-sound' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >> switch_ivr_menu_stack_xml_add binding 'menu-back' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >> switch_ivr_menu_stack_xml_add binding 'menu-top' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building menu >> 'd67bb786-a0bc-4094-91fa-76f7db68caeb' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu >> action 'menu-exec-app' to '1' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu >> action 'menu-exec-app' to '/^(\d{2,11})$/' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu >> action 'menu-exec-app' to '/^(\d{2,11})$/' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu >> action 'menu-exec-app' to '/^(\d{2,11})$/' >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing IVR >> menu d67bb786-a0bc-4094-91fa-76f7db68caeb >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS >> flite >> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw >> Codec Activated >> >> 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 Speaking >> text: Hello World, This is a test IVR >> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >> 1:2080 >> >> 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF 1:2080 >> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done >> speaking text >> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for >> 3/4 digits t/o 2000 >> >> 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >> 0:2080 >> >> 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF 0:2080 >> >> 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup >> sofia/internal/+13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >> >> --------------receiving FS box---------------------- >> >> >> >> On Fri, Apr 26, 2019 at 8:53 AM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> Joli, >> >> >> >> On you IVR, assuming you are using fs IVR? Please show us the IVR. >> >> >> >> >> >> On Fri, 26 Apr 2019 at 06:19, John Covici >> wrote: >> >> You have to have a bridge command in that dialplan to start the call >> >> after setting the execute_on_answer, the bridge does not belong in >> >> your samsclub script. >> >> >> >> On Fri, 26 Apr 2019 00:02:14 -0400, >> >> Joli Martinez wrote: >> >> > >> >> > [1 ] >> >> > [1.1 ] >> >> > [1.2 ] >> >> > Hello >> >> > >> >> > It is still not working. When I do just the application lua it >> works, but lua script starts running before I pick up. When I uncomment >> any of the two execute_on_answer the call fails. Below is the error >> messages. I am bridging the >> >> > call at the beginning of my lua script. >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > > data="nolocal:execute_on_answer=lua samsclub.lua"/> >> >> > >> >> > >> >> > >> >> > >> >> > >> ---------------------------------------------------------------------- >> >> > >> >> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit >> delay of 40ms >> >> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) >> >> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET >> sofia/external/1112223333 [execute_on_answer]=[test.lua] >> >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/1112223333 has executed the last dialplan instruction, >> hanging up. >> >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> >> > >> >> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit >> delay of 40ms >> >> > EXECUTE sofia/external/1112223333 >> export(nolocal:execute_on_answer=lua test.lua) >> >> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT >> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/1112223333 has executed the last dialplan instruction, >> hanging up. >> >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> >> > >> >> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> > >> >> > You need to bridge the call SOMEWHERE before you can run >> execute_on_answer. >> >> > So what you have to do, send the call out setting the >> execute_on_answer. >> >> > >> >> > Something like: >> >> > >> >> > Answer() >> >> > Play some message >> >> > Bridge with {execute_on_answer=‘lua >> myanswer.lua’}sofia/gateway/mygw/1224 >> >> > >> >> > Then, when the BRIDGE is answered, the lua will execute. You can’t >> execute on answer on a call that’s never answered. >> >> > >> >> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez >> wrote: >> >> > >> >> > Hello, >> >> > >> >> > ok, if I put the line back to just send the call to my lua script >> it works, but the script starts executing. I need for it to wait until >> someone answeres the phone before executing. so on my lua script instead >> of the first >> >> > line reading session:answer() can I replace it with >> session:execute_on_answer()? >> >> > >> >> > Or what would be the best way to tell my lua script to wait until >> the phone is answered before continuing execution? >> >> > >> >> > thanks, >> >> > >> >> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> > >> >> > I understand, but you're not doing anything with call. You need to >> set the execute on answer either befire the bridge or on the bridge itself. >> >> > If you want to manipulate the incoming call with the lua, then just >> do; >> >> > >> >> > >> >> > >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > >> >> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez >> wrote: >> >> > >> >> > Hello, >> >> > >> >> > What I am trying to accomplish is that once the call gets answered >> by the initial IVR, the call gets sent to an extension. At that point the >> call waits for an answer and sends it to my lua script which bridges the >> call. >> >> > >> >> > If I just send the call without the wait_on_answer the call works, >> but my scripts starts executing right away, so by the time I answer the >> phone I am hearing the prompts half way through. >> >> > >> >> > What am I missing or how can I get it to work? >> >> > >> >> > thanks, >> >> > >> >> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> > >> >> > So you’re not bridging anywhere, nor answering the call, right? I >> ask because you talk about when the call is answered, but you’re not >> bridging it anywhere? >> >> > >> >> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez >> wrote: >> >> > >> >> > Hello, >> >> > >> >> > This is what I get when I uncomment the lines. I also did a >> reloadxml. >> >> > >> >> > right after the last DTMF digit it dies >> >> > >> >> > ------------------------------------------------------ >> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >> sofia/external/12223334444 send dtmf >> >> > digit=2 ms=250 samples=2000 >> >> > EXECUTE sofia/external/12223334444 >> export(nolocal:execute_on_answer=lua samsclub.lua) >> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >> >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/12223334444 has executed the last dialplan instruction, >> hanging up. >> >> > 2019-04-25 05:46:07.911991 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/12223334444 [CS_EXECUTE] [NORMAL_CLEARING] >> >> > >> >> > ------------------------------------------------------------ >> >> > >> >> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> > >> >> > Can you send the console log when it fails? >> >> > >> >> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez >> wrote: >> >> > >> >> > Hello, >> >> > >> >> > I need my dial plan to dial an extension within then wait until the >> extension picks up before starting the lua script. I got it to dial the >> extension but can't seem to get the syntax for the >> >> > "execute_on_answer" correct. When I uncomment it out it call just >> fails. What am I missing? >> >> > >> >> > ----------------------------- >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > ---------------------------------------- >> >> > >> >> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> > >> >> > That should work properly, what are trying to accomplish exactly? >> >> > >> >> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez >> wrote: >> >> > >> >> > Hello, >> >> > >> >> > I am trying to find more info on the application >> "execute_on_answer". >> >> > >> >> > I have a script that calls an IVR then dials a users extension. I >> need to wait for the calling party extension to answer before executing the >> rest of my script. I don't seem to find much >> >> > documentation on this application. Is there another way to test if >> the calling party has been answered? >> >> > >> >> > thanks, >> >> > >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > >> >> > -- >> >> > Regards, >> >> > >> >> > David Villasmil >> >> > email: david.villasmil.work at gmail.com >> >> > phone: +34669448337 >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> > [2 ] >> >> > >> _________________________________________________________________________ >> >> > >> >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> > Build your next product on our scalable cloud platform. >> >> > >> >> > Join our online community to chat in real time >> https://signalwire.community >> >> > >> >> > Professional FreeSWITCH Services >> >> > sales at freeswitch.com >> >> > https://freeswitch.com >> >> > >> >> > Official FreeSWITCH Sites >> >> > https://freeswitch.com/oss >> >> > https://freeswitch.org/confluence >> >> > https://cluecon.com >> >> > >> >> > FreeSWITCH-users mailing list >> >> > FreeSWITCH-users at lists.freeswitch.org >> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> > https://freeswitch.com >> >> >> >> -- >> >> Your life is like a penny. You're going to lose it. The question is: >> >> How do >> >> you spend it? >> >> >> >> John Covici wb2una >> >> covici at ccs.covici.com >> >> >> >> >> _________________________________________________________________________ >> >> >> >> The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> Build your next product on our scalable cloud platform. >> >> >> >> Join our online community to chat in real time >> https://signalwire.community >> >> >> >> Professional FreeSWITCH Services >> >> sales at freeswitch.com >> >> https://freeswitch.com >> >> >> >> Official FreeSWITCH Sites >> >> https://freeswitch.com/oss >> >> https://freeswitch.org/confluence >> >> https://cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com >> >> -- >> >> Regards, >> >> >> >> David Villasmil >> >> email: david.villasmil.work at gmail.com >> >> phone: +34669448337 >> >> >> _________________________________________________________________________ >> >> >> >> The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> Build your next product on our scalable cloud platform. >> >> >> >> Join our online community to chat in real time >> https://signalwire.community >> >> >> >> Professional FreeSWITCH Services >> >> sales at freeswitch.com >> >> https://freeswitch.com >> >> >> >> Official FreeSWITCH Sites >> >> https://freeswitch.com/oss >> >> https://freeswitch.org/confluence >> >> https://cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com >> >> >> _________________________________________________________________________ >> >> >> >> The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >> Build your next product on our scalable cloud platform. >> >> >> >> Join our online community to chat in real time >> https://signalwire.community >> >> >> >> Professional FreeSWITCH Services >> >> sales at freeswitch.com >> >> https://freeswitch.com >> >> >> >> Official FreeSWITCH Sites >> >> https://freeswitch.com/oss >> >> https://freeswitch.org/confluence >> >> https://cluecon.com >> >> >> >> FreeSWITCH-users mailing list >> >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com >> > >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Apr 29 00:10:07 2019 From: brian at freeswitch.com (Brian West) Date: Sun, 28 Apr 2019 19:10:07 -0500 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> <9E832E94-A587-427A-8062-4688029F2CA5@vallimamod.org> <879BD6C7-FB77-4DAA-B729-F73D00EDDED4@freeswitch.org> Message-ID: You're doing export no local, that means you need a b-leg or it never will execute, You can't answer the a-leg and execute it. /b On Sun, Apr 28, 2019 at 6:35 PM Joli Martinez wrote: > Hello, > > I finally got it to dial my extension, but that is all it does. It dials > the extension once then hangs up. I have set the call timeout and that > does not seem to work. How can I get the call to continue to ring until I > pick up then bridge the calls together. I have used the export nolocal and > the set on the wait_on_answer and it does not make a difference. I also > have changed my lua script to answer() and still nothing. > > ------------------ XML ----------------------------------------- > > > > > > > > > > > > > > > ------------------ XML ----------------------------------------- > > > ------------------Response from FS > ----------------------------------------- > EXECUTE sofia/external/1112223333 answer() > EXECUTE sofia/external/1112223333 sleep(1000) > 2019-04-28 16:21:29.818764 [NOTICE] switch_core_state_machine.c:385 > sofia/external/1112223333 has executed the last dialplan instruction, > hanging up. > 2019-04-28 16:21:29.818764 [NOTICE] switch_core_state_machine.c:387 Hangup > sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] > ------------------Response from FS > ----------------------------------------- > > > > ------------------Lua Script ----------------------------------------- > #!/bin/lua > > soundDir = "/etc/freeswitch/scripts/sounds/" > welcome = soundDir .. "welcome.wav" > > session:answer() > > session:execute("playback", welcome) > > ------------------Lua Script ----------------------------------------- > > On Sat, Apr 27, 2019 at 7:00 PM Ken Rice wrote: > >> you need to export no local it most likely so it gets set on the b leg’s >> answer. set puts it on the a leg >> >> Sent from my iPhone >> >> On Apr 27, 2019, at 13:34, Joli Martinez wrote: >> >> Hello, >> >> I have updated the config as requested with the exception of adding the >> send_dtmf line. I also did a reloadxml and it is still not working. What >> am I missing? >> >> ---------------xml-------------------- >> >> >> >> >> >> >> >> >> >> >> >> ---------------xml-------------------- >> >> ---------------local FS-------------------- >> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] >> destination_number(9176) =~ /^9176$/ break=on-false >> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua >> test.lua) >> Dialplan: sofia/external/1112223333 Action answer() >> Dialplan: sofia/external/1112223333 Action sleep(2000) >> Dialplan: sofia/external/1112223333 Action send_dtmf(${ext}) >> Dialplan: sofia/external/1112223333 Action sleep(1000) >> 2019-04-27 11:27:56.598764 [INFO] switch_channel.c:3129 >> sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound >> Call" <409> >> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:286 >> (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:643 >> (sofia/external/1112223333) State ROUTING going to sleep >> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:584 >> (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 Tot 2) >> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:650 >> (sofia/external/1112223333) State EXECUTE >> 2019-04-27 11:27:56.598764 [DEBUG] mod_sofia.c:198 >> sofia/external/1112223333 SOFIA EXECUTE >> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:328 >> sofia/external/1112223333 Standard EXECUTE >> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) >> 2019-04-27 11:27:56.598764 [DEBUG] mod_dptools.c:1548 SET >> sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >> EXECUTE sofia/external/1112223333 answer() >> EXECUTE sofia/external/1112223333 sleep(2000) >> EXECUTE sofia/external/1112223333 send_dtmf(1002) >> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >> sofia/external/1112223333 send dtmf >> digit=1 ms=250 samples=2000 >> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >> sofia/external/1112223333 send dtmf >> digit=0 ms=250 samples=2000 >> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >> sofia/external/1112223333 send dtmf >> digit=0 ms=250 samples=2000 >> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >> sofia/external/1112223333 send dtmf >> digit=2 ms=250 samples=2000 >> EXECUTE sofia/external/1112223333 sleep(1000) >> 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5261 Send start packet >> for [1] ts=160 dur=160/160/2000 seq=50563 lw=160 >> 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=320/320/2000 seq=50564 lw=320 >> 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:7308 Correct audio >> ip/port confirmed. >> 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=480/480/2000 seq=50565 lw=480 >> 2019-04-27 11:27:58.658789 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=640/640/2000 seq=50566 lw=640 >> 2019-04-27 11:27:58.678753 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=800/800/2000 seq=50567 lw=800 >> 2019-04-27 11:27:58.698752 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=960/960/2000 seq=50568 lw=960 >> 2019-04-27 11:27:58.718750 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=1120/1120/2000 seq=50569 lw=1120 >> 2019-04-27 11:27:58.738752 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=1280/1280/2000 seq=50570 lw=1280 >> 2019-04-27 11:27:58.758871 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=1440/1440/2000 seq=50571 lw=1440 >> 2019-04-27 11:27:58.778753 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=1600/1600/2000 seq=50572 lw=1600 >> 2019-04-27 11:27:58.798750 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=1760/1760/2000 seq=50573 lw=1760 >> 2019-04-27 11:27:58.818750 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [1] ts=160 dur=1920/1920/2000 seq=50574 lw=1920 >> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for >> [1] ts=160 dur=2080/2080/2000 seq=50575 lw=1920 >> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for >> [1] ts=160 dur=2080/2080/2000 seq=50576 lw=1920 >> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for >> [1] ts=160 dur=2080/2080/2000 seq=50577 lw=1920 >> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5108 Queue digit delay of >> 40ms >> 2019-04-27 11:27:59.238764 [DEBUG] switch_rtp.c:5261 Send start packet >> for [0] ts=2400 dur=160/160/2000 seq=50578 lw=2400 >> 2019-04-27 11:27:59.258748 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=320/320/2000 seq=50579 lw=2560 >> 2019-04-27 11:27:59.278769 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=480/480/2000 seq=50580 lw=2720 >> 2019-04-27 11:27:59.298757 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=640/640/2000 seq=50581 lw=2880 >> 2019-04-27 11:27:59.318750 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=800/800/2000 seq=50582 lw=3040 >> 2019-04-27 11:27:59.338757 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=960/960/2000 seq=50583 lw=3200 >> 2019-04-27 11:27:59.358750 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=1120/1120/2000 seq=50584 lw=3360 >> 2019-04-27 11:27:59.378753 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=1280/1280/2000 seq=50585 lw=3520 >> 2019-04-27 11:27:59.398753 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=1440/1440/2000 seq=50586 lw=3680 >> 2019-04-27 11:27:59.418759 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=1600/1600/2000 seq=50587 lw=3840 >> 2019-04-27 11:27:59.438754 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=1760/1760/2000 seq=50588 lw=4000 >> 2019-04-27 11:27:59.458746 [DEBUG] switch_rtp.c:5160 Send middle packet >> for [0] ts=2400 dur=1920/1920/2000 seq=50589 lw=4160 >> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for >> [0] ts=2400 dur=2080/2080/2000 seq=50590 lw=4160 >> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for >> [0] ts=2400 dur=2080/2080/2000 seq=50591 lw=4160 >> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for >> [0] ts=2400 dur=2080/2080/2000 seq=50592 lw=4160 >> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5108 Queue digit delay of >> 40ms >> 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/1112223333 has executed the last dialplan instruction, h. >> 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> ---------------local FS-------------------- >> >> ---------------remote FS-------------------- >> 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS >> flite >> 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec >> Activated >> 2019-04-27 14:25:13.656926 [DEBUG] switch_ivr_play_say.c:2729 Speaking >> text: Hello World, This is a test IVR >> 2019-04-27 14:25:15.576972 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 >> 2019-04-27 14:25:15.576972 [INFO] switch_channel.c:515 RECV DTMF 1:2080 >> 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_play_say.c:2907 done >> speaking text >> 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 >> digits t/o 2000 >> 2019-04-27 14:25:16.156952 [NOTICE] sofia.c:1012 Hangup sofia/internal/+ >> 13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >> ---------------local FS-------------------- >> >> On Sat, Apr 27, 2019 at 1:49 PM Vallimamod Abdullah >> wrote: >> >>> Your non working example is (without the commented parts): >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> It should be: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Keep in mind that execute_on_answer is an actual channel variable that >>> you set (and not an application). On call answer, it is retrieved by >>> freeswitch and its content is executed. >>> >>> >>> Best Regards, >>> -- >>> Vallimamod Abdullah >>> SIP Solutions >>> vma at sip.solutions >>> linkedin.com/in/vallimamod >>> . >>> >>> >>> > On 27 Apr 2019, at 16:10, Joli Martinez wrote: >>> > >>> > Hello, >>> > >>> > Not sure I follow, the only variable in this case is the EXT and it is >>> set above the execute_on_answer command. What other var should I set? >>> Call originates from FS to an IVR, IVR answers and FS dials EXT (1002), FS >>> wait for EXT to answer then executes lua script. In this case I have >>> stripped down my script to just play a file. So my lua script does not >>> take any parameters. >>> > >>> > thanks, >>> > >>> > >>> > On Sat, Apr 27, 2019 at 8:26 AM Vallimamod Abdullah < >>> vma at vallimamod.org> wrote: >>> > Hi, >>> > >>> > You need to set the execute_on_answer var before calling the answer >>> application. >>> > Once the call is answered or bridged, it's too late. >>> > >>> > >>> > Best Regards, >>> > -- >>> > Vallimamod Abdullah >>> > SIP Solutions >>> > vma at sip.solutions >>> > linkedin.com/in/vallimamod >>> > . >>> > >>> > >>> >> On 27 Apr 2019, at 03:00, Joli Martinez wrote: >>> >> >>> >> Hello, >>> >> >>> >> When I just use the "" >>> the call goes through and sends the correct DTMF from the channel variable >>> passed which is 1002. When I uncomment the ">> data="execute_on_answer=lua test.lua"/>" and comment out the other line, >>> then do a reloadxml on fs. The DTMF is not passed correctly and the call >>> fails. I have stripped down my test.lua script to just basic to only play >>> a file and it still fails. In this scenario I am testing calling from the >>> freeswitch box to another freeswitch IVR, but this should work regardless >>> of what IVR it calls. Below is the output of the both boxes. >>> >> >>> >> >>> >> --------------xml---------------------- >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> --------------xml---------------------- >>> >> >>> >> --------------test.lua---------------------- >>> >> #!/bin/lua >>> >> >>> >> soundDir = "/etc/freeswitch/scripts/sounds/" >>> >> welcome = soundDir .. "welcome.wav" >>> >> >>> >> freeswitch.consoleLog("INFO", "got here\n") >>> >> >>> >> --Starts Playing welcome message and accepts digits >>> >> value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", >>> "\\d+") >>> >> >>> >> freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") >>> >> --------------test.lua---------------------- >>> >> >>> >> --------------this FS box---------------------- >>> >> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] >>> destination_number(9176) =~ /^9176$/ break=on-false >>> >> Dialplan: sofia/external/1112223333 Action sleep(2000) >>> >> Dialplan: sofia/external/1112223333 Action send_dtmf(1002) >>> >> Dialplan: sofia/external/1112223333 Action sleep(1000) >>> >> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua >>> test.lua) >>> >> 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 >>> sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound >>> Call" <> >>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 >>> (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 >>> (sofia/external/1112223333) State ROUTING going to sleep >>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 >>> (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) >>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 >>> (sofia/external/1112223333) State EXECUTE >>> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 >>> sofia/external/1112223333 SOFIA EXECUTE >>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 >>> sofia/external/1112223333 Standard EXECUTE >>> >> EXECUTE sofia/external/1112223333 set(open=true) >>> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET >>> sofia/external/1112223333 [open]=[true] >>> >> EXECUTE sofia/external/1112223333 sleep(2000) >>> >> EXECUTE sofia/external/1112223333 send_dtmf(1002) >>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>> sofia/external/1112223333 send dtmf >>> >> digit=1 ms=250 samples=2000 >>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>> sofia/external/1112223333 send dtmf >>> >> digit=0 ms=250 samples=2000 >>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>> sofia/external/1112223333 send dtmf >>> >> digit=0 ms=250 samples=2000 >>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>> sofia/external/1112223333 send dtmf >>> >> digit=2 ms=250 samples=2000 >>> >> EXECUTE sofia/external/1112223333 sleep(1000) >>> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start >>> packet for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 >>> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 >>> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio >>> ip/port confirmed. >>> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 >>> >> 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 >>> >> 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 >>> >> 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 >>> >> 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 >>> >> 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 >>> >> 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 >>> >> 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 >>> >> 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 >>> >> 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 >>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >>> for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 >>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >>> for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 >>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >>> for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 >>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit >>> delay of 40ms >>> >> 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start >>> packet for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 >>> >> 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 >>> >> 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 >>> >> 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 >>> >> 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 >>> >> 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 >>> >> 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 >>> >> 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 >>> >> 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 >>> >> 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 >>> >> 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 >>> >> 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle >>> packet for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 >>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >>> for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 >>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >>> for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 >>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >>> for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 >>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit >>> delay of 40ms >>> >> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) >>> >> 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET >>> sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >>> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/1112223333 has executed the last dialplan instruction. >>> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>> >> --------------this FS box---------------------- >>> >> >>> >> --------------receiving FS box----------------------2019-04-26 >>> 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+ >>> 13337777777 at 10.21.10.4] has been answered >>> >> 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 >>> (sofia/internal/+13337777777 at 10.21.10.4) Callstate Change RINGING -> >>> ACTIVE >>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) >>> >> 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio >>> ip/port confirmed. >>> >> 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel >>> sofia/internal/+13337777777 at 10.21.10.4 entering state [ready][200] >>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>> set(hangup_after_bridge=true) >>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>> sofia/internal/+13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] >>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>> set(ringback=local_stream://default) >>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>> sofia/internal/+13337777777 at 10.21.10.4 >>> [ringback]=[local_stream://default] >>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id= >>> 9000 at 10.21.10.4) >>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>> sofia/internal/+13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] >>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>> set(transfer_ringback=local_stream://default) >>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>> sofia/internal/+13337777777 at 10.21.10.4 >>> [transfer_ringback]=[local_stream://default] >>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>> set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) >>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>> sofia/internal/+13337777777 at 10.21.10.4 >>> [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] >>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>> ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) >>> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle >>> 0x7f3c6005cdf0 Connected. >>> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle >>> 0x7f3c6005cdf0 released. >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>> switch_ivr_menu_stack_xml_add binding 'menu-exit' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>> switch_ivr_menu_stack_xml_add binding 'menu-sub' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>> switch_ivr_menu_stack_xml_add binding 'menu-exec-app' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>> switch_ivr_menu_stack_xml_add binding 'menu-play-sound' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>> switch_ivr_menu_stack_xml_add binding 'menu-back' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>> switch_ivr_menu_stack_xml_add binding 'menu-top' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building >>> menu 'd67bb786-a0bc-4094-91fa-76f7db68caeb' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu >>> action 'menu-exec-app' to '1' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu >>> action 'menu-exec-app' to '/^(\d{2,11})$/' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu >>> action 'menu-exec-app' to '/^(\d{2,11})$/' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding menu >>> action 'menu-exec-app' to '/^(\d{2,11})$/' >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing >>> IVR menu d67bb786-a0bc-4094-91fa-76f7db68caeb >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN >>> TTS flite >>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw >>> Codec Activated >>> >> 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 >>> Speaking text: Hello World, This is a test IVR >>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >>> 1:2080 >>> >> 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF >>> 1:2080 >>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done >>> speaking text >>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for >>> 3/4 digits t/o 2000 >>> >> 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >>> 0:2080 >>> >> 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF >>> 0:2080 >>> >> 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup >>> sofia/internal/+13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >>> >> --------------receiving FS box---------------------- >>> >> >>> >> On Fri, Apr 26, 2019 at 8:53 AM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >> Joli, >>> >> >>> >> On you IVR, assuming you are using fs IVR? Please show us the IVR. >>> >> >>> >> >>> >> On Fri, 26 Apr 2019 at 06:19, John Covici >>> wrote: >>> >> You have to have a bridge command in that dialplan to start the call >>> >> after setting the execute_on_answer, the bridge does not belong in >>> >> your samsclub script. >>> >> >>> >> On Fri, 26 Apr 2019 00:02:14 -0400, >>> >> Joli Martinez wrote: >>> >> > >>> >> > [1 ] >>> >> > [1.1 ] >>> >> > [1.2 ] >>> >> > Hello >>> >> > >>> >> > It is still not working. When I do just the application lua it >>> works, but lua script starts running before I pick up. When I uncomment >>> any of the two execute_on_answer the call fails. Below is the error >>> messages. I am bridging the >>> >> > call at the beginning of my lua script. >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >> data="nolocal:execute_on_answer=lua samsclub.lua"/> >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> ---------------------------------------------------------------------- >>> >> > >>> >> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit >>> delay of 40ms >>> >> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) >>> >> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET >>> sofia/external/1112223333 [execute_on_answer]=[test.lua] >>> >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/1112223333 has executed the last dialplan instruction, >>> hanging up. >>> >> > 2019-04-25 20:51:24.471868 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>> >> > >>> >> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit >>> delay of 40ms >>> >> > EXECUTE sofia/external/1112223333 >>> export(nolocal:execute_on_answer=lua test.lua) >>> >> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT >>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>> >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/1112223333 has executed the last dialplan instruction, >>> hanging up. >>> >> > 2019-04-25 20:54:47.631863 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>> >> > >>> >> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >> > >>> >> > You need to bridge the call SOMEWHERE before you can run >>> execute_on_answer. >>> >> > So what you have to do, send the call out setting the >>> execute_on_answer. >>> >> > >>> >> > Something like: >>> >> > >>> >> > Answer() >>> >> > Play some message >>> >> > Bridge with {execute_on_answer=‘lua >>> myanswer.lua’}sofia/gateway/mygw/1224 >>> >> > >>> >> > Then, when the BRIDGE is answered, the lua will execute. You can’t >>> execute on answer on a call that’s never answered. >>> >> > >>> >> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez >>> wrote: >>> >> > >>> >> > Hello, >>> >> > >>> >> > ok, if I put the line back to just send the call to my lua script >>> it works, but the script starts executing. I need for it to wait until >>> someone answeres the phone before executing. so on my lua script instead >>> of the first >>> >> > line reading session:answer() can I replace it with >>> session:execute_on_answer()? >>> >> > >>> >> > Or what would be the best way to tell my lua script to wait until >>> the phone is answered before continuing execution? >>> >> > >>> >> > thanks, >>> >> > >>> >> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >> > >>> >> > I understand, but you're not doing anything with call. You need to >>> set the execute on answer either befire the bridge or on the bridge itself. >>> >> > If you want to manipulate the incoming call with the lua, then >>> just do; >>> >> > >>> >> > >>> >> > >>> >> > Regards, >>> >> > >>> >> > David Villasmil >>> >> > email: david.villasmil.work at gmail.com >>> >> > phone: +34669448337 >>> >> > >>> >> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez >>> wrote: >>> >> > >>> >> > Hello, >>> >> > >>> >> > What I am trying to accomplish is that once the call gets answered >>> by the initial IVR, the call gets sent to an extension. At that point the >>> call waits for an answer and sends it to my lua script which bridges the >>> call. >>> >> > >>> >> > If I just send the call without the wait_on_answer the call works, >>> but my scripts starts executing right away, so by the time I answer the >>> phone I am hearing the prompts half way through. >>> >> > >>> >> > What am I missing or how can I get it to work? >>> >> > >>> >> > thanks, >>> >> > >>> >> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >> > >>> >> > So you’re not bridging anywhere, nor answering the call, right? I >>> ask because you talk about when the call is answered, but you’re not >>> bridging it anywhere? >>> >> > >>> >> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez >>> wrote: >>> >> > >>> >> > Hello, >>> >> > >>> >> > This is what I get when I uncomment the lines. I also did a >>> reloadxml. >>> >> > >>> >> > right after the last DTMF digit it dies >>> >> > >>> >> > ------------------------------------------------------ >>> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>> sofia/external/12223334444 send dtmf >>> >> > digit=2 ms=250 samples=2000 >>> >> > EXECUTE sofia/external/12223334444 >>> export(nolocal:execute_on_answer=lua samsclub.lua) >>> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>> >> > 2019-04-25 05:46:07.911991 [NOTICE] >>> switch_core_state_machine.c:385 sofia/external/12223334444 has executed the >>> last dialplan instruction, hanging up. >>> >> > 2019-04-25 05:46:07.911991 [NOTICE] >>> switch_core_state_machine.c:387 Hangup sofia/external/12223334444 >>> [CS_EXECUTE] [NORMAL_CLEARING] >>> >> > >>> >> > ------------------------------------------------------------ >>> >> > >>> >> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >> > >>> >> > Can you send the console log when it fails? >>> >> > >>> >> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>> wrote: >>> >> > >>> >> > Hello, >>> >> > >>> >> > I need my dial plan to dial an extension within then wait until >>> the extension picks up before starting the lua script. I got it to dial >>> the extension but can't seem to get the syntax for the >>> >> > "execute_on_answer" correct. When I uncomment it out it call just >>> fails. What am I missing? >>> >> > >>> >> > ----------------------------- >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > ---------------------------------------- >>> >> > >>> >> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >> > >>> >> > That should work properly, what are trying to accomplish exactly? >>> >> > >>> >> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>> wrote: >>> >> > >>> >> > Hello, >>> >> > >>> >> > I am trying to find more info on the application >>> "execute_on_answer". >>> >> > >>> >> > I have a script that calls an IVR then dials a users extension. I >>> need to wait for the calling party extension to answer before executing the >>> rest of my script. I don't seem to find much >>> >> > documentation on this application. Is there another way to test >>> if the calling party has been answered? >>> >> > >>> >> > thanks, >>> >> > >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > -- >>> >> > Regards, >>> >> > >>> >> > David Villasmil >>> >> > email: david.villasmil.work at gmail.com >>> >> > phone: +34669448337 >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > -- >>> >> > Regards, >>> >> > >>> >> > David Villasmil >>> >> > email: david.villasmil.work at gmail.com >>> >> > phone: +34669448337 >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > -- >>> >> > Regards, >>> >> > >>> >> > David Villasmil >>> >> > email: david.villasmil.work at gmail.com >>> >> > phone: +34669448337 >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > >>> >> > -- >>> >> > Regards, >>> >> > >>> >> > David Villasmil >>> >> > email: david.villasmil.work at gmail.com >>> >> > phone: +34669448337 >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>> PSTN services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> > [2 ] >>> >> > >>> _________________________________________________________________________ >>> >> > >>> >> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> >> > Build your next product on our scalable cloud platform. >>> >> > >>> >> > Join our online community to chat in real time >>> https://signalwire.community >>> >> > >>> >> > Professional FreeSWITCH Services >>> >> > sales at freeswitch.com >>> >> > https://freeswitch.com >>> >> > >>> >> > Official FreeSWITCH Sites >>> >> > https://freeswitch.com/oss >>> >> > https://freeswitch.org/confluence >>> >> > https://cluecon.com >>> >> > >>> >> > FreeSWITCH-users mailing list >>> >> > FreeSWITCH-users at lists.freeswitch.org >>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> > https://freeswitch.com >>> >> >>> >> -- >>> >> Your life is like a penny. You're going to lose it. The question is: >>> >> How do >>> >> you spend it? >>> >> >>> >> John Covici wb2una >>> >> covici at ccs.covici.com >>> >> >>> >> >>> _________________________________________________________________________ >>> >> >>> >> The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> >> Build your next product on our scalable cloud platform. >>> >> >>> >> Join our online community to chat in real time >>> https://signalwire.community >>> >> >>> >> Professional FreeSWITCH Services >>> >> sales at freeswitch.com >>> >> https://freeswitch.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> https://freeswitch.com/oss >>> >> https://freeswitch.org/confluence >>> >> https://cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> https://freeswitch.com >>> >> -- >>> >> Regards, >>> >> >>> >> David Villasmil >>> >> email: david.villasmil.work at gmail.com >>> >> phone: +34669448337 >>> >> >>> _________________________________________________________________________ >>> >> >>> >> The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> >> Build your next product on our scalable cloud platform. >>> >> >>> >> Join our online community to chat in real time >>> https://signalwire.community >>> >> >>> >> Professional FreeSWITCH Services >>> >> sales at freeswitch.com >>> >> https://freeswitch.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> https://freeswitch.com/oss >>> >> https://freeswitch.org/confluence >>> >> https://cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> https://freeswitch.com >>> >> >>> _________________________________________________________________________ >>> >> >>> >> The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> >> Build your next product on our scalable cloud platform. >>> >> >>> >> Join our online community to chat in real time >>> https://signalwire.community >>> >> >>> >> Professional FreeSWITCH Services >>> >> sales at freeswitch.com >>> >> https://freeswitch.com >>> >> >>> >> Official FreeSWITCH Sites >>> >> https://freeswitch.com/oss >>> >> https://freeswitch.org/confluence >>> >> https://cluecon.com >>> >> >>> >> FreeSWITCH-users mailing list >>> >> FreeSWITCH-users at lists.freeswitch.org >>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> >> UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> >> https://freeswitch.com >>> > >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> > >>> _________________________________________________________________________ >>> > >>> > The FreeSWITCH project is sponsored by SignalWire >>> https://signalwire.com >>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> > Build your next product on our scalable cloud platform. >>> > >>> > Join our online community to chat in real time >>> https://signalwire.community >>> > >>> > Professional FreeSWITCH Services >>> > sales at freeswitch.com >>> > https://freeswitch.com >>> > >>> > Official FreeSWITCH Sites >>> > https://freeswitch.com/oss >>> > https://freeswitch.org/confluence >>> > https://cluecon.com >>> > >>> > FreeSWITCH-users mailing list >>> > FreeSWITCH-users at lists.freeswitch.org >>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> > UNSUBSCRIBE: >>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>> > https://freeswitch.com >>> >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrjoli021 at gmail.com Mon Apr 29 00:34:46 2019 From: mrjoli021 at gmail.com (Joli Martinez) Date: Sun, 28 Apr 2019 20:34:46 -0400 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> <9E832E94-A587-427A-8062-4688029F2CA5@vallimamod.org> <879BD6C7-FB77-4DAA-B729-F73D00EDDED4@freeswitch.org> Message-ID: Hello, I have tried both and none seem to work. I also do a reloadxml after I uncomment them. thanks, On Sun, Apr 28, 2019 at 8:20 PM Brian West wrote: > You're doing export no local, that means you need a b-leg or it never will > execute, You can't answer the a-leg and execute it. > > /b > > On Sun, Apr 28, 2019 at 6:35 PM Joli Martinez wrote: > >> Hello, >> >> I finally got it to dial my extension, but that is all it does. It dials >> the extension once then hangs up. I have set the call timeout and that >> does not seem to work. How can I get the call to continue to ring until I >> pick up then bridge the calls together. I have used the export nolocal and >> the set on the wait_on_answer and it does not make a difference. I also >> have changed my lua script to answer() and still nothing. >> >> ------------------ XML ----------------------------------------- >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------ XML ----------------------------------------- >> >> >> ------------------Response from FS >> ----------------------------------------- >> EXECUTE sofia/external/1112223333 answer() >> EXECUTE sofia/external/1112223333 sleep(1000) >> 2019-04-28 16:21:29.818764 [NOTICE] switch_core_state_machine.c:385 >> sofia/external/1112223333 has executed the last dialplan instruction, >> hanging up. >> 2019-04-28 16:21:29.818764 [NOTICE] switch_core_state_machine.c:387 >> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >> ------------------Response from FS >> ----------------------------------------- >> >> >> >> ------------------Lua Script ----------------------------------------- >> #!/bin/lua >> >> soundDir = "/etc/freeswitch/scripts/sounds/" >> welcome = soundDir .. "welcome.wav" >> >> session:answer() >> >> session:execute("playback", welcome) >> >> ------------------Lua Script ----------------------------------------- >> >> >> On Sat, Apr 27, 2019 at 7:00 PM Ken Rice wrote: >> >>> you need to export no local it most likely so it gets set on the b leg’s >>> answer. set puts it on the a leg >>> >>> Sent from my iPhone >>> >>> On Apr 27, 2019, at 13:34, Joli Martinez wrote: >>> >>> Hello, >>> >>> I have updated the config as requested with the exception of adding the >>> send_dtmf line. I also did a reloadxml and it is still not working. What >>> am I missing? >>> >>> ---------------xml-------------------- >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ---------------xml-------------------- >>> >>> ---------------local FS-------------------- >>> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] >>> destination_number(9176) =~ /^9176$/ break=on-false >>> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua >>> test.lua) >>> Dialplan: sofia/external/1112223333 Action answer() >>> Dialplan: sofia/external/1112223333 Action sleep(2000) >>> Dialplan: sofia/external/1112223333 Action send_dtmf(${ext}) >>> Dialplan: sofia/external/1112223333 Action sleep(1000) >>> 2019-04-27 11:27:56.598764 [INFO] switch_channel.c:3129 >>> sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound >>> Call" <409> >>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:286 >>> (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:643 >>> (sofia/external/1112223333) State ROUTING going to sleep >>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:584 >>> (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 Tot 2) >>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:650 >>> (sofia/external/1112223333) State EXECUTE >>> 2019-04-27 11:27:56.598764 [DEBUG] mod_sofia.c:198 >>> sofia/external/1112223333 SOFIA EXECUTE >>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:328 >>> sofia/external/1112223333 Standard EXECUTE >>> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) >>> 2019-04-27 11:27:56.598764 [DEBUG] mod_dptools.c:1548 SET >>> sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >>> EXECUTE sofia/external/1112223333 answer() >>> EXECUTE sofia/external/1112223333 sleep(2000) >>> EXECUTE sofia/external/1112223333 send_dtmf(1002) >>> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >>> sofia/external/1112223333 send dtmf >>> digit=1 ms=250 samples=2000 >>> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >>> sofia/external/1112223333 send dtmf >>> digit=0 ms=250 samples=2000 >>> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >>> sofia/external/1112223333 send dtmf >>> digit=0 ms=250 samples=2000 >>> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >>> sofia/external/1112223333 send dtmf >>> digit=2 ms=250 samples=2000 >>> EXECUTE sofia/external/1112223333 sleep(1000) >>> 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5261 Send start packet >>> for [1] ts=160 dur=160/160/2000 seq=50563 lw=160 >>> 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=320/320/2000 seq=50564 lw=320 >>> 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:7308 Correct audio >>> ip/port confirmed. >>> 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=480/480/2000 seq=50565 lw=480 >>> 2019-04-27 11:27:58.658789 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=640/640/2000 seq=50566 lw=640 >>> 2019-04-27 11:27:58.678753 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=800/800/2000 seq=50567 lw=800 >>> 2019-04-27 11:27:58.698752 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=960/960/2000 seq=50568 lw=960 >>> 2019-04-27 11:27:58.718750 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=1120/1120/2000 seq=50569 lw=1120 >>> 2019-04-27 11:27:58.738752 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=1280/1280/2000 seq=50570 lw=1280 >>> 2019-04-27 11:27:58.758871 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=1440/1440/2000 seq=50571 lw=1440 >>> 2019-04-27 11:27:58.778753 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=1600/1600/2000 seq=50572 lw=1600 >>> 2019-04-27 11:27:58.798750 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=1760/1760/2000 seq=50573 lw=1760 >>> 2019-04-27 11:27:58.818750 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [1] ts=160 dur=1920/1920/2000 seq=50574 lw=1920 >>> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for >>> [1] ts=160 dur=2080/2080/2000 seq=50575 lw=1920 >>> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for >>> [1] ts=160 dur=2080/2080/2000 seq=50576 lw=1920 >>> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet for >>> [1] ts=160 dur=2080/2080/2000 seq=50577 lw=1920 >>> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5108 Queue digit delay >>> of 40ms >>> 2019-04-27 11:27:59.238764 [DEBUG] switch_rtp.c:5261 Send start packet >>> for [0] ts=2400 dur=160/160/2000 seq=50578 lw=2400 >>> 2019-04-27 11:27:59.258748 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=320/320/2000 seq=50579 lw=2560 >>> 2019-04-27 11:27:59.278769 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=480/480/2000 seq=50580 lw=2720 >>> 2019-04-27 11:27:59.298757 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=640/640/2000 seq=50581 lw=2880 >>> 2019-04-27 11:27:59.318750 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=800/800/2000 seq=50582 lw=3040 >>> 2019-04-27 11:27:59.338757 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=960/960/2000 seq=50583 lw=3200 >>> 2019-04-27 11:27:59.358750 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=1120/1120/2000 seq=50584 lw=3360 >>> 2019-04-27 11:27:59.378753 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=1280/1280/2000 seq=50585 lw=3520 >>> 2019-04-27 11:27:59.398753 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=1440/1440/2000 seq=50586 lw=3680 >>> 2019-04-27 11:27:59.418759 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=1600/1600/2000 seq=50587 lw=3840 >>> 2019-04-27 11:27:59.438754 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=1760/1760/2000 seq=50588 lw=4000 >>> 2019-04-27 11:27:59.458746 [DEBUG] switch_rtp.c:5160 Send middle packet >>> for [0] ts=2400 dur=1920/1920/2000 seq=50589 lw=4160 >>> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for >>> [0] ts=2400 dur=2080/2080/2000 seq=50590 lw=4160 >>> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for >>> [0] ts=2400 dur=2080/2080/2000 seq=50591 lw=4160 >>> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet for >>> [0] ts=2400 dur=2080/2080/2000 seq=50592 lw=4160 >>> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5108 Queue digit delay >>> of 40ms >>> 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/1112223333 has executed the last dialplan instruction, h. >>> 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>> ---------------local FS-------------------- >>> >>> ---------------remote FS-------------------- >>> 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS >>> flite >>> 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec >>> Activated >>> 2019-04-27 14:25:13.656926 [DEBUG] switch_ivr_play_say.c:2729 Speaking >>> text: Hello World, This is a test IVR >>> 2019-04-27 14:25:15.576972 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF 1:2080 >>> 2019-04-27 14:25:15.576972 [INFO] switch_channel.c:515 RECV DTMF 1:2080 >>> 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_play_say.c:2907 done >>> speaking text >>> 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_menu.c:377 waiting for 3/4 >>> digits t/o 2000 >>> 2019-04-27 14:25:16.156952 [NOTICE] sofia.c:1012 Hangup sofia/internal/+ >>> 13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >>> ---------------local FS-------------------- >>> >>> On Sat, Apr 27, 2019 at 1:49 PM Vallimamod Abdullah >>> wrote: >>> >>>> Your non working example is (without the commented parts): >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> It should be: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Keep in mind that execute_on_answer is an actual channel variable that >>>> you set (and not an application). On call answer, it is retrieved by >>>> freeswitch and its content is executed. >>>> >>>> >>>> Best Regards, >>>> -- >>>> Vallimamod Abdullah >>>> SIP Solutions >>>> vma at sip.solutions >>>> linkedin.com/in/vallimamod >>>> . >>>> >>>> >>>> > On 27 Apr 2019, at 16:10, Joli Martinez wrote: >>>> > >>>> > Hello, >>>> > >>>> > Not sure I follow, the only variable in this case is the EXT and it >>>> is set above the execute_on_answer command. What other var should I set? >>>> Call originates from FS to an IVR, IVR answers and FS dials EXT (1002), FS >>>> wait for EXT to answer then executes lua script. In this case I have >>>> stripped down my script to just play a file. So my lua script does not >>>> take any parameters. >>>> > >>>> > thanks, >>>> > >>>> > >>>> > On Sat, Apr 27, 2019 at 8:26 AM Vallimamod Abdullah < >>>> vma at vallimamod.org> wrote: >>>> > Hi, >>>> > >>>> > You need to set the execute_on_answer var before calling the answer >>>> application. >>>> > Once the call is answered or bridged, it's too late. >>>> > >>>> > >>>> > Best Regards, >>>> > -- >>>> > Vallimamod Abdullah >>>> > SIP Solutions >>>> > vma at sip.solutions >>>> > linkedin.com/in/vallimamod >>>> > . >>>> > >>>> > >>>> >> On 27 Apr 2019, at 03:00, Joli Martinez wrote: >>>> >> >>>> >> Hello, >>>> >> >>>> >> When I just use the "" >>>> the call goes through and sends the correct DTMF from the channel variable >>>> passed which is 1002. When I uncomment the ">>> data="execute_on_answer=lua test.lua"/>" and comment out the other line, >>>> then do a reloadxml on fs. The DTMF is not passed correctly and the call >>>> fails. I have stripped down my test.lua script to just basic to only play >>>> a file and it still fails. In this scenario I am testing calling from the >>>> freeswitch box to another freeswitch IVR, but this should work regardless >>>> of what IVR it calls. Below is the output of the both boxes. >>>> >> >>>> >> >>>> >> --------------xml---------------------- >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> --------------xml---------------------- >>>> >> >>>> >> --------------test.lua---------------------- >>>> >> #!/bin/lua >>>> >> >>>> >> soundDir = "/etc/freeswitch/scripts/sounds/" >>>> >> welcome = soundDir .. "welcome.wav" >>>> >> >>>> >> freeswitch.consoleLog("INFO", "got here\n") >>>> >> >>>> >> --Starts Playing welcome message and accepts digits >>>> >> value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", >>>> "\\d+") >>>> >> >>>> >> freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") >>>> >> --------------test.lua---------------------- >>>> >> >>>> >> --------------this FS box---------------------- >>>> >> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] >>>> destination_number(9176) =~ /^9176$/ break=on-false >>>> >> Dialplan: sofia/external/1112223333 Action sleep(2000) >>>> >> Dialplan: sofia/external/1112223333 Action send_dtmf(1002) >>>> >> Dialplan: sofia/external/1112223333 Action sleep(1000) >>>> >> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua >>>> test.lua) >>>> >> 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 >>>> sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound >>>> Call" <> >>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 >>>> (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 >>>> (sofia/external/1112223333) State ROUTING going to sleep >>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 >>>> (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) >>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 >>>> (sofia/external/1112223333) State EXECUTE >>>> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 >>>> sofia/external/1112223333 SOFIA EXECUTE >>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 >>>> sofia/external/1112223333 Standard EXECUTE >>>> >> EXECUTE sofia/external/1112223333 set(open=true) >>>> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/external/1112223333 [open]=[true] >>>> >> EXECUTE sofia/external/1112223333 sleep(2000) >>>> >> EXECUTE sofia/external/1112223333 send_dtmf(1002) >>>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/1112223333 send dtmf >>>> >> digit=1 ms=250 samples=2000 >>>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/1112223333 send dtmf >>>> >> digit=0 ms=250 samples=2000 >>>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/1112223333 send dtmf >>>> >> digit=0 ms=250 samples=2000 >>>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/1112223333 send dtmf >>>> >> digit=2 ms=250 samples=2000 >>>> >> EXECUTE sofia/external/1112223333 sleep(1000) >>>> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start >>>> packet for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 >>>> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 >>>> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio >>>> ip/port confirmed. >>>> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 >>>> >> 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 >>>> >> 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 >>>> >> 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 >>>> >> 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 >>>> >> 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 >>>> >> 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 >>>> >> 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 >>>> >> 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 >>>> >> 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 >>>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 >>>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 >>>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 >>>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit >>>> delay of 40ms >>>> >> 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start >>>> packet for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 >>>> >> 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 >>>> >> 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 >>>> >> 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 >>>> >> 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 >>>> >> 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 >>>> >> 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 >>>> >> 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 >>>> >> 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 >>>> >> 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 >>>> >> 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 >>>> >> 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle >>>> packet for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 >>>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 >>>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 >>>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 >>>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit >>>> delay of 40ms >>>> >> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) >>>> >> 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >>>> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 >>>> sofia/external/1112223333 has executed the last dialplan instruction. >>>> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 >>>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>>> >> --------------this FS box---------------------- >>>> >> >>>> >> --------------receiving FS box----------------------2019-04-26 >>>> 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+ >>>> 13337777777 at 10.21.10.4] has been answered >>>> >> 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 >>>> (sofia/internal/+13337777777 at 10.21.10.4) Callstate Change RINGING -> >>>> ACTIVE >>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) >>>> >> 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio >>>> ip/port confirmed. >>>> >> 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel >>>> sofia/internal/+13337777777 at 10.21.10.4 entering state [ready][200] >>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>> set(hangup_after_bridge=true) >>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/internal/+13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] >>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>> set(ringback=local_stream://default) >>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/internal/+13337777777 at 10.21.10.4 >>>> [ringback]=[local_stream://default] >>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id= >>>> 9000 at 10.21.10.4) >>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/internal/+13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] >>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>> set(transfer_ringback=local_stream://default) >>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/internal/+13337777777 at 10.21.10.4 >>>> [transfer_ringback]=[local_stream://default] >>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>> set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) >>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/internal/+13337777777 at 10.21.10.4 >>>> [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] >>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>> ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH handle >>>> 0x7f3c6005cdf0 Connected. >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH handle >>>> 0x7f3c6005cdf0 released. >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>> switch_ivr_menu_stack_xml_add binding 'menu-exit' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>> switch_ivr_menu_stack_xml_add binding 'menu-sub' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>> switch_ivr_menu_stack_xml_add binding 'menu-exec-app' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>> switch_ivr_menu_stack_xml_add binding 'menu-play-sound' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>> switch_ivr_menu_stack_xml_add binding 'menu-back' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>> switch_ivr_menu_stack_xml_add binding 'menu-top' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building >>>> menu 'd67bb786-a0bc-4094-91fa-76f7db68caeb' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding >>>> menu action 'menu-exec-app' to '1' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding >>>> menu action 'menu-exec-app' to '/^(\d{2,11})$/' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding >>>> menu action 'menu-exec-app' to '/^(\d{2,11})$/' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding >>>> menu action 'menu-exec-app' to '/^(\d{2,11})$/' >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing >>>> IVR menu d67bb786-a0bc-4094-91fa-76f7db68caeb >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN >>>> TTS flite >>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw >>>> Codec Activated >>>> >> 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 >>>> Speaking text: Hello World, This is a test IVR >>>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >>>> 1:2080 >>>> >> 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF >>>> 1:2080 >>>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done >>>> speaking text >>>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting for >>>> 3/4 digits t/o 2000 >>>> >> 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >>>> 0:2080 >>>> >> 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF >>>> 0:2080 >>>> >> 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup >>>> sofia/internal/+13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >>>> >> --------------receiving FS box---------------------- >>>> >> >>>> >> On Fri, Apr 26, 2019 at 8:53 AM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >> Joli, >>>> >> >>>> >> On you IVR, assuming you are using fs IVR? Please show us the IVR. >>>> >> >>>> >> >>>> >> On Fri, 26 Apr 2019 at 06:19, John Covici >>>> wrote: >>>> >> You have to have a bridge command in that dialplan to start the call >>>> >> after setting the execute_on_answer, the bridge does not belong in >>>> >> your samsclub script. >>>> >> >>>> >> On Fri, 26 Apr 2019 00:02:14 -0400, >>>> >> Joli Martinez wrote: >>>> >> > >>>> >> > [1 ] >>>> >> > [1.1 ] >>>> >> > [1.2 ] >>>> >> > Hello >>>> >> > >>>> >> > It is still not working. When I do just the application lua it >>>> works, but lua script starts running before I pick up. When I uncomment >>>> any of the two execute_on_answer the call fails. Below is the error >>>> messages. I am bridging the >>>> >> > call at the beginning of my lua script. >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>> data="nolocal:execute_on_answer=lua samsclub.lua"/> >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> ---------------------------------------------------------------------- >>>> >> > >>>> >> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit >>>> delay of 40ms >>>> >> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) >>>> >> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/external/1112223333 [execute_on_answer]=[test.lua] >>>> >> > 2019-04-25 20:51:24.471868 [NOTICE] >>>> switch_core_state_machine.c:385 sofia/external/1112223333 has executed the >>>> last dialplan instruction, hanging up. >>>> >> > 2019-04-25 20:51:24.471868 [NOTICE] >>>> switch_core_state_machine.c:387 Hangup sofia/external/1112223333 >>>> [CS_EXECUTE] [NORMAL_CLEARING] >>>> >> > >>>> >> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit >>>> delay of 40ms >>>> >> > EXECUTE sofia/external/1112223333 >>>> export(nolocal:execute_on_answer=lua test.lua) >>>> >> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT >>>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>>> >> > 2019-04-25 20:54:47.631863 [NOTICE] >>>> switch_core_state_machine.c:385 sofia/external/1112223333 has executed the >>>> last dialplan instruction, hanging up. >>>> >> > 2019-04-25 20:54:47.631863 [NOTICE] >>>> switch_core_state_machine.c:387 Hangup sofia/external/1112223333 >>>> [CS_EXECUTE] [NORMAL_CLEARING] >>>> >> > >>>> >> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >> > >>>> >> > You need to bridge the call SOMEWHERE before you can run >>>> execute_on_answer. >>>> >> > So what you have to do, send the call out setting the >>>> execute_on_answer. >>>> >> > >>>> >> > Something like: >>>> >> > >>>> >> > Answer() >>>> >> > Play some message >>>> >> > Bridge with {execute_on_answer=‘lua >>>> myanswer.lua’}sofia/gateway/mygw/1224 >>>> >> > >>>> >> > Then, when the BRIDGE is answered, the lua will execute. You >>>> can’t execute on answer on a call that’s never answered. >>>> >> > >>>> >> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez >>>> wrote: >>>> >> > >>>> >> > Hello, >>>> >> > >>>> >> > ok, if I put the line back to just send the call to my lua script >>>> it works, but the script starts executing. I need for it to wait until >>>> someone answeres the phone before executing. so on my lua script instead >>>> of the first >>>> >> > line reading session:answer() can I replace it with >>>> session:execute_on_answer()? >>>> >> > >>>> >> > Or what would be the best way to tell my lua script to wait until >>>> the phone is answered before continuing execution? >>>> >> > >>>> >> > thanks, >>>> >> > >>>> >> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >> > >>>> >> > I understand, but you're not doing anything with call. You need >>>> to set the execute on answer either befire the bridge or on the bridge >>>> itself. >>>> >> > If you want to manipulate the incoming call with the lua, then >>>> just do; >>>> >> > >>>> >> > >>>> >> > >>>> >> > Regards, >>>> >> > >>>> >> > David Villasmil >>>> >> > email: david.villasmil.work at gmail.com >>>> >> > phone: +34669448337 >>>> >> > >>>> >> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez < >>>> mrjoli021 at gmail.com> wrote: >>>> >> > >>>> >> > Hello, >>>> >> > >>>> >> > What I am trying to accomplish is that once the call gets >>>> answered by the initial IVR, the call gets sent to an extension. At that >>>> point the call waits for an answer and sends it to my lua script which >>>> bridges the call. >>>> >> > >>>> >> > If I just send the call without the wait_on_answer the call >>>> works, but my scripts starts executing right away, so by the time I answer >>>> the phone I am hearing the prompts half way through. >>>> >> > >>>> >> > What am I missing or how can I get it to work? >>>> >> > >>>> >> > thanks, >>>> >> > >>>> >> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >> > >>>> >> > So you’re not bridging anywhere, nor answering the call, right? I >>>> ask because you talk about when the call is answered, but you’re not >>>> bridging it anywhere? >>>> >> > >>>> >> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez >>>> wrote: >>>> >> > >>>> >> > Hello, >>>> >> > >>>> >> > This is what I get when I uncomment the lines. I also did a >>>> reloadxml. >>>> >> > >>>> >> > right after the last DTMF digit it dies >>>> >> > >>>> >> > ------------------------------------------------------ >>>> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/12223334444 send dtmf >>>> >> > digit=2 ms=250 samples=2000 >>>> >> > EXECUTE sofia/external/12223334444 >>>> export(nolocal:execute_on_answer=lua samsclub.lua) >>>> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>>> >> > 2019-04-25 05:46:07.911991 [NOTICE] >>>> switch_core_state_machine.c:385 sofia/external/12223334444 has executed the >>>> last dialplan instruction, hanging up. >>>> >> > 2019-04-25 05:46:07.911991 [NOTICE] >>>> switch_core_state_machine.c:387 Hangup sofia/external/12223334444 >>>> [CS_EXECUTE] [NORMAL_CLEARING] >>>> >> > >>>> >> > ------------------------------------------------------------ >>>> >> > >>>> >> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >> > >>>> >> > Can you send the console log when it fails? >>>> >> > >>>> >> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>>> wrote: >>>> >> > >>>> >> > Hello, >>>> >> > >>>> >> > I need my dial plan to dial an extension within then wait until >>>> the extension picks up before starting the lua script. I got it to dial >>>> the extension but can't seem to get the syntax for the >>>> >> > "execute_on_answer" correct. When I uncomment it out it call >>>> just fails. What am I missing? >>>> >> > >>>> >> > ----------------------------- >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > >>>> >> > ---------------------------------------- >>>> >> > >>>> >> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>>> david.villasmil.work at gmail.com> wrote: >>>> >> > >>>> >> > That should work properly, what are trying to accomplish exactly? >>>> >> > >>>> >> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>> wrote: >>>> >> > >>>> >> > Hello, >>>> >> > >>>> >> > I am trying to find more info on the application >>>> "execute_on_answer". >>>> >> > >>>> >> > I have a script that calls an IVR then dials a users extension. >>>> I need to wait for the calling party extension to answer before executing >>>> the rest of my script. I don't seem to find much >>>> >> > documentation on this application. Is there another way to test >>>> if the calling party has been answered? >>>> >> > >>>> >> > thanks, >>>> >> > >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > -- >>>> >> > Regards, >>>> >> > >>>> >> > David Villasmil >>>> >> > email: david.villasmil.work at gmail.com >>>> >> > phone: +34669448337 >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > -- >>>> >> > Regards, >>>> >> > >>>> >> > David Villasmil >>>> >> > email: david.villasmil.work at gmail.com >>>> >> > phone: +34669448337 >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > -- >>>> >> > Regards, >>>> >> > >>>> >> > David Villasmil >>>> >> > email: david.villasmil.work at gmail.com >>>> >> > phone: +34669448337 >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > -- >>>> >> > Regards, >>>> >> > >>>> >> > David Villasmil >>>> >> > email: david.villasmil.work at gmail.com >>>> >> > phone: +34669448337 >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> > [2 ] >>>> >> > >>>> _________________________________________________________________________ >>>> >> > >>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>> PSTN services. >>>> >> > Build your next product on our scalable cloud platform. >>>> >> > >>>> >> > Join our online community to chat in real time >>>> https://signalwire.community >>>> >> > >>>> >> > Professional FreeSWITCH Services >>>> >> > sales at freeswitch.com >>>> >> > https://freeswitch.com >>>> >> > >>>> >> > Official FreeSWITCH Sites >>>> >> > https://freeswitch.com/oss >>>> >> > https://freeswitch.org/confluence >>>> >> > https://cluecon.com >>>> >> > >>>> >> > FreeSWITCH-users mailing list >>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> > https://freeswitch.com >>>> >> >>>> >> -- >>>> >> Your life is like a penny. You're going to lose it. The question >>>> is: >>>> >> How do >>>> >> you spend it? >>>> >> >>>> >> John Covici wb2una >>>> >> covici at ccs.covici.com >>>> >> >>>> >> >>>> _________________________________________________________________________ >>>> >> >>>> >> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> >> Build your next product on our scalable cloud platform. >>>> >> >>>> >> Join our online community to chat in real time >>>> https://signalwire.community >>>> >> >>>> >> Professional FreeSWITCH Services >>>> >> sales at freeswitch.com >>>> >> https://freeswitch.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> https://freeswitch.com/oss >>>> >> https://freeswitch.org/confluence >>>> >> https://cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> https://freeswitch.com >>>> >> -- >>>> >> Regards, >>>> >> >>>> >> David Villasmil >>>> >> email: david.villasmil.work at gmail.com >>>> >> phone: +34669448337 >>>> >> >>>> _________________________________________________________________________ >>>> >> >>>> >> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> >> Build your next product on our scalable cloud platform. >>>> >> >>>> >> Join our online community to chat in real time >>>> https://signalwire.community >>>> >> >>>> >> Professional FreeSWITCH Services >>>> >> sales at freeswitch.com >>>> >> https://freeswitch.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> https://freeswitch.com/oss >>>> >> https://freeswitch.org/confluence >>>> >> https://cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> https://freeswitch.com >>>> >> >>>> _________________________________________________________________________ >>>> >> >>>> >> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> >> Build your next product on our scalable cloud platform. >>>> >> >>>> >> Join our online community to chat in real time >>>> https://signalwire.community >>>> >> >>>> >> Professional FreeSWITCH Services >>>> >> sales at freeswitch.com >>>> >> https://freeswitch.com >>>> >> >>>> >> Official FreeSWITCH Sites >>>> >> https://freeswitch.com/oss >>>> >> https://freeswitch.org/confluence >>>> >> https://cluecon.com >>>> >> >>>> >> FreeSWITCH-users mailing list >>>> >> FreeSWITCH-users at lists.freeswitch.org >>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> >> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> >> https://freeswitch.com >>>> > >>>> > >>>> _________________________________________________________________________ >>>> > >>>> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> > Build your next product on our scalable cloud platform. >>>> > >>>> > Join our online community to chat in real time >>>> https://signalwire.community >>>> > >>>> > Professional FreeSWITCH Services >>>> > sales at freeswitch.com >>>> > https://freeswitch.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > https://freeswitch.com/oss >>>> > https://freeswitch.org/confluence >>>> > https://cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > https://freeswitch.com >>>> > >>>> _________________________________________________________________________ >>>> > >>>> > The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> > Build your next product on our scalable cloud platform. >>>> > >>>> > Join our online community to chat in real time >>>> https://signalwire.community >>>> > >>>> > Professional FreeSWITCH Services >>>> > sales at freeswitch.com >>>> > https://freeswitch.com >>>> > >>>> > Official FreeSWITCH Sites >>>> > https://freeswitch.com/oss >>>> > https://freeswitch.org/confluence >>>> > https://cluecon.com >>>> > >>>> > FreeSWITCH-users mailing list >>>> > FreeSWITCH-users at lists.freeswitch.org >>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> > UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> > https://freeswitch.com >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From abaci64 at gmail.com Mon Apr 29 13:30:56 2019 From: abaci64 at gmail.com (Abaci B) Date: Mon, 29 Apr 2019 09:30:56 -0400 Subject: [Freeswitch-users] Sending periodical audio announcement to callee In-Reply-To: References: Message-ID: you can use sched_broadcast, see https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+sched+broadcast On Thu, Apr 25, 2019 at 10:59 PM Arik Halperin wrote: > Hello, > I would like to play an audio recording to the callee of a call every few > seconds. What is the best way to do this? > > Thanks, > Arik Halperin > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From devang.nathwani31589 at gmail.com Mon Apr 29 11:45:26 2019 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Mon, 29 Apr 2019 17:15:26 +0530 Subject: [Freeswitch-users] 'To' number modifcation Message-ID: Hello Team, I have idea to modify from user, contact user from dialplan variable as well as channel variables but can we modify to number by any variables? The scenario is like this, My switch's device registered as trunk to destination switch, which is having dynamic ip(not having fqdn) So I am routing the DID number from my switch to that device which is registered as trunk to destination switch, but I need that device as bridge only to connect my switch with destination switch and send the call to another destination number. How can I achieve this by any variables? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Mon Apr 29 16:58:14 2019 From: brian at freeswitch.com (Brian West) Date: Mon, 29 Apr 2019 11:58:14 -0500 Subject: [Freeswitch-users] 'To' number modifcation In-Reply-To: References: Message-ID: You use the ^ in your bridge line, can you show me your current bridge line and example? /b On Mon, Apr 29, 2019 at 11:18 AM devang nathwani < devang.nathwani31589 at gmail.com> wrote: > Hello Team, > > I have idea to modify from user, contact user from dialplan variable as > well as channel variables but can we modify to number by any variables? > > The scenario is like this, > My switch's device registered as trunk to destination switch, which is > having dynamic ip(not having fqdn) > So I am routing the DID number from my switch to that device which is > registered as trunk to destination switch, but I need that device as bridge > only to connect my switch with destination switch and send the call to > another destination number. > > How can I achieve this by any variables? > Thanks in advance. > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce at bmts.us Mon Apr 29 17:52:36 2019 From: bruce at bmts.us (Bruce Marriner) Date: Mon, 29 Apr 2019 17:52:36 +0000 Subject: [Freeswitch-users] context of transfer call Message-ID: <0101016a6a3a25d7-f4903eea-d535-479a-b7e1-203a0ecf16d5-000000@us-west-2.amazonses.com> I'm having the issue that when calls come in from the outside they hit the public context which sends the call to a phone, and then user at the phone tries to transfer them to another extension, then call is dropped. That's because, the transfer gets put in the "public" dialplan where the call came in from. I've read that other's have had this issue, and surely this is a normal use-case to transfer inbound calls, so I'm hoping this is a solved issue :) I read some things about using force_transfer_context but I can't seem to figure out how to use it.  I though maybe it was a variable so I tried adding it as a variable in the user directory but that didn't help :( Can someone help explain how to address this issue so inbound calls can be transferred?  Thanks. :) Ideally, I'd like FreeSWITCH to use the context of the phone/user that's doing the transfer. From brian at freeswitch.com Mon Apr 29 21:13:14 2019 From: brian at freeswitch.com (Brian West) Date: Mon, 29 Apr 2019 16:13:14 -0500 Subject: [Freeswitch-users] context of transfer call In-Reply-To: <0101016a6a3a25d7-f4903eea-d535-479a-b7e1-203a0ecf16d5-000000@us-west-2.amazonses.com> References: <0101016a6a3a25d7-f4903eea-d535-479a-b7e1-203a0ecf16d5-000000@us-west-2.amazonses.com> Message-ID: set the force_transfer_context variable so its one that your users have permissions in. /b On Mon, Apr 29, 2019 at 3:22 PM Bruce Marriner wrote: > > I'm having the issue that when calls come in from the outside they hit > the public context which sends the call to a phone, and then user at the > phone tries to transfer them to another extension, then call is dropped. > > That's because, the transfer gets put in the "public" dialplan where the > call came in from. > > I've read that other's have had this issue, and surely this is a normal > use-case to transfer inbound calls, so I'm hoping this is a solved issue :) > > I read some things about using force_transfer_context but I can't seem > to figure out how to use it. I though maybe it was a variable so I > tried adding it as a variable in the user directory but that didn't help :( > > Can someone help explain how to address this issue so inbound calls can > be transferred? Thanks. :) > > Ideally, I'd like FreeSWITCH to use the context of the phone/user that's > doing the transfer. > > > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From babak.freeswitch at gmail.com Tue Apr 30 06:03:31 2019 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Tue, 30 Apr 2019 10:33:31 +0430 Subject: [Freeswitch-users] dynamic payload negotiation In-Reply-To: References: Message-ID: Hi again here is the pastebin for originating from freeswitch to softphone: https://pastebin.freeswitch.org/view/3a084039 this is the one for incomming call from softphone: https://pastebin.freeswitch.org/view/6faf8a02 On Sat, Apr 27, 2019 at 8:23 PM Giovanni Maruzzelli wrote: > please, can you post (or much better, pastebin) a SIP trace ? > > > > On Sat, Apr 27, 2019 at 1:54 PM Babak Yakhchali < > babak.freeswitch at gmail.com> wrote: > >> Hi >> I'm trying to make calls between a custom softphone as client and >> freeswitch using opus as codec. when client calls freeswitch everything is >> working fine. but when I originate a call from freeswitch there is no audio >> from sofphone but client hears fs. After capturing packets I see that when >> client sends invite it is using 107 as its payload type and freeswitch >> sends 107 in reply. But when fs sends invite it is using 102 and client is >> sending 107. What is the standard? I think the softphone is doing something >> wrong because testing with jitsi works fine. >> thanks >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Tue Apr 30 10:33:18 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 30 Apr 2019 12:33:18 +0200 Subject: [Freeswitch-users] dynamic payload negotiation In-Reply-To: References: Message-ID: Hi Babak, thanks for the traces. As you put it, problem is probably connected with some intricacies of dynamic mapping of codec in sdp. I would do the stupid guy path: setup linphone (or some other well behaving client) to only use opus (or opus and g711, just to be webrtc compliant), and then make navamessenger do exactly like as linphone do. -giovanni On Tue, Apr 30, 2019 at 8:04 AM Babak Yakhchali wrote: > Hi again > here is the pastebin for originating from freeswitch to softphone: > https://pastebin.freeswitch.org/view/3a084039 > this is the one for incomming call from softphone: > https://pastebin.freeswitch.org/view/6faf8a02 > > On Sat, Apr 27, 2019 at 8:23 PM Giovanni Maruzzelli > wrote: > >> please, can you post (or much better, pastebin) a SIP trace ? >> >> >> >> On Sat, Apr 27, 2019 at 1:54 PM Babak Yakhchali < >> babak.freeswitch at gmail.com> wrote: >> >>> Hi >>> I'm trying to make calls between a custom softphone as client and >>> freeswitch using opus as codec. when client calls freeswitch everything is >>> working fine. but when I originate a call from freeswitch there is no audio >>> from sofphone but client hears fs. After capturing packets I see that when >>> client sends invite it is using 107 as its payload type and freeswitch >>> sends 107 in reply. But when fs sends invite it is using 102 and client is >>> sending 107. What is the standard? I think the softphone is doing something >>> wrong because testing with jitsi works fine. >>> thanks >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> -- >> Sincerely, >> >> Giovanni Maruzzelli >> OpenTelecom.IT >> cell: +39 347 266 56 18 >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From babak.freeswitch at gmail.com Tue Apr 30 10:41:23 2019 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Tue, 30 Apr 2019 15:11:23 +0430 Subject: [Freeswitch-users] dynamic payload negotiation In-Reply-To: References: Message-ID: thanks you are right and I informed them to use freeswitch opus payload type when they recieve invite and problem is solved. On Tue, Apr 30, 2019 at 3:04 PM Giovanni Maruzzelli wrote: > Hi Babak, > > thanks for the traces. > > As you put it, problem is probably connected with some intricacies of > dynamic mapping of codec in sdp. > > I would do the stupid guy path: setup linphone (or some other well > behaving client) to only use opus (or opus and g711, just to be webrtc > compliant), and then make navamessenger do exactly like as linphone do. > > -giovanni > > On Tue, Apr 30, 2019 at 8:04 AM Babak Yakhchali < > babak.freeswitch at gmail.com> wrote: > >> Hi again >> here is the pastebin for originating from freeswitch to softphone: >> https://pastebin.freeswitch.org/view/3a084039 >> this is the one for incomming call from softphone: >> https://pastebin.freeswitch.org/view/6faf8a02 >> >> On Sat, Apr 27, 2019 at 8:23 PM Giovanni Maruzzelli >> wrote: >> >>> please, can you post (or much better, pastebin) a SIP trace ? >>> >>> >>> >>> On Sat, Apr 27, 2019 at 1:54 PM Babak Yakhchali < >>> babak.freeswitch at gmail.com> wrote: >>> >>>> Hi >>>> I'm trying to make calls between a custom softphone as client and >>>> freeswitch using opus as codec. when client calls freeswitch everything is >>>> working fine. but when I originate a call from freeswitch there is no audio >>>> from sofphone but client hears fs. After capturing packets I see that when >>>> client sends invite it is using 107 as its payload type and freeswitch >>>> sends 107 in reply. But when fs sends invite it is using 102 and client is >>>> sending 107. What is the standard? I think the softphone is doing something >>>> wrong because testing with jitsi works fine. >>>> thanks >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> >>> >>> -- >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> OpenTelecom.IT >>> cell: +39 347 266 56 18 >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From babak.freeswitch at gmail.com Tue Apr 30 11:09:04 2019 From: babak.freeswitch at gmail.com (Babak Yakhchali) Date: Tue, 30 Apr 2019 15:39:04 +0430 Subject: [Freeswitch-users] Building on win 10 using visual studio community edition failse Message-ID: Hi I'm trying to build fs 1.8.5 using vs community edition. Is it possible or I need other editions of vs? build fails with: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code -1073741515 Done building project "libvpx.2017.vcxproj" -- FAILED tried with both win 10 sdk 10.0.17763.0 and 8.1 thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Apr 30 13:42:30 2019 From: brian at freeswitch.com (Brian West) Date: Tue, 30 Apr 2019 08:42:30 -0500 Subject: [Freeswitch-users] Abuse of files.freeswitch.org Message-ID: FreeSWITCHers, I have found over 2000 IP Addresses that are abusing the files repo, If you happen to be one that has been blocked please email me directly to resolve your access. This isn't about resources, it isn't about us needing mirrors, its blatant abuse. The few that have come forward and resolved their issues had no idea they were doing this, They have various scripts that have gone off the rails and they are investigating and resolving the issue. AKA When Automation Goes Wrong! Thanks, Brian -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mjlopez at smartic.es Tue Apr 30 15:08:45 2019 From: mjlopez at smartic.es (=?utf-8?Q?Miguel_Jes=C3=BAs_L=C3=B3pez_Valverde?=) Date: Tue, 30 Apr 2019 17:08:45 +0200 Subject: [Freeswitch-users] Abuse of files.freeswitch.org In-Reply-To: References: Message-ID: <01e001d4ff66$9bf32fa0$d3d98ee0$@smartic.es> Hello Brian: Thank you for this information. Today I am getting problems when I try to download the Freeswich 1.8 sources, with its public key. Mi ip is 51.38.62.158. apt-get update Ign:1 http://debian.mirrors.ovh.net/debian stretch InRelease Get:2 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB] Get:3 http://debian.mirrors.ovh.net/debian stretch Release [118 kB] Hit:4 http://security.debian.org/debian-security stretch/updates InRelease Get:5 https://last-public-ovh-rtm.snap.mirrors.ovh.net/debian stretch InRelease [4,902 B] Get:6 https://last-public-ovh-kernel.snap.mirrors.ovh.net/debian ovhkernel InRelease [4,930 B] Get:7 https://last-public-ovh-metrics.snap.mirrors.ovh.net/debian stretch InRelease [4,905 B] Get:9 http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease [3,210 B] Ign:9 http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease Fetched 227 kB in 1s (200 kB/s) Reading package lists... Done W: GPG error: http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BD3189F5A2B57698 W: The repository 'http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. I send this information to you in case it is related to what you report and if it can help you in your follow-up. Receive a greeting Miguel J. López. De: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] En nombre de Brian West Enviado el: martes, 30 de abril de 2019 15:43 Para: FreeSWITCH Users Help Asunto: [Freeswitch-users] Abuse of files.freeswitch.org FreeSWITCHers, I have found over 2000 IP Addresses that are abusing the files repo, If you happen to be one that has been blocked please email me directly to resolve your access. This isn't about resources, it isn't about us needing mirrors, its blatant abuse. The few that have come forward and resolved their issues had no idea they were doing this, They have various scripts that have gone off the rails and they are investigating and resolving the issue. AKA When Automation Goes Wrong! Thanks, Brian -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com --- El software de antivirus Avast ha analizado este correo electrónico en busca de virus. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Tue Apr 30 16:02:48 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 30 Apr 2019 17:02:48 +0100 Subject: [Freeswitch-users] execute_on_answer In-Reply-To: References: <332F5446-1568-4A75-ABED-88232D54B693@vallimamod.org> <9E832E94-A587-427A-8062-4688029F2CA5@vallimamod.org> <879BD6C7-FB77-4DAA-B729-F73D00EDDED4@freeswitch.org> Message-ID: Joli, You're not getting the point. Let me put it like this: ---> Incimong call (a-leg) ---> set execute_on_answer nolocal (meaning, for the b-leg). ---> answer (a-leg) ---> play some message (a-leg) That's all you're doing, you have no b-leg. You need something like: ---> Incimong call (a-leg) ---> set execute_on_answer nolocal (meaning, for the b-leg). ---> answer (a-leg) ---> play some message (a-leg) *---> bridge the call to a user or an agent. (b-leg)* *---> call is answered by the agent/user* *---> EXECUTE_ON_ANSWER is actually executed, because NOW you have a b-leg.* Hope this helps Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Mon, Apr 29, 2019 at 2:09 AM Joli Martinez wrote: > Hello, > > I have tried both > > > and none seem to work. I also do a reloadxml after I uncomment them. > > thanks, > > On Sun, Apr 28, 2019 at 8:20 PM Brian West wrote: > >> You're doing export no local, that means you need a b-leg or it never >> will execute, You can't answer the a-leg and execute it. >> >> /b >> >> On Sun, Apr 28, 2019 at 6:35 PM Joli Martinez >> wrote: >> >>> Hello, >>> >>> I finally got it to dial my extension, but that is all it does. It >>> dials the extension once then hangs up. I have set the call timeout and >>> that does not seem to work. How can I get the call to continue to ring >>> until I pick up then bridge the calls together. I have used the export >>> nolocal and the set on the wait_on_answer and it does not make a >>> difference. I also have changed my lua script to answer() and still >>> nothing. >>> >>> ------------------ XML ----------------------------------------- >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ------------------ XML ----------------------------------------- >>> >>> >>> ------------------Response from FS >>> ----------------------------------------- >>> EXECUTE sofia/external/1112223333 answer() >>> EXECUTE sofia/external/1112223333 sleep(1000) >>> 2019-04-28 16:21:29.818764 [NOTICE] switch_core_state_machine.c:385 >>> sofia/external/1112223333 has executed the last dialplan instruction, >>> hanging up. >>> 2019-04-28 16:21:29.818764 [NOTICE] switch_core_state_machine.c:387 >>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>> ------------------Response from FS >>> ----------------------------------------- >>> >>> >>> >>> ------------------Lua Script ----------------------------------------- >>> #!/bin/lua >>> >>> soundDir = "/etc/freeswitch/scripts/sounds/" >>> welcome = soundDir .. "welcome.wav" >>> >>> session:answer() >>> >>> session:execute("playback", welcome) >>> >>> ------------------Lua Script ----------------------------------------- >>> >>> >>> On Sat, Apr 27, 2019 at 7:00 PM Ken Rice wrote: >>> >>>> you need to export no local it most likely so it gets set on the b >>>> leg’s answer. set puts it on the a leg >>>> >>>> Sent from my iPhone >>>> >>>> On Apr 27, 2019, at 13:34, Joli Martinez wrote: >>>> >>>> Hello, >>>> >>>> I have updated the config as requested with the exception of adding the >>>> send_dtmf line. I also did a reloadxml and it is still not working. What >>>> am I missing? >>>> >>>> ---------------xml-------------------- >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ---------------xml-------------------- >>>> >>>> ---------------local FS-------------------- >>>> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] >>>> destination_number(9176) =~ /^9176$/ break=on-false >>>> Dialplan: sofia/external/1112223333 Action set(execute_on_answer=lua >>>> test.lua) >>>> Dialplan: sofia/external/1112223333 Action answer() >>>> Dialplan: sofia/external/1112223333 Action sleep(2000) >>>> Dialplan: sofia/external/1112223333 Action send_dtmf(${ext}) >>>> Dialplan: sofia/external/1112223333 Action sleep(1000) >>>> 2019-04-27 11:27:56.598764 [INFO] switch_channel.c:3129 >>>> sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound >>>> Call" <409> >>>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:286 >>>> (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >>>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:643 >>>> (sofia/external/1112223333) State ROUTING going to sleep >>>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:584 >>>> (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 Tot 2) >>>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:650 >>>> (sofia/external/1112223333) State EXECUTE >>>> 2019-04-27 11:27:56.598764 [DEBUG] mod_sofia.c:198 >>>> sofia/external/1112223333 SOFIA EXECUTE >>>> 2019-04-27 11:27:56.598764 [DEBUG] switch_core_state_machine.c:328 >>>> sofia/external/1112223333 Standard EXECUTE >>>> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua test.lua) >>>> 2019-04-27 11:27:56.598764 [DEBUG] mod_dptools.c:1548 SET >>>> sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >>>> EXECUTE sofia/external/1112223333 answer() >>>> EXECUTE sofia/external/1112223333 sleep(2000) >>>> EXECUTE sofia/external/1112223333 send_dtmf(1002) >>>> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/1112223333 send dtmf >>>> digit=1 ms=250 samples=2000 >>>> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/1112223333 send dtmf >>>> digit=0 ms=250 samples=2000 >>>> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/1112223333 send dtmf >>>> digit=0 ms=250 samples=2000 >>>> 2019-04-27 11:27:58.598816 [DEBUG] switch_core_io.c:1894 >>>> sofia/external/1112223333 send dtmf >>>> digit=2 ms=250 samples=2000 >>>> EXECUTE sofia/external/1112223333 sleep(1000) >>>> 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5261 Send start packet >>>> for [1] ts=160 dur=160/160/2000 seq=50563 lw=160 >>>> 2019-04-27 11:27:58.618751 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=320/320/2000 seq=50564 lw=320 >>>> 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:7308 Correct audio >>>> ip/port confirmed. >>>> 2019-04-27 11:27:58.638746 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=480/480/2000 seq=50565 lw=480 >>>> 2019-04-27 11:27:58.658789 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=640/640/2000 seq=50566 lw=640 >>>> 2019-04-27 11:27:58.678753 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=800/800/2000 seq=50567 lw=800 >>>> 2019-04-27 11:27:58.698752 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=960/960/2000 seq=50568 lw=960 >>>> 2019-04-27 11:27:58.718750 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=1120/1120/2000 seq=50569 lw=1120 >>>> 2019-04-27 11:27:58.738752 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=1280/1280/2000 seq=50570 lw=1280 >>>> 2019-04-27 11:27:58.758871 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=1440/1440/2000 seq=50571 lw=1440 >>>> 2019-04-27 11:27:58.778753 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=1600/1600/2000 seq=50572 lw=1600 >>>> 2019-04-27 11:27:58.798750 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=1760/1760/2000 seq=50573 lw=1760 >>>> 2019-04-27 11:27:58.818750 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [1] ts=160 dur=1920/1920/2000 seq=50574 lw=1920 >>>> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [1] ts=160 dur=2080/2080/2000 seq=50575 lw=1920 >>>> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [1] ts=160 dur=2080/2080/2000 seq=50576 lw=1920 >>>> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [1] ts=160 dur=2080/2080/2000 seq=50577 lw=1920 >>>> 2019-04-27 11:27:58.838753 [DEBUG] switch_rtp.c:5108 Queue digit delay >>>> of 40ms >>>> 2019-04-27 11:27:59.238764 [DEBUG] switch_rtp.c:5261 Send start packet >>>> for [0] ts=2400 dur=160/160/2000 seq=50578 lw=2400 >>>> 2019-04-27 11:27:59.258748 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=320/320/2000 seq=50579 lw=2560 >>>> 2019-04-27 11:27:59.278769 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=480/480/2000 seq=50580 lw=2720 >>>> 2019-04-27 11:27:59.298757 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=640/640/2000 seq=50581 lw=2880 >>>> 2019-04-27 11:27:59.318750 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=800/800/2000 seq=50582 lw=3040 >>>> 2019-04-27 11:27:59.338757 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=960/960/2000 seq=50583 lw=3200 >>>> 2019-04-27 11:27:59.358750 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=1120/1120/2000 seq=50584 lw=3360 >>>> 2019-04-27 11:27:59.378753 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=1280/1280/2000 seq=50585 lw=3520 >>>> 2019-04-27 11:27:59.398753 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=1440/1440/2000 seq=50586 lw=3680 >>>> 2019-04-27 11:27:59.418759 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=1600/1600/2000 seq=50587 lw=3840 >>>> 2019-04-27 11:27:59.438754 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=1760/1760/2000 seq=50588 lw=4000 >>>> 2019-04-27 11:27:59.458746 [DEBUG] switch_rtp.c:5160 Send middle packet >>>> for [0] ts=2400 dur=1920/1920/2000 seq=50589 lw=4160 >>>> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [0] ts=2400 dur=2080/2080/2000 seq=50590 lw=4160 >>>> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [0] ts=2400 dur=2080/2080/2000 seq=50591 lw=4160 >>>> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5160 Send end packet >>>> for [0] ts=2400 dur=2080/2080/2000 seq=50592 lw=4160 >>>> 2019-04-27 11:27:59.478753 [DEBUG] switch_rtp.c:5108 Queue digit delay >>>> of 40ms >>>> 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:385 >>>> sofia/external/1112223333 has executed the last dialplan instruction, h. >>>> 2019-04-27 11:27:59.618769 [NOTICE] switch_core_state_machine.c:387 >>>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>>> ---------------local FS-------------------- >>>> >>>> ---------------remote FS-------------------- >>>> 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3025 OPEN TTS >>>> flite >>>> 2019-04-27 14:25:13.496934 [DEBUG] switch_ivr_play_say.c:3035 Raw Codec >>>> Activated >>>> 2019-04-27 14:25:13.656926 [DEBUG] switch_ivr_play_say.c:2729 Speaking >>>> text: Hello World, This is a test IVR >>>> 2019-04-27 14:25:15.576972 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >>>> 1:2080 >>>> 2019-04-27 14:25:15.576972 [INFO] switch_channel.c:515 RECV DTMF 1:2080 >>>> 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_play_say.c:2907 done >>>> speaking text >>>> 2019-04-27 14:25:15.576972 [DEBUG] switch_ivr_menu.c:377 waiting for >>>> 3/4 digits t/o 2000 >>>> 2019-04-27 14:25:16.156952 [NOTICE] sofia.c:1012 Hangup sofia/internal/+ >>>> 13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >>>> ---------------local FS-------------------- >>>> >>>> On Sat, Apr 27, 2019 at 1:49 PM Vallimamod Abdullah >>>> wrote: >>>> >>>>> Your non working example is (without the commented parts): >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> It should be: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Keep in mind that execute_on_answer is an actual channel variable that >>>>> you set (and not an application). On call answer, it is retrieved by >>>>> freeswitch and its content is executed. >>>>> >>>>> >>>>> Best Regards, >>>>> -- >>>>> Vallimamod Abdullah >>>>> SIP Solutions >>>>> vma at sip.solutions >>>>> linkedin.com/in/vallimamod >>>>> . >>>>> >>>>> >>>>> > On 27 Apr 2019, at 16:10, Joli Martinez wrote: >>>>> > >>>>> > Hello, >>>>> > >>>>> > Not sure I follow, the only variable in this case is the EXT and it >>>>> is set above the execute_on_answer command. What other var should I set? >>>>> Call originates from FS to an IVR, IVR answers and FS dials EXT (1002), FS >>>>> wait for EXT to answer then executes lua script. In this case I have >>>>> stripped down my script to just play a file. So my lua script does not >>>>> take any parameters. >>>>> > >>>>> > thanks, >>>>> > >>>>> > >>>>> > On Sat, Apr 27, 2019 at 8:26 AM Vallimamod Abdullah < >>>>> vma at vallimamod.org> wrote: >>>>> > Hi, >>>>> > >>>>> > You need to set the execute_on_answer var before calling the answer >>>>> application. >>>>> > Once the call is answered or bridged, it's too late. >>>>> > >>>>> > >>>>> > Best Regards, >>>>> > -- >>>>> > Vallimamod Abdullah >>>>> > SIP Solutions >>>>> > vma at sip.solutions >>>>> > linkedin.com/in/vallimamod >>>>> > . >>>>> > >>>>> > >>>>> >> On 27 Apr 2019, at 03:00, Joli Martinez >>>>> wrote: >>>>> >> >>>>> >> Hello, >>>>> >> >>>>> >> When I just use the "" >>>>> the call goes through and sends the correct DTMF from the channel variable >>>>> passed which is 1002. When I uncomment the ">>>> data="execute_on_answer=lua test.lua"/>" and comment out the other line, >>>>> then do a reloadxml on fs. The DTMF is not passed correctly and the call >>>>> fails. I have stripped down my test.lua script to just basic to only play >>>>> a file and it still fails. In this scenario I am testing calling from the >>>>> freeswitch box to another freeswitch IVR, but this should work regardless >>>>> of what IVR it calls. Below is the output of the both boxes. >>>>> >> >>>>> >> >>>>> >> --------------xml---------------------- >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> --------------xml---------------------- >>>>> >> >>>>> >> --------------test.lua---------------------- >>>>> >> #!/bin/lua >>>>> >> >>>>> >> soundDir = "/etc/freeswitch/scripts/sounds/" >>>>> >> welcome = soundDir .. "welcome.wav" >>>>> >> >>>>> >> freeswitch.consoleLog("INFO", "got here\n") >>>>> >> >>>>> >> --Starts Playing welcome message and accepts digits >>>>> >> value = session:playAndGetDigits(2, 4, 3, 3000, "#", welcome, "", >>>>> "\\d+") >>>>> >> >>>>> >> freeswitch.consoleLog("INFO", "got digits " ..value.. "\n") >>>>> >> --------------test.lua---------------------- >>>>> >> >>>>> >> --------------this FS box---------------------- >>>>> >> Dialplan: sofia/external/1112223333 Regex (PASS) [test_ivr] >>>>> destination_number(9176) =~ /^9176$/ break=on-false >>>>> >> Dialplan: sofia/external/1112223333 Action sleep(2000) >>>>> >> Dialplan: sofia/external/1112223333 Action send_dtmf(1002) >>>>> >> Dialplan: sofia/external/1112223333 Action sleep(1000) >>>>> >> Dialplan: sofia/external/1112223333 Action >>>>> set(execute_on_answer=lua test.lua) >>>>> >> 2019-04-26 17:52:22.511865 [INFO] switch_channel.c:3129 >>>>> sofia/external/1112223333 Flipping CID from "" <3337777777> to "Outbound >>>>> Call" <> >>>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:286 >>>>> (sofia/external/1112223333) State Change CS_ROUTING -> CS_EXECUTE >>>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:643 >>>>> (sofia/external/1112223333) State ROUTING going to sleep >>>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:584 >>>>> (sofia/external/1112223333) Running State Change CS_EXECUTE (Cur 1 To) >>>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:650 >>>>> (sofia/external/1112223333) State EXECUTE >>>>> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_sofia.c:198 >>>>> sofia/external/1112223333 SOFIA EXECUTE >>>>> >> 2019-04-26 17:52:22.511865 [DEBUG] switch_core_state_machine.c:328 >>>>> sofia/external/1112223333 Standard EXECUTE >>>>> >> EXECUTE sofia/external/1112223333 set(open=true) >>>>> >> 2019-04-26 17:52:22.511865 [DEBUG] mod_dptools.c:1548 SET >>>>> sofia/external/1112223333 [open]=[true] >>>>> >> EXECUTE sofia/external/1112223333 sleep(2000) >>>>> >> EXECUTE sofia/external/1112223333 send_dtmf(1002) >>>>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>>>> sofia/external/1112223333 send dtmf >>>>> >> digit=1 ms=250 samples=2000 >>>>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>>>> sofia/external/1112223333 send dtmf >>>>> >> digit=0 ms=250 samples=2000 >>>>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>>>> sofia/external/1112223333 send dtmf >>>>> >> digit=0 ms=250 samples=2000 >>>>> >> 2019-04-26 17:52:24.511881 [DEBUG] switch_core_io.c:1894 >>>>> sofia/external/1112223333 send dtmf >>>>> >> digit=2 ms=250 samples=2000 >>>>> >> EXECUTE sofia/external/1112223333 sleep(1000) >>>>> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5261 Send start >>>>> packet for [1] ts=160 dur=160/160/2000 seq=16436 lw=160 >>>>> >> 2019-04-26 17:52:24.531872 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=320/320/2000 seq=16437 lw=320 >>>>> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:7308 Correct audio >>>>> ip/port confirmed. >>>>> >> 2019-04-26 17:52:24.551861 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=480/480/2000 seq=16438 lw=480 >>>>> >> 2019-04-26 17:52:24.571862 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=640/640/2000 seq=16439 lw=640 >>>>> >> 2019-04-26 17:52:24.591872 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=800/800/2000 seq=16440 lw=800 >>>>> >> 2019-04-26 17:52:24.611866 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=960/960/2000 seq=16441 lw=960 >>>>> >> 2019-04-26 17:52:24.631863 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=1120/1120/2000 seq=16442 lw=1120 >>>>> >> 2019-04-26 17:52:24.651858 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=1280/1280/2000 seq=16443 lw=1280 >>>>> >> 2019-04-26 17:52:24.671867 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=1440/1440/2000 seq=16444 lw=1440 >>>>> >> 2019-04-26 17:52:24.691863 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=1600/1600/2000 seq=16445 lw=1600 >>>>> >> 2019-04-26 17:52:24.711874 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=1760/1760/2000 seq=16446 lw=1760 >>>>> >> 2019-04-26 17:52:24.731866 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [1] ts=160 dur=1920/1920/2000 seq=16447 lw=1920 >>>>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end >>>>> packet for [1] ts=160 dur=2080/2080/2000 seq=16448 lw=1920 >>>>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end >>>>> packet for [1] ts=160 dur=2080/2080/2000 seq=16449 lw=1920 >>>>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5160 Send end >>>>> packet for [1] ts=160 dur=2080/2080/2000 seq=16450 lw=1920 >>>>> >> 2019-04-26 17:52:24.751872 [DEBUG] switch_rtp.c:5108 Queue digit >>>>> delay of 40ms >>>>> >> 2019-04-26 17:52:25.151870 [DEBUG] switch_rtp.c:5261 Send start >>>>> packet for [0] ts=2400 dur=160/160/2000 seq=16451 lw=2400 >>>>> >> 2019-04-26 17:52:25.171870 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=320/320/2000 seq=16452 lw=2560 >>>>> >> 2019-04-26 17:52:25.191863 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=480/480/2000 seq=16453 lw=2720 >>>>> >> 2019-04-26 17:52:25.211881 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=640/640/2000 seq=16454 lw=2880 >>>>> >> 2019-04-26 17:52:25.231878 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=800/800/2000 seq=16455 lw=3040 >>>>> >> 2019-04-26 17:52:25.251862 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=960/960/2000 seq=16456 lw=3200 >>>>> >> 2019-04-26 17:52:25.271866 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=1120/1120/2000 seq=16457 lw=3360 >>>>> >> 2019-04-26 17:52:25.291874 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=1280/1280/2000 seq=16458 lw=3520 >>>>> >> 2019-04-26 17:52:25.311871 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=1440/1440/2000 seq=16459 lw=3680 >>>>> >> 2019-04-26 17:52:25.331864 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=1600/1600/2000 seq=16460 lw=3840 >>>>> >> 2019-04-26 17:52:25.351866 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=1760/1760/2000 seq=16461 lw=4000 >>>>> >> 2019-04-26 17:52:25.371873 [DEBUG] switch_rtp.c:5160 Send middle >>>>> packet for [0] ts=2400 dur=1920/1920/2000 seq=16462 lw=4160 >>>>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end >>>>> packet for [0] ts=2400 dur=2080/2080/2000 seq=16463 lw=4160 >>>>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end >>>>> packet for [0] ts=2400 dur=2080/2080/2000 seq=16464 lw=4160 >>>>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5160 Send end >>>>> packet for [0] ts=2400 dur=2080/2080/2000 seq=16465 lw=4160 >>>>> >> 2019-04-26 17:52:25.391864 [DEBUG] switch_rtp.c:5108 Queue digit >>>>> delay of 40ms >>>>> >> EXECUTE sofia/external/1112223333 set(execute_on_answer=lua >>>>> test.lua) >>>>> >> 2019-04-26 17:52:25.531882 [DEBUG] mod_dptools.c:1548 SET >>>>> sofia/external/1112223333 [execute_on_answer]=[lua test.lua] >>>>> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:385 >>>>> sofia/external/1112223333 has executed the last dialplan instruction. >>>>> >> 2019-04-26 17:52:25.531882 [NOTICE] switch_core_state_machine.c:387 >>>>> Hangup sofia/external/1112223333 [CS_EXECUTE] [NORMAL_CLEARING] >>>>> >> --------------this FS box---------------------- >>>>> >> >>>>> >> --------------receiving FS box----------------------2019-04-26 >>>>> 20:53:34.216925 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/+ >>>>> 13337777777 at 10.21.10.4] has been answered >>>>> >> 2019-04-26 20:53:34.216925 [DEBUG] switch_channel.c:3773 >>>>> (sofia/internal/+13337777777 at 10.21.10.4) Callstate Change RINGING -> >>>>> ACTIVE >>>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 sleep(1000) >>>>> >> 2019-04-26 20:53:34.636985 [DEBUG] switch_rtp.c:7308 Correct audio >>>>> ip/port confirmed. >>>>> >> 2019-04-26 20:53:34.676971 [DEBUG] sofia.c:7084 Channel >>>>> sofia/internal/+13337777777 at 10.21.10.4 entering state [ready][200] >>>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>>> set(hangup_after_bridge=true) >>>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>>> sofia/internal/+13337777777 at 10.21.10.4 [hangup_after_bridge]=[true] >>>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>>> set(ringback=local_stream://default) >>>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>>> sofia/internal/+13337777777 at 10.21.10.4 >>>>> [ringback]=[local_stream://default] >>>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 set(presence_id= >>>>> 9000 at 10.21.10.4) >>>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>>> sofia/internal/+13337777777 at 10.21.10.4 [presence_id]=[9000 at 10.21.10.4] >>>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>>> set(transfer_ringback=local_stream://default) >>>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>>> sofia/internal/+13337777777 at 10.21.10.4 >>>>> [transfer_ringback]=[local_stream://default] >>>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>>> set(ivr_menu_uuid=d67bb786-a0bc-4094-91fa-76f7db68caeb) >>>>> >> 2019-04-26 20:53:35.216977 [DEBUG] mod_dptools.c:1548 SET >>>>> sofia/internal/+13337777777 at 10.21.10.4 >>>>> [ivr_menu_uuid]=[d67bb786-a0bc-4094-91fa-76f7db68caeb] >>>>> >> EXECUTE sofia/internal/+13337777777 at 10.21.10.4 >>>>> ivr(d67bb786-a0bc-4094-91fa-76f7db68caeb) >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:365 DBH >>>>> handle 0x7f3c6005cdf0 Connected. >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] freeswitch_lua.cpp:382 DBH >>>>> handle 0x7f3c6005cdf0 released. >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>>> switch_ivr_menu_stack_xml_add binding 'menu-exit' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>>> switch_ivr_menu_stack_xml_add binding 'menu-sub' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>>> switch_ivr_menu_stack_xml_add binding 'menu-exec-app' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>>> switch_ivr_menu_stack_xml_add binding 'menu-play-sound' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>>> switch_ivr_menu_stack_xml_add binding 'menu-back' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:743 >>>>> switch_ivr_menu_stack_xml_add binding 'menu-top' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:880 building >>>>> menu 'd67bb786-a0bc-4094-91fa-76f7db68caeb' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding >>>>> menu action 'menu-exec-app' to '1' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding >>>>> menu action 'menu-exec-app' to '/^(\d{2,11})$/' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding >>>>> menu action 'menu-exec-app' to '/^(\d{2,11})$/' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:964 binding >>>>> menu action 'menu-exec-app' to '/^(\d{2,11})$/' >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_menu.c:483 Executing >>>>> IVR menu d67bb786-a0bc-4094-91fa-76f7db68caeb >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3025 OPEN >>>>> TTS flite >>>>> >> 2019-04-26 20:53:35.236936 [DEBUG] switch_ivr_play_say.c:3035 Raw >>>>> Codec Activated >>>>> >> 2019-04-26 20:53:35.376916 [DEBUG] switch_ivr_play_say.c:2729 >>>>> Speaking text: Hello World, This is a test IVR >>>>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >>>>> 1:2080 >>>>> >> 2019-04-26 20:53:37.236985 [INFO] switch_channel.c:515 RECV DTMF >>>>> 1:2080 >>>>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_play_say.c:2907 done >>>>> speaking text >>>>> >> 2019-04-26 20:53:37.236985 [DEBUG] switch_ivr_menu.c:377 waiting >>>>> for 3/4 digits t/o 2000 >>>>> >> 2019-04-26 20:53:37.876935 [DEBUG] switch_rtp.c:7534 RTP RECV DTMF >>>>> 0:2080 >>>>> >> 2019-04-26 20:53:37.876935 [INFO] switch_channel.c:515 RECV DTMF >>>>> 0:2080 >>>>> >> 2019-04-26 20:53:37.896923 [NOTICE] sofia.c:1012 Hangup >>>>> sofia/internal/+13337777777 at 10.21.10.4 [CS_EXECUTE] [NORMAL_CLEARING] >>>>> >> --------------receiving FS box---------------------- >>>>> >> >>>>> >> On Fri, Apr 26, 2019 at 8:53 AM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >> Joli, >>>>> >> >>>>> >> On you IVR, assuming you are using fs IVR? Please show us the IVR. >>>>> >> >>>>> >> >>>>> >> On Fri, 26 Apr 2019 at 06:19, John Covici >>>>> wrote: >>>>> >> You have to have a bridge command in that dialplan to start the call >>>>> >> after setting the execute_on_answer, the bridge does not belong in >>>>> >> your samsclub script. >>>>> >> >>>>> >> On Fri, 26 Apr 2019 00:02:14 -0400, >>>>> >> Joli Martinez wrote: >>>>> >> > >>>>> >> > [1 ] >>>>> >> > [1.1 ] >>>>> >> > [1.2 ] >>>>> >> > Hello >>>>> >> > >>>>> >> > It is still not working. When I do just the application lua it >>>>> works, but lua script starts running before I pick up. When I uncomment >>>>> any of the two execute_on_answer the call fails. Below is the error >>>>> messages. I am bridging the >>>>> >> > call at the beginning of my lua script. >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>> data="nolocal:execute_on_answer=lua samsclub.lua"/> >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> ---------------------------------------------------------------------- >>>>> >> > >>>>> >> > 2019-04-25 20:51:24.351863 [DEBUG] switch_rtp.c:5108 Queue digit >>>>> delay of 40ms >>>>> >> > EXECUTE sofia/external/1112223333 set(execute_on_answer=test.lua) >>>>> >> > 2019-04-25 20:51:24.471868 [DEBUG] mod_dptools.c:1548 SET >>>>> sofia/external/1112223333 [execute_on_answer]=[test.lua] >>>>> >> > 2019-04-25 20:51:24.471868 [NOTICE] >>>>> switch_core_state_machine.c:385 sofia/external/1112223333 has executed the >>>>> last dialplan instruction, hanging up. >>>>> >> > 2019-04-25 20:51:24.471868 [NOTICE] >>>>> switch_core_state_machine.c:387 Hangup sofia/external/1112223333 >>>>> [CS_EXECUTE] [NORMAL_CLEARING] >>>>> >> > >>>>> >> > 2019-04-25 20:54:47.491863 [DEBUG] switch_rtp.c:5108 Queue digit >>>>> delay of 40ms >>>>> >> > EXECUTE sofia/external/1112223333 >>>>> export(nolocal:execute_on_answer=lua test.lua) >>>>> >> > 2019-04-25 20:54:47.631863 [DEBUG] switch_channel.c:1296 EXPORT >>>>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>>>> >> > 2019-04-25 20:54:47.631863 [NOTICE] >>>>> switch_core_state_machine.c:385 sofia/external/1112223333 has executed the >>>>> last dialplan instruction, hanging up. >>>>> >> > 2019-04-25 20:54:47.631863 [NOTICE] >>>>> switch_core_state_machine.c:387 Hangup sofia/external/1112223333 >>>>> [CS_EXECUTE] [NORMAL_CLEARING] >>>>> >> > >>>>> >> > On Thu, Apr 25, 2019 at 5:34 PM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >> > >>>>> >> > You need to bridge the call SOMEWHERE before you can run >>>>> execute_on_answer. >>>>> >> > So what you have to do, send the call out setting the >>>>> execute_on_answer. >>>>> >> > >>>>> >> > Something like: >>>>> >> > >>>>> >> > Answer() >>>>> >> > Play some message >>>>> >> > Bridge with {execute_on_answer=‘lua >>>>> myanswer.lua’}sofia/gateway/mygw/1224 >>>>> >> > >>>>> >> > Then, when the BRIDGE is answered, the lua will execute. You >>>>> can’t execute on answer on a call that’s never answered. >>>>> >> > >>>>> >> > On Thu, 25 Apr 2019 at 20:08, Joli Martinez >>>>> wrote: >>>>> >> > >>>>> >> > Hello, >>>>> >> > >>>>> >> > ok, if I put the line back to just send the call to my lua >>>>> script it works, but the script starts executing. I need for it to wait >>>>> until someone answeres the phone before executing. so on my lua script >>>>> instead of the first >>>>> >> > line reading session:answer() can I replace it with >>>>> session:execute_on_answer()? >>>>> >> > >>>>> >> > Or what would be the best way to tell my lua script to wait >>>>> until the phone is answered before continuing execution? >>>>> >> > >>>>> >> > thanks, >>>>> >> > >>>>> >> > On Thu, Apr 25, 2019 at 1:16 PM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >> > >>>>> >> > I understand, but you're not doing anything with call. You need >>>>> to set the execute on answer either befire the bridge or on the bridge >>>>> itself. >>>>> >> > If you want to manipulate the incoming call with the lua, then >>>>> just do; >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > Regards, >>>>> >> > >>>>> >> > David Villasmil >>>>> >> > email: david.villasmil.work at gmail.com >>>>> >> > phone: +34669448337 >>>>> >> > >>>>> >> > On Thu, Apr 25, 2019 at 5:17 PM Joli Martinez < >>>>> mrjoli021 at gmail.com> wrote: >>>>> >> > >>>>> >> > Hello, >>>>> >> > >>>>> >> > What I am trying to accomplish is that once the call gets >>>>> answered by the initial IVR, the call gets sent to an extension. At that >>>>> point the call waits for an answer and sends it to my lua script which >>>>> bridges the call. >>>>> >> > >>>>> >> > If I just send the call without the wait_on_answer the call >>>>> works, but my scripts starts executing right away, so by the time I answer >>>>> the phone I am hearing the prompts half way through. >>>>> >> > >>>>> >> > What am I missing or how can I get it to work? >>>>> >> > >>>>> >> > thanks, >>>>> >> > >>>>> >> > On Thu, Apr 25, 2019 at 11:48 AM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >> > >>>>> >> > So you’re not bridging anywhere, nor answering the call, right? >>>>> I ask because you talk about when the call is answered, but you’re not >>>>> bridging it anywhere? >>>>> >> > >>>>> >> > On Thu, 25 Apr 2019 at 14:15, Joli Martinez >>>>> wrote: >>>>> >> > >>>>> >> > Hello, >>>>> >> > >>>>> >> > This is what I get when I uncomment the lines. I also did a >>>>> reloadxml. >>>>> >> > >>>>> >> > right after the last DTMF digit it dies >>>>> >> > >>>>> >> > ------------------------------------------------------ >>>>> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_core_io.c:1894 >>>>> sofia/external/12223334444 send dtmf >>>>> >> > digit=2 ms=250 samples=2000 >>>>> >> > EXECUTE sofia/external/12223334444 >>>>> export(nolocal:execute_on_answer=lua samsclub.lua) >>>>> >> > 2019-04-25 05:46:07.911991 [DEBUG] switch_channel.c:1296 EXPORT >>>>> (export_vars) (REMOTE ONLY) [execute_on_answer]=[lua test.lua] >>>>> >> > 2019-04-25 05:46:07.911991 [NOTICE] >>>>> switch_core_state_machine.c:385 sofia/external/12223334444 has executed the >>>>> last dialplan instruction, hanging up. >>>>> >> > 2019-04-25 05:46:07.911991 [NOTICE] >>>>> switch_core_state_machine.c:387 Hangup sofia/external/12223334444 >>>>> [CS_EXECUTE] [NORMAL_CLEARING] >>>>> >> > >>>>> >> > ------------------------------------------------------------ >>>>> >> > >>>>> >> > On Thu, Apr 25, 2019 at 6:24 AM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >> > >>>>> >> > Can you send the console log when it fails? >>>>> >> > >>>>> >> > On Thu, 25 Apr 2019 at 01:31, Joli Martinez >>>>> wrote: >>>>> >> > >>>>> >> > Hello, >>>>> >> > >>>>> >> > I need my dial plan to dial an extension within then wait until >>>>> the extension picks up before starting the lua script. I got it to dial >>>>> the extension but can't seem to get the syntax for the >>>>> >> > "execute_on_answer" correct. When I uncomment it out it call >>>>> just fails. What am I missing? >>>>> >> > >>>>> >> > ----------------------------- >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > >>>>> >> > ---------------------------------------- >>>>> >> > >>>>> >> > On Wed, Apr 24, 2019 at 1:57 PM David Villasmil < >>>>> david.villasmil.work at gmail.com> wrote: >>>>> >> > >>>>> >> > That should work properly, what are trying to accomplish exactly? >>>>> >> > >>>>> >> > On Wed, 24 Apr 2019 at 18:19, Joli Martinez >>>>> wrote: >>>>> >> > >>>>> >> > Hello, >>>>> >> > >>>>> >> > I am trying to find more info on the application >>>>> "execute_on_answer". >>>>> >> > >>>>> >> > I have a script that calls an IVR then dials a users extension. >>>>> I need to wait for the calling party extension to answer before executing >>>>> the rest of my script. I don't seem to find much >>>>> >> > documentation on this application. Is there another way to test >>>>> if the calling party has been answered? >>>>> >> > >>>>> >> > thanks, >>>>> >> > >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > -- >>>>> >> > Regards, >>>>> >> > >>>>> >> > David Villasmil >>>>> >> > email: david.villasmil.work at gmail.com >>>>> >> > phone: +34669448337 >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > -- >>>>> >> > Regards, >>>>> >> > >>>>> >> > David Villasmil >>>>> >> > email: david.villasmil.work at gmail.com >>>>> >> > phone: +34669448337 >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > -- >>>>> >> > Regards, >>>>> >> > >>>>> >> > David Villasmil >>>>> >> > email: david.villasmil.work at gmail.com >>>>> >> > phone: +34669448337 >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > -- >>>>> >> > Regards, >>>>> >> > >>>>> >> > David Villasmil >>>>> >> > email: david.villasmil.work at gmail.com >>>>> >> > phone: +34669448337 >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> > [2 ] >>>>> >> > >>>>> _________________________________________________________________________ >>>>> >> > >>>>> >> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> > Enhance your FreeSWITCH install with disruptive priced SMS and >>>>> PSTN services. >>>>> >> > Build your next product on our scalable cloud platform. >>>>> >> > >>>>> >> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> > >>>>> >> > Professional FreeSWITCH Services >>>>> >> > sales at freeswitch.com >>>>> >> > https://freeswitch.com >>>>> >> > >>>>> >> > Official FreeSWITCH Sites >>>>> >> > https://freeswitch.com/oss >>>>> >> > https://freeswitch.org/confluence >>>>> >> > https://cluecon.com >>>>> >> > >>>>> >> > FreeSWITCH-users mailing list >>>>> >> > FreeSWITCH-users at lists.freeswitch.org >>>>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> > https://freeswitch.com >>>>> >> >>>>> >> -- >>>>> >> Your life is like a penny. You're going to lose it. The question >>>>> is: >>>>> >> How do >>>>> >> you spend it? >>>>> >> >>>>> >> John Covici wb2una >>>>> >> covici at ccs.covici.com >>>>> >> >>>>> >> >>>>> _________________________________________________________________________ >>>>> >> >>>>> >> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> >> Build your next product on our scalable cloud platform. >>>>> >> >>>>> >> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> >>>>> >> Professional FreeSWITCH Services >>>>> >> sales at freeswitch.com >>>>> >> https://freeswitch.com >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> https://freeswitch.com/oss >>>>> >> https://freeswitch.org/confluence >>>>> >> https://cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> https://freeswitch.com >>>>> >> -- >>>>> >> Regards, >>>>> >> >>>>> >> David Villasmil >>>>> >> email: david.villasmil.work at gmail.com >>>>> >> phone: +34669448337 >>>>> >> >>>>> _________________________________________________________________________ >>>>> >> >>>>> >> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> >> Build your next product on our scalable cloud platform. >>>>> >> >>>>> >> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> >>>>> >> Professional FreeSWITCH Services >>>>> >> sales at freeswitch.com >>>>> >> https://freeswitch.com >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> https://freeswitch.com/oss >>>>> >> https://freeswitch.org/confluence >>>>> >> https://cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> https://freeswitch.com >>>>> >> >>>>> _________________________________________________________________________ >>>>> >> >>>>> >> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> >> Build your next product on our scalable cloud platform. >>>>> >> >>>>> >> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >> >>>>> >> Professional FreeSWITCH Services >>>>> >> sales at freeswitch.com >>>>> >> https://freeswitch.com >>>>> >> >>>>> >> Official FreeSWITCH Sites >>>>> >> https://freeswitch.com/oss >>>>> >> https://freeswitch.org/confluence >>>>> >> https://cluecon.com >>>>> >> >>>>> >> FreeSWITCH-users mailing list >>>>> >> FreeSWITCH-users at lists.freeswitch.org >>>>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> >> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> >> https://freeswitch.com >>>>> > >>>>> > >>>>> _________________________________________________________________________ >>>>> > >>>>> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> > Build your next product on our scalable cloud platform. >>>>> > >>>>> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> > >>>>> > Professional FreeSWITCH Services >>>>> > sales at freeswitch.com >>>>> > https://freeswitch.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > https://freeswitch.com/oss >>>>> > https://freeswitch.org/confluence >>>>> > https://cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > https://freeswitch.com >>>>> > >>>>> _________________________________________________________________________ >>>>> > >>>>> > The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> > Build your next product on our scalable cloud platform. >>>>> > >>>>> > Join our online community to chat in real time >>>>> https://signalwire.community >>>>> > >>>>> > Professional FreeSWITCH Services >>>>> > sales at freeswitch.com >>>>> > https://freeswitch.com >>>>> > >>>>> > Official FreeSWITCH Sites >>>>> > https://freeswitch.com/oss >>>>> > https://freeswitch.org/confluence >>>>> > https://cluecon.com >>>>> > >>>>> > FreeSWITCH-users mailing list >>>>> > FreeSWITCH-users at lists.freeswitch.org >>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> > UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> > https://freeswitch.com >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> The FreeSWITCH project is sponsored by SignalWire >>>>> https://signalwire.com >>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>>> services. >>>>> Build your next product on our scalable cloud platform. >>>>> >>>>> Join our online community to chat in real time >>>>> https://signalwire.community >>>>> >>>>> Professional FreeSWITCH Services >>>>> sales at freeswitch.com >>>>> https://freeswitch.com >>>>> >>>>> Official FreeSWITCH Sites >>>>> https://freeswitch.com/oss >>>>> https://freeswitch.org/confluence >>>>> https://cluecon.com >>>>> >>>>> FreeSWITCH-users mailing list >>>>> FreeSWITCH-users at lists.freeswitch.org >>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>>> UNSUBSCRIBE: >>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> The FreeSWITCH project is sponsored by SignalWire >>>> https://signalwire.com >>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>>> services. >>>> Build your next product on our scalable cloud platform. >>>> >>>> Join our online community to chat in real time >>>> https://signalwire.community >>>> >>>> Professional FreeSWITCH Services >>>> sales at freeswitch.com >>>> https://freeswitch.com >>>> >>>> Official FreeSWITCH Sites >>>> https://freeswitch.com/oss >>>> https://freeswitch.org/confluence >>>> https://cluecon.com >>>> >>>> FreeSWITCH-users mailing list >>>> FreeSWITCH-users at lists.freeswitch.org >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Apr 30 16:23:32 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 30 Apr 2019 16:23:32 +0000 Subject: [Freeswitch-users] Call Drop ( we think only when originated by Mitel phone) Message-ID: FreeSWITCH Version 1.8.5-6-31281a0bf1~64bit (-6-31281a0bf1 64bit) The server is offsite and not NATed, the phones are NATed. My customer got some Mitel 6867i phones. They are working fine 95% of the time. We have narrowed it down we think but this may be anecdotal based on limited data. It appears to only happen when a call is originated from these Mitel phones. Cisco phones at the same site are rock solid. The customer reports "dropped calls". I got a Mitel 6867i and tested. After 44 test calls, I got a dropped call within seconds of being answered. Another instance where user actually gave me enough information to track it down showed the exact same thing - hangup after 7 seconds. Here is a log extract at the point where I answer the test call. sofia/external/4104440002 is the Mitel originating phone. 15:52:04.041308 [NOTICE] sofia.c:8429 Channel [sofia/internal/314] has been answered 15:52:04.041308 [DEBUG] switch_channel.c:3781 (sofia/internal/314) Callstate Change EARLY -> ACTIVE 15:52:04.041308 [DEBUG] switch_core_codec.c:248 sofia/external/4104440002 at 66.241.96.237 Restore previous codec PCMU:0. 15:52:04.041308 [DEBUG] switch_ivr_originate.c:3798 Originate Resulted in Success: [sofia/internal/314] 15:52:04.041308 [DEBUG] switch_channel.c:2047 (sofia/external/4104440002 at 66.241.96.237) Callstate Change RING_WAIT -> ACTIVE 15:52:04.041308 [DEBUG] switch_ivr_bridge.c:1782 (sofia/internal/314) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 15:52:04.041308 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/314) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 1109) 15:52:04.041308 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/314) State EXCHANGE_MEDIA 15:52:04.041308 [DEBUG] mod_sofia.c:646 SOFIA EXCHANGE_MEDIA 15:52:04.101306 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed. 15:52:07.501320 [NOTICE] sofia.c:1079 Hangup sofia/external/4104440002 at 66.241.96.237 [CS_EXECUTE] [NORMAL_CLEARING] 15:52:07.501320 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/external/4104440002 at 66.241.96.237] 15:52:07.521295 [DEBUG] switch_ivr_bridge.c:825 sofia/external/4104440002 at 66.241.96.237 ending bridge by request from write function 15:52:07.521295 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/internal/314] 15:52:07.521295 [NOTICE] switch_ivr_bridge.c:1034 Hangup sofia/internal/314 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 15:52:07.521295 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/314) State EXCHANGE_MEDIA going to sleep 15:52:07.521295 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/314) Running State Change CS_HANGUP (Cur 4 Tot 1109) 15:52:07.521295 [DEBUG] switch_core_state_machine.c:847 (sofia/internal/314) Callstate Change ACTIVE -> HANGUP 15:52:07.521295 [DEBUG] switch_ivr_bridge.c:1881 sofia/internal/314 skip receive message [UNBRIDGE] (channel is hungup already) 15:52:07.521295 [DEBUG] switch_ivr_bridge.c:1884 sofia/external/4104440002 at 66.241.96.237 skip receive message [UNBRIDGE] (channel is hungup already) 15:52:07.521295 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/314) State HANGUP 15:52:07.521295 [DEBUG] mod_sofia.c:443 sofia/internal/314 Overriding SIP cause 480 with 200 from the other leg 15:52:07.521295 [DEBUG] mod_sofia.c:449 Channel sofia/internal/314 hanging up, cause: NORMAL_CLEARING 15:52:07.521295 [DEBUG] switch_core_session.c:2887 sofia/external/4104440002 at 66.241.96.237 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 15:52:07.521295 [DEBUG] switch_core_session.c:2887 sofia/external/4104440002 at 66.241.96.237 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) Any ideas why this is happening? Anyone know any secrets about Mitel phones other then use TCP instead of UDP? Any ideas on how to debug this further since it happens so rarely? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Apr 30 16:56:07 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 30 Apr 2019 16:56:07 +0000 Subject: [Freeswitch-users] Call Drop ( we think only when originated by Mitel phone) In-Reply-To: References: Message-ID: A follow up... I have found that all my other phones have codec preferences set to 711u, 711a, 729. The Mitels were configured as 722, 711u, 711a. Could this be a problem with the codec changing when the call connects? Sean From: FreeSWITCH-users On Behalf Of Sean Devoy Sent: Tuesday, April 30, 2019 12:24 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Call Drop ( we think only when originated by Mitel phone) FreeSWITCH Version 1.8.5-6-31281a0bf1~64bit (-6-31281a0bf1 64bit) The server is offsite and not NATed, the phones are NATed. My customer got some Mitel 6867i phones. They are working fine 95% of the time. We have narrowed it down we think but this may be anecdotal based on limited data. It appears to only happen when a call is originated from these Mitel phones. Cisco phones at the same site are rock solid. The customer reports "dropped calls". I got a Mitel 6867i and tested. After 44 test calls, I got a dropped call within seconds of being answered. Another instance where user actually gave me enough information to track it down showed the exact same thing - hangup after 7 seconds. Here is a log extract at the point where I answer the test call. sofia/external/4104440002 is the Mitel originating phone. 15:52:04.041308 [NOTICE] sofia.c:8429 Channel [sofia/internal/314] has been answered 15:52:04.041308 [DEBUG] switch_channel.c:3781 (sofia/internal/314) Callstate Change EARLY -> ACTIVE 15:52:04.041308 [DEBUG] switch_core_codec.c:248 sofia/external/4104440002 at 66.241.96.237 Restore previous codec PCMU:0. 15:52:04.041308 [DEBUG] switch_ivr_originate.c:3798 Originate Resulted in Success: [sofia/internal/314] 15:52:04.041308 [DEBUG] switch_channel.c:2047 (sofia/external/4104440002 at 66.241.96.237) Callstate Change RING_WAIT -> ACTIVE 15:52:04.041308 [DEBUG] switch_ivr_bridge.c:1782 (sofia/internal/314) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 15:52:04.041308 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/314) Running State Change CS_EXCHANGE_MEDIA (Cur 4 Tot 1109) 15:52:04.041308 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/314) State EXCHANGE_MEDIA 15:52:04.041308 [DEBUG] mod_sofia.c:646 SOFIA EXCHANGE_MEDIA 15:52:04.101306 [DEBUG] switch_rtp.c:7550 Correct audio ip/port confirmed. 15:52:07.501320 [NOTICE] sofia.c:1079 Hangup sofia/external/4104440002 at 66.241.96.237 [CS_EXECUTE] [NORMAL_CLEARING] 15:52:07.501320 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/external/4104440002 at 66.241.96.237] 15:52:07.521295 [DEBUG] switch_ivr_bridge.c:825 sofia/external/4104440002 at 66.241.96.237 ending bridge by request from write function 15:52:07.521295 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/internal/314] 15:52:07.521295 [NOTICE] switch_ivr_bridge.c:1034 Hangup sofia/internal/314 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 15:52:07.521295 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/314) State EXCHANGE_MEDIA going to sleep 15:52:07.521295 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/314) Running State Change CS_HANGUP (Cur 4 Tot 1109) 15:52:07.521295 [DEBUG] switch_core_state_machine.c:847 (sofia/internal/314) Callstate Change ACTIVE -> HANGUP 15:52:07.521295 [DEBUG] switch_ivr_bridge.c:1881 sofia/internal/314 skip receive message [UNBRIDGE] (channel is hungup already) 15:52:07.521295 [DEBUG] switch_ivr_bridge.c:1884 sofia/external/4104440002 at 66.241.96.237 skip receive message [UNBRIDGE] (channel is hungup already) 15:52:07.521295 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/314) State HANGUP 15:52:07.521295 [DEBUG] mod_sofia.c:443 sofia/internal/314 Overriding SIP cause 480 with 200 from the other leg 15:52:07.521295 [DEBUG] mod_sofia.c:449 Channel sofia/internal/314 hanging up, cause: NORMAL_CLEARING 15:52:07.521295 [DEBUG] switch_core_session.c:2887 sofia/external/4104440002 at 66.241.96.237 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 15:52:07.521295 [DEBUG] switch_core_session.c:2887 sofia/external/4104440002 at 66.241.96.237 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) Any ideas why this is happening? Anyone know any secrets about Mitel phones other then use TCP instead of UDP? Any ideas on how to debug this further since it happens so rarely? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruce at bmts.us Mon Apr 29 23:40:52 2019 From: bruce at bmts.us (Bruce Marriner) Date: Mon, 29 Apr 2019 23:40:52 +0000 Subject: [Freeswitch-users] =?utf-8?b?Pz09P3V0Zi04P3E/ICBjb250ZXh0IG9mIHRy?= =?utf-8?q?ansfer_call?= In-Reply-To: Message-ID: <0101016a6b78fc70-116d25b2-3674-4c10-8bd1-2a7eac8c0cb7-000000@us-west-2.amazonses.com> Thanks Brian, I actually kept toying with this and found if I set it on the inbound call itself (where it matches the DID to it's extension) then it works. I was hoping I could set it in the user directory so I could apply it to a large set of users with one setting oppopsed to needing it in the public context. Do you know if there's a way to set it in the user directory as a variable that would apply to all users in a given domain? Also, is there a magic setting that means "use the users context"?  That way I don't need to create custom entries for every domain/context?  (I am hosting several separate domains/contexts) Like, force_transfer_context=user-context or something like that? On Monday, April 29, 2019 16:13 CDT, Brian West wrote:  set the force_transfer_context variable so its one that your users have permissions in. /b On Mon, Apr 29, 2019 at 3:22 PM Bruce Marriner wrote: I'm having the issue that when calls come in from the outside they hit the public context which sends the call to a phone, and then user at the phone tries to transfer them to another extension, then call is dropped. That's because, the transfer gets put in the "public" dialplan where the call came in from. I've read that other's have had this issue, and surely this is a normal use-case to transfer inbound calls, so I'm hoping this is a solved issue :) I read some things about using force_transfer_context but I can't seem to figure out how to use it.  I though maybe it was a variable so I tried adding it as a variable in the user directory but that didn't help :( Can someone help explain how to address this issue so inbound calls can be transferred?  Thanks. :) Ideally, I'd like FreeSWITCH to use the context of the phone/user that's doing the transfer. _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com  --  Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com   -------------- next part -------------- An HTML attachment was scrubbed... URL: From devang.nathwani31589 at gmail.com Tue Apr 30 22:28:27 2019 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Wed, 1 May 2019 03:58:27 +0530 Subject: [Freeswitch-users] 'To' number modifcation In-Reply-To: References: Message-ID: Hello Brian, Thanks for the response. The DID number is 12324 bridge({sip_to_user=12324}[leg_timeout=15]user/1037568620 at 192.168.1.32 This is the bridge string i am using to route the DID number. So when anybody for outside system dials DID 12324, FS will route it to device 1037568620 which is registered at destination pbx. Now for FS 1037568620 is destination number so I see '1037568620' in to username in sip trace, but i want to set destination number as 12424 instead. On Mon, Apr 29, 2019 at 10:53 PM Brian West wrote: > You use the ^ in your bridge line, can you show me your current bridge > line and example? > > /b > > > On Mon, Apr 29, 2019 at 11:18 AM devang nathwani < > devang.nathwani31589 at gmail.com> wrote: > >> Hello Team, >> >> I have idea to modify from user, contact user from dialplan variable as >> well as channel variables but can we modify to number by any variables? >> >> The scenario is like this, >> My switch's device registered as trunk to destination switch, which is >> having dynamic ip(not having fqdn) >> So I am routing the DID number from my switch to that device which is >> registered as trunk to destination switch, but I need that device as bridge >> only to connect my switch with destination switch and send the call to >> another destination number. >> >> How can I achieve this by any variables? >> Thanks in advance. >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: