Re: [OpenSIPS-Users] Contact header modifications

2014-09-29 Thread Răzvan Crainea
Hi, Maciej! The behavior you are describing is exactly how OpenSIPS should behave, so it's nothing wrong with your setup. The second affirmation is also right, if you want to change the Contact header, you have to use topology-hiding, either the one provided by the dialog module, or the B2B

[OpenSIPS-Users] CDRtool and perfomance with short calls( 3 sec )

2014-09-29 Thread Pavel Eremin
Hi, All! I am using CDRTool with prepaid and when reached 15 calls per second i have low performance. As I understood CDRtool engine gets ALL active session and recalc MaxSessionTime for ALL calls when new call happens? so if i have many short calls CDRTool has heavy load. I don't want to

[OpenSIPS-Users] callcontrol 2.1.0

2014-09-29 Thread Pavel Eremin
Hi, All! Trying to use callcontrol 2.1.0 and always get prepaid = None. I can't see that callcontrol send request to CDRTool Engine? There is my logs: Sep 29 11:49:39 fiber4 call-control[15122]: Got request: init: callid= 303-7439@103.239.147.16 from=pavel sip:pa...@sip.fiberpipe.in:5060 ruri=

Re: [OpenSIPS-Users] Contact header modifications

2014-09-29 Thread Maciej Bylica
Hi Răzvan, Thanks for clarifications. Maciej. 2014-09-29 10:23 GMT+02:00 Răzvan Crainea raz...@opensips.org: Hi, Maciej! The behavior you are describing is exactly how OpenSIPS should behave, so it's nothing wrong with your setup. The second affirmation is also right, if you want to

Re: [OpenSIPS-Users] callcontrol 2.1.0

2014-09-29 Thread Venkatesh Macha
Hi pavel, Are you setting prepaid_account_flag in opensips.cfg, i think callcontrol is always treating your call as postpaid. so try to set prepaid_account_flag. Venkatesh Macha, Junior VOIP Engineer, @ sillycodes http://sillycodes.com -- View this message in context:

Re: [OpenSIPS-Users] callcontrol 2.1.0

2014-09-29 Thread Pavel Eremin
Thanks a lot! It's so simple) 2014-09-29 18:13 GMT+06:00 Venkatesh Macha linuxven...@gmail.com: Hi pavel, Are you setting prepaid_account_flag in opensips.cfg, i think callcontrol is always treating your call as postpaid. so try to set prepaid_account_flag. Venkatesh

[OpenSIPS-Users] CDRtool

2014-09-29 Thread Pavel Eremin
Hi, All! Let's dance with CDRTool I am trying to use it on heavy load system and get stack. Why in this code author match canonical number with string started by 0?(in hard way) Because of this line all calls are postpaid...:( * if

Re: [OpenSIPS-Users] CDRtool

2014-09-29 Thread Pavel Eremin
This code in rating.php... 2014-09-29 22:18 GMT+06:00 Pavel Eremin eremina@gmail.com: Hi, All! Let's dance with CDRTool I am trying to use it on heavy load system and get stack. Why in this code author match canonical number with string started by 0?(in hard way) Because of this line

Re: [OpenSIPS-Users] CDRtool

2014-09-29 Thread Tijmen de Mes
Hi, At this point in the code the call is already prepaid since the account has been found with the query: $query=sprintf(select * from %s where account = '%s',addslashes($this-prepaid_table),addslashes($CDR-BillingPartyId)); Normally if the normalized number starts with a 0 it is routed to