Custom Context is screwing up my extensions

Hi All,
I’m running FreePBX 2.10 with 1 trunk(for testing) and 40 extensions.
2 days ago I installed Custom Context module and immediately I lost my outgoing calls and internal extension to extension.
I changed the context on 4 of my extensions to “local-Calls” (a context was created by custom context module) with no success.
I deleted all extensions and added 4 of them and they worked fine. then I reboot the server and all went to hell again (incoming calls working, but outgoing and calls between extensions do not), I have to recreate the extension to get it to work.
Now all of this could be something stupid that I’m missing, if this is the case, I apologize, but I still wan to know what I’m doing wrong.
by the way, FreePBX crashed and that’s why I rebooted.
here is what happens when I dial an outside number from ext.213:
I thank you for your help in advance.

Wilson.

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [9052286888@local:1] NoOp(“SIP/213-00000010”, “Received incoming SIP connection from unknown peer to 9052286888”) in new stack
– Executing [9052286888@local:2] Set(“SIP/213-00000010”, “DID=9052286888”) in new stack
– Executing [9052286888@local:3] Goto(“SIP/213-00000010”, “s,1”) in new stack
– Goto (local,s,1)
– Executing [s@local:1] Macro(“SIP/213-00000010”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/213-00000010”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/213-00000010”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/213-00000010”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/213-00000010’ in macro ‘hangupcall’
== Spawn extension (local, s, 1) exited non-zero on ‘SIP/213-00000010’
– Executing [h@local:1] Macro(“SIP/213-00000010”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/213-00000010”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/213-00000010”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/213-00000010”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/213-00000010’ in macro ‘hangupcall’
== Spawn extension (local, h, 1) exited non-zero on ‘SIP/213-00000010’

Extension 213 looks not to be registered.

Received incoming SIP connection from unknown peer to 9052286888") in new stack

Beyond that:

The major functionality of custom contexts has been replaced with per extension/group routing in outbound routes.

Thanks SkykingOH, I don’t understand why is the extension is not registered and why if I remove it and recreated will register.
is there some place i can look in my PBX to bring me closer to the problem?
could it be a context problem, do I even need a contest for outbound calls?

"The major functionality of custom contexts has been replaced with per extension/group routing in outbound routes"
Sorry, I don’t understand the above line.

Thanks, Wilson.

Hi all, thanks for the help.
I removed custom context module permanently, recreated all extensions and now all is good.

I do have another question if I can, how, or can I import my voice-mail boxes from Asterisk 1.4 to the new freePBX 2.10?

Thanks, Wilson

the format has not changed, from the new box just :-

rsync -av --delete oldbox:/var/spool/asterisk/voicemail/ /var/spool/asterisk/voicemail/

Thanks, worked fine except I couldn’t leave a message in any mailbox, the extension didn’t have permission to write to the folder. I changing the /var/spool/asterisk/voicemail/default folder (and sub-folders) permission to 777 and all worked after that.
Do you think there is a problem with having 777 permission on all mailboxes folders?
Wilson.

They need to be owned by asterisk/asterisk 755 would be more normal.

that worked perfect, Thanks. I guess when I copied the mailboxes folder root owned it.

Wilson.