Hi!
I just found this parameter in sl and presence module, but the usage is
not described well. What is it's purpose? I guess that the presence module
exports the totag into this AVP and the sl module use this totag in its
response.
I think it is not a good idea to have it configureable in 2 modules. We
had the same problem with the "use_domain" parameter in several modules
which was fixed recently. Maybe this can be fixed the same way - having it
configurable in sl module, and presence module look ups the value on
loading (or generate a error if not defined).
Further, the presence module's parameter documentation lack the default
values.
regards
klaus
Dear Users,
Sunkara Ravi [ sunkara.raviprakash.feb14(a)gmail.com ] has sent you an ecard from 123Greetings.com.
Send free ecards from 123greetings.com with your choice of colors, words and music.
Your ecard will be available with us for the next 30 days. If you wish to keep the ecard longer, you may save it on your computer or take a print.
To view your ecard, choose from any of the following options:
--------
OPTION 1
--------
Click on the following Internet address or
copy & paste it into your browser's address box.
http://www.123greetings.com/view/GX91230040549763
--------
OPTION 2
--------
Copy & paste the ecard number in the "View Your Card" box at
http://www.123greetings.com
Your ecard number is
GX91230040549763
If you need help in viewing your card or any other assistance,
please visit our Help / FAQ section located at
http://www.123greetings.com/help/
If you need further help, feel free to write to us at
support(a)123greetings.com
Best wishes,
Postmaster,
123Greetings.com
*If you would like to send someone an ecard, you can do so at
http://www.123greetings.com
yes,the failure route works,but the client phone still receive 408 messeage.
I try to use
if(t_check_status(408|483)) drop; at failure route ,but faild :(
======= 2006-12-29 16:28:57 您在来信中写道:=======
>Do no use forward(), just rewritehost and afterwards t_on_failure and t_relay.
>
>Samuel.
>
>2006/12/29, liu york <york(a)goldentek.biz>:
>> hi all
>>
>> I try to build failure route to another backup b2bua or pstn gw,it seems can work after timeout ,but unfortunate,the openser send a 408 messeage to phone before failure route.,config like that,have any general config to failover or loadbalance for me.Many many thx.
>>
>> route[4] {
>>
>> log(1, "b2bua");
>> rewritehost("192.168.1.204");
>---> #forward("192.168.1.204:80");
>> t_on_failure("2");
>> t_relay();
>> }
>>
>> failure_route[2] {
>> log(1, "b2bua");
>> rewritehost("192.168.1.226");
>---> #forward("192.168.1.226:5060");
>> t_relay();
>> }
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>
>
= = = = = = = = = = = = = = = = = = = =
致
礼!
york
york(a)goldentek.biz
2006-12-30
Hi Alan,
See inline.
Alan Basinger wrote:
> Thanks Greger,
> I know ho hard it is to keep up with the documentation of a rapidly
> changing project and also know what a challenge it is to manage the
> code. I hope we can use the base of SER to create some new and
> exciting applications uing SIP and add some usefull features and
> functionality to the base code for everyone to benifit from.
>
> I appreciate the quick reply and answering a newbs questions as I may
> have more as we move along.
:-) Sure, I realize that lack of documentation can be replaced
(partially and only temporarily) by responsive support on mailing lists.
It is also a way to establish the actual scope of documentation work.
>
> Hi Alan,
> I'm heading the new documentation effort. An updated list of the
> supported rfcs and standards is on my list of needed docs... I'm on
> mobile right now, so I
> cannot search for you, but on iptel.org/listsearch you can search for
> Janak and supported rfcs. I think he posted an update recently.
>
> As for the specific draft, I'm not familiar with it. In general
> though, media is not handled by ser, only messaging.
> The draft is for allowing messaging as well as media to be sent to a
> loopback to mesure actual network conditions to and from the device
> without actually setting up a call. Very usefull and we have many
> vendors implimeting it in there CPE. (Linksys, Polycom, SNOM,
> Panasonic, etc.) I woul like to see about developing this and many
> other features / functionaility into SER. I worked with one of the
> authors of this draft and it realy makes sense. Here is a link to it.
>
> http://www.ietf.org/internet-drafts/draft-ietf-mmusic-media-loopback-05.txt
>
Aha, I recognize the name now :-) Without knowing the details of the
draft, I have the following comments:
* In general you want your servers out of the rtp path (i.e. direct
media between UAs), in fact, ser is never in the rtp path. However ser
is very good at doing message processing, forwarding and all sorts of
"tricks"
* RTP may be handled by three separate software components: rtpproxy,
mediaproxy, and sems (mediaproxy is not an iptel.org project, the others
are). SER modules (nathelper and mediaproxy) are used to communicate
with these external components (locally or over udp) and for mangling
the SDP payload
* Your measurements will probably need to follow the media path of a
normal session. If not, you will not be able to measure for example real
latency on your ex. rtpproxy server(s). SEMS is a very good
general-purpose media server, while rtpproxy/mediaproxy are more
dedicated for proxying of rtp for NAT-purposes etc
* Hence, you probably need to implement sdp loopback intp the rtp
handling component. SEMS may be the easiest way due to its very modular
and powerful plugin interface (it's also a B2BUA). However, as sems
don't stay in the media path except in conferences etc, you don't really
measure "real world..."
* I suspect you can create a ser module (or extend nathelper) that
implements the basic loopback stuff using rtpproxy without touching
rtpproxy (too much)
> As for development, ser has a very efficient core exposing a module
> interfaces. Modules can implement functions, parameters, avpairs (i.e.
> set variables), and
> selects (give access to certain info related to a message).
> I found a copy of the 2002 developers guide and have been starting
> there but an concerned that it may be too outdated any idea when a new
> draft will be available for review?
The basic concepts are still relevant. It has not been updated to cover
to the attribute value pairs and the selects. We are currently focused
on the user documentation for the next release, but we are debating what
the next steps are. A how-to for module development is already on the
list, possible with a retouch of the old developers guide.
You can start out with one of the simpler modules (like textops or
dispatcher) and modify to your needs. Understand the plugin interface,
lumps and shared memory, and you are pretty much there ;-)
>
> Contributions are always welcome. We have just introduced a new
> classification of modules, thus allowing experimental modules into the
> cvs without too much
> fuss.
> Good to hear as me and my partner in crime and I hope to be able to
> add some value with our ideas.
:-)
g-)
>
> BTW, start with ser ottendorf. It is getting close to release and has
> many new important improvements.
>
> Feel free to ask questions on this list.
> g-)
>
> Thanks again
>
> Alan Basinger
>
> ------- Original message -------
> From: Alan Basinger <droidgeneral(a)yahoo.com>
> Sent: 27.12.'06, 12:43
>
> > Hello all,
> > I definitely am a newby with SER but not with SIP and I am trying to
> find out where the supported SIP methods are?
> > Specifically how would I go about finding out if SER supports the
> Media Loopback draft or other ratified or non ratified components.
> > Also if not supported where would I being the coder that I am not be
> able to modify the code myself to add these functions and then
> distribute them back to
> the community?
> >
> > Thanks in advance
> >
> > Alan
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com <http://mail.yahoo.com/>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
Dear Users,
Sunkara Ravi [ sunkara.raviprakash.feb14(a)gmail.com ] has sent you an ecard from 123Greetings.com.
Send free ecards from 123Greetings.com with your choice of colors, words and music.
Your ecard will be available with us for the next 30 days. If you wish to keep the ecard longer, you may save it on your computer or take a print.
To view your ecard, choose from any of the following options:
--------
OPTION 1
--------
Click on the following Internet address or
copy & paste it into your browser's address box.
http://www.123greetings.com/view/HW31229040825964
--------
OPTION 2
--------
Copy & paste the ecard number in the "View Your Card" box at
http://www.123greetings.com
Your ecard number is
HW31229040825964
If you need help in viewing your ecard or any other assistance,
please visit our Help/ FAQ section located at
http://www.123greetings.com/help/
If you need further help, feel free to write to us at
support(a)123greetings.com
Best wishes,
Postmaster,
123Greetings.com
*If you would like to send someone an ecard, you can do so at
http://www.123greetings.com
Dear Users,
Sunkara Ravi [ sunkara.raviprakash.feb14(a)gmail.com ] has sent you an ecard from 123Greetings.com.
Send free ecards from 123Greetings.com with your choice of colors, words and music.
Your ecard will be available with us for the next 30 days. If you wish to keep the ecard longer, you may save it on your computer or take a print.
To view your ecard, choose from any of the following options:
--------
OPTION 1
--------
Click on the following Internet address or
copy & paste it into your browser's address box.
http://www.123greetings.com/view/HW41229040814251
--------
OPTION 2
--------
Copy & paste the ecard number in the "View Your Card" box at
http://www.123greetings.com
Your ecard number is
HW41229040814251
If you need help in viewing your ecard or any other assistance,
please visit our Help/ FAQ section located at
http://www.123greetings.com/help/
If you need further help, feel free to write to us at
support(a)123greetings.com
Best wishes,
Postmaster,
123Greetings.com
*If you would like to send someone an ecard, you can do so at
http://www.123greetings.com
hi all
I try to build failure route to another backup b2bua or pstn gw,it seems can work after timeout ,but unfortunate,the openser send a 408 messeage to phone before failure route.,config like that,have any general config to failover or loadbalance for me.Many many thx.
route[4] {
log(1, "b2bua");
rewritehost("192.168.1.204");
forward("192.168.1.204:80");
t_on_failure("2");
t_relay();
}
failure_route[2] {
log(1, "b2bua");
rewritehost("192.168.1.226");
forward("192.168.1.226:5060");
t_relay();
}
worked but another problem apeared:)
the script has created the ser database user and the database ser_0_9_7 for this user
Ive changed the database connection urls to the following:
fifo_db_url="mysql://ser:heslo@localhost/ser0_9_7"
modparam("auth_db|uri_db|usrloc|domain", "db_url", "mysql://ser:heslo@localhost/ser0_9_7")
But despite that ser try too connect to the "ser" database:
stateless - initializing
0(0) Maxfwd module- initializing
textops - initializing
0(0) AVPops - initializing
acc - initializing
0(0) INFO: udp_init: SO_RCVBUF is initially 109568
0(0) INFO: udp_init: SO_RCVBUF is finally 262142
1(0) INFO: fifo process starting: 3499
1(0) new_connection(): Access denied for user 'ser'@'localhost' to database 'ser'
1(0) db_init(): Could not create a connection
1(0) ERROR: acc_db_init: unable to connect to the database
1(0) init_mod_child(): Error while initializing module acc
1(0) ERROR: open_uac_fifo: init_child failed
1(0) starting fifo server failed
1(0) INFO: signal 15 received
> On Thu, Dec 28, 2006 at 02:14:18PM +0100, TZieleniewski wrote:
>
> > Ok but I generalny dont want to install ser I just want to compile it
> > and then have two different instances of ser on the same machine
> > (different releases)<br>
> > gen_ha1.c and gen_ha1.d are in utils/gen_ha1 directory , there is a
> > makefile included will it work if I will invoke make in that directory?<br>
>
> yep, it will works. Just compile and change the path to gen_ha1 in
> ser_mysql.sh.
>
>
> > <br>
> > Tomasz<br>
> > </body>
> > </html>
>
> --
> Alexandr Dubovikov * baron@iRC RusNet * mailto:shurik@start4.info
> AD1-UANIC * ICQ: 122351182 * http://www.start4.info
Hi,
I've configured my radius + mysql and openser. Now openser is sending
accounting packet to radius server and I'm able to see accounting packets
coming to my radius server but the problem is : Its sending the
Acct-Status-Type = Start
Service-Type = Sip-Session
Sip-Response-Code = 200
Sip-Method = Ack
packet twice
and then it shows
rlm_radutmp: Login entry for NAS august port 5060 duplicate
and then two stop packet:
Acct-Status-Type = Stop
Service-Type = Sip-Session
Sip-Response-Code = 200
Sip-Method = Bye
and then it shows
rlm_sql (sql) in sql_accounting: stop packet with zero session length
and after second stop packet it shows
rlm_radutmp: Logout for NAS august port 5060, but no Login record
please help.
thanks
arun
I wrote this message a few days ago:
http://openser.org/pipermail/devel/2006-December/005103.html
I am sorry for the lack of informations I gave, I could investigate a little bit about it. Here is the full context:
When an INVITE comes, I dispatch and t_relay it to a server.
If the transaction makes an error, I wrote in the configuration to manage this whith a failure route.
In this failure route, I dispatch and t_relay the transaction to a server for an other service.
And then appears an strange error :
* with an openser compiled with the default flags, the UDP that received the last UDP packet infinitely loops on the "sched_yield" function, in the "tsl" function in fastlock.h.
* with an openser compiled with flags that make him use pthread for locking purposes, the UDP process hangs, while trying to get a mutex.
It appears I forgot a call to append_branch in the failure route. Maybe the process tried to get the same lock twice.
Is it known for OpenSER 1.1.0? If it is, is it corrected in later stable releases ?
Thanks a lot for your answer!
JF Smigielski.
________________________________________________________________________
iBELGIQUE, exprimez-vous !
http://web.ibelgique.com/