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 [*[email protected]:1] Answer("SIP/5588-000005aa", "") in new stack -- Executing [*[email protected]:2] Wait("SIP/5588-000005aa", "1") in new stack -- Executing [*[email protected]:3] Macro("SIP/5588-000005aa", "user-callerid,") in new stack -- Executing [[email protected]:1] Set("SIP/5588-000005aa", "AMPUSER=5588") in new stack -- Executing [[email protected]:2] GotoIf("SIP/5588-000005aa", "0?report") in new stack -- Executing [[email protected]:3] ExecIf("SIP/5588-000005aa", "1?Set(REALCALLERIDNUM=5588)") in new stack -- Executing [[email protected]:4] Set("SIP/5588-000005aa", "AMPUSER=5588") in new stack -- Executing [[email protected]:5] Set("SIP/5588-000005aa", "AMPUSERCIDNAME=Kevin TestPhone") in new stack -- Executing [[email protected]:6] GotoIf("SIP/5588-000005aa", "0?report") in new stack -- Executing [[email protected]:7] Set("SIP/5588-000005aa", "AMPUSERCID=5588") in new stack -- Executing [[email protected]:8] Set("SIP/5588-000005aa", "CALLERID(all)="Kevin TestPhone" <5588>") in new stack -- Executing [[email protected]:9] GotoIf("SIP/5588-000005aa", "0?limit") in new stack -- Executing [[email protected]:10] ExecIf("SIP/5588-000005aa", "0?Set(GROUP(concurrency_limit)=5588)") in new stack -- Executing [[email protected]:11] ExecIf("SIP/5588-000005aa", "0?Set(CHANNEL(language)=)") in new stack -- Executing [[email protected]:12] GosubIf("SIP/5588-000005aa", "0?sub-ccss,s,1(from-internal,*5588)") in new stack -- Executing [[email protected]:13] GotoIf("SIP/5588-000005aa", "0?continue") in new stack -- Executing [[email protected]:14] Set("SIP/5588-000005aa", "__TTL=64") in new stack -- Executing [[email protected]:15] GotoIf("SIP/5588-000005aa", "1?continue") in new stack -- Goto (macro-user-callerid,s,26) -- Executing [[email protected]:26] Set("SIP/5588-000005aa", "CALLERID(number)=5588") in new stack -- Executing [[email protected]:27] Set("SIP/5588-000005aa", "CALLERID(name)=Kevin TestPhone") in new stack -- Executing [[email protected]:28] Set("SIP/5588-000005aa", "CHANNEL(language)=en") in new stack -- Executing [*[email protected]:4] GotoIf("SIP/5588-000005aa", "0}?unset2") in new stack -- Executing [*[email protected]:5] GotoIf("SIP/5588-000005aa", "1?invaliduser2") in new stack -- Goto (from-internal,*5588,14) -- Executing [*[email protected]: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 [*[email protected]:15] SayDigits("SIP/5588-000005aa", "88") in new stack -- Playing 'digits/8.alaw' (language 'en') -- Playing 'digits/8.alaw' (language 'en') -- Executing [*[email protected]: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 [[email protected]:1] Macro("DAHDI/i1/-388", "hangupcall,") in new stack -- Executing [[email protected]:1] GotoIf("DAHDI/i1/-388", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [[email protected]:3] ExecIf("DAHDI/i1/-388", "0?Set(CDR(recordingfile)=)") in new stack -- Executing [[email protected]: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 [[email protected]:1] Macro("Local/[email protected];2", "hangupcall,") in new stack -- Hungup 'DAHDI/i1/-388' -- Executing [[email protected]:1] GotoIf("Local/[email protected];2", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [[email protected]:3] ExecIf("Local/[email protected];2", "0?Set(CDR(recordingfile)=)") in new stack -- Executing [[email protected]:4] Hangup("Local/[email protected];2", "") in new stack == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'Local/[email protected];2' in macro 'hangupcall' == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'Local/[email protected];2' == Spawn extension (macro-dial-one, s, 42) exited non-zero on 'Local/[email protected];2' in macro 'dial-one' == Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'Local/[email protected];2' in macro 'exten-vm' == Spawn extension (from-internal-xfer, 5590, 2) exited non-zero on 'Local/[email protected];2' -- Executing [*[email protected]:17] Macro("SIP/5588-000005aa", "hangupcall,") in new stack -- Executing [[email protected]:1] GotoIf("SIP/5588-000005aa", "1?theend") in new stack -- Goto (macro-hangupcall,s,3) -- Executing [[email protected]:3] ExecIf("SIP/5588-000005aa", "0?Set(CDR(recordingfile)=)") in new stack -- Executing [[email protected]: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 [[email protected]: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.