Author
Topic: Where are the Asterisk Files? (Read 6361 times)

I have been playing around lately with the Telecom in LMCE 10.04. I understand now that everything asterisk is stored in a database.However, I would like to know where it is getting it's information from. The problem is, in order for my SIP softphone ( 3CX from the android market ) to work, I have to ensure that the 'host' setting remains set to 'dynamic'. I go in through phpMyadmin, and I can set the field, but something is whacking my settings, and setting them back to 'Null'

Where is the script that changes asterisk located, and where are the files like sip.conf and such stored. I looked in /etc/asterisk, but they are not there, and something is filling in the defaults after a period of undisclosed time. I can change it by hand, and it works, but then when I use it later, the SIP phone fails to register, and sure enough, if I go back into the phpMyadmin for asterisk, it is right back to 'Null'

I also have a feeling this is why my MD phones are not working. Plus, if I had a sip.conf file, I could get my SPA3102 to register, by adding the appropriate line to it.

Thanks in advance.

Best Regards,

Seth

Logged

".....Because Once you've LinuxMCE'd....."System stats located at my user page:

I got so weary of dealing with LMCE telecom that I yanked the ATA out of the LMCE network. Now at least I have a phone that works. I actually bought a second ebay ATA for the day when I try to get LMCE telecom working again.

If there are problems in 1004's asterisk they will get fixed, if usable trac tickets are created, and people revisit those tickets to answer questions, and/or visit IRC to talk to foxi directly about it. But first, open tickets for each and every asterisk problem you encounter.

btw: Asterisk is working nicely for me under LinuxMCE 1004 with some grandstream phones and a single SIP channel to a provider.

I can't figure out how i must add phone (sip phone cisco 7940) in 1004.Is there something like the admin page of asterisk? When i go to Advanced > Configuration > Phones setup, i've got an "The requested URL /admin/ was not found on this server."When i check the folder /var/www, i don't have anything related asterisk.

I've tried that one, and the SIP files are automaticlly generated in the /tftpboot/ folder.

But my phones aren't ringing when i've got an incoming call, nor can i dial out. In the "call details records", i can see calls coming in, and the are answered automaticlly. So at least the server is recieving the correct phone number.

Is it normal that it takes a very long time to refresh the page once i added a phone? Takes about 3 minutes before i can add a second phone...

ps pitty that you can't assign own numbers. Today, it jumps from 201 towards 315 and so. Not very easy to remember... :$

When i call now from a sip phone, i got a nice voice telling me that all circuits are busy. Or maybe it has something to do with the amount of numbers? For example i personally don't like an extra 0 to dial outside. And in Belgium the amount of numbers is rarther short:

fixed line: 01 234 56 78

cell phone: 0123 45 67 89

The phones are trying to go outside, the 'line' is trying to come in. But somewhere in between, they don't meet...

amphibian

As I just recently learned the "FreePBX" portion, the GUI that allowed for hard core mods such as trunks, extensions and more was removed. If you understand the coding of the asterisk files (don't change unless you do) most of the files you need to check should be under etc/asterisk unless for some unknown reason they were relocated. Be careful though as files such as sip.conf, extensions.conf (depending on the version of asterisk you have) are overwritten by other files such as sip-additional-conf or the such when reloading asterisk. Most of the asterisk files on new versions of asterisk will tell you if they are overwritten and where you should place any modes you need to make. As far as the database portion of your question goes, I haven't had the time yet to delve into LinuxMCE to see how it is fully setup as I have only recently found out about the LinuxMCE project within the last week.