Call goes to voicemail but ask for a passcode


(Steven Weinstein) #1

For some reason we get people calling into our system and when the call hits the voicemail it will ask them for a passcode. The system seems to be answer the call with a *98 code before the voicemail. I can’t figure out why this happens to only some calls. Here is snipit from the call cdr.

|Tue, 7 Jan 2020 13:47|CHAN_END|DEFAULT|h|ext-local||Local/301@from-queue-000034fa;2|

|—|---|—|---|—|---|—|
|Tue, 7 Jan 2020 13:47|BRIDGE_ENTER|DEFAULT|s|macro-dial-one|AppDial|Local/*988030@from-internal-00003500;1|
|Tue, 7 Jan 2020 13:47|BRIDGE_ENTER|DEFAULT|s|macro-dial-one|Dial|Local/324@from-queue-000034fe;2|
|Tue, 7 Jan 2020 13:47|BRIDGE_ENTER|DEFAULT|6507|from-queue|AppQueue|Local/324@from-queue-000034fe;1|
|Tue, 7 Jan 2020 13:47|BRIDGE_ENTER|DEFAULT|6507|ext-queues|Queue|SIP/sbc.questblue.com-00006b88|
|Tue, 7 Jan 2020 13:47|APP_START|DEFAULT|dvm8030|from-internal|VoiceMailMain|Local/*988030@from-internal-00003500;2|
|Tue, 7 Jan 2020 13:47|BRIDGE_EXIT|DEFAULT|6507|ext-queues|Queue|SIP/sbc.questblue.com-00006b88|
|Tue, 7 Jan 2020 13:47|BRIDGE_EXIT|DEFAULT|6507|from-queue|AppQueue|Local/324@from-queue-000034fe;1|
|Tue, 7 Jan 2020 13:47|HANGUP|DEFAULT|6507|from-queue|AppQueue|Local/324@from-queue-000034fe;1|
|Tue, 7 Jan 2020 13:47|CHAN_END|DEFAULT|6507|from-queue|AppQueue|Local/324@from-queue-000034fe;1|
|Tue, 7 Jan 2020 13:47|BRIDGE_EXIT|DEFAULT|s|macro-dial-one|Dial|Local/324@from-queue-000034fe;2|
|Tue, 7 Jan 2020 13:47|BRIDGE_EXIT|DEFAULT|s|macro-dial-one|AppDial|Local/*988030@from-internal-00003500;1|
|Tue, 7 Jan 2020 13:47|HANGUP|DEFAULT|s|macro-dial-one|AppDial|Local/*988030@from-internal-00003500;1|
|Tue, 7 Jan 2020 13:47|CHAN_END|DEFAULT|s|macro-dial-one|AppDial|Local/*988030@from-internal-00003500;1|
|Tue, 7 Jan 2020 13:47|APP_END|DEFAULT|dvm8030|from-internal|VoiceMailMain|Local/*988030@from-internal-00003500;2|
|Tue, 7 Jan 2020 13:47|HANGUP|DEFAULT|h|from-internal||Local/*988030@from-internal-00003500;2|
|Tue, 7 Jan 2020 13:47|CHAN_END|DEFAULT|h|from-internal||Local/*988030@from-internal-00003500;2|

Thanks


(Itzik) #2

Please provide a full call trace.

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII

Please post the pastebin link.


(Steven Weinstein) #3

Is there way to cut out the phone number? I don’t want to post a clients phone number.

Thanks


(Itzik) #4

You can save call trace to a local file

grep C-00000001 /var/log/asterisk/full-20180214 >> /tmp/log1.txt

Copy the file to your PC, use your favorite editor to replace what you want to replace, and upload it to pastbin


(Steven Weinstein) #5

https://pastebin.com/NTHzmh81

Thanks


(Joshua C. Colp) #6

Extension 324 appears to have a call forward set on the phone:

Now forwarding Local/324@from-queue-000034fe;2 to 'Local/*988030@from-internal' (thanks to SIP/324-00006ba9)

This would call forward to *988030.


(Lorne Gaetz) #7
[2020-01-07 13:47:49] VERBOSE[25217][C-00001b9d] chan_sip.c: Got SIP response 302 "Moved Temporarily" back from 72.177.19.23:2395
[2020-01-07 13:47:49] VERBOSE[27884][C-00001b9d] app_dial.c: Now forwarding Local/324@from-queue-000034fe;2 to 'Local/*988030@from-internal' (thanks to SIP/324-00006ba9)

Josh beat me by a full minute. One of your queue agents (324?) has call forwarding enabled on their device, likely without even realizing it. You can isolate by making calls to each agent until you figure out which, or attempt to figure out what device is at 72.177.19.23:2395


(Steven Weinstein) #8

I saw that also but it is weird because the call ring that extension in a earlier queue. I will look at the extension.


(Jared Busch) #9

@lgaetz Actually, this would be a great addition to the documentation. Show people how to use sed to mask a number.

It would be an even better tthing to add something to the pastebin command. but that requires more thought.

For now, this could be added to the documentation to help people.

# To mask a phone number prior to sending to pastebin:
grep C-00000001 /var/log/asterisk/full | sed 's/3145551212/NPANXXXXXX/g' | pastebin

# To mask an IP address prior to sending to pastebin:
grep C-00000001 /var/log/asterisk/full | sed 's/10.0.1.2/XX.XX.XX.XX/g' | pastebin

# You can also put them together.
grep C-00000001 /var/log/asterisk/full | sed 's/3145551212/NPANXXXXXX/g' | sed 's/10.0.1.2/XX.XX.XX.XX/g' | pastebin

(Lorne Gaetz) #10

Done.


(system) closed #11

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.