Dear all,
I have created the setup for Voicemail. I am running two instance of Ser and sems on the same machine.
and i have added two users in "voicemail"group using serctl command
example "serctl acl grant koyama voicemail"
The entries are as given below ussing this command " select * from grp"
+----------+----------------+--------+---------------------+------------------+
| username | domain | grp | last_modified |
+----------+----------------+-----------+---------------------+-----------------+
| matsu | 210.251.64.168 | voicemail | 2004-07-26 21:50:45 |+-
| koyama | 210.251.64.168 | voicemail | 2004-07-26 18:25:58 |
+----------+----------------+-----------+---------------------+-------+-------------+-
as per my best understanding every thing is seems to be ok..but say example if i am making a call to "matsu" who is not available and but wants voicemail...as for this schinario my sip user cleint should be get some announcement from SER server that can I listen on my sip based user cleint ..but i am not getting any announcement or any other similar voice from the server....i get stuck here please help me and provide your valuable suggestions..........
I am attaching the log of ser and sems apart from the configuration scripts of SER...
thanks in advance...
ser.log:- created by first ser instance..(its configuration scripts is ser.cfg)
ser_vm.log:- created by second ser instance (its configuration script is ser_vm.cfg)
sems.log:- created by sems (answering machine).
ser.cfg
ser_vm.cfg
thanks
koyama
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
Bogdan,
This may be stupid question from my side but how do I upload the binary version / how do I make the binary version ?
At present I have uploaden the text directly into the table column cpl_bin.
thanks in advance,
Arne.
-----Original Message-----
From: Bogdan-Andrei IANCU [mailto:iancu@fokus.fraunhofer.de]
Sent: maandag 26 juli 2004 14:18
To: Arne Scheffer
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] cpl-c en sample script
Arne Scheffer wrote:
>Hello all,
>
>I am trying to setup cpl-c.
>
>I am using latest cvs head.
>
>I have setup ser with cpl-c and this seems to run.
>
>I now try to do some test with the cpl script but the cpl-c engine reports:
>
>Jul 26 13:54:09 localhost ser: cpl: start script processing now
>Jul 26 13:54:09 localhost ser: DEBUG:cpl-c:get_dest_user: tring to get user from new_uri
>Jul 26 13:54:09 localhost ser: DEBUG:cpl-c:get_dest_user: tring to get user from R_uri
>Jul 26 13:54:09 localhost ser: DEBUG:get_user_script: fetching script for user <200(a)212.x.x.x>
>Jul 26 13:54:09 localhost ser: DEBUG:get_user_script: we got the script len=311
>Jul 26 13:54:09 localhost ser: ERROR:build_cpl_interpreter: first node is not CPL!!
>Jul 26 13:54:09 localhost ser: cpl: script processing has been finished
>
>Is there a sample script that will do call forward on busy /no answer ?
>
>I have tried different scripts from the draft-ietf-iptel-cpl-09.pdf but all give this errors.
>
>tested with:
><?xml version="1.0" encoding="UTF-8"?>
><!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL 1.0//EN' 'cpl.dtd'>
><cpl>
> <incoming>
> <location url="sip:200@212.x.x.x">
> <proxy timeout="10">
> <noanswer>
> <location url="sip:800@212.x.x.x" clear="yes" />
> </noanswer>
> </proxy>
> </location>
> </incoming>
></cpl>
>
>
>any ideas are welcome ?
>
>
one idea - probably you didn't upload properly the CPL script into DB-
you need also the binary format into DB!
bogdan
>Arne
>
>
>
>
Hello all,
I am trying to setup cpl-c.
I am using latest cvs head.
I have setup ser with cpl-c and this seems to run.
I now try to do some test with the cpl script but the cpl-c engine reports:
Jul 26 13:54:09 localhost ser: cpl: start script processing now
Jul 26 13:54:09 localhost ser: DEBUG:cpl-c:get_dest_user: tring to get user from new_uri
Jul 26 13:54:09 localhost ser: DEBUG:cpl-c:get_dest_user: tring to get user from R_uri
Jul 26 13:54:09 localhost ser: DEBUG:get_user_script: fetching script for user <200(a)212.x.x.x>
Jul 26 13:54:09 localhost ser: DEBUG:get_user_script: we got the script len=311
Jul 26 13:54:09 localhost ser: ERROR:build_cpl_interpreter: first node is not CPL!!
Jul 26 13:54:09 localhost ser: cpl: script processing has been finished
Is there a sample script that will do call forward on busy /no answer ?
I have tried different scripts from the draft-ietf-iptel-cpl-09.pdf but all give this errors.
tested with:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cpl PUBLIC '-//IETF//DTD RFCxxxx CPL 1.0//EN' 'cpl.dtd'>
<cpl>
<incoming>
<location url="sip:200@212.x.x.x">
<proxy timeout="10">
<noanswer>
<location url="sip:800@212.x.x.x" clear="yes" />
</noanswer>
</proxy>
</location>
</incoming>
</cpl>
any ideas are welcome ?
Arne
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org]On
Behalf Of karunb(a)omnitechnology.net
Sent: maandag 26 juli 2004 7:30
To: Jan Janak
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] problems with ul show <username>
Hi Vandaal,
I have problem working with the MYSQL DataBase,Here is my
ser.cfg file I was not able to get 407 message the
Authentication and it doesn't use the MYSQL Data base for
Authentication even if i give incorrect password i get 200 ok
so can you help me on this.
Regards,
Karun
#
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
#debug=7
#fork=no
#log_stderror=yes
*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
fifo="/tmp/ser_fifo"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/lib/ser/modules/mysql.so"
loadmodule "/usr/lib/ser/modules/sl.so"
loadmodule "/usr/lib/ser/modules/tm.so"
loadmodule "/usr/lib/ser/modules/rr.so"
loadmodule "/usr/lib/ser/modules/maxfwd.so"
loadmodule "/usr/lib/ser/modules/usrloc.so"
loadmodule "/usr/lib/ser/modules/registrar.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
#modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config),
# uncomment also the following parameter)
#
#modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# ------------------------- request routing logic -------------------
# 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;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("172.16.24.180", "subscriber")) {
www_challenge("172.16.24.180", "0");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# forward to current uri now; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Hi,
My name is Albert and I'm a research student at University. I've
developed a Voice over IPv6 testbed. The current configuration of SER
is the default and runs on the latest Debian distribution.
Is there any need for extra configuration to SER in order
to run IPv6? The problem I have is that when I run the SER program it only
recognizes IPv4 addresses.
The Softphone used is KPhone, the ethereal capture does not show any
SIP frames. Do I have to change anything?
I attach the output of the KPhone.
Thanks.
Albert
Make sure if you're using rpm's that you've installed
the server version, and not only the client version (and
it's probably a good idea to install the 'devel' package also).
Once you installed it look for something called safe_mysqld that
will start the mysql server.
________________________________
From: Murat Mehmet [mailto:murat.mehmet@avrupayazilim.com]
Sent: maandag 26 juli 2004 9:06
To: serusers(a)lists.iptel.org
Subject: [Serusers] Help for Mysql
Hello all,
This is my first time to use SER. I have donwnload it (latets
vesion) ser server works fine !. But my poroblem is ,with "Mysql".
How can I start the mysql server?. I canont see the
"mysqladmin" or "mysqld" commands?
Hello Jan,
I tested again:
[root@ser root]# serctl ul show
....
...Record(0xb561c6b8)...
domain: 'location'
aor : 'joachim(a)ser.edpnet.net'
~~~Contact(0xb561c708)~~~
domain : 'location'
aor : 'joachim(a)ser.edpnet.net'
Contact : 'sip:joachim@212.71.18.178:5070'
Expires : 41
q :
Call-ID : 'd44711b2-13ce-0-401-719e-1'
CSeq : 3240
replic : 0
User-Agent: 'SIP201 (lp201sip.100a)'
State : CS_SYNC
Flags : 0
next : (nil)
prev : (nil)
~~~/Contact~~~~
.../Record...
---/Domain---
===/Domain list===
[root@ser root]# serctl ul show sip:joachim@ser.edpnet.net
404 Username sip:joachim@ser.edpnet.net in table location not found
[root@ser root]# serctl ul show joachim(a)ser.edpnet.net
404 Username joachim(a)ser.edpnet.net in table location not found
[root@ser root]# serctl ul show joachim(a)212.71.18.178
404 Username joachim(a)212.71.18.178 in table location not found
[root@ser root]# serctl ul show joachim
404 Username joachim in table location not found
and again a 'serctl ul show'
...Record(0xb561c6b8)...
domain: 'location'
aor : 'joachim(a)ser.edpnet.net'
~~~Contact(0xb561c708)~~~
domain : 'location'
aor : 'joachim(a)ser.edpnet.net'
Contact : 'sip:joachim@212.71.18.178:5070'
Expires : 51
q :
Call-ID : 'd44711b2-13ce-0-401-719e-1'
CSeq : 3260
replic : 0
User-Agent: 'SIP201 (lp201sip.100a)'
State : CS_SYNC
Flags : 0
next : (nil)
prev : (nil)
~~~/Contact~~~~
.../Record...
---/Domain---
===/Domain list===
I'll try with a previous version of serctl to see if that works.
thanks,
Bart
> -----Original Message-----
> From: Jan Janak [mailto:jan@iptel.org]
> Sent: zaterdag 24 juli 2004 15:18
> To: Bart Van Daal
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] problems with ul show <username>
>
> Are you sure that the AOR is still there when you do ser ul show ?
> Could you try serctl ul show joachim(a)ser.edpnet.net ?
>
> Jan.
>
> On 23-07 13:14, Bart Van Daal wrote:
> > Hello,
> >
> > I'm using the cvs version of sip_router, below is the output from a
> > 'serctl ul show'
> > ---Domain---
> > name : 'location'
> > size : 512
> > table: 0xb561a6b0
> > d_ll {
> > n : 1
> > first: 0xb561e718
> > last : 0xb561e718
> > }
> >
> > ...Record(0xb561e718)...
> > domain: 'location'
> > aor : 'joachim(a)ser.edpnet.net'
> > ~~~Contact(0xb561e768)~~~
> > domain : 'location'
> > aor : 'joachim(a)ser.edpnet.net'
> > Contact : 'sip:joachim@212.71.17.178:5070'
> > Expires : 44
> > q :
> > Call-ID : 'd44711b2-13ce-0-401-719e-1'
> > CSeq : 26
> > replic : 0
> > User-Agent: 'SIP201 (lp201sip.100a)'
> > State : CS_SYNC
> > Flags : 0
> > next : (nil)
> > prev : (nil)
> > ~~~/Contact~~~~
> > .../Record...
> > ---/Domain---
> > Now when I try the same thing with 'serctl ul show joachim', I get:
> > 404 Username joachim(a)ser.edpnet.net in table location
> not found and a
> > ' 2(5644) **** done consume' in the logfile.
> >
> > I can see the user 'joachim(a)ser.edpnet.net' in the location
> table but
> > why do I get an error 404?
> >
> > thank you very much,
> > Bart
> >
> >
> >
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
Hello all,
This is my first time to use SER. I have donwnload it (latets vesion)
ser server works fine !. But my poroblem is ,with "Mysql".
How can I start the mysql server?. I canont see the "mysqladmin" or
"mysqld" commands?
Hello,
I'm using the cvs version of sip_router, below is the output from a 'serctl
ul show'
---Domain---
name : 'location'
size : 512
table: 0xb561a6b0
d_ll {
n : 1
first: 0xb561e718
last : 0xb561e718
}
...Record(0xb561e718)...
domain: 'location'
aor : 'joachim(a)ser.edpnet.net'
~~~Contact(0xb561e768)~~~
domain : 'location'
aor : 'joachim(a)ser.edpnet.net'
Contact : 'sip:joachim@212.71.17.178:5070'
Expires : 44
q :
Call-ID : 'd44711b2-13ce-0-401-719e-1'
CSeq : 26
replic : 0
User-Agent: 'SIP201 (lp201sip.100a)'
State : CS_SYNC
Flags : 0
next : (nil)
prev : (nil)
~~~/Contact~~~~
.../Record...
---/Domain---
Now when I try the same thing with 'serctl ul show joachim', I get:
404 Username joachim(a)ser.edpnet.net in table location not found
and a ' 2(5644) **** done consume' in the logfile.
I can see the user 'joachim(a)ser.edpnet.net' in the location table but
why do I get an error 404?
thank you very much,
Bart
James,
MediaProxy has support for asymmetric UAs. You would still have to
setup port forwarding at the border router where your client is located
so is anything but plug-and-play.
For each client that can be identified from User-Agent or Server field
you place this information in:
/etc/ser/rtp-asymmetric-clients
/etc/ser/sip-asymmetric-clients
And your mediaproxy module will know where to send the packets to.
As Jiri mentioned this is a pain so please advise your vendor to change
to symmetric signalling (Siemens, Wave3software and IPdialog did).
Adrian
>>>>>>>
We are using the example cfg from the cookbook for nathelper.
It explicitly says it is only useful for symmetric UAs.
Is there any mod to that config that will allow asymmetric UAs to
also work? The goal here is to Do The Right Thing no matter what
the users throw at us.
-JimC
We are using the example cfg from the cookbook for nathelper.
It explicitly says it is only useful for symmetric UAs.
Is there any mod to that config that will allow asymmetric UAs to
also work? The goal here is to Do The Right Thing no matter what
the users throw at us.
-JimC
--
James H. Cloos, Jr. <cloos(a)jhcloos.com>