osdir.com
mailing list archive

Subject: Re: Multi Call-Leg Accounting. - msg#00401

List: voip.openser.user

Date: Prev Next Index Thread: Prev Next Index
Hi Ricardo,

you decide what pairs you should log in a multi leg call - you have this liberty from the script. What's for sure is that for each leg the (dst,src) pair will be logged (again, you decide what you put in).

my opinion is that it should be (A,B) and (B,C).
Also see that on the list was a similar email you might find useful (on or two days ago).

regards,
bogdan

Ricardo Martinez wrote:

Hello.
Is someone using the parameter multi_leg_eabled in the accounting
module?

modparam("acc", "multi_leg_enabled", 1)

I'm trying to account a forwarded call, as the documents explain.
If "A" call to "B", but "B" has his phone forwarded to "C" , i need
to account the call A to B and then B to C

Can someone give me an example of this feature ?
How i must construct the pair : (A,B) and (B,C) ??

Thanks in advance

Best Regards

Ricardo Martinez






_______________________________________________
Users mailing list
Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx
http://openser.org/cgi-bin/mailman/listinfo/users






Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: multi call legs

Hi, yes, that's the right way to use it - multi leg accounting will log same acc record for each call leg, but having the src and dst different (reflecting what you configured from the script). Normally the multi leg accounting should be visible only for INVITE (as initial request). regards, bogdan Fedor Kiselev wrote: Hi All, I have the following configuration: modparam("acc", "log_level", 1) modparam("acc", "log_flag", 1) modparam("acc", "multi_leg_enabled", 1) modparam("acc", "src_leg_avp_id", 110) modparam("acc", "dst_leg_avp_id", 111) modparam("acc", "db_flag", 1) modparam("acc", "log_missed_flag", 1) modparam("acc", "db_missed_flag", 1) In the main route: avp_printf("i:110", "<$fu>"); avp_printf("i:111", "<$ru>"); setflag(1); In the failure route: if (isflagset(26) && t_check_status("408") ) { avp_pushto("$ruri", "s:fwd_noanswer"); resetdsturi(); lookup("location"); resetflag(26); avp_printf("i:110", "<$fu>"); avp_printf("i:111", "<$ru>"); t_relay(); } After making a call which has been forwarded I have several similar strings in mysql but with the different src_leg and dst_leg. Is it the right behavior of multi leg accountng ? -------------- | sip_method | +------------+ | INVITE | | INVITE | | INVITE | | INVITE | | ACK | | ACK | | BYE | +------------+ _______________________________________________ Users mailing list Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx http://openser.org/cgi-bin/mailman/listinfo/users

Next Message by Date: click to view message preview

Re: Force RTP stream to go through mediaproxy

Hi, most probably, in your script, you use mediaproxy only if NAT was detected (and a flag was set). So, you do not have to test the flag (to use mediaproxy only for nated calls), but call mediaproxy for all calls. regards, bogdan Sam Lee wrote: Can I don't bother about the NAT test and push everything thru mediaproxy ? I can't quite understand why are there different NAT_Test , and the example configs uses almost all of them... Regards, Sam -----Original Message----- From: Bogdan-Andrei Iancu [mailto:bogdan-/qk4c3+6r1L0ABVSK+4LOw@xxxxxxxxxxxxxxxx] Sent: Wednesday, April 12, 2006 5:04 PM To: Sam Lee Cc: users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx Subject: Re: [Users] Force RTP stream to go through mediaproxy Hi, maybe you do not perform the proper nat tests. see: http://openser.org/docs/modules/1.0.x/mediaproxy.html#AEN113 regards, bogdan Sam Lee wrote: Hi all, I got the openser and mediaproxy up working and fine. The mediaproxy is able to work with certain NATED configurations, but not all. When i tried to check what is the problem , those NATED configurations that were not working was found not to have made use of the mediaproxy, which causes the problem. What i am trying to do now, but without much success, is to force all the RTP media to go through the mediaproxy. Is there any way i can force all the RTP media to go through the mediaproxy without all the client_nat_test stuff...? Any hints will be much appreciated ! Regards, Sam ----------------------------------------------------------------------- - _______________________________________________ Users mailing list Users-WLQjAxnOB31AfugRpC6u6w@xxxxxxxxxxxxxxxx http://openser.org/cgi-bin/mailman/listinfo/users

Previous Message by Thread: click to view message preview

Multi Call-Leg Accounting.

Hello. Is someone using the parameter multi_leg_eabled in the accounting module? modparam("acc", "multi_leg_enabled", 1) I'm trying to account a forwarded call, as the documents explain. If "A" call to "B", but "B" has his phone forwarded to "C" , i need to account the call A to B and then B to C Can someone give me an example of this feature ? How i must construct the pair : (A,B) and (B,C) ?? Thanks in advance Best Regards Ricardo Martinez

Next Message by Thread: click to view message preview

question about adding users

I am now trying to "add users" but i don't understand why username requires domain name and the implication down the road. if i issue the command: openserctl add 2002 spa3k user2-0TfHo3WR3gvENDDW/OBlCA@xxxxxxxxxxxxxxxx I get the response: "domain unknown: use usernames with domain or set default domain in SIP_DOMAIN" why does it expect my username to be 2002-0TfHo3WR3gvENDDW/OBlCA@xxxxxxxxxxxxxxxx? does this therefore mean the UAs will have to have their username field set to username@domain instead of just username. What's the relevance of capturing the email address?
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by