call not sent to voicemail

Status
Not open for further replies.

samson.ku

New Member
Sep 29, 2022
1
0
1
48
Calls are not going to voicemail when it's busy, no answer or not registered.
I have to work around it by setting call forwarding to *99+ext.

Here is part of the trace log.
Looks like it says "has executed the last dialplan instruction"

2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_channel.c:1269 sofia/internal/5550001234@xxx.xxx.xxx.xxx EXPORTING[export_vars] [call_direction]=[inbound] to event
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_channel.c:1269 sofia/internal/5550001234@xxx.xxx.xxx.xxx EXPORTING[export_vars] [dialed_extension]=[300] to event
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_channel.c:1269 sofia/internal/5550001234@xxx.xxx.xxx.xxx EXPORTING[export_vars] [origination_callee_id_name]=[300] to event
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_channel.c:1269 sofia/internal/5550001234@xxx.xxx.xxx.xxx EXPORTING[export_vars] [domain_name]=[xxx.xxx.xxx.xxx] to event
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_channel.c:1269 sofia/internal/5550001234@xxx.xxx.xxx.xxx EXPORTING[export_vars] [call_direction]=[inbound] to event
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_channel.c:1269 sofia/internal/5550001234@xxx.xxx.xxx.xxx EXPORTING[export_vars] [dialed_extension]=[300] to event
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_channel.c:1269 sofia/internal/5550001234@xxx.xxx.xxx.xxx EXPORTING[export_vars] [origination_callee_id_name]=[300] to event
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_channel.c:1269 sofia/internal/5550001234@xxx.xxx.xxx.xxx EXPORTING[export_vars] [domain_name]=[xxx.xxx.xxx.xxx] to event
2022-10-03 11:35:30.508085 98.47% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-10-03 11:35:30.508085 98.47% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED]
2022-10-03 11:35:30.508085 98.47% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [user] cause: [USER_NOT_REGISTERED]
2022-10-03 11:35:30.508085 98.47% [INFO] mod_dptools.c:3653 Originate Failed. Cause: USER_NOT_REGISTERED
EXECUTE [depth=0] sofia/internal/5550001234@xxx.xxx.xxx.xxx lua(app.lua failure_handler)
2022-10-03 11:35:30.528090 98.47% [DEBUG] switch_cpp.cpp:1209 sofia/internal/5550001234@xxx.xxx.xxx.xxx destroy/unlink session from object
EXECUTE [depth=0] sofia/internal/5550001234@xxx.xxx.xxx.xxx lua(app.lua voicemail)
2022-10-03 11:35:30.548086 98.47% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('playback_terminators', '#')
2022-10-03 11:35:30.568097 98.47% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('missed_call', 'true')
2022-10-03 11:35:30.568097 98.47% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('voicemail_answer_stamp', '2022-10-03 11:35:30')
2022-10-03 11:35:30.568097 98.47% [DEBUG] switch_cpp.cpp:773 CoreSession::setVariable('voicemail_answer_epoch', '1664822130')
2022-10-03 11:35:30.568097 98.47% [DEBUG] switch_cpp.cpp:1209 sofia/internal/5550001234@xxx.xxx.xxx.xxx destroy/unlink session from object
2022-10-03 11:35:30.568097 98.47% [NOTICE] switch_core_state_machine.c:382 sofia/internal/5550001234@xxx.xxx.xxx.xxx has executed the last dialplan instruction, hanging up.
2022-10-03 11:35:30.568097 98.47% [NOTICE] switch_core_state_machine.c:384 Hangup sofia/internal/5550001234@xxx.xxx.xxx.xxx [CS_EXECUTE] [NORMAL_CLEARING]


Am I missing something in the dialplan?
 

dbz195

Member
Feb 3, 2021
32
1
8
36
i have solved my issue, if your trunk provider has setting for DIDs number of rings, set it to 6 rings, i had mine setup to 5rings 25 seconds but Fusionpbx was set to 6 rings.

not sure if this helps you or not
 
Status
Not open for further replies.