switch_ivr_play_say.c:145 Can't find macro voicemail_record_file_options.

Status
Not open for further replies.

mattswainston

Member
Sep 27, 2018
44
1
8
52
after a lot of digging does anyone know if its right that *97 seems to call the scripts in freeswitch? I read on here that it is supposed to call fusionpbx's own scripts - at the moment I am loking for a playAndGetDigits function in modtools that seems to be failing.

freeswitch 1.10 and fusion 5.2 (latest) and ubuntu 9
 
Last edited:

mattswainston

Member
Sep 27, 2018
44
1
8
52
Hmm its a bit wierd - looks like maybe I'm not calling the correct voicemail app? Can anyone pioint me in the right direction please?

2020-12-24 09:52:29.820508 [NOTICE] mod_dptools.c:1406 Channel [sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080] has been answered
2020-12-24 09:52:29.820508 [DEBUG] switch_channel.c:3865 (sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080) Callstate Change RINGING -> ACTIVE
2020-12-24 09:52:29.820508 [DEBUG] sofia.c:7326 Channel sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 entering state [completed][200]
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 sleep(1000)
2020-12-24 09:52:29.820508 [DEBUG] sofia.c:7326 Channel sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 entering state [ready][200]
2020-12-24 09:52:29.920511 [DEBUG] switch_rtp.c:7759 Correct audio ip/port confirmed.
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 set(record_append=false)
2020-12-24 09:52:30.820509 [DEBUG] mod_dptools.c:1672 SET sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 [record_append]=[false]
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 set(voicemail_action=check)
2020-12-24 09:52:30.840510 [DEBUG] mod_dptools.c:1672 SET sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 [voicemail_action]=[check]
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 set(voicemail_id=1000)
2020-12-24 09:52:30.840510 [DEBUG] mod_dptools.c:1672 SET sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 [voicemail_id]=[1000]
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 set(voicemail_profile=default)
2020-12-24 09:52:30.840510 [DEBUG] mod_dptools.c:1672 SET sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 [voicemail_profile]=[default]
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 lua(app.lua voicemail)
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 unbind_meta_app()
2020-12-24 09:52:31.880520 [INFO] switch_ivr_async.c:4356 UnBound A-Leg: ALL
2020-12-24 09:52:31.900517 [DEBUG] switch_cpp.cpp:755 CoreSession::setVariable('playback_terminators', '#')
2020-12-24 09:52:31.900517 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2020-12-24 09:52:31.920512 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-enter_pass.wav] (en:en)
2020-12-24 09:52:31.920512 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:33.820517 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-enter_pass.wav
2020-12-24 09:52:33.940511 [DEBUG] switch_ivr_play_say.c:250 Handle say:[#] (en:en)
2020-12-24 09:52:33.940511 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:34.280520 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 1:800
2020-12-24 09:52:34.280520 [INFO] switch_channel.c:522 RECV DTMF 1:800
2020-12-24 09:52:34.280520 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://ascii/35.wav
2020-12-24 09:52:34.440514 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 2:800
2020-12-24 09:52:34.440514 [INFO] switch_channel.c:522 RECV DTMF 2:800
2020-12-24 09:52:34.620551 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 3:800
2020-12-24 09:52:34.620551 [INFO] switch_channel.c:522 RECV DTMF 3:800
2020-12-24 09:52:34.800559 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF 4:800
2020-12-24 09:52:34.800559 [INFO] switch_channel.c:522 RECV DTMF 4:800
2020-12-24 09:52:35.020551 [DEBUG] switch_rtp.c:8004 RTP RECV DTMF #:800
2020-12-24 09:52:35.020551 [INFO] switch_channel.c:522 RECV DTMF #:800
2020-12-24 09:52:35.020551 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2020-12-24 09:52:35.040505 [ERR] switch_ivr_play_say.c:145 Can't find macro tutorial_intro.
2020-12-24 09:52:35.040505 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2020-12-24 09:52:35.060511 [ERR] switch_ivr_play_say.c:145 Can't find macro tutorial_intro.
2020-12-24 09:52:35.060511 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2020-12-24 09:52:35.080511 [ERR] switch_ivr_play_say.c:145 Can't find macro tutorial_intro.
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 sleep(1000)
2020-12-24 09:52:35.780556 [WARNING] sofia_reg.c:1794 SIP auth challenge (REGISTER) on sofia profile 'internal' for [1004@fusionpbx.adept-systems.co.uk] from ip 5.198.111.207
2020-12-24 09:52:35.820510 [WARNING] sofia_reg.c:2930 Can't find user [1004@fusionpbx.adept-systems.co.uk] from 5.198.111.207
You must define a domain called 'fusionpbx.adept-systems.co.uk' in your directory and add a user with the id="1004" attribute
and you must configure your device to use the proper domain in its authentication credentials.
2020-12-24 09:52:35.820510 [WARNING] sofia_reg.c:1739 SIP auth failure (REGISTER) on sofia profile 'internal' for [1004@fusionpbx.adept-systems.co.uk] from ip 5.198.111.207
2020-12-24 09:52:36.120512 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2020-12-24 09:52:36.120512 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-you_have.wav] (en:en)
2020-12-24 09:52:36.120512 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:36.660509 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-you_have.wav
2020-12-24 09:52:36.760516 [DEBUG] switch_ivr_play_say.c:250 Handle say:[0] (en:en)
2020-12-24 09:52:36.760516 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:37.540525 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/0.wav
2020-12-24 09:52:37.660529 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-new.wav] (en:en)
2020-12-24 09:52:37.660529 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:38.000516 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-new.wav
2020-12-24 09:52:38.100517 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-messages.wav] (en:en)
2020-12-24 09:52:38.100517 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:38.760555 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-messages.wav
2020-12-24 09:52:39.220505 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2020-12-24 09:52:39.220505 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-you_have.wav] (en:en)
2020-12-24 09:52:39.220505 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:39.760542 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-you_have.wav
2020-12-24 09:52:39.880517 [DEBUG] switch_ivr_play_say.c:250 Handle say:[0] (en:en)
2020-12-24 09:52:39.880517 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:40.660511 [DEBUG] switch_ivr_play_say.c:1933 done playing file file_string://digits/0.wav
2020-12-24 09:52:40.760512 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-saved.wav] (en:en)
2020-12-24 09:52:40.760512 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:41.240516 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-saved.wav
2020-12-24 09:52:41.340520 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-messages.wav] (en:en)
2020-12-24 09:52:41.340520 [DEBUG] switch_ivr_play_say.c:1488 Codec Activated L16@8000hz 1 channels 20ms
2020-12-24 09:52:42.000530 [DEBUG] switch_ivr_play_say.c:1933 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-messages.wav
2020-12-24 09:52:42.460509 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2020-12-24 09:52:42.480508 [ERR] switch_ivr_play_say.c:145 Can't find macro voicemail_main_menu.
EXECUTE [depth=0] sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 sleep(1000)
2020-12-24 09:52:42.540510 [NOTICE] sofia.c:1089 Hangup sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 [CS_EXECUTE] [NORMAL_CLEARING]
2020-12-24 09:52:42.540510 [DEBUG] switch_core_session.c:2905 sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2020-12-24 09:52:42.540510 [DEBUG] switch_cpp.cpp:1191 sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 destroy/unlink session from object
2020-12-24 09:52:42.540510 [DEBUG] switch_core_session.c:2905 sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2020-12-24 09:52:42.540510 [DEBUG] switch_core_state_machine.c:651 (sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080) State EXECUTE going to sleep
2020-12-24 09:52:42.540510 [DEBUG] switch_core_state_machine.c:585 (sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080) Running State Change CS_HANGUP (Cur 5 Tot 14989)
2020-12-24 09:52:42.540510 [DEBUG] switch_core_state_machine.c:848 (sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080) Callstate Change ACTIVE -> HANGUP
2020-12-24 09:52:42.540510 [DEBUG] switch_core_state_machine.c:850 (sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080) State HANGUP
2020-12-24 09:52:42.540510 [DEBUG] mod_sofia.c:453 Channel sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 hanging up, cause: NORMAL_CLEARING
2020-12-24 09:52:42.540510 [DEBUG] switch_core_state_machine.c:60 sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080 Standard HANGUP, cause: NORMAL_CLEARING
2020-12-24 09:52:42.540510 [DEBUG] switch_core_state_machine.c:850 (sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080) State HANGUP going to sleep
2020-12-24 09:52:42.540510 [DEBUG] switch_core_state_machine.c:620 (sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080) State Change CS_HANGUP -> CS_REPORTING
2020-12-24 09:52:42.540510 [DEBUG] switch_core_state_machine.c:585 (sofia/internal-lan/1000@fusionpbx.adept-systems.co.uk:5080) Running State Change CS_REPORTING (Cur 5 Tot 14989)
 
Status
Not open for further replies.