I have already intalled serweb successfully, but when a new subscriber wants to initialize his account, this error always appear, what wrong?
Warning: fopen(/tmp/ser_fifo): failed to open stream: Permission denied in /usr/local/www/data-dist/serweb/functions.php on line 206
How to do with this problem?
Yu laksman
Hi All,
How do I enable accounting in SER? My authentication thru the Mysql
dbase is already up and kicking. But I don't see any data in my acc,
active_sessions table, etc.
TIA.
Hi,
I have a problem with loose routing and strict routing.
- I have a proxy-registrar SER 0.8.12, it says that Iptel is
compliant RFC 3261
- I have a CISCO ATA with code 3.1.0 and its work.
- I have a CISCO ATA with code 3.1.1 and when the ACK is send to
Iptel the request line is ACK : 0156395148(a)80.118.128.1
And 80.118.128.1 is my gateway Cisco AS5300 to the PSTN,
- With the ATA 3.1.0, the ACK is : 0156395148(a)80.118.128.5.
And 80.118.128.5 is IPTEL ser.
In Cisco Web pages, he says that the new version on ATA 3.1.1 is compliant
RFC 3261with loose routing.
http://www.cisco.com/en/US/products/hw/gatecont/ps514/prod_release_note09186
a0080238c0a.html
Is someone can explain what is not good?
Thanks in advance for your help.
NICOLAS RUIZ
VIVVACTION
FRANCE, PARIS
THAT'S my conf of SER:
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if ( msg:len > max_len ) {
sl_send_reply("513", "Message too big");
break;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
record_route();
loose-route processing
if (loose_route()) {
t_relay();
break;
};
/* grant Route routing if route headers present */
if (loose_route()) { t_relay(); break; };
/* record-route INVITEs -- all subsequent requests must visit us */
if (method=="INVITE") {
record_route();
};
# now check if it really is a PSTN destination which should be
handled
# by our gateway; if not, and the request is an invitation, drop it
--
# we cannot terminate it in PSTN; relay non-INVITE requests -- it
may
# be for example BYEs sent by gateway to call originator
if (uri=~"sip.vivaction.net"){
if (method=="REGISTER") {
# Uncomment this if you want to use digest
authentication
if (!www_authorize("sip.vivaction.net",
"subscriber")) {
www_challenge("sip.vivaction.net", "0");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
if (!proxy_authorize("sip.vivaction.net", "subscriber")) {
proxy_challenge("sip.vivaction.net", "1");
break;
};
rewritehostport("80.118.128.6:5060");
};
# forward the request now
if (!t_relay()) {
sl_reply_error();
break;
};
};
}
Hi,
I've just installed a fresh Suse 9.1 i386 box with the tar.gz binary
distribution for Linux.
I've followed the instructions, setup mysql, users, and ser.cfg. Look Ok so
far.
Now when the first client tries to connect I get load of the above messages
(the complete startup messages are listed below).
I checked the archives and see a message in Jul tat referred to a possible
memory leak, but I can't follow the suggestions there (compile ser without
-DF_MALLOC), since I'm using the binary distribution.
So:
- Do any of you have it running on suse 9.1
- can you suggest any work arounds?
- It this an actual bug, are there pans to fix it?
Thanks in advance,
Sean Boran
[Replies in German are fine too :-]
ser -V
version: 0.8.14 (i386/linux)
flags: STATS:Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
@(#) $Id: main.c,v 1.168.4.3 2004/06/28 15:41:21 andrei Exp $
main.c compiled on 12:28:01 Jul 27 2004 with gcc 2.95
ser -d -d -d
Listening on
127.0.0.1 [127.0.0.1]:5060
193.5.228.71 [193.5.228.71]:5060
Aliases: inoitasip1:5060 localhost:5060 inoitasip1.swissptt.ch:*
inoitasip.swissptt.ch:* swissptt.ch:*
Sep 3 19:34:34 inoitasip1 ser: read 3968203964 from /dev/random
Sep 3 19:34:34 inoitasip1 ser: seeding PRNG with 767477606
Sep 3 19:34:34 inoitasip1 ser: test random number 103572014
Sep 3 19:34:34 inoitasip1 ser: shm_mem_init: success
Sep 3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: new command
(print) registered
Sep 3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: new command
(uptime) registered
Sep 3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: new command
(version) registered
Sep 3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: new command (pwd)
registered
Sep 3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: new command (arg)
registered
Sep 3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: new command
(which) registered
Sep 3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: new command (ps)
registered
Sep 3 19:34:34 inoitasip1 ser: DEBUG: register_fifo_cmd: new command (kill)
registered
Sep 3 19:34:44 inoitasip1 ser[8086]: ERROR: receive_msg: no mem for sip_msg
(many of these)
Sirs:
For Billing, how can the BYE ending time be obtained? INVITE gives the starting time in the accounting table, How about the BYE ending call timestampts?
thanks,
Juan G. Castañeda
There is some work in progress:
http://download.dns-hosting.info/SERLCR/README
Adrian
>>>>>>>>
Hi list,
We have a setup with 2 redundant stateful SER SIP-Servers with
accounting.
For calls to the PSTN we have 2 ISDN-PRI gateways connected to
different ISDN-PRI lines.
We need to implement a dynamic failover mechanism and load balancing.
a) Incoming calls: No problem, the PSTN switch takes care of that
b) Outgoing calls:
Both GWs are registered at both SERs; calls are usually relayed with
"t_relay_to_udp(x.x.x.x, "5060");"
But how can I implement a quick failover including load-distribution
between those gatways?
I.e. if I receive "busy here" or no response after a short period
after the "invite", the call should be redirected to the other GW.
Thanks in advance for your help!
Best regards,
Gerhard
Hi,
I installed ser on a machine with mysql 4.20 and I get these error
messages at startup.
The ser tables have been successfully installed on the DB, but I don't
seem to be able to connect to it.
Why is this?
Here are the error messages:
Sep 4 10:04:27 vm ser: Listening on
Sep 4 10:04:27 vm ser: 62.154.63.49 [62.154.63.49]:5060
Sep 4 10:04:27 vm ser: Aliases: vocal.mydom.net:5060 vm:5060
vm.mydom.net:5060
Sep 4 10:04:27 vm ser: ser startup succeeded
Sep 4 10:04:27 vm /usr/local/sbin/ser[2594]: mod_init(): Database
connection opened successfuly
Sep 4 10:04:27 vm /usr/local/sbin/ser[2594]: INFO: udp_init: SO_RCVBUF
is initially 65535
Sep 4 10:04:27 vm /usr/local/sbin/ser[2594]: INFO: udp_init: SO_RCVBUF
is finally 262142
Sep 4 10:04:27 vm /usr/local/sbin/ser[2619]: INFO: fifo process
starting: 2619
Sep 4 10:04:27 vm /usr/local/sbin/ser[2619]: SER: open_uac_fifo: fifo
server up at /tmp/ser_fifo...
Sep 4 10:04:27 vm /usr/local/sbin/ser[2776]: connect_db(): Can't create
UNIX socket (12)
Sep 4 10:04:27 vm /usr/local/sbin/ser[2776]: db_init(): Error while
trying to connect database
Sep 4 10:04:27 vm /usr/local/sbin/ser[2776]: MSILO: child -4: Error
while connecting database
Sep 4 10:04:27 vm /usr/local/sbin/ser[2776]: init_mod_child(): Error
while initializing module msilo
Sep 4 10:04:27 vm /usr/local/sbin/ser[2776]: tcp_main: error in init_child
Sep 4 10:04:27 vm /usr/local/sbin/ser[2776]: INFO: signal 15 received
Sep 4 10:04:27 vm /usr/local/sbin/ser[2772]: INFO: signal 15 received
Sep 4 10:04:27 vm /usr/local/sbin/ser[2771]: INFO: signal 15 received
Sep 4 10:04:27 vm /usr/local/sbin/ser[2770]: INFO: signal 15 received
Thanks.
Samy.