Hello ,
Can someone provide me full working ser.cfg example for latest version
of Mediaproxy (example distributed with new mediaproxy does not seem to
work properly). Herunder you will find the test.cfg that we use.
Regards, Tjapko.
Here is the ser.cfg that we use to test mediaproxy.
# Example ser.cfg for mediaproxy functionality
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"
alias=some.site.com
listen=82.100.100.100
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
#loadmodule "/usr/local/lib/ser/modules/acc.so"
loadmodule "/usr/local/lib/ser/modules/domain.so"
loadmodule "/usr/local/lib/ser/modules/mediaproxy.so"
modparam("usrloc","db_mode",0)
modparam("rr", "enable_full_lr", 1)
modparam("mediaproxy", "natping_interval", 60)
route{
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;
};
if (method == "BYE" || method == "CANCEL") {
end_media_session();
};
if (loose_route()) {
t_relay();
break;
};
if (method == "INVITE") {
record_route();
};
if (client_nat_test("3")) {
if (method == "REGISTER" || ! search("^Record-Route:")) {
fix_contact();
force_rport();
};
if (method == "REGISTER"){
save("location");
break;
};
if (method=="INVITE") {
use_media_proxy();
t_on_reply("1");
};
if (!t_relay()) {
sl_reply_error();
};
}
onreply_route[1] {
if (status=~"(183)|2[0-9][0-9]") {
if (client_nat_test("1")) {
fix_contact();
};
fix_contact();
};
use_media_proxy();
};
if (status=~"[3-4]0[0-9]") {
end_media_session();
break;
};
}
Hi List,
is it possible to rewrite the TO-URI depending on FROM-URI, RPID or
other data provided by radius, mysql or other sources?
So to speak to enable location based services?
Usergroup A (1xxx(a)sip.com) in Building A should reach GW-A, Usergroup B
(2xxx(a)sip.com) in Building B should reach GW-B?
Or would it be more advised to just use Groups and assign every user in
Building A to Group A? Would cause action for every user though.
Thank you,
Martin
Hello All,
> Greg Fausak <greg(a)addabrand.com> wrote:
> I am seeing non-unique call IDs from a UA.
> SHould I reject a call if the Call-ID is not unique? Has
> anyone else messed with this? It is a big accounting problem!
>
> Greg Fausak
I apologize if this is an off-topic question, but this is about SIP. Hope folks dont mind...
This thread is a bit old, but i am curious about a comment i saw in the Asterisk SIP channel code.
It is mentioned that some vendors send multiple calls with the same Call-ID and different tags to
simplify billing. It also says that it is an overhead for the other *sane* SIP implementations. I
am learning SIP and dont have much idea about billing, but what makes some vendors think that it
is easy for billing, where as it is a big problem for some others? What is the right way of doing
it? How can such differences bring consistancy among different SIP implementations? What method
does SER follow?
This is from the Asterisk SIP channel code:
/* In principle Call-ID's uniquely identify a call, however some vendors
(i.e. Pingtel) send multiple calls with the same Call-ID and different
tags in order to simplify billing. The RFC does state that we have to
compare tags in addition to the call-id, but this generate substantially
more overhead which is totally unnecessary for the vast majority of sane
SIP implementations, and thus Asterisk does not enable this behavior
by default. Short version: You'll need this option to support conferencing
on the pingtel */
Regards,
=====
Girish Gopinath <gr_sh2003(a)yahoo.com>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
Hello,
Is there any information about this product, how can I buy it. How can I
get trial version.
My company is using SER in production and we like it very much. If you
guys (iptel.org) have commercial version we probably would happy to buy
it (with support) but all my mails to info(a)iptel.org were unanswered.
Please respond to my mail with info I need. Probably you are ignoring
big customer :)
Thank you
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Andy Blen
Sent: Wednesday, June 30, 2004 9:46 AM
To: Gala, Dipen; serusers(a)lists.iptel.org
Subject: Re: [Serusers] B2BUA
Application Agent, iptel's highly programmable B2BUA for
use in service provider networks, is a commercial item and is not
downloadable on a free basis.
Andy
At 03:30 PM 6/30/2004, Gala, Dipen wrote:
>Has anyone installed or used B2BUA with ser. Pls share with me how to
start and from where can I download the AA, and do I have to code in
python in order to get it working the way I want???
>
>Dipen K Gala
>Fidelity Investments System Company - Telecom
>Phone: (617) 563-2729
>Email: Dipen.Gala(a)FMR.com
>_______________________________________________
>Serusers mailing list
>serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Andy Blen
iptel.org Services
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
Hi Ezequiel,
thanks for info. I found the problem: you are loading acc module before
tm nad acc iss based on tm (it tries to register some callbacks, but tm
is not init yet). So,the fast solution is to load acc after tm. I will
try to fix it properly in the mean while.
thanks for report,
bogdan
Ezequiel Colombo wrote:
> Hi Bogdan, thanks for your quickly response.
> I have packed my sip_router (sources) directory with the core.22059.gz file
> (the core dump [w/ulimit unlimited])
>
> You can try download this tarball at
> http://200.80.35.17/sip_router.seg_fault.0.8.13.tar.gz {8.3Mb long}
>
> Thanks again, and reply back to me if you have any solution or request.
> Ezequiel Colombo
>
>
> ----- Original Message -----
> From: "Bogdan-Andrei IANCU" <iancu(a)fokus.fraunhofer.de>
> To: "Ezequiel Colombo" <ecolombo(a)arcotel.net>
> Cc: <serusers(a)lists.iptel.org>
> Sent: Thursday, July 01, 2004 4:02 PM
> Subject: Re: [Serusers] SER 0.8.13 Segmentation Fault
>
>
>
>>Hi,
>>
>>thanks for the report. Please be sure to get a core (do ulimit -c
>>unlimited before runing ser) and send us the backtrace. if possible put
>>on some public ftp/http site the core and the sources.
>>
>>thanks again,
>>bogdan
>>
>>Ezequiel Colombo wrote:
>>
>>>Hi, i am trying to upgrade to 0.8.13 and get Segmentation Fault when run
>>>SER.
>>>All the CVS source compile fine and the configuration test with "-c"
>>>pass but SER dont start.
>>>I have the core dump file, if any of the developers can help me please
>>>request it off the list.
>>>
>>>[root@billing sip_router]# ./ser -f ./ser.cfg -E -D -d
>>>Listening on
>>> udp: 172.16.0.1 [172.16.0.1]:5060
>>> tcp: 172.16.0.1 [172.16.0.1]:5060
>>>Aliases:
>>> tcp: labo:5060
>>> tcp: labo.arcotel.net:5060
>>> udp: labodomain:5060
>>> udp: labo.labodomain.net:5060
>>> *: labodomain.net:*
>>>
>>>WARNING: no fork mode
>>>acc - initializing
>>>Segmentation fault
>>>
>>>Thanks
>>>Ezequiel Colombo
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Serusers mailing list
>>>serusers(a)lists.iptel.org
>>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>
My ser is running fine as is mysql database. I have been monitoring the
ser_fifo file and noticed it never changes in size. Is this normal? Since I
am having trouble getting the serweb working properly (only admin can
login), I was wondering if this is a related problem?
-------- Original Message --------
Subject: Re: [Serusers] SER on port xxxx to SER on port 5060
Date: Thu, 01 Jul 2004 14:56:50 +0200
From: Aldo Armiento <aldo(a)cerca.com>
Organization: Cerca.com s.r.l.
To: daniel(a)iptel.org
References: <40E34AFC.40309(a)armiento.com> <40E3C3E1.6010300(a)iptel.org>
Dear Daniel,
ok, i known "port" in global config. My question is: how can I tell
(routing rules) to "fake" ser at port 5090 to work as "proxy" for "real"
ser at port 5060?
UA(1) --> NAT --> SER (5090) --> SER (5060) --> NAT --> UA(2)
|
|--> this NAT currupts packets to port 5060 (!!)
so I have to use another port but I want other
"normal" UA (with or without a good nat) work on
port 5060.
Thanks you!!
Aldo.
Daniel-Constantin Mierla wrote:
> Hello,
> use port=5090 in your ser.cfg config file -- in global configuration
> parameters section.
>
> Daniel
>
> On 7/1/2004 1:21 AM, Aldo Armiento wrote:
>
>> Hi all!
>> Some my sip clients are behind a nat on an internet public network
>> that "corrupt" UDP packect (wrong checksum) if is directed to port 5060.
>> Is possible to have a SER on port (for example) 5090 as a "proxy" for
>> the real ser on port 5060? How I have to configure ser.cfg for "fake"
>> ser on port 5090?
>>
>> Thanks you,
>> Aldo.
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
Hello
I'm trying to send a SIP-Info via the ser fifo server. This works fine
for one time, but if I want to send a second message, I have to wait a
certain time or I get the following errors:
-------------------------
9(12790) ERROR: fifo_server: command must begin with :: INFO
9(12790) ERROR: fifo_server: command must have at least 3 chars
9(12790) ERROR: fifo_server: command must begin with :: To:
<sip:dummy@pc33.faerun.ch>
9(12790) ERROR: fifo_server: command must begin with :: Content-Type:
text/plain; charset=iso8859-1
9(12790) ERROR: fifo_server: command must begin with :: And this is a
text again.
------------------------
i used the following skript to get the message to the fifo:
------------------------
cat > /tmp/ser_fifo <<EOF
:t_uac_dlg:hh
INFO
sip:dummy@pc33.faerun.ch
.
From: <sip:ser@faerun.ch>
To: <sip:dummy@pc33.faerun.ch>
Contact: <sip:devnull@pc38.faerun.ch>
Content-Type: text/plain; charset=iso8859-1
.
And this is a text again.
.
EOF
--------------------------
If the message is acceptet, everything works as expected.
Counting the lines in the script and comparing them to the errors, it
looks as if the second time I tried to send the message the first line
was consumed without being processed (by the last call?).
What am I doing wrong?
thanks a lot
emanuel