Disabling Voicemail Password (PIN)

Status
Not open for further replies.

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
I want my user to be able to enter *98400 - thus checking the voice mail on ext 400 - my voice mail only ext

I do not want the system to ask them for a password. I want it to skip that and go right into the voice mail

Any way to do this?
 

JamesBorne

Active Member
Jan 24, 2019
294
56
28
Australia
Title case works better on the internet for titles.

In theory, this should work as you intend:
1. copy the default voicemail dialplan entry
1562544284150.png

2. Edit the copied dialpan, noting the changes highlighted:
1562544595745.png

*edit: "access" was meant to say "ask us".
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
Nice, exactly as I would have done it.

@JamesBorne Could you possibly duplicate this and put it in tips and tricks. Its too co just to leave as a normal thread post :) 'How to access shared mailbox without authorization' or something like that. This is exactly the sort of content I like seeing on here :)
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
Thank you for taking the time to show me every step. That is very helpful

However, It is still asking for a password when I dial *98400

See my images and let me know if you see any typos please.6639078374899712.png6639078374899712.png5336752284499968.png
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
You have duplicated vmain and it is still there so it is getting matched first. Delete that and you can leave the other at 320
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
Thanks DigitalDaz. I first changed the order. That did not work. So then I changed enabled to FALSE on the dup. That did not work. I also went to sip profiles and reloaded ACL and XML. I realize that should not make a difference but I did it anyway. It still asks for a password
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
I flushed the cache - even flushed sip registrations. Still asks for password - but thank you for the ideas
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
The extension I am calling *98400 from is 101


EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_action=check)
2019-07-08 20:18:11.595774 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_action]=[check]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_id=400)
2019-07-08 20:18:11.595774 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_id]=[400]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_authorized=true)
2019-07-08 20:18:11.595774 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_authorized]=[true]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_profile=default)
2019-07-08 20:18:11.595774 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_profile]=[default]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 lua(app.lua voicemail)
2019-07-08 20:18:11.595774 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fb52c30dc00 Connected.
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 sleep(1000)
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 unbind_meta_app()
2019-07-08 20:18:12.615776 [INFO] switch_ivr_async.c:4072 UnBound A-Leg: ALL
2019-07-08 20:18:12.615776 [DEBUG] switch_cpp.cpp:745 CoreSession::setVariable('playback_terminators', '#')
2019-07-08 20:18:12.635658 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2019-07-08 20:18:12.635658 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fb520034a40 Connected.
2019-07-08 20:18:12.635658 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fb520034a40 released.
2019-07-08 20:18:12.635658 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-enter_pass.wav] (en:en)
2019-07-08 20:18:12.635658 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@16000hz 1 channels 20ms
2019-07-08 20:18:14.555775 [DEBUG] switch_ivr_play_say.c:1942 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-enter_pass.wav
2019-07-08 20:18:14.675775 [DEBUG] switch_ivr_play_say.c:250 Handle say:[#] (en:en)
2019-07-08 20:18:14.675775 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@16000hz 1 channels 20ms
2019-07-08 20:18:15.335774 [DEBUG] switch_ivr_play_say.c:1942 done playing file file_string://ascii/35.wav
2019-07-08 20:18:17.095772 [NOTICE] sofia.c:1012 Hangup sofia/internal/101@fpbx1.npusa.us:5060 [CS_EXECUTE] [NORMAL_CLEARING]
2019-07-08 20:18:17.095772 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fb52c30dc00 released.
2019-07-08 20:18:17.095772 [DEBUG] switch_cpp.cpp:1112 sofia/internal/101@fpbx1.npusa.us:5060 destroy/unlink session from object
2019-07-08 20:18:17.095772 [DEBUG] switch_core_session.c:2815 sofia/internal/101@fpbx1.npusa.us:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/101@fpbx1.npusa.us:5060) State EXECUTE going to sleep
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_HANGUP (Cur 1 Tot 1077)
2019-07-08 20:18:17.095772 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/08/817d9260-a1bd-11e9-8692-abdd7ded9dd4.wav
2019-07-08 20:18:17.095772 [DEBUG] switch_ivr_async.c:1380 Channel is hung up
2019-07-08 20:18:17.095772 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/internal/101@fpbx1.npusa.us:5060
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/101@fpbx1.npusa.us:5060) Callstate Change ACTIVE -> HANGUP
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/101@fpbx1.npusa.us:5060) State HANGUP
2019-07-08 20:18:17.095772 [DEBUG] mod_sofia.c:438 Channel sofia/internal/101@fpbx1.npusa.us:5060 hanging up, cause: NORMAL_CLEARING
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:60 sofia/internal/101@fpbx1.npusa.us:5060 Standard HANGUP, cause: NORMAL_CLEARING
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/101@fpbx1.npusa.us:5060) State HANGUP going to sleep
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/101@fpbx1.npusa.us:5060) State Change CS_HANGUP -> CS_REPORTING
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_REPORTING (Cur 1 Tot 1077)
2019-07-08 20:18:17.095772 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/101@fpbx1.npusa.us:5060) State REPORTING
2019-07-08 20:18:17.115659 [DEBUG] switch_core_state_machine.c:174 sofia/internal/101@fpbx1.npusa.us:5060 Standard REPORTING, cause: NORMAL_CLEARING
2019-07-08 20:18:17.115659 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/101@fpbx1.npusa.us:5060) State REPORTING going to sleep
2019-07-08 20:18:17.115659 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/101@fpbx1.npusa.us:5060) State Change CS_REPORTING -> CS_DESTROY
2019-07-08 20:18:17.115659 [DEBUG] switch_core_session.c:1665 Session 1077 (sofia/internal/101@fpbx1.npusa.us:5060) Locked, Waiting on external entities
2019-07-08 20:18:17.115659 [NOTICE] switch_core_session.c:1683 Session 1077 (sofia/internal/101@fpbx1.npusa.us:5060) Ended
2019-07-08 20:18:17.115659 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/101@fpbx1.npusa.us:5060 [CS_DESTROY]
2019-07-08 20:18:17.115659 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_DESTROY (Cur 0 Tot 1077)
2019-07-08 20:18:17.115659 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/101@fpbx1.npusa.us:5060) State DESTROY
2019-07-08 20:18:17.115659 [DEBUG] mod_sofia.c:343 sofia/internal/101@fpbx1.npusa.us:5060 SOFIA DESTROY
2019-07-08 20:18:17.115659 [DEBUG] switch_core_state_machine.c:181 sofia/internal/101@fpbx1.npusa.us:5060 Standard DESTROY
2019-07-08 20:18:17.115659 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/101@fpbx1.npusa.us:5060) State DESTROY going to sleep
2019-07-08 20:18:58.455773 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fb520034a40 Connected.
2019-07-08 20:18:58.455773 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fb520034a40 released.
2019-07-08 20:18:58.455773 [ERR] switch_cpp.cpp:1365 [cache] can not write file `/var/cache/fusionpbx/directory.101@fpbx1.npusa.us.9e16b456-a1bd-11e9-86b6-abdd7ded9dd4.tmp`: /var/cache/fusionpbx/directory.101@fpbx1.npusa.us.9e16b456-a1bd-11e9-86b6-abdd7ded9dd4.tmp: Permission denied
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
Here is another attempt

o=FreeSWITCH 1562585593 1562585595 IN IP4 155.138.230.181
s=FreeSWITCH
c=IN IP4 155.138.230.181
t=0 0
m=audio 32110 RTP/AVP 9 101
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2019-07-08 20:28:23.895659 [DEBUG] sofia.c:7084 Channel sofia/internal/101@fpbx1.npusa.us:5060 entering state [completed][200]
2019-07-08 20:28:23.895659 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/101@fpbx1.npusa.us:5060] has been answered
2019-07-08 20:28:23.895659 [DEBUG] switch_channel.c:3773 (sofia/internal/101@fpbx1.npusa.us:5060) Callstate Change EARLY -> ACTIVE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 sleep(1000)
2019-07-08 20:28:23.895659 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
2019-07-08 20:28:23.975680 [DEBUG] sofia.c:7084 Channel sofia/internal/101@fpbx1.npusa.us:5060 entering state [ready][200]
2019-07-08 20:28:24.015736 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2019-07-08 20:28:24.015736 [DEBUG] switch_core_io.c:448 Setting BUG Codec G722:9
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_action=check)
2019-07-08 20:28:24.895767 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_action]=[check]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_id=400)
2019-07-08 20:28:24.895767 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_id]=[400]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_authorized=true)
2019-07-08 20:28:24.895767 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_authorized]=[true]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_profile=default)
2019-07-08 20:28:24.895767 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_profile]=[default]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 lua(app.lua voicemail)
2019-07-08 20:28:24.895767 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fb514659f40 Connected.
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 sleep(1000)
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 unbind_meta_app()
2019-07-08 20:28:25.915691 [INFO] switch_ivr_async.c:4072 UnBound A-Leg: ALL
2019-07-08 20:28:25.915691 [DEBUG] switch_cpp.cpp:745 CoreSession::setVariable('playback_terminators', '#')
2019-07-08 20:28:25.935658 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2019-07-08 20:28:25.935658 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fb52805c830 Connected.
2019-07-08 20:28:25.935658 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fb52805c830 released.
2019-07-08 20:28:25.935658 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-enter_pass.wav] (en:en)
2019-07-08 20:28:25.935658 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@16000hz 1 channels 20ms
2019-07-08 20:28:27.855666 [DEBUG] switch_ivr_play_say.c:1942 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-enter_pass.wav
2019-07-08 20:28:27.955772 [DEBUG] switch_ivr_play_say.c:250 Handle say:[#] (en:en)
2019-07-08 20:28:27.955772 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@16000hz 1 channels 20ms
2019-07-08 20:28:28.615771 [DEBUG] switch_ivr_play_say.c:1942 done playing file file_string://ascii/35.wav
2019-07-08 20:28:31.275723 [NOTICE] sofia.c:1012 Hangup sofia/internal/101@fpbx1.npusa.us:5060 [CS_EXECUTE] [NORMAL_CLEARING]
2019-07-08 20:28:31.275723 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fb514659f40 released.
2019-07-08 20:28:31.275723 [DEBUG] switch_cpp.cpp:1112 sofia/internal/101@fpbx1.npusa.us:5060 destroy/unlink session from object
2019-07-08 20:28:31.275723 [DEBUG] switch_core_session.c:2815 sofia/internal/101@fpbx1.npusa.us:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/101@fpbx1.npusa.us:5060) State EXECUTE going to sleep
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_HANGUP (Cur 1 Tot 1086)
2019-07-08 20:28:31.275723 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/08/ef11c174-a1be-11e9-8758-abdd7ded9dd4.wav
2019-07-08 20:28:31.275723 [DEBUG] switch_ivr_async.c:1380 Channel is hung up
2019-07-08 20:28:31.275723 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/internal/101@fpbx1.npusa.us:5060
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/101@fpbx1.npusa.us:5060) Callstate Change ACTIVE -> HANGUP
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/101@fpbx1.npusa.us:5060) State HANGUP
2019-07-08 20:28:31.275723 [DEBUG] mod_sofia.c:438 Channel sofia/internal/101@fpbx1.npusa.us:5060 hanging up, cause: NORMAL_CLEARING
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:60 sofia/internal/101@fpbx1.npusa.us:5060 Standard HANGUP, cause: NORMAL_CLEARING
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/101@fpbx1.npusa.us:5060) State HANGUP going to sleep
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/101@fpbx1.npusa.us:5060) State Change CS_HANGUP -> CS_REPORTING
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_REPORTING (Cur 1 Tot 1086)
2019-07-08 20:28:31.275723 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/101@fpbx1.npusa.us:5060) State REPORTING
2019-07-08 20:28:31.295659 [DEBUG] switch_core_state_machine.c:174 sofia/internal/101@fpbx1.npusa.us:5060 Standard REPORTING, cause: NORMAL_CLEARING
2019-07-08 20:28:31.295659 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/101@fpbx1.npusa.us:5060) State REPORTING going to sleep
2019-07-08 20:28:31.295659 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/101@fpbx1.npusa.us:5060) State Change CS_REPORTING -> CS_DESTROY
2019-07-08 20:28:31.295659 [DEBUG] switch_core_session.c:1665 Session 1086 (sofia/internal/101@fpbx1.npusa.us:5060) Locked, Waiting on external entities
2019-07-08 20:28:31.295659 [NOTICE] switch_core_session.c:1683 Session 1086 (sofia/internal/101@fpbx1.npusa.us:5060) Ended
2019-07-08 20:28:31.295659 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/101@fpbx1.npusa.us:5060 [CS_DESTROY]
2019-07-08 20:28:31.295659 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_DESTROY (Cur 0 Tot 1086)
2019-07-08 20:28:31.295659 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/101@fpbx1.npusa.us:5060) State DESTROY
2019-07-08 20:28:31.295659 [DEBUG] mod_sofia.c:343 sofia/internal/101@fpbx1.npusa.us:5060 SOFIA DESTROY
2019-07-08 20:28:31.295659 [DEBUG] switch_core_state_machine.c:181 sofia/internal/101@fpbx1.npusa.us:5060 Standard DESTROY
2019-07-08 20:28:31.295659 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/101@fpbx1.npusa.us:5060) State DESTROY going to sleep
2019-07-08 20:28:58.495770 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fb52805c830 Connected.
2019-07-08 20:28:58.495770 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fb52805c830 released.
2019-07-08 20:28:58.495770 [ERR] switch_cpp.cpp:1365 [cache] can not write file `/var/cache/fusionpbx/directory.101@fpbx1.npusa.us.03bc2402-a1bf-11e9-877c-abdd7ded9dd4.tmp`: /var/cache/fusionpbx/directory.101@fpbx1.npusa.us.03bc2402-a1bf-11e9-877c-abdd7ded9dd4.tmp: Permission denied
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
Third attempt - BTW, when it asks for password I am hanging up,


EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(from_user_record=all)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [from_user_record]=[all]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [user_record] ${from_user_record}(all) =~ /^all$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(record_session=true) INLINE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(record_session=true)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [record_session]=[true]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [user_record] ${call_direction}(local) =~ /^inbound$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [user_record] ${from_user_record}(all) =~ /^inbound$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [user_record] ${call_direction}(local) =~ /^outbound$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [user_record] ${from_user_record}(all) =~ /^outbound$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [user_record] ${from_user_exists}(true) =~ /^true$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [user_record] ${call_direction}(local) =~ /^local$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [user_record] ${from_user_record}(all) =~ /^local$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [user_record] ${record_session}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(record_path=${recordings_dir}/${domain_name}/archive/${strftime(%Y)}/${strftime(%b)}/${strftime(%d)}) INLINE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(record_path=/var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/08)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [record_path]=[/var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/08]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(record_name=${uuid}.${record_ext}) INLINE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(record_name=34d81a14-a1bf-11e9-877e-abdd7ded9dd4.wav)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [record_name]=[34d81a14-a1bf-11e9-877e-abdd7ded9dd4.wav]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(recording_follow_transfer=true) INLINE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(recording_follow_transfer=true)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [recording_follow_transfer]=[true]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(record_append=true) INLINE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(record_append=true)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [record_append]=[true]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(record_in_progress=true) INLINE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(record_in_progress=true)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [record_in_progress]=[true]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(${uuid_record ${uuid} start ${record_path}/${record_name}})
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->redial] continue=true
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [redial] destination_number(*98400) =~ /^(redial|\*870)$/ break=on-true
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [redial] () =~ // break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number})
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->speed_dial] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [speed_dial] destination_number(*98400) =~ /^\*0(.*)$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->default_caller_id] continue=true
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [default_caller_id] ${emergency_caller_id_number}() =~ /^$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(emergency_caller_id_name=${default_emergency_caller_id_name}) INLINE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(emergency_caller_id_name=)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [emergency_caller_id_name]=[UNDEF]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(emergency_caller_id_number=${default_emergency_caller_id_number}) INLINE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(emergency_caller_id_number=)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [emergency_caller_id_number]=[UNDEF]
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [default_caller_id] ${outbound_caller_id_number}(6789289100) =~ /^$/ break=never
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->skyetel] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [skyetel] ${user_exists}(false) =~ /false/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [skyetel] destination_number(*98400) =~ /(^911$|^933$)/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->ring group] continue=
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [ring group] destination_number(*98400) =~ /^601$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->TOLLFREE.800] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [TOLLFREE.800] ${user_exists}(false) =~ /false/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [TOLLFREE.800] destination_number(*98400) =~ /^1?(8(00|55|66|77|88)[2-9]\d{6})$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->VI-OUT-1-30.1d10] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [VI-OUT-1-30.1d10] ${user_exists}(false) =~ /false/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [VI-OUT-1-30.1d10] destination_number(*98400) =~ /^\+?1?(\d{10})$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->agent_status] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [agent_status] destination_number(*98400) =~ /^\*22$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->agent_status_id] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [agent_status_id] destination_number(*98400) =~ /^\*23$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->group-intercept] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [group-intercept] destination_number(*98400) =~ /^\*8$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->page-extension] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [page-extension] destination_number(*98400) =~ /^\*8(\d{2,7})$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->eavesdrop] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [eavesdrop] destination_number(*98400) =~ /^\*33(\d{2,7})$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->call_privacy] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [call_privacy] destination_number(*98400) =~ /^\*67(\d+)$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->call_return] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [call_return] destination_number(*98400) =~ /^\*69$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->intercept-ext] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [intercept-ext] destination_number(*98400) =~ /^\*\*(\d+)$/ break=on-true
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [intercept-ext] destination_number(*98400) =~ /^\*\*$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->intercept-ext-polycom] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [intercept-ext-polycom] destination_number(*98400) =~ /^\*97(\d+)$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->extension_queue] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [extension_queue] destination_number(*98400) =~ /^\*800(.*)$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->dx] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [dx] destination_number(*98400) =~ /^dx$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->att_xfer] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [att_xfer] destination_number(*98400) =~ /^att_xfer$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->extension-to-voicemail] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [extension-to-voicemail] ${user_exists}(false) =~ /^true$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->send_to_voicemail] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (FAIL) [send_to_voicemail] destination_number(*98400) =~ /^\*99(\d{2,10})$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 parsing [fpbx1.npusa.us->vmain_user] continue=false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Regex (PASS) [vmain_user] destination_number(*98400) =~ /^\*98400$/ break=on-false
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action answer()
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action sleep(1000)
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(voicemail_action=check)
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(voicemail_id=400)
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(voicemail_authorized=true)
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action set(voicemail_profile=default)
Dialplan: sofia/internal/101@fpbx1.npusa.us:5060 Action lua(app.lua voicemail)
2019-07-08 20:30:20.935657 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/101@fpbx1.npusa.us:5060) State Change CS_ROUTING -> CS_EXECUTE
2019-07-08 20:30:20.935657 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/101@fpbx1.npusa.us:5060) State ROUTING going to sleep
2019-07-08 20:30:20.935657 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_EXECUTE (Cur 1 Tot 1087)
2019-07-08 20:30:20.935657 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/101@fpbx1.npusa.us:5060) State EXECUTE
2019-07-08 20:30:20.935657 [DEBUG] mod_sofia.c:198 sofia/internal/101@fpbx1.npusa.us:5060 SOFIA EXECUTE
2019-07-08 20:30:20.935657 [DEBUG] switch_core_state_machine.c:328 sofia/internal/101@fpbx1.npusa.us:5060 Standard EXECUTE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(caller_id_number=101)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [caller_id_number]=[101]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 export(origination_callee_id_name=*98400)
2019-07-08 20:30:20.935657 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [origination_callee_id_name]=[*98400]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(RFC2822_DATE=Mon, 08 Jul 2019 20:30:20 +0000)
2019-07-08 20:30:20.935657 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [RFC2822_DATE]=[Mon, 08 Jul 2019 20:30:20 +0000]
2019-07-08 20:30:20.935657 [INFO] switch_ivr_async.c:2371 Sending early media
2019-07-08 20:30:20.935657 [DEBUG] switch_core_media.c:6878 AUDIO RTP [sofia/internal/101@fpbx1.npusa.us:5060] 155.138.230.181 port 19898 -> 69.194.25.228 port 12146 codec: 9 ms: 20
2019-07-08 20:30:20.935657 [NOTICE] mod_logfile.c:192 New log started.
2019-07-08 20:30:20.935657 [DEBUG] switch_rtp.c:4137 Starting timer [soft] 160 bytes per 20ms
2019-07-08 20:30:20.955658 [DEBUG] switch_core_media.c:7180 sofia/internal/101@fpbx1.npusa.us:5060 Set 2833 dtmf send payload to 101
2019-07-08 20:30:20.955658 [DEBUG] switch_core_media.c:7187 sofia/internal/101@fpbx1.npusa.us:5060 Set 2833 dtmf receive payload to 101
2019-07-08 20:30:20.955658 [DEBUG] switch_core_media.c:7210 sofia/internal/101@fpbx1.npusa.us:5060 Set rtp dtmf delay to 40
2019-07-08 20:30:20.955658 [DEBUG] mod_sofia.c:2364 Ring SDP:
v=0
o=FreeSWITCH 1562597922 1562597923 IN IP4 155.138.230.181
s=FreeSWITCH
c=IN IP4 155.138.230.181
t=0 0
m=audio 19898 RTP/AVP 9 101
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2019-07-08 20:30:20.955658 [NOTICE] mod_sofia.c:2367 Pre-Answer sofia/internal/101@fpbx1.npusa.us:5060!
2019-07-08 20:30:20.955658 [DEBUG] switch_channel.c:3474 (sofia/internal/101@fpbx1.npusa.us:5060) Callstate Change RINGING -> EARLY
2019-07-08 20:30:20.955658 [DEBUG] sofia.c:7084 Channel sofia/internal/101@fpbx1.npusa.us:5060 entering state [early][183]
2019-07-08 20:30:20.955658 [DEBUG] switch_core_media_bug.c:945 Attaching BUG to sofia/internal/101@fpbx1.npusa.us:5060
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(+OK Success
)
2019-07-08 20:30:20.955658 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [+OK Success
]=[UNDEF]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 hash(insert/fpbx1.npusa.us-last_dial/101/*98400)
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 answer()
2019-07-08 20:30:20.955658 [DEBUG] switch_core_media.c:6861 Audio params are unchanged for sofia/internal/101@fpbx1.npusa.us:5060.
2019-07-08 20:30:20.955658 [DEBUG] mod_sofia.c:850 Local SDP sofia/internal/101@fpbx1.npusa.us:5060:
v=0
o=FreeSWITCH 1562597922 1562597924 IN IP4 155.138.230.181
s=FreeSWITCH
c=IN IP4 155.138.230.181
t=0 0
m=audio 19898 RTP/AVP 9 101
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv

2019-07-08 20:30:20.955658 [DEBUG] sofia.c:7084 Channel sofia/internal/101@fpbx1.npusa.us:5060 entering state [completed][200]
2019-07-08 20:30:20.955658 [NOTICE] mod_dptools.c:1312 Channel [sofia/internal/101@fpbx1.npusa.us:5060] has been answered
2019-07-08 20:30:20.955658 [DEBUG] switch_channel.c:3773 (sofia/internal/101@fpbx1.npusa.us:5060) Callstate Change EARLY -> ACTIVE
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 sleep(1000)
2019-07-08 20:30:20.955658 [DEBUG] switch_ivr_async.c:1500 No silence detection configured; assuming start of speech
2019-07-08 20:30:21.015715 [DEBUG] sofia.c:7084 Channel sofia/internal/101@fpbx1.npusa.us:5060 entering state [ready][200]
2019-07-08 20:30:21.115709 [DEBUG] switch_rtp.c:7308 Correct audio ip/port confirmed.
2019-07-08 20:30:21.115709 [DEBUG] switch_core_io.c:448 Setting BUG Codec G722:9
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_action=check)
2019-07-08 20:30:21.955660 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_action]=[check]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_id=400)
2019-07-08 20:30:21.955660 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_id]=[400]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_authorized=true)
2019-07-08 20:30:21.955660 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_authorized]=[true]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 set(voicemail_profile=default)
2019-07-08 20:30:21.955660 [DEBUG] mod_dptools.c:1548 SET sofia/internal/101@fpbx1.npusa.us:5060 [voicemail_profile]=[default]
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 lua(app.lua voicemail)
2019-07-08 20:30:21.975658 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fb520034a40 Connected.
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 sleep(1000)
EXECUTE sofia/internal/101@fpbx1.npusa.us:5060 unbind_meta_app()
2019-07-08 20:30:22.975767 [INFO] switch_ivr_async.c:4072 UnBound A-Leg: ALL
2019-07-08 20:30:22.975767 [DEBUG] switch_cpp.cpp:745 CoreSession::setVariable('playback_terminators', '#')
2019-07-08 20:30:22.995658 [DEBUG] switch_ivr_play_say.c:70 No language specified - Using [en]
2019-07-08 20:30:22.995658 [DEBUG] freeswitch_lua.cpp:365 DBH handle 0x7fb52c2f6c20 Connected.
2019-07-08 20:30:22.995658 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fb52c2f6c20 released.
2019-07-08 20:30:22.995658 [DEBUG] switch_ivr_play_say.c:250 Handle play-file:[voicemail/vm-enter_pass.wav] (en:en)
2019-07-08 20:30:22.995658 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@16000hz 1 channels 20ms
2019-07-08 20:30:24.915771 [DEBUG] switch_ivr_play_say.c:1942 done playing file /usr/share/freeswitch/sounds/en/us/callie/voicemail/vm-enter_pass.wav
2019-07-08 20:30:25.035767 [DEBUG] switch_ivr_play_say.c:250 Handle say:[#] (en:en)
2019-07-08 20:30:25.035767 [DEBUG] switch_ivr_play_say.c:1498 Codec Activated L16@16000hz 1 channels 20ms
2019-07-08 20:30:25.695659 [DEBUG] switch_ivr_play_say.c:1942 done playing file file_string://ascii/35.wav
2019-07-08 20:30:27.275664 [NOTICE] sofia.c:1012 Hangup sofia/internal/101@fpbx1.npusa.us:5060 [CS_EXECUTE] [NORMAL_CLEARING]
2019-07-08 20:30:27.275664 [DEBUG] freeswitch_lua.cpp:382 DBH handle 0x7fb520034a40 released.
2019-07-08 20:30:27.275664 [DEBUG] switch_cpp.cpp:1112 sofia/internal/101@fpbx1.npusa.us:5060 destroy/unlink session from object
2019-07-08 20:30:27.275664 [DEBUG] switch_core_session.c:2815 sofia/internal/101@fpbx1.npusa.us:5060 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2019-07-08 20:30:27.275664 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/101@fpbx1.npusa.us:5060) State EXECUTE going to sleep
2019-07-08 20:30:27.275664 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_HANGUP (Cur 1 Tot 1087)
2019-07-08 20:30:27.275664 [DEBUG] switch_ivr_async.c:1316 Stop recording file /var/lib/freeswitch/recordings/fpbx1.npusa.us/archive/2019/Jul/08/34d81a14-a1bf-11e9-877e-abdd7ded9dd4.wav
2019-07-08 20:30:27.295657 [DEBUG] switch_ivr_async.c:1380 Channel is hung up
2019-07-08 20:30:27.295657 [DEBUG] switch_core_media_bug.c:1298 Removing BUG from sofia/internal/101@fpbx1.npusa.us:5060
2019-07-08 20:30:27.295657 [DEBUG] switch_core_state_machine.c:850 (sofia/internal/101@fpbx1.npusa.us:5060) Callstate Change ACTIVE -> HANGUP
2019-07-08 20:30:27.295657 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/101@fpbx1.npusa.us:5060) State HANGUP
2019-07-08 20:30:27.295657 [DEBUG] mod_sofia.c:438 Channel sofia/internal/101@fpbx1.npusa.us:5060 hanging up, cause: NORMAL_CLEARING
2019-07-08 20:30:27.295657 [DEBUG] switch_core_state_machine.c:60 sofia/internal/101@fpbx1.npusa.us:5060 Standard HANGUP, cause: NORMAL_CLEARING
2019-07-08 20:30:27.295657 [DEBUG] switch_core_state_machine.c:852 (sofia/internal/101@fpbx1.npusa.us:5060) State HANGUP going to sleep
2019-07-08 20:30:27.295657 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/101@fpbx1.npusa.us:5060) State Change CS_HANGUP -> CS_REPORTING
2019-07-08 20:30:27.295657 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_REPORTING (Cur 1 Tot 1087)
2019-07-08 20:30:27.295657 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/101@fpbx1.npusa.us:5060) State REPORTING
2019-07-08 20:30:27.315658 [DEBUG] switch_core_state_machine.c:174 sofia/internal/101@fpbx1.npusa.us:5060 Standard REPORTING, cause: NORMAL_CLEARING
2019-07-08 20:30:27.315658 [DEBUG] switch_core_state_machine.c:938 (sofia/internal/101@fpbx1.npusa.us:5060) State REPORTING going to sleep
2019-07-08 20:30:27.315658 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/101@fpbx1.npusa.us:5060) State Change CS_REPORTING -> CS_DESTROY
2019-07-08 20:30:27.315658 [DEBUG] switch_core_session.c:1665 Session 1087 (sofia/internal/101@fpbx1.npusa.us:5060) Locked, Waiting on external entities
2019-07-08 20:30:27.315658 [NOTICE] switch_core_session.c:1683 Session 1087 (sofia/internal/101@fpbx1.npusa.us:5060) Ended
2019-07-08 20:30:27.315658 [NOTICE] switch_core_session.c:1687 Close Channel sofia/internal/101@fpbx1.npusa.us:5060 [CS_DESTROY]
2019-07-08 20:30:27.315658 [DEBUG] switch_core_state_machine.c:741 (sofia/internal/101@fpbx1.npusa.us:5060) Running State Change CS_DESTROY (Cur 0 Tot 1087)
2019-07-08 20:30:27.315658 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/101@fpbx1.npusa.us:5060) State DESTROY
2019-07-08 20:30:27.315658 [DEBUG] mod_sofia.c:343 sofia/internal/101@fpbx1.npusa.us:5060 SOFIA DESTROY
2019-07-08 20:30:27.315658 [DEBUG] switch_core_state_machine.c:181 sofia/internal/101@fpbx1.npusa.us:5060 Standard DESTROY
2019-07-08 20:30:27.315658 [DEBUG] switch_core_state_machine.c:751 (sofia/internal/101@fpbx1.npusa.us:5060) State DESTROY going to sleep
freeswitch@npusa>
 

Andrew Byrd

Member
Feb 16, 2018
309
10
18
53
Something strange I noticed in the logs - when I dial *98400 it is trying all my outbound routes??

VI OUT and TOLLFREE are my outbound routes. That is a feature code so it should go directly to my cloud vps (Internal). It shouldn't be trying outbound routes? Is that correct?
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
Hmm... I need to have a look at the voicemail code. That should be working
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
Looks like mcrane has changed things up a bit :S

Code:
                        --check the voicemail password
                                if (voicemail_id) then
                                        if (voicemail_authorized) then
                                                if (voicemail_authorized == "true") then
                                                        if (voicemail_id == sip_from_user or voicemail_id == sip_number_alias) then
                                                                --skip the password check
                                                        else
                                                                check_password(voicemail_id, password_tries);
                                                        end
                                                else
                                                        check_password(voicemail_id, password_tries);
                                                end
                                        else
                                                check_password(voicemail_id, password_tries);
                                        end
                                else
                                        check_password(voicemail_id, password_tries);
                                end

You could rip out that inner if statement.
 
  • Like
Reactions: JamesBorne

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
I just modded mine to:
Code:
if (voicemail_id == sip_from_user or voicemail_id == sip_number_alias or destination_number == "*98400") then

None of this is very clean though :(
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
Its probably gonna take the sip_from_user from the channel that would actually be a much cleaner way as it would survive an upgrade.
 
Status
Not open for further replies.