Voicemail issue

Hi All,

I have a stange issue that I have never come across before.
I am using FreePBX ver 10 and Asterisk Ver 1.8.12. - this is a fresh install done about 2 weeks ago. This is a system with about 80 extensions.

The problem with the voicemail is that when a call is transfered to any voicemail box, the system doesnt recognise the correct extension number. The extensions are 55xx but the system only seems to recognise the last 2 digits of the mailbox number. so for extension 5588, it says “extension number 88 is…I’m sorry that is not a valid extension, please try again” and then cuts of the call.
I can see from the trace that it isnt trying to play the “5.alaw” prompts, so I dont think this is a codec / prompt issue.
I have installed multiple systems before and never had this issue though this is the biggest I have done. I guess this maybe an asterisk issue rather than FreePBX but I thought I would try here first.

The only thing I did different with this install was use the bulk extension module and the endpoint manager. I have tried to delete an extension and recreate without using the bulk extension but didnt help.

Here is a trace: (sorry I think there is an external call in there too. Hard to get a trace with only the voicemail as this is a live system now)

== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [*5588@from-internal:1] Answer("SIP/5588-000005aa", "") in new stack -- Executing [*5588@from-internal:2] Wait("SIP/5588-000005aa", "1") in new stack -- Executing [*5588@from-internal:3] Macro("SIP/5588-000005aa", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/5588-000005aa", "AMPUSER=5588") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("SIP/5588-000005aa", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("SIP/5588-000005aa", "1?Set(REALCALLERIDNUM=5588)") in new stack -- Executing [s@macro-user-callerid:4] Set("SIP/5588-000005aa", "AMPUSER=5588") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/5588-000005aa", "AMPUSERCIDNAME=Kevin TestPhone") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/5588-000005aa", "0?report") in new stack -- Executing [s@macro-user-callerid:7] Set("SIP/5588-000005aa", "AMPUSERCID=5588") in new stack -- Executing [s@macro-user-callerid:8] Set("SIP/5588-000005aa", "CALLERID(all)="Kevin TestPhone" <5588>") in new stack -- Executing [s@macro-user-callerid:9] GotoIf("SIP/5588-000005aa", "0?limit") in new stack -- Executing [s@macro-user-callerid:10] ExecIf("SIP/5588-000005aa", "0?Set(GROUP(concurrency_limit)=5588)") in new stack -- Executing [s@macro-user-callerid:11] ExecIf("SIP/5588-000005aa", "0?Set(CHANNEL(language)=)") in new stack -- Executing [s@macro-user-callerid:12] GosubIf("SIP/5588-000005aa", "0?sub-ccss,s,1(from-internal,*5588)") in new stack -- Executing [s@macro-user-callerid:13] GotoIf("SIP/5588-000005aa", "0?continue") in new stack -- Executing [s@macro-user-callerid:14] Set("SIP/5588-000005aa", "__TTL=64") in new stack -- Executing [s@macro-user-callerid:15] GotoIf("SIP/5588-000005aa", "1?continue") in new stack -- Goto (macro-user-callerid,s,26) -- Executing [s@macro-user-callerid:26] Set("SIP/5588-000005aa", "CALLERID(number)=5588") in new stack -- Executing [s@macro-user-callerid:27] Set("SIP/5588-000005aa", "CALLERID(name)=Kevin TestPhone") in new stack -- Executing [s@macro-user-callerid:28] Set("SIP/5588-000005aa", "CHANNEL(language)=en") in new stack -- Executing [*5588@from-internal:4] GotoIf("SIP/5588-000005aa", "0}?unset2") in new stack -- Executing [*5588@from-internal:5] GotoIf("SIP/5588-000005aa", "1?invaliduser2") in new stack -- Goto (from-internal,*5588,14) -- Executing [*5588@from-internal:14] Playback("SIP/5588-000005aa", "extension&number") in new stack -- Playing 'extension.alaw' (language 'en') -- Playing 'number.alaw' (language 'en') -- SIP/5531-000005a5 requested media update control 26, passing it to DAHDI/i1/14101604592588-387 -- Executing [*5588@from-internal:15] SayDigits("SIP/5588-000005aa", "88") in new stack -- Playing 'digits/8.alaw' (language 'en') -- Playing 'digits/8.alaw' (language 'en') -- Executing [*5588@from-internal:16] Playback("SIP/5588-000005aa", "is&invalid") in new stack -- Playing 'is.alaw' (language 'en') -- Playing 'invalid.alaw' (language 'en') -- Span 1: Channel 0/2 got hangup request, cause 16 -- Executing [h@ext-queues:1] Macro("DAHDI/i1/-388", "hangupcall,") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/-388", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [s@macro-hangupcall:3] ExecIf("DAHDI/i1/-388", "0?Set(CDR(recordingfile)=)") in new stack -- Executing [s@macro-hangupcall:4] Hangup("DAHDI/i1/-388", "") in new stack == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'DAHDI/i1/-388' in macro 'hangupcall' == Spawn extension (ext-queues, h, 1) exited non-zero on 'DAHDI/i1/-388' == Spawn extension (ext-queues, 7900, 11) exited non-zero on 'DAHDI/i1/-388' -- Executing [h@macro-dial-one:1] Macro("Local/5500@from-queue-a107;2", "hangupcall,") in new stack -- Hungup 'DAHDI/i1/-388' -- Executing [s@macro-hangupcall:1] GotoIf("Local/5500@from-queue-a107;2", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [s@macro-hangupcall:3] ExecIf("Local/5500@from-queue-a107;2", "0?Set(CDR(recordingfile)=)") in new stack -- Executing [s@macro-hangupcall:4] Hangup("Local/5500@from-queue-a107;2", "") in new stack == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/5500@from-queue-a107;2' in macro 'hangupcall' == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'Local/5500@from-queue-a107;2' == Spawn extension (macro-dial-one, s, 42) exited non-zero on 'Local/5500@from-queue-a107;2' in macro 'dial-one' == Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'Local/5500@from-queue-a107;2' in macro 'exten-vm' == Spawn extension (from-internal-xfer, 5590, 2) exited non-zero on 'Local/5500@from-queue-a107;2' -- Executing [*5588@from-internal:17] Macro("SIP/5588-000005aa", "hangupcall,") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("SIP/5588-000005aa", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [s@macro-hangupcall:3] ExecIf("SIP/5588-000005aa", "0?Set(CDR(recordingfile)=)") in new stack -- Executing [s@macro-hangupcall:4] Hangup("SIP/5588-000005aa", "") in new stack == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/5588-000005aa' in macro 'hangupcall' == Spawn extension (from-internal, *5588, 17) exited non-zero on 'SIP/5588-000005aa' -- Executing [h@from-internal:1] Hangup("SIP/5588-000005aa", "") in new stack == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/5588-000005aa'

Ok dont worry - figured it out almost straight away after I posted. Feature code conflict. *55 is default to disable intercom

Must made a note of all the feature codes to check before I make new extensions and groups.

I was thinking that perhaps a useful module to would be something that listed all of the current dial plan that could be dialled by the end user. So all of the feature codes, extensions, ring group numbers, conference numbers, etc
This would allow you to see more easily if a conflict was happening.