Skip to main content

User Extension Link Is Gone / Disappears / Vanished / Houdini

Posted by IVSCOMM on Wed, 05/23/2012

Ok Here's another brain twister.

First off This is what I am running
PBX Manager 6.1.1.12
Asterisk 1.8.7.1

Second off I found one other comment about a similar situation (with no answer) from 2009 but since I am trying not to get yelled at by another certain someone on this forum I am not going to resurrect an old post.

Here it is for your sleuthing pleasure:

OK Follow along, I edit a user extension by going to the "Extensions and Directory" tab and then clicking on "User Extensions" and then clicking on the extension number link. In the spot where I should see "Extension" there is nothing. The space is blank. When I save the edited user, say just a name change, doesn't matter what the change is. The hyperlinked extension is gone! I can still go to the corrupted extension page by clicking on another extension and changing the http information. The extension still works fine.

To add fuel to the confusion fire (or for some of you shine a little light) After I make the change If I look in the Extensions.Include file, the extensions in question have been written to the bottom of the file, not the bottom of the Tenant section but the bottom of the entire file, without changing the existing extension information.

This ONLY happens with this tenant all other tenants (so far) work fine.

Any clues?


Submitted by IVSCOMM on Wed, 05/23/2012 Permalink

I went to the same tenant and tried to change a hunt list by adding an Extension Based Ring Group. The extensions were all gone. So I checked the Device Based Ring Group and the devices were all listed. But not the extensions.

Hope this adds light.

Submitted by eeman on Fri, 05/25/2012 Permalink

you checked every single entry in users.txt? a blank screen usually indicates that somewhere upstream there is corruption and therefore all entries further down the file arent even getting parsed.

Submitted by IVSCOMM on Sat, 05/26/2012 Permalink

I am looking into the file but I wanted to clarify. All the information for the extensions in question is there except for the actual number of the extension. does this change anything you have told me so far.

Submitted by IVSCOMM on Sat, 05/26/2012 Permalink

It also only happens within that tenant all other tenants are fine. I can delete and recreate an Extension within the effected tenant and that extension works. Until I go to change it one I make a change the comment at the beginning of this Topic Occurs.

Submitted by IVSCOMM on Mon, 05/28/2012 Permalink

Two reasons
1 - I checked and all extensions are correct including spacing
2 - There are extensions after the corrupted client that are not effected it only effects that one client no others

Where does the Extensions page get the extension listed under the first and last name.

Again in this Tenant alone the extension is not there. All other tenants, even tenants created after this one are working correctly.

So if other files are getting parsed properly at the end of the users.txt it can't be users.txt.

Shawn

Submitted by IVSCOMM on Mon, 06/11/2012 Permalink

Will no one else comment on my issue?

“Sleeping on a dragon's hoard with greedy, dragonish thoughts in his heart, he had become a dragon himself.”
― C.S. Lewis, The Voyage of the "Dawn Treader"

Submitted by IVSCOMM on Mon, 06/25/2012 Permalink

I sound like the teacher on ferris bueller... anyone, anyone, bueller buller...

Submitted by xxot on Sat, 06/30/2012 Permalink

I had similar problem. I have opened an extension (tenant "A") in one tab and something else in second tab. After this I have changed current tenant to "B" in second tab (first tab still shows edit extension page under the tenant "A"). After this I go back to the first tab and press save. I've got an error, that the user not exist or something like this. I changed tenant back to "A" (where this extension supposed to be and tried to reopen it, but without luck). I've deleted it and tried to recreate, but received the message: this user already exist.

Submitted by eeman on Sun, 07/01/2012 Permalink

this was stupidity on your part. As has been explained many many times in multiple threads, you cannot log into the admin portal with the same user name multiple times. There is no session management with the webmin mini-server. Therefore when you change thenants its writing the change back to the server, and tied to the username. So if any single login changes tenants then that will have an effect on all other logged in under the same username. This creates a mess in your files where the username of one tenant gets tied to the tenant of another resulting in corrupt data. You now have to go into extensions.include and users.txt and delete all references to the fubar extension.

Submitted by eeman on Tue, 07/03/2012 Permalink

there is nothing that can be done on a forum. Surely you've realized you are all alone on an island as far as this issue is concerned. Noone has seen or experienced it. That means your problem is unique. As its now going on 2 months since it started it must not be that big of an inconvenience. Otherwise most normal people would hire an expert to do a bunch of diagnostics to see exactly what the corruption is.

Submitted by joshe on Sat, 07/14/2012 Permalink

Hopefully I can help here. The issue we found was that the ext= in users.txt was missing.

So you should be able to go into your /etc/asterisk/users.txt and look at the definition of the user {TENANT}-{EXT}.

Find the line entry for the extension and see if ext= is blank. If you add the extension back to that list, it should resolve your issue.

There were a few other steps that may be required to fix this, but not positive I can recall them at the moment. PM me if you're still stuck.

Josh