Can't find where extension is forwarded

First, I’m a bit of a noob with Asterisk and amateur at Linux, so please bear with me. I recently took over for my old boss as he took another job. I have an extension that after 4 rings will forward to another lady, but for the life of me I can’t find where. It’s not on the phone, and I can’t seem to find it in any of the conf files or in the SQL database. I can find where the lady is in a call group, but that was setup for outsider callers when pressing options. I’ve went through everything I can find, but no luck. Any suggestions? Debian 8.11 and Asterisk 11.13.1 it appears. Thanks in advance!

Connect to the Asterisk console, do a ‘core set verbose 10’ and place a call to the extension in question.

Watch the output and copy & paste it here and we can see if we can determine what’s happening in your call flow.

== Using SIP RTP CoS mark 5
– Executing [hiddenxxxx@incoming:1] Goto(“SIP/clearfly-000054bf”, “incoming,s,1”) in new stack
– Goto (incoming,s,1)
– Executing [s@incoming:1] Set(“SIP/clearfly-000054bf”, “autoattendant=0”) in new stack
– Executing [s@incoming:2] Set(“SIP/clearfly-000054bf”, “Loop=0”) in new stack
– Executing [s@incoming:3] Wait(“SIP/clearfly-000054bf”, “0.2”) in new stack
– Executing [s@incoming:4] Answer(“SIP/clearfly-000054bf”, “”) in new stack
– Executing [s@incoming:5] WaitExten(“SIP/clearfly-000054bf”, “0.2”) in new stack
– Timeout on SIP/clearfly-000054bf, continuing…
– Executing [s@incoming:6] GotoIf(“SIP/clearfly-000054bf”, “0?7:8”) in new stack
– Goto (incoming,s,8)
– Executing [s@incoming:8] NoOp(“SIP/clearfly-000054bf”, “Finish if_districtmainmenu_53”) in new stack
– Executing [s@incoming:9] Answer(“SIP/clearfly-000054bf”, “”) in new stack
– Executing [s@incoming:10] BackGround(“SIP/clearfly-000054bf”, “/usr/share/asterisk/sounds/leah/Intro1”) in new stack
– <SIP/clearfly-000054bf> Playing ‘/usr/share/asterisk/sounds/leah/Intro1.gsm’ (language ‘en’)
– Executing [s@incoming:11] WaitExten(“SIP/clearfly-000054bf”, “0.02”) in new stack
– Timeout on SIP/clearfly-000054bf, continuing…
– Executing [s@incoming:12] Set(“SIP/clearfly-000054bf”, “TIME=NIGHT”) in new stack
– Executing [s@incoming:13] GotoIf(“SIP/clearfly-000054bf”, “1?14:27”) in new stack
– Goto (incoming,s,14)
– Executing [s@incoming:14] BackGround(“SIP/clearfly-000054bf”, “leah/closed”) in new stack
– <SIP/clearfly-000054bf> Playing ‘leah/closed.slin’ (language ‘en’)
– Executing [s@incoming:15] BackGround(“SIP/clearfly-000054bf”, “leah/office-hours”) in new stack
– <SIP/clearfly-000054bf> Playing ‘leah/office-hours.slin’ (language ‘en’)
– Executing [s@incoming:16] BackGround(“SIP/clearfly-000054bf”, “leah/animal-bite”) in new stack
– <SIP/clearfly-000054bf> Playing ‘leah/animal-bite.slin’ (language ‘en’)
== CDR updated on SIP/clearfly-000054bf
– Executing [1157@incoming:1] Goto(“SIP/clearfly-000054bf”, “site-common,1157,1”) in new stack
– Goto (site-common,1157,1)
– Executing [1157@site-common:1] System(“SIP/clearfly-000054bf”, “/bin/ls /var/spool/asterisk/voicemail/default/6065759130/temp.wav”) in new stack
– Executing [1157@site-common:2] Verbose(“SIP/clearfly-000054bf”, “returned APPERROR”) in new stack
returned APPERROR
– Executing [1157@site-common:3] GotoIf(“SIP/clearfly-000054bf”, “0?warning:dial”) in new stack
– Goto (site-common,1157,6)
– Executing [1157@site-common:6] Dial(“SIP/clearfly-000054bf”, “SIP/1157,20,TtkK”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/1157
– SIP/1157-000054c0 is ringing
– Got SIP response 302 “Moved Temporarily” back from 10.99.6.103:5060
– Now forwarding SIP/clearfly-000054bf to ‘Local/1162@default’ (thanks to SIP/1157-000054c0)
[Sep 28 20:05:54] NOTICE[4165][C-0000445b]: app_dial.c:958 do_forward: Not accepting call completion offers from call-forward recipient Local/1162@default-0000007a;1
– Executing [1162@default:1] Goto(“Local/1162@default-0000007a;2”, “site-common,1162,1”) in new stack
– Goto (site-common,1162,1)
– Executing [1162@site-common:1] System(“Local/1162@default-0000007a;2”, “/bin/ls /var/spool/asterisk/voicemail/default/6065759130/temp.wav”) in new stack
– Executing [1162@site-common:2] Verbose(“Local/1162@default-0000007a;2”, “returned APPERROR”) in new stack
returned APPERROR
– Executing [1162@site-common:3] GotoIf(“Local/1162@default-0000007a;2”, “0?warning:dial”) in new stack
– Goto (site-common,1162,6)
– Executing [1162@site-common:6] Dial(“Local/1162@default-0000007a;2”, “SIP/1162,20,TtkK”) in new stack
== Using SIP RTP CoS mark 5
– Called SIP/1162
– SIP/1162-000054c1 is ringing
– Local/1162@default-0000007a;1 is ringing
– Nobody picked up in 20000 ms
– Executing [1157@site-common:7] VoiceMail(“SIP/clearfly-000054bf”, “1157,su”) in new stack
== Spawn extension (site-common, 1162, 6) exited non-zero on ‘Local/1162@default-0000007a;2’
– <SIP/clearfly-000054bf> Playing ‘/var/spool/asterisk/voicemail/default/1157/unavail.slin’ (language ‘en’)
== Spawn extension (site-common, 1157, 7) exited non-zero on ‘SIP/clearfly-000054bf’

Hid the number at the top, but we don’t want 1157 to ring 1162 anymore. Looks like here is the problem?

– Got SIP response 302 “Moved Temporarily” back from 10.99.6.103:5060
– Now forwarding SIP/clearfly-000054bf to ‘Local/1162@default’ (thanks to SIP/1157-000054c0)
[Sep 28 20:05:54] NOTICE[4165][C-0000445b]: app_dial.c:958 do_forward: Not accepting call completion offers from call-forward recipient Local/1162@default-0000007a;1
– Executing [1162@default:1] Goto(“Local/1162@default-0000007a;2”, “site-common,1162,1”) in new stack

1 Like

Verify why SIP device 1157 it is doing the redirection to (Local/1162@default)

To expand on the above answer, your original statement that it is not in the phone is false.

Ok. So, if the phone isn’t showing the forwarding, I’m guessing it’s buried in the settings somewhere? They’re old Linksys SPA942s I think. Sorry for the confusion on other posts. I didn’t realize I was getting emails about other posts at first.

david551, you were correct. It was buried in the settings on the phone. Thank you all very much!!! I looked around, but it doesn’t appear I can close this ticket or mark an answer? If I’m supposed to, please point me in the right direction.

1 Like