I thought AVP stuff was database related.... this confuses me even more. I am reading the documentation you know.... constantly. Considering it looks like it was written by the people who developed OpenSER, there's a lot of implied/assumed knowledge there, and the scripting language is very high level, it's bloody difficult to work out what the documentation means.
For example... where's the definitiaion of AVP? I still can't find what an 'rpid' is.
-----Original Message-----
From: Juha Heinanen [mailto:jh@tutpro.com]
Sent: Sat 11/26/2005 9:29 PM
To: Douglas Garstang
Cc: users(a)openser.org
Subject: RE: [Users] t_check_status
Douglas Garstang said:
> I really don't even get the point of what an AVP is. Something to do with
> databases. I don't see why database interaction is needed to set a timer.
> That's crazy.
>
i don't know what is cracy, since no database interaction is needed to set
a timer. timers can be set in many different ways. read usrav
documentation.
--juha
Hello again
Imagine the following scenario:
I have a SER server working with my SIP users. Imagine that i want to offer
them the possibility of making PSTN calls. I have just made an agreement
with a termination provider and they gave me a user id, a password and the
gateway address. They told me i needed to register before making calls.. How
can i make SER register in that gateway? And then to allow the PSTN calls,
what should I do?
Jose simoes
I have read the tm documentation, many many times. I guess I don't follow, probably because I didn't write the code.
The docs for tm say that setting fr_timer_avp overrides fr_timer. So? Why does it need to be overridden? Why not just use fr_timer?
If the lcr module doesn't have any timers of it's own, then what these for...?
modparam("lcr","fr_inv_timer_avp","fr_inv_timer_avp")
modparam("lcr","fr_inv_timer",90)
modparam("lcr","fr_inv_timer_next",30)
I really don't even get the point of what an AVP is. Something to do with databases. I don't see why database interaction is needed to set a timer. That's crazy.
Doug.
-----Original Message-----
From: Juha Heinanen [mailto:jh@tutpro.com]
Sent: Sat 11/26/2005 5:38 PM
To: Douglas Garstang
Cc:
Subject: RE: [Users] t_check_status
Douglas Garstang writes:
> Why do I need to set this timer using an avp? Is this mandatory? Why?
read tm documentation.
> I find it hard to believe I need to integrate with a database to set
> a timer. Why can't I just set the other timers instead? And, as
> before, what's the relationship between them? Why don't the lcr
> timers have an effect? In fact, why are they even there? They don't
> seem to have any use.
lcr module doesn't have any timers of its own. it just uses tm timers.
> And you didn't answer my question about t_check_status. That has
> nothing to do with timers. t_relay() times out, t_check_status is
> used to check the code of the last SIP message, which was null
> because there _was no_ reply, and somehow t_check_status magically
> matches 408|500|503....?
i only responded to your lcr related question. t_check_status has
nothing to do with lcr.
-- juha
Thanks, but unfortunately there's nothing there relating to lcr, dispatcher, redundancy or failover, which I've been torturing over for a week now.
-----Original Message-----
From: Elena Ramona Modroiu [mailto:ramona@voice-system.ro]
Sent: Sat 11/26/2005 3:18 AM
To: Douglas Garstang
Cc: users(a)openser.org
Subject: Re: [Users] openser.cfg Samples
Hi,
in sources there is a directory 'examples' under the main directory.
http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/examples/
Ramona
Douglas Garstang wrote:
>Does anyone know where I could find some openser.cfg sample files? Been looking and there's absolutely squat available. (hint hint). This would be a very very useful resource...
>
>Thanks,
>Doug.
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users(a)openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>
>
Thanks for that. I'll remember for future use. Unfortunately nothing to do with the dispatcher or lcr modules or anything to do with failover or redundancy. That would have been extremely helpful.
Doug.
-----Original Message-----
From: JF [mailto:jfkavaka@gmail.com]
Sent: Sat 11/26/2005 3:03 AM
To: Douglas Garstang
Cc: users(a)openser.org
Subject: Re: [Users] openser.cfg Samples
Hi,
Check http://www.onsip.org
There's a resource called "All Config FIles for Getting Started" which
I found useful.
JF
On 11/26/05, Douglas Garstang <dgarstang(a)oneeighty.com> wrote:
> Does anyone know where I could find some openser.cfg sample files? Been looking and there's absolutely squat available. (hint hint). This would be a very very useful resource...
>
> Thanks,
> Doug.
>
>
> _______________________________________________
> Users mailing list
> Users(a)openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
Hi all,
I'm testing the LCR module and I am having problems with its
performance.
In my setup I use a call generator (sipp) to place 50 calls, 10 calls
each second - which works like a charm without any retransmissions when
NOT using LCR functionality (no load_gws()).
As soon as I add this code in my route_block
if (!load_gws()) {
sl_send_reply("500", "Server Internal Error - Cannot load
gateways");
return;
};
I am having huge performance problems. The OpenSER drops to effectivly
1 CPS. My lcr table contains only 20 entries and I have just 2 gateways
configured, so this shouldn't be a problem.
I guess I made a big mistake somewhere, since this can't be the intended
behaviour of the LCR module.
Can somebody help me?
Regards,
Stefan
Hello,
I read nathelper documentation for fix_nated_contact()
function.
We can read:" Rewrites Contact HF to contain request's
source address:port."
However when I use this function for nated agents it's
not the contact field in sip hf but the connection
information in sdp which is rewritten.
Could check what i say ?
Harry
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
Hi all,
For detection of a re-INVITE request from the script is it sufficient
to detect the presence of a to tag using has_to_tag() function?
Eg:
if (method=="INVITE" && has_to_tag()) { ... };
What about detecting a reply to a re-INVITE in an onreply_route ? Is
it doable from the script? How?
Thanks in advance for your help.
JF
Hi,
I tried the patch for synchronization of on_reply routes with the
1.0.0 release, changed the avpops module interface adding the
ONREPLY_ROUTE flag and it seems to work.
(http://openser.org/pipermail/users/2005-October/001281.html)
Any plans for global AVP support to avoid having to do this "trick"?
Thank you very much,
JF