Hi
I like to implement Call Hunting using SER....What i am doing right now
is.....i am making a profile and treating it as hunt group....and now making
other profiles which are members of that group...maintaining a file while
consists of all membrs....and their status.......Now when 111 calls 222 and
222 is busy lets say...in that case..........SER says that 222 is busy...now
i need to generate INVITE again.........with user 333 i can rewrite uri
using code....but how can i change the method to INVITE and send that
again......and one thing how can we generate BYE messages on our own....like
how can we write a small code which will generate BYE using some
call-seqid...
regards
_________________________________________________________________
Old pals, ex-flames, great times. Catch up with the past! Sign up now!
http://www.batchmates.com/msn.asp
At 03:17 AM 4/8/2004, Raymond Chen wrote:
>Dear all,
>
>We¡¯ve setup a call scenario AS5300-¨¤SER¨¤as5300 but all calls drop around 1 minute after connection,
SER does not keep transactions in memory for ever. If you wish them
to be kept longer, try longer TM timers. Nevertheless, the reply
in question should be delivered statelessly even if the transaction
context is already expired.
-jiri
Hello all:
How to solve this question?
shuliang
===============
That means the server received a hostname in the Request-URI but wasn't
able to resolve the hostname to an IP address.
Jan.
On 13-01 09:51, CURRO_DOMINGUEZ wrote:
> Hello and thanks to the list for your answers.
>
> I have developed a simple test network in a private LAN whit 2 PC: a
> SER server and a client.
> When I try to connect the SIP client, the server answer with this
> message:
>
> 478 Unresolveable destination.
>
> SER and mysql are running. I have serweb correctly installed and I can
> add users. I use the user admin, pass heslo (which is in subscriber
> table) to login with the SIP client.
>
> Any idea about what's happenning? Any help will be fantastic.
>
> Thank you very much for your time.
>
> Curro
>
Hi,
Thank you for your prompt reply.
I have tested :~ set log_stderr=yes and fork=no and debug=3 in sems.conf. I
have attached the log. Please help.
<<SemsError1.txt>> <<sems.conf>>
I have also tested this ps ax | grep sems. I get this result:~
[root@sipserver2 root]# ps ax | grep sems
5518 ? S 1:25 gedit file:///etc/sems/sems.conf
7805 pts/0 S 0:00 grep sems
Regards,
Shirley
> -----Original Message-----
> From: Ulrich Abend [SMTP:ullstar@iptel.org
> Sent: Thursday, April 08, 2004 12:18 AM
> To: Shirley
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] Sems Error
>
> Hi,
>
> try to set log_stderr=yes and fork=no and debug=3 in sems.conf for
> testing, it
> should produce a lot of debugging output on your console when starting up.
>
> There are a lot of possible reasons for SEMS not starting, please post the
>
> debugging output either from the commands above or from /var/log/syslog
> (under redhat the file might be another one under /var/log/ ...)
>
> You can also check is sems runs by calling in your shell:
>
> ps ax | grep sems
>
> Regards,
>
> Uli.
>
> P.S.: Please always CC to the list, others might answer quicker than me
> :-)
>
> On Wednesday 07 April 2004 14:43, Shirley wrote:
> > Hi,
> >
> > Thank you for your reply. How to make sure that the SEMS is running?
> > I uses the /usr/local/sin/sems.redhat start- to start the sems service?
> Am
> > I correct?
> > My fifo name is same in both file that you mention. Please advice!
> Thanks
> >
> > Regards,
> > Shirley
> >
> > > -----Original Message-----
> > > From: Ulrich Abend [SMTP:ullstar@iptel.org]
> > > Sent: Wednesday, April 07, 2004 8:00 PM
> > > To: serusers(a)lists.iptel.org
> > > Cc: Shirley
> > > Subject: Re: [Serusers] Sems Error
> > >
> > > Hi,
> > >
> > > you should make shure, SEMS is running and uses the same fifo name (in
> > > sems.conf) as SER (in ser.cfg).
> > >
> > > It is also important, that the fifo file (default: /tmp/am_fifo) has
> > > write
> > >
> > > permissions for the user SER runs as. The easiest setup is to run SER
> and
> > > SEMS as the same user.
> > >
> > > If you still experience problems, please post SER and SEMS debugging
> > > output,
> > > the config files, and the results of
> > > ls -la /tmp/*fifo
> > >
> > > Regards,
> > >
> > > Uli.
> > >
> > > On Wednesday 07 April 2004 12:28, Shirley wrote:
> > > > Hi all,
> > > >
> > > > Please Help!!! I am trying to install the sems when I try to start
> the
> > >
> > > sems
> > >
> > > > I encountered this problem as per below. I am running on Linux 9.0
> and
> > > > please also advice on how to check the fifo version....Thanks
> > > >
> > > > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR:
> > > > voicemail: ans_machine deamon is not running !
> > > > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR:
> > > > voicemail:
> > >
> > > No
> > >
> > > > such device or address
> > > > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR:
> vm_start:
> > > > write_to_fifo failed
> > > > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR:
> > > > voicemail: ans_machine deamon is not running !
> > > > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR:
> > > > voicemail:
> > >
> > > No
> > >
> > > > such device or address
> > > > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR:
> vm_start:
> > > > write_to_fifo failed
> > > >
> > > > regards,
> > > > shirley
> > > >
> > > > _______________________________________________
> > > > Serusers mailing list
> > > > serusers(a)lists.iptel.org
> > > > http://lists.iptel.org/mailman/listinfo/serusers
Hi,
I am having a problem installing the latest ser distribution. This install
is on a new server - Linux (Phedora) - Linux voice.x.com 2.4.22-2174.nptlsmp
#1 SMP Wed Feb 18 16:21:50 EST 2004
Here is the command that I am running to set it up:
#make all include_modules=mysql
Here is the output of the command - Any help is greatly appreciated
make[1]: Entering directory `/root/ser/sip_router/modules/mysql'
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops
-malign-double -falign-loops -mcpu=athlon -DNAME='"ser"'
-DVERSION='"0.8.12-tcp_nonb"'
-DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"' -D__CPU_i386
-D__OS_linux
-DCFG_DIR='"/usr/local/etc/ser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DDNS_IP_HACK -DUSE_IPV6
-DUSE_TCP -DDISABLE_NAGLE -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD
-DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -I/usr/local/include -I/usr/local/include/mysql
-I/usr/local/mysql/include -I/usr/pkg/include -c dbase.c -o dbase.o
In file included from dbase.c:39:
con_mysql.h:33:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:39:
con_mysql.h:39: error: syntax error before "MYSQL_RES"
con_mysql.h:39: warning: no semicolon at end of struct or union
con_mysql.h:40: warning: type defaults to `int' in declaration of `con'
con_mysql.h:40: warning: data definition has no type or storage class
con_mysql.h:41: error: syntax error before "row"
con_mysql.h:41: warning: type defaults to `int' in declaration of `row'
con_mysql.h:41: warning: data definition has no type or storage class
In file included from dbase.c:40:
db_val.h:31:25: mysql/mysql.h: No such file or directory
In file included from dbase.c:40:
db_val.h:43: error: syntax error before '*' token
dbase.c: In function `connect_db':
dbase.c:89: error: dereferencing pointer to incomplete type
dbase.c:89: error: `MYSQL' undeclared (first use in this function)
dbase.c:89: error: (Each undeclared identifier is reported only once
dbase.c:89: error: for each function it appears in.)
dbase.c:89: error: syntax error before ')' token
dbase.c:90: error: dereferencing pointer to incomplete type
dbase.c:96: warning: implicit declaration of function `mysql_init'
dbase.c:96: error: dereferencing pointer to incomplete type
dbase.c:98: warning: implicit declaration of function `mysql_real_connect'
dbase.c:98: error: dereferencing pointer to incomplete type
dbase.c:99: warning: implicit declaration of function `mysql_error'
dbase.c:99: error: dereferencing pointer to incomplete type
dbase.c:99: error: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer (arg 3)
dbase.c:99: error: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer (arg 3)
dbase.c:99: error: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer (arg 3)
dbase.c:99: error: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer (arg 3)
dbase.c:99: error: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer (arg 3)
dbase.c:99: error: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer (arg 3)
dbase.c:99: error: dereferencing pointer to incomplete type
dbase.c:99: warning: format argument is not a pointer (arg 3)
dbase.c:100: warning: implicit declaration of function `mysql_close'
dbase.c:100: error: dereferencing pointer to incomplete type
dbase.c:102: error: dereferencing pointer to incomplete type
dbase.c: In function `disconnect_db':
dbase.c:127: error: dereferencing pointer to incomplete type
dbase.c:129: error: dereferencing pointer to incomplete type
dbase.c: In function `submit_query':
dbase.c:151: warning: implicit declaration of function `mysql_query'
dbase.c:151: error: dereferencing pointer to incomplete type
dbase.c:152: error: dereferencing pointer to incomplete type
dbase.c:152: error: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer (arg 3)
dbase.c:152: error: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer (arg 3)
dbase.c:152: error: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer (arg 3)
dbase.c:152: error: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer (arg 3)
dbase.c:152: error: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer (arg 3)
dbase.c:152: error: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer (arg 3)
dbase.c:152: error: dereferencing pointer to incomplete type
dbase.c:152: warning: format argument is not a pointer (arg 3)
dbase.c: At top level:
dbase.c:187: error: syntax error before '*' token
dbase.c: In function `print_values':
dbase.c:191: error: `_c' undeclared (first use in this function)
dbase.c:191: error: `_b' undeclared (first use in this function)
dbase.c:191: error: `_l' undeclared (first use in this function)
dbase.c:191: error: `_v' undeclared (first use in this function)
dbase.c:191: error: `_n' undeclared (first use in this function)
dbase.c: At top level:
dbase.c:216: error: syntax error before '*' token
dbase.c: In function `print_where':
dbase.c:222: error: `_c' undeclared (first use in this function)
dbase.c:222: error: `_b' undeclared (first use in this function)
dbase.c:222: error: `_l' undeclared (first use in this function)
dbase.c:222: error: `_k' undeclared (first use in this function)
dbase.c:222: error: `_v' undeclared (first use in this function)
dbase.c:222: error: `_n' undeclared (first use in this function)
dbase.c:228: error: `_o' undeclared (first use in this function)
dbase.c: At top level:
dbase.c:247: error: syntax error before '*' token
dbase.c: In function `print_set':
dbase.c:253: error: `_c' undeclared (first use in this function)
dbase.c:253: error: `_b' undeclared (first use in this function)
dbase.c:253: error: `_l' undeclared (first use in this function)
dbase.c:253: error: `_k' undeclared (first use in this function)
dbase.c:253: error: `_v' undeclared (first use in this function)
dbase.c:253: error: `_n' undeclared (first use in this function)
dbase.c: In function `db_init':
dbase.c:287: error: invalid application of `sizeof' to an incomplete type
dbase.c:292: error: invalid application of `sizeof' to an incomplete type
dbase.c:292: error: invalid application of `sizeof' to an incomplete type
dbase.c:292: error: invalid application of `sizeof' to an incomplete type
dbase.c:292: error: invalid application of `sizeof' to an incomplete type
dbase.c:292: error: invalid application of `sizeof' to an incomplete type
dbase.c:292: error: invalid application of `sizeof' to an incomplete type
dbase.c: In function `db_close':
dbase.c:318: error: dereferencing pointer to incomplete type
dbase.c:319: warning: implicit declaration of function `mysql_free_result'
dbase.c:319: error: dereferencing pointer to incomplete type
dbase.c: In function `get_result':
dbase.c:346: error: dereferencing pointer to incomplete type
dbase.c:346: warning: implicit declaration of function `mysql_store_result'
dbase.c:346: error: dereferencing pointer to incomplete type
dbase.c:347: error: dereferencing pointer to incomplete type
dbase.c:348: warning: implicit declaration of function `mysql_field_count'
dbase.c:348: error: dereferencing pointer to incomplete type
dbase.c:353: error: dereferencing pointer to incomplete type
dbase.c:353: error: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer (arg 3)
dbase.c:353: error: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer (arg 3)
dbase.c:353: error: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer (arg 3)
dbase.c:353: error: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer (arg 3)
dbase.c:353: error: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer (arg 3)
dbase.c:353: error: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer (arg 3)
dbase.c:353: error: dereferencing pointer to incomplete type
dbase.c:353: warning: format argument is not a pointer (arg 3)
dbase.c: In function `db_free_query':
dbase.c:391: error: dereferencing pointer to incomplete type
dbase.c:392: error: dereferencing pointer to incomplete type
dbase.c: In function `db_query':
dbase.c:428: error: dereferencing pointer to incomplete type
dbase.c: In function `db_insert':
dbase.c:484: error: dereferencing pointer to incomplete type
dbase.c: In function `db_delete':
dbase.c:516: error: dereferencing pointer to incomplete type
dbase.c: In function `db_update':
dbase.c:548: error: dereferencing pointer to incomplete type
dbase.c:551: error: dereferencing pointer to incomplete type
make[1]: *** [dbase.o] Error 1
make[1]: Leaving directory `/root/ser/sip_router/modules/mysql'
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.com/go/onm00200415ave/direct/01/
Hello,
I am trying to add Remote-Party-ID dynamicly. In my config I use exec_dst
for routing and aliases and because of this I can not use append_rpid
function (it need saved SIP URI exists... and i do not knwo where to get
it)
I am planing to write short function exec_rpid that will do this work..
please tell me if it is good idea or I will just waste my time and there
are ready solutions for this ?
Thxs
Hello,
I have small problem with dinamic routing.. my config looks like:
(page down)
as u see i have two steps routing.. second exec_dset return me uri of
voicemail or it could be another number. the question is:
how can i do rtp_proxy on second step ? i can not just put
force_rtp_proxy(); in failure_route.. it is not allowed....
Please help
short version:
route {
if (nat_uac_test("2")) {
xlog("L_ALERT", "(%ci) src address different than via header->NAT detected");
force_rport();
fix_nated_contact();
setflag(5);
}
if(uri==myself) {
exec_dset("/usr/local/ser/bin/getroute");
route(1);
}
}
route [1] {
xlog("L_ALERT", "(%ci) entering route[1] - relaying SIP message to online user\n");
if ((isflagset(5)) || (isflagset(6))) {
xlog("L_ALERT", "(%ci) at least one of the participants is NATed->record_route\n");
record_route();
xlog("L_ALERT", "(%ci) -->setting up reply processing ->onreply_route[1]");
t_on_reply("1");
if (method=="INVITE") {
xlog("L_ALERT", "(%ci) INVITE request-->force_rtp_proxy, set NATED-INVITE flag(7)");
force_rtp_proxy();
append_hf("P-hint: request forced to rtp proxy\r\n");
setflag(7);
};
};
t_on_failure("1");
xlog("L_ALERT", "(%ci) relaying message ...(%tu)");
if (!t_relay()) {
xlog("L_ALERT", "(%ci) t_relay error occured\n");
sl_reply_error();
};
}
onreply_route[1] {
xlog("L_ALERT", "(%ci) onreply_route[1] entered\n");
if ( (status=~"200" || status=~"183") ) {
xlog("L_ALERT", "(%ci) status 2xx or 183");
if ( isflagset(7) ) {
xlog("L_ALERT", "(%ci) marked(7) as NATED-INVITE -> force_rtp_proxy \n");
force_rtp_proxy();
append_hf("P-hint: response forced to rtp proxy\r\n");
};
};
}
failure_route[3] {
/* XX: note: unsafe if preloaded routes without username used */
xlog("L_ALERT", "(%ci) failureroute[1] entered\");
exec_dset("/usr/local/ser/bin/getroute vm");
t_on_failure("4");
xlog("L_ALERT", "(%ci) relaying message ...(%tu)");
append_branch();
if (!t_relay()) {
xlog("L_ALERT", "(%ci) t_relay error occured\n");
# sl_reply_error();
};
}
hi frineds,
is it possible to use variables in ser.cfg,
is it possible to use control structures in ser.cfg.
anybody help me.
thank u
_________________________________________________________________
Buzz on your screen! Download on your screen.
http://www.msn.co.in/Download/screensaver/ Keep yourself smiling!
Hi,
My ls -la /tmp/*fifo is as below: Thanks
[root@sipserver2 root]# ls -la /tmp/*fifo
prw-r--r-- 1 root root 0 Mar 18 16:57 /tmp/am_fifo
prw-rw---- 1 root root 0 Apr 7 19:45 /tmp/ser_fifo
prw-r--r-- 1 root root 0 Apr 7 17:15 /tmp/ser_vm_fifo
prw-rw---- 1 root root 0 Mar 24 18:48 /tmp/vm_ser_fifo
Regards,
Shirley
> -----Original Message-----
> From: Shirley
> Sent: Sunday, March 07, 2004 8:33 PM
> To: 'Ulrich Abend'
> Subject: RE: [Serusers] Sems Error
>
> Hi,
>
> Thank you for your reply. How to make sure that the SEMS is running?
> I uses the /usr/local/sin/sems.redhat start- to start the sems service? Am
> I correct?
> My fifo name is same in both file that you mention. Please advice! Thanks
>
> Regards,
> Shirley
>
> -----Original Message-----
> From: Ulrich Abend [SMTP:ullstar@iptel.org]
> Sent: Wednesday, April 07, 2004 8:00 PM
> To: serusers(a)lists.iptel.org
> Cc: Shirley
> Subject: Re: [Serusers] Sems Error
>
> Hi,
>
> you should make shure, SEMS is running and uses the same fifo name (in
> sems.conf) as SER (in ser.cfg).
>
> It is also important, that the fifo file (default: /tmp/am_fifo) has write
>
> permissions for the user SER runs as. The easiest setup is to run SER and
> SEMS as the same user.
>
> If you still experience problems, please post SER and SEMS debugging
> output,
> the config files, and the results of
> ls -la /tmp/*fifo
>
> Regards,
>
> Uli.
>
>
> On Wednesday 07 April 2004 12:28, Shirley wrote:
> > Hi all,
> >
> > Please Help!!! I am trying to install the sems when I try to start the
> sems
> > I encountered this problem as per below. I am running on Linux 9.0 and
> > please also advice on how to check the fifo version....Thanks
> >
> > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR: voicemail:
> > ans_machine deamon is not running !
> > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR: voicemail:
> No
> > such device or address
> > Mar 24 19:04:25 sipserver2 /usr/local/sbin/ser[12876]: ERROR: vm_start:
> > write_to_fifo failed
> > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR: voicemail:
> > ans_machine deamon is not running !
> > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR: voicemail:
> No
> > such device or address
> > Mar 24 19:04:35 sipserver2 /usr/local/sbin/ser[12874]: ERROR: vm_start:
> > write_to_fifo failed
> >
> > regards,
> > shirley
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers