This is a permissions problem on the /tmp/ser_fifo file.  SER's default permissions don't allow Serweb/Apache/PHP to access the fifo.  I fixed this by creating a new unix group called "serfifo", making the "apache" user a member of the group, and making the /tmp/ser_fifo file's group ownership "serfifo", and giving it group read/write permissions.  You can do this by doing a chgrp + chmod in your startup script, or (better) by using the "group=" and "fifo_mode=" directives in the ser.cfg file.  These directives were somewhat  broken in older releases, but I think they're working in 0.8.12.

- Jim


listas iPfone wrote:
HI all

thanks for all replyes on my question about ser and asterisk..

Now i have that problem when i try to register a user in serweb:

Warning: fopen("/tmp/ser_fifo", "w") - Permission denied in
/var/www/html/functions.php on line 206
192.168.0.37 User Management

sorry -- cannot open write fifo
We regret but your 192.168.0.37 confirmation attempt failed.
Please contact info@iptel.org for further assistance.

How to solve this problem??

Thanks!

Miklos





----- Original Message ----- 
From: "Andrei Pelinescu-Onciul" <pelinescu-onciul@fokus.fraunhofer.de>
To: "listas iPfone" <listas@ipfone.com.br>
Cc: <serusers@lists.iptel.org>
Sent: Thursday, December 18, 2003 11:03 AM
Subject: Re: [Serusers] SER AND ASTERISK


  
On Dec 17, 2003 at 18:01, listas iPfone <listas@ipfone.com.br> wrote:
    
Hi All!

I?m trying to run ser as my sip server and asterisk as my pbx in the
      
same machine with acess to pstn.
  
My goal is to have external users registering in ser ( with my dyndns -
      
sipserver.com.br) and redirect the calls to my estensions in asterisk.
  
How to do it?

When i run ser,  asterisk don?t find my phones anymore.

I have two nic in this machine 192.168.0.31/37:

[root@localhost root]# ser
Listening on
              127.0.0.1 [127.0.0.1]:5060
              192.168.0.37 [192.168.0.37]:5060
              192.168.0.31 [192.168.0.31]:5060
Aliases: localhost:5060 localhost.localdomain:5060

i think that i need to make ser listen to one ip and asterisk to other.

If that is rigth,  how can i make ser listen only on 192.168.0.31:5060?

      
Either start ser with: ser -l  192.168.0.31   [...]
or add listen= 192.168.0.31  in ser.cfg.

Andrei

    

_______________________________________________
Serusers mailing list
serusers@lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
  

-- 
+---------------------------------------------------------------------------+
|         Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC         |
+---------------------------------------------------------------------------+
| "I never let my schooling get in the way of my education." - Mark Twain   |
| "UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things." - Doug Gwyn  |
| "Cool is only three letters away from Fool" - Mike Muir, Suicyco          |
| "..Government in its best state is but a necessary evil; in its worst     |
|  state an intolerable one.." - Thomas Paine, "Common Sense" (1776)        |
+---------------------------------------------------------------------------+
|   Email:  jimb@jsbc.cc                              ICQ UIN:  1695089     |
+---------------------------------------------------------------------------+
|  Reply problems ?  Turn off the "sign" function in email prog.  Blame MS. |
+---------------------------------------------------------------------------+