Re: [SR-Users] NAT Traversal Problem

2013-04-19 Thread Jagadish Thoutam
will it be work on NAT Thanks Jagan On 19 April 2013 08:40, PIERRE Laurent wrote: > Hi, > > To enable nat traversal execute RTPProxy. > > http://www.rtpproxy.org > > It supports many thousand calls > > > -- > Laurent PIERRE > > > On 18 April 2013 16:04, Ishan Sawhney wrote: > > Hi, > > > > W

Re: [SR-Users] Load balancer using dispatcher / BYE relaying

2013-04-19 Thread martian
Hi Ariel.   The problem with Your routing logic is that You don't route in-dialog messages. Basically, Your request_route should look something like this:   request_route {   # per request initial checks route(REQINIT);   # CANCEL processing if (is_method("CANCEL")) { if (t_check_trans()) t_relay(

Re: [SR-Users] Load balancer using dispatcher / BYE relaying

2013-04-19 Thread Ariel Wainer
I found the answer, for anybody reading this in the future: The asterisk at IVR was lacking of a default extension, triggering this bug: https://issues.asterisk.org/jira/browse/ASTERISK-20180 Apparently, Kamailio does not send BYE if OPTIONS returned 404. -- Ariel Wainer Contenta Mobile __

[SR-Users] Load balancer using dispatcher / BYE relaying

2013-04-19 Thread Ariel Wainer
StartFragmentHi, I'm new to Kamailio and I'm trying to setup a load balancer using Kamailio 4.0 and rtpproxy, to balance between 2 asterisk servers that provide an IVR service. I've followed several guides, and so far it seems to work along with rtpproxy, except it is not sending the BYE message b

Re: [SR-Users] Evariste Systems to drop Kamailio market, become Acme Packet VAR

2013-04-19 Thread Yang Hong
Sorry to hear this really negative news on open-source Kamailio. I want to share the following two good articles with you. Both articles shed light on the positive impact of building with SIP. The 1st good article "H.323 and SIP Becoming Legacy. XMPP and JS are the Future" April 12, 2012 The 12

Re: [SR-Users] var vs avp...

2013-04-19 Thread Carlos Ruiz Díaz
Use $var when you want to manipulate values inside a route block, for example, when you want to store a value that will live only in the scope of that route block. When the route block exits, it will be automatically deallocated. Use $avp when you want to store a value that you want to read anywhe

Re: [SR-Users] var vs avp...

2013-04-19 Thread Olle E. Johansson
19 apr 2013 kl. 16:50 skrev "Victor V. Kustov" : > В Fri, 19 Apr 2013 10:56:26 +0200 > "Olle E. Johansson" пишет: > >> - $avp is stored in transactions (in shared memory), so if you set >> them while processing a request you have them when processing >> responses and failures. > > is memory fr

Re: [SR-Users] var vs avp...

2013-04-19 Thread Victor V. Kustov
В Fri, 19 Apr 2013 10:56:26 +0200 "Olle E. Johansson" пишет: > - $avp is stored in transactions (in shared memory), so if you set > them while processing a request you have them when processing > responses and failures. is memory freeing automatically or i need to do it myself? -- SY,

Re: [SR-Users] var vs avp...

2013-04-19 Thread Victor V. Kustov
В Fri, 19 Apr 2013 14:46:00 +0200 "Olle E. Johansson" пишет: > We will certainly look into this. There are trainings, but no books > and very few guides on the web. Please feel free to contribute, > after all it is Open Source and we depend on community > contributions in order to get documentat

Re: [SR-Users] var vs avp...

2013-04-19 Thread Olle E. Johansson
19 apr 2013 kl. 14:26 skrev "Victor V. Kustov" : > В Fri, 19 Apr 2013 13:55:37 +0200 > "Olle E. Johansson" пишет: > >> Please tell me what's missing from that page and I'll update. I don't >> see anything missing myself, but I could be documentation-blind, >> having spent so much time with it.

Re: [SR-Users] NAT Traversal Problem

2013-04-19 Thread PIERRE Laurent
Hi, To enable nat traversal execute RTPProxy. http://www.rtpproxy.org It supports many thousand calls -- Laurent PIERRE On 18 April 2013 16:04, Ishan Sawhney wrote: > Hi, > > We have a solution which requires only outbound NAT on SIP calls. > > Do you have a product which would solve the NAT

Re: [SR-Users] var vs avp...

2013-04-19 Thread Alex Balashov
On 04/19/2013 08:26 AM, Victor V. Kustov wrote: What is $avp? What is $var? Whats the difference between that things? When I need use $avp? When I need use $var? Blackhole: concept model. Look, I spent more than month and make too little, 'cause two things: no concept model + megatons of outdat

Re: [SR-Users] var vs avp...

2013-04-19 Thread Victor V. Kustov
В Fri, 19 Apr 2013 13:55:37 +0200 "Olle E. Johansson" пишет: > Please tell me what's missing from that page and I'll update. I don't > see anything missing myself, but I could be documentation-blind, > having spent so much time with it. What is $avp? What is $var? Whats the difference between t

Re: [SR-Users] var vs avp...

2013-04-19 Thread Alex Balashov
That is a general - and highly valid - objection to the state of Kamailio documentation. By and large, it's a reference, with no conceptual glue, in narrative form, or methodological instruction. There is only information on how to do X, not what X is or why you would want to do it. We are tryi

Re: [SR-Users] var vs avp...

2013-04-19 Thread Olle E. Johansson
19 apr 2013 kl. 13:52 skrev "Victor V. Kustov" : > В Fri, 19 Apr 2013 11:54:18 +0300 > Juha Heinanen пишет: > >> http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables > > I think info from all comments in this thread must be included in > cookbook. Without such layer, without conceptual

Re: [SR-Users] var vs avp...

2013-04-19 Thread Victor V. Kustov
В Fri, 19 Apr 2013 11:54:18 +0300 Juha Heinanen пишет: > http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables I think info from all comments in this thread must be included in cookbook. Without such layer, without conceptual things it not 'book', just remarks on fields. -- SY,

Re: [SR-Users] var vs avp...

2013-04-19 Thread Alex Balashov
You can have arrays of $vars too, though that is probably not what you meant by "stacks". "Olle E. Johansson" wrote: > >19 apr 2013 kl. 10:43 skrev "Victor V. Kustov" : > >> Hi! >> >> whats difference $var() and $avp()? > >There's a whole set of differences. > >- $var is stored in process memo

Re: [SR-Users] Possible memory leak in parse_pai.c

2013-04-19 Thread Tais Plougmann Hansen
I had added $ai to acc log_extra like this: modparam("acc", "log_extra", "src_user=$fU;src_domain=$fd;src_ip=$si;" "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd" "p_asserted_identity=$ai;remote_party_id=$re") Once I commented out the last line, the leak vanished. Apr 17 16:55:41 gws1 /u

[SR-Users] [sr-dev] [sr-users] Problem accessing git repository

2013-04-19 Thread Mikko Lehto
2013-04-15 (Mon) 23:45 UTC +0200 Daniel-Constantin Mierla : > try with a new clone and see if it works to pull afterwards. > > Otherwise I cannot think of anything else than looking at network > traffic to see if something is wrong there. New clone seem to pull fine. Maybe we troubleshoot more

Re: [SR-Users] var vs avp...

2013-04-19 Thread Olle E. Johansson
19 apr 2013 kl. 10:54 skrev Vitaliy Aleksandrov : > On 04/19/2013 11:43 AM, Victor V. Kustov wrote: >> Hi! >> >> whats difference $var() and $avp()? >> > $var() - is bound to a kamailio process. If you set $var(xxx) for a one > request/reply, it will be available during processing other messa

Re: [SR-Users] var vs avp...

2013-04-19 Thread Olle E. Johansson
19 apr 2013 kl. 10:43 skrev "Victor V. Kustov" : > Hi! > > whats difference $var() and $avp()? There's a whole set of differences. - $var is stored in process memory. - $avp is stored in transactions (in shared memory), so if you set them while processing a request you have them when process

Re: [SR-Users] var vs avp...

2013-04-19 Thread Vitaliy Aleksandrov
On 04/19/2013 11:43 AM, Victor V. Kustov wrote: Hi! whats difference $var() and $avp()? $var() - is bound to a kamailio process. If you set $var(xxx) for a one request/reply, it will be available during processing other messages. $avp() - is bound to a transaction. If you set $avp(xxx) for an

[SR-Users] var vs avp...

2013-04-19 Thread Juha Heinanen
Victor V. Kustov writes: > whats difference $var() and $avp()? see http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://l

[SR-Users] var vs avp...

2013-04-19 Thread Victor V. Kustov
Hi! whats difference $var() and $avp()? -- SY, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.8.4-calculate GNU/Linux ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-use

Re: [SR-Users] Transformations

2013-04-19 Thread Victor V. Kustov
В Thu, 18 Apr 2013 13:56:18 +0200 Daniel-Constantin Mierla пишет: > Anyhow, I would recommend to use s.select transformation to get the > ip bytes: > > $var(i1) = $(si{s.select,0,.}); > ... > $var(i4) = $(si{s.select,4,.}); > > Then use this variables to compute the big int value. Thanks for t

[SR-Users] Planing to release v4.0.1

2013-04-19 Thread Daniel-Constantin Mierla
Hello, I am considering releasing v4.0.1 next week on Thursday. There are some issues under discussions on mailing list, they will be sorted by that time, but if you are aware of others, please report them on dev mailing list or tracker. Cheers, Daniel -- Daniel-Constantin Mierla - http://w

[SR-Users] NAT Traversal Problem

2013-04-19 Thread Ishan Sawhney
Hi, We have a solution which requires only outbound NAT on SIP calls. Do you have a product which would solve the NAT Traversal problem on the outbound SIP calls? If yes, how much would be the cost of this product? Will it support 2000 simultaneous calls? BR// Ishan_