Hi all,
I add a new column named "client" in subscriber table.
Next, I want to do a test wich seems like that in SQL :
"SELECT client FROM subscriber WHERE username = "actual calling number"
=> equivalent of avp_db_load I think ?
Then, I think I must do a test on the previous values with an if and
avp_check I think.
But my problem is to do this both requests with SER syntax in ser.cfg.
Someone can help me ?
Thanks
Hi !
I've set up the ser 0.10.99, basic functionality works - ser registers users and establishes the media sessions correctly. Now I tried to use the new serctl tool: version 0.3.17. When I try to invoke for instance #ser_ctl ps while ser is running I get the following:
ser_ctl: (111, 'Connection refused'): error
my ser.cfg file part:
port=5060
...
modparam("ctl", "binrpc", "unixs:/tmp/ser_ctl")
modparam("ctl", "fifo", "fifo:/tmp/ser_fifo")
modparam("ctl", "mode", 0666)
and my serctl.conf and serctl/config.py files lines:
..
SER_URI = 'http://localhost:5060/'
...
Please point me what do I need to do to make it work.
Best
Tomasz
I did copy&paste from one of my testing scripts I have on disk .... as
it contained the create_via (which is not neccesary now) it was designed
for the older xml-rpc way of handling.
You can safely use the code from the CVS ser.cfg example, it's kept up
to date.
Michal
On Mon, 2007-01-08 at 19:55 +0100, =?UTF-8?Q? tzieleniewski ?= wrote:
> I have something like this
> if ((method=="POST" || method=="GET") & src_ip==127.0.0.1) {
> if (msg:len >= 8192) {
> sl_send_reply("513", "Request to big");
> drop;
> }
> dispatch_rpc();
> drop;
> }
> taken from the latest cvs etc/ser.cfg file.
> Is this rewriteuri(...) required? Does it imply that sip:xmlrpc.. is somehow reserved?
>
>
> > The ctl module serves the sercmd (utils/sercmd).
> >
> > If you want to use ser_ctl then you have to support it in the script
> > file like this:
> >
> > if (method=="POST" || method=="GET") {
> > # create_via(); shouldn't be required with the latest CVS source
> > rewriteuri("sip:xmlrpc@127.0.0.1:5060");
> > dispatch_rpc();
> > drop;
> > }
> >
> > Michal
> >
> > On Mon, 2007-01-08 at 17:26 +0100, =?UTF-8?Q? tzieleniewski ?= wrote:
> > > Results in the attached files
> > >
> > > tomasz
> > >
> > > > Plese, try 'netstat -tupan' and 'ser_ctl -Gg ps' and post results. -- hallik
> > > >
> > > > On Mon, Jan 08, 2007 at 04:41:59PM +0100, =?UTF-8?Q? tzieleniewski ?= wrote:
> > > > > Hi !
> > > > >
> > > > > I've set up the ser 0.10.99, basic functionality works - ser registers users
> > > > > and establishes the media sessions correctly. Now I tried to use the new serctl
> > > > > tool: version 0.3.17. When I try to invoke for instance #ser_ctl ps while ser is
> > > > > running I get the following:
> > > > > ser_ctl: (111, 'Connection refused'): error
> > > > >
> > > > > my ser.cfg file part:
> > > > > port=5060
> > > > > ...
> > > > > modparam("ctl", "binrpc", "unixs:/tmp/ser_ctl")
> > > > > modparam("ctl", "fifo", "fifo:/tmp/ser_fifo")
> > > > > modparam("ctl", "mode", 0666)
> > > > >
> > > > > and my serctl.conf and serctl/config.py files lines:
> > > > > ..
> > > > > SER_URI = 'http://localhost:5060/'
> > > > > ...
> > > > >
> > > > > Please point me what do I need to do to make it work.
> > > > > Best
> > > > > Tomasz
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Serusers mailing list
> > > > > Serusers(a)lists.iptel.org
> > > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers(a)lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> >
serctl (note the missing underscore) was the only tool for ser < 0.9.x
ser 0.10 introduced xmlrpc interface (basically the dispatch_rpc in the
script calls the function) and ser_ctl family of tools was introduced
(ser_rpc just for the XML-RPC call, ser_user, ser_domain, .....
specialized (the name suggests what they do), ser_ctl as the shell
around all of them. They are written in python.
Due to the fact of XML parsing, etc. the binary protocol was
re-introduced. You need to load the ctl module, set the protocol,
address, port) and use sercmd as cli.
All methods which are callable via XML-RPC are visible via sercmd, it is
just protocol between ser and controller. So if you have configured both
was you can use ser_rpc and sercmd interchangeable.
For the methods available use:
sercmd system.listMethods
Michal
P.S. Please keep always the list in To/Cc to follow the thread. Somebody
else might be interested as well.
On Mon, 2007-01-08 at 20:01 +0100, =?UTF-8?Q? tzieleniewski ?= wrote:
> Just to make sure:)
> So sercmd is a tool used to send command directly so through ser unix socket and rpc calls are entrily handled by xmlrpc module after dispatch_rpc() method??
>
>
> > The ctl module serves the sercmd (utils/sercmd).
> >
> > If you want to use ser_ctl then you have to support it in the script
> > file like this:
> >
> > if (method=="POST" || method=="GET") {
> > # create_via(); shouldn't be required with the latest CVS source
> > rewriteuri("sip:xmlrpc@127.0.0.1:5060");
> > dispatch_rpc();
> > drop;
> > }
> >
> > Michal
> >
> > On Mon, 2007-01-08 at 17:26 +0100, =?UTF-8?Q? tzieleniewski ?= wrote:
> > > Results in the attached files
> > >
> > > tomasz
> > >
> > > > Plese, try 'netstat -tupan' and 'ser_ctl -Gg ps' and post results. -- hallik
> > > >
> > > > On Mon, Jan 08, 2007 at 04:41:59PM +0100, =?UTF-8?Q? tzieleniewski ?= wrote:
> > > > > Hi !
> > > > >
> > > > > I've set up the ser 0.10.99, basic functionality works - ser registers users
> > > > > and establishes the media sessions correctly. Now I tried to use the new serctl
> > > > > tool: version 0.3.17. When I try to invoke for instance #ser_ctl ps while ser is
> > > > > running I get the following:
> > > > > ser_ctl: (111, 'Connection refused'): error
> > > > >
> > > > > my ser.cfg file part:
> > > > > port=5060
> > > > > ...
> > > > > modparam("ctl", "binrpc", "unixs:/tmp/ser_ctl")
> > > > > modparam("ctl", "fifo", "fifo:/tmp/ser_fifo")
> > > > > modparam("ctl", "mode", 0666)
> > > > >
> > > > > and my serctl.conf and serctl/config.py files lines:
> > > > > ..
> > > > > SER_URI = 'http://localhost:5060/'
> > > > > ...
> > > > >
> > > > > Please point me what do I need to do to make it work.
> > > > > Best
> > > > > Tomasz
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Serusers mailing list
> > > > > Serusers(a)lists.iptel.org
> > > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers(a)lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> >
Hi, a Happy New Year to all.
Looking for help to get our caller-id working for outging PSTN calls.
We have 3rd party PSTN gateway service and all our callee gets the gateway
phone number as CID for all of our sip calls to PSTN.
I had implemented so far sip-rpid, remote-party-id, through avp,
append_rpid_hf() and confirmed rpid headers on all pstn outgoing frames.
However, callee only see the SP's PSTN gateways number as incoming
caller-id. Is there other way of implementing caller-id for sip calls
before I bring the subject to PSTN service providor? Or is it most likely
SP's policy setup?
Thanks in advnace.
John K
Hi,
The OSP toolkit project is being moved from sipfoundry to sourceforge.
It should be available shortly. Meanwhile, the latest snapshot of the
toolkit can be downloaded from
http://www.transnexus.com/OSP%20Toolkit/OSP%20Toolkit.htm
Regards,
Dmitry
> Date: Mon, 08 Jan 2007 11:25:24 +0100
> From: "tzieleniewski" <tzieleniewski(a)o2.pl>
> Subject: [Serusers] Problemswith compiling ser 0.10.99
> To: serusers(a)lists.iptel.org
> Message-ID: <54c54dce.20e2e287.45a21c14.f0624(a)o2.pl>
> Content-Type: text/plain; charset="utf-8"
>
> Hi All!!
> I am trying to compile the lattest cvs version of ser but I get errors
> which I cann't handle myself so i kindly ask for your help:)
> What I want to achive basically is the ser instance with presence
> support.
> I am compiling ser in the following way:
> make group_include="standard standard-dep stable" all
> I read that osp requires osptoolkit i tried to get it from sipfoundry
> but i couldn't find any source of that.
> I also cann't fight problems with tls i didn't includethe experimental
> modules(tls) but still I get some errors.
> Below is the make output
>
>
>
Hey ppl,
I am trying to find out the peak number of calls that ser supports using sipp running the default scenario. I am using SER-0.9.6 and sipp version1.8 for this purpose.
Now my setup on a local lan is
SIpp (UAC) -----------------------> SER --------------------> Sipp (UAS)
192.168.0.8 192.168.0.200 192.168.0.2
the commands that i have used are
for Sipp (UAC)
ulimit -n 99999
./sipp -sn uac -rsa 192.168.0.200:5060 -i 192.168.0.8 -p 5061 192.168.0.2:5060 -t t1 -r 1000 -rp 10
for Sipp (SER)
default settings
for Sipp (UAS)
ulimit -n 99999
./sipp -sn uas -i 192.168.0.2 -p 5060 -rsa 192.168.0.200:5060 -t tn
now the problem is that after a while the UAS crashes saying
"Broken pipe on TCP connection, remote peer probably closed the socket."
my understanding is that SER is unable to handle the messages burst to the Sipp UAS and
so please tell me how can i solve this problem .... thanks in advance
regards
Zeeshan Sajid
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi!!
Right now I am trying to migratemy ser.cfg file from ser0.9.7 to ser 0.10.99
when I try to check the ser.cfg file structure I get errors:
0(28672) parse error (252,16-17): unknown command, missing loadmodule?
the errors correspond to the following line in the ser.cfg file:
www_challenge("scscf.ims.touk.pl","0");
if (!check_to()) {
proxy_challenge("scscf.ims.touk.pl","0");
} else if (!check_from()) {
below is the list of my loaded modules:
loadmodule "/home/ser/src/ser-0.10.x/modules/ctl/ctl.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/mysql/mysql.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/sl/sl.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/tm/tm.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/rr/rr.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/maxfwd/maxfwd.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/usrloc/usrloc.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/registrar/registrar.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/auth/auth.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/auth_db/auth_db.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/uri/uri.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/uri_db/uri_db.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/domain/domain.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/mediaproxy/mediaproxy.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/nathelper/nathelper.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/textops/textops.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/avpops/avpops.so"
loadmodule "/home/ser/src/ser-0.10.x/modules/xlog/xlog.so"
Are those functions not present in ser 0.10.99 any more?
Bests
Tomasz