Issue from Trixbox forums

Phillipe asked that I post this over here to see if the problem could be solved here. Original thread from Trixbox:

http://www.trixbox.org/forums/trixbox-forums/help/ack-help-suddenly-no-internal-phones-can-call-answer#comment-104940

You asked that I give you the output from ls -l extensions*. When I run that, I get “no such file or directory”. Should I run that from a specific location?

You also asked that I paste the context from In addition, you also asked that I past the context from /etc/asterisk/extensions_additional.conf. That’s below. Please let me know if this is what you wanted:

include => ext-did-custom
exten => fax,1,Goto(ext-fax,in_fax,1)
exten => s,1,Set(__FROM_DID=${EXTEN})
exten => s,n,GotoIf($[ “${CALLERID(name)}” != “” ] ?cidok)
exten => s,n,Set(CALLERID(name)=${CALLERID(num)})
exten => s,n(cidok),Noop(CallerID is ${CALLERID(all)})
exten => s,n,Goto(ext-local,vmb512,1)

Regarding using from-zaptel as my context,I tried using from-pstn, but I had issues where I could not dial outside. I’m not sure why that is.

Just more info:

I reset my desk XLite and my desktop Polycom. I then tried to call from one to the other. Here’s the log:

[Mar 6 12:34:21] VERBOSE[2618] logger.c: – Registered SIP ‘512’ at 192.168.192.212 port 5060 expires 3600
[Mar 6 12:34:21] NOTICE[2618] chan_sip.c: Peer ‘512’ is now Reachable. (15ms / 2000ms)
[Mar 6 12:34:33] NOTICE[2618] chan_sip.c: Registration from ‘sip:[email protected]’ failed for ‘192.168.192.207’ - No matching peer found
[Mar 6 12:34:34] NOTICE[2618] chan_sip.c: Call from ‘210’ to extension ‘4914309’ rejected because extension not found.
[Mar 6 12:34:37] NOTICE[2618] chan_sip.c: Call from ‘512’ to extension ‘552’ rejected because extension not found.
[Mar 6 12:35:17] NOTICE[2618] chan_sip.c: Registration from ‘sip:[email protected]’ failed for ‘192.168.192.207’ - No matching peer found
[Mar 6 12:35:58] VERBOSE[2618] logger.c: – Unregistered SIP ‘552’
[Mar 6 12:35:58] NOTICE[2618] chan_sip.c: Registration from ‘sip:[email protected]’ failed for ‘192.168.192.207’ - No matching peer found
[Mar 6 12:35:58] VERBOSE[2618] logger.c: – Registered SIP ‘552’ at 192.168.192.106 port 28118 expires 3600
[Mar 6 12:35:58] NOTICE[2618] chan_sip.c: Peer ‘552’ is now Reachable. (1ms / 2000ms)
[Mar 6 12:36:08] NOTICE[2618] chan_sip.c: Call from ‘512’ to extension ‘552’ rejected because extension not found.
[Mar 6 12:36:19] NOTICE[2618] chan_sip.c: Call from ‘552’ to extension ‘512’ rejected because extension not found.

You can see that both phones registered. However, for whatever reason, when it comes time to dial, it can’t be done.

I typed too quickly, should have been ls -l /etc/asterisk/extensions*

but from the look at the above, it sure looks like your phones are not even registering. Are you sure the auto-generated files are being created. Have you checked the notification panel to see if there are any errors?

I suspect I could see what was going on right away if I went onto your system but I can’t do that without paid support and I saw you already ponied up with trixbox for that, I would not want you to pay twice. (I’m glad to keep an eye on the thread though).

Alright, here’s the output you wanted:

-rw-rw-r-- 1 asterisk asterisk 46282 Mar 6 11:54 /etc/asterisk/extensions_additional.conf
lrwxrwxrwx 1 asterisk asterisk 52 Mar 5 18:26 /etc/asterisk/extensions.conf -> /var/www/html/admin/modules/core/etc/extensions.conf
-rwxrwxrwx 1 asterisk asterisk 1175 Feb 18 11:46 /etc/asterisk/extensions_custom.conf
-rw-rw-r-- 1 asterisk asterisk 1006 Mar 5 18:26 /etc/asterisk/extensions_custom.conf.sample
-rwxrwxrwx 1 asterisk asterisk 1217 Feb 18 11:46 /etc/asterisk/extensions_hud.conf

As far as the auto-generated files for the Polycom phones goes, checking the /tftpboot directory, there’s a cfg, reg.cfg and other files for all of the phones.

are the phones not registering at all at this point? Can they call into voicemail, for example? Trying to determine if this is a phone to phone issue still or a registration related issue?

At the time, phones could call nothing. No voice mail, no internal extensions. In fact, I’d set primary IVR to forward directly to my voicemail, and it couldn’t even do that.

Things did resolve, though.

I spent the better part of four hours with Trixbox on this issue. I can’t say I fully understand what happened, but apparently this had something to do with the 2.6 version of Trixbox not installing packages properly. The tech ended up completely removing Freepbx and manually reinstalling it. The phones came back and would ring, but we could not make changes to any extensions without causing an error when applying.

We backed up the settings and ended up reinstalling the server from ground zero.

Thanks much for your kind offers of help though. The community of support for both Trixbox and FreePBX a fantastic asset.

I’m glad you got yourself back up. I’ve been following the progress of TB’s 2.6 in my periphery - does seem like they need to work on their release process a bit. We are all far from immune to making mistakes that effect system installs but on the FreePBX side, we do go through extra efforts to make sure that sort of issue does not happen, such as beta cycles that typically run 2 months, preceded by alpha periods that are ongoing from day one as code is developed since the entire project is transparently accessible through the SVN system we have. Seems like maybe TB could learn a little something from our processes:-)

anyhow - glad you are up.