Extensions is not working at all

Little help here.

I just installed free PBX ona RedHat AS 3. Every thing installed just fine. But when I configure sip extensions the SIP devices are not able to register. They get SIP error 404 not found.
I can see FreePBX is saving the extensions info. in the Database but nothing happens on the asterisk config files. Is Asterisk supposed to read SIP users from the database? how?
I also checked from * CLI (sip show pees, sip show users, etc.) and the SIP devices are not there.

What could be wrong?

Thanks in advance.

when you hit the red bar at the top of the page it will write out the conf file
sip users are created in sip_additional.conf

Ok… I found the problem.

I’m using MySQL ver. 3.23.58. Apparently freePBX is not compatible with MySQL pre 4.0. In this case MySQL generates an error in the function that updates the configuration files.

To make it compatible with ver 3.23 I made a little change in the file "_htdocs/admin/modules/core/functions.inc.php"
There at line 298 I replaced:

[code:1] $sql = “SELECT * FROM extensions where context = '”.$outrt[‘application’]."’ ORDER BY extension, CAST(priority AS UNSIGNED) ASC";[/code:1]

with:

[code:1]$sql = "SELECT * FROM extensions where context = '".$outrt['application']."' ORDER BY extension, ABS(priority) ASC";[/code:1]

I’m not sure that the ABS function is doing the exactly the same as the CAST function was intended to, but as far as I have tested it works ok.
This is the only issue I have found so far.

If there is a restriction in the MySQL version please include that in the documentation.

Hi,

Can you ping phones from your * server?

If yes then try turning off your firewall, scan the server for open
ports and see if port 5060 is open.

Regards,
Kerem

jamozu wrote:

[quote]Little help here.

I just installed free PBX ona RedHat AS 3. Every thing installed just fine. But when I configure sip extensions the SIP devices are not able to register. They get SIP error 404 not found.
I can see FreePBX is saving the extensions info. in the Database but nothing happens on the asterisk config files. Is Asterisk supposed to read SIP users from the database? how?
I also checked from * CLI (sip show pees, sip show users, etc.) and the SIP devices are not there.

What could be wrong?

Thanks in advance.

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

[/quote]
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)

jamozu wrote:

[quote] I can see FreePBX is saving the extensions info. in the Database but nothing happens on the asterisk config files. Is Asterisk supposed to read SIP users from the database? how?
[/quote]Did you click on the red button on the top of the webinterface, saying
’reload’??? are the webinterface and asterisk and apache running as the
same user, asterisk?

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


Amportal-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amportal-users

Post generated using Mail2Forum (http://www.mail2forum.com)