[SR-Users] Private IP in SDP packet headers

2015-06-04 Thread Alex
Hello! Please help to fix problem with sdp headers UAC Inet -> (X.X.X.X) Kamailio (192.168.30.250) -> Asterisk (192.168.30.2) When i call from UAC to 9002 i received INVITE/SDP from kamailio SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.52:27080 ;received=10.10.101.50;branch=z9hG4bK-d8754z-

[SR-Users] Private IP in SDP packet headers

2015-06-05 Thread Alex
Hello! Please help to fix problem with sdp headers UAC Inet -> (X.X.X.X) Kamailio (192.168.30.250) -> Asterisk (192.168.30.2) When i call from UAC to 9002 i received INVITE/SDP from kamailio SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.52:27080 ;received=10.10.101.50;branch=z9hG4bK-d8754z-

Re: [SR-Users] 503 on DB Error

2011-12-12 Thread Alex Hermann
an error_route block when a DB error occurs. Maybe with the proper return stack setup so the admin is able to return to the statement following the failed db query if he doesn't want to end the processing with some failure reply. -- Greetings, Alex Hermann

Re: [SR-Users] source port used for forwarded requests

2011-12-15 Thread Alex Balashov
forwarded by Kamailio with source address IP2 ? The reason I ask is because Asterisk is setup to trust all calls arriving from IP2 but not IP1. Yes, this is the function of force_send_socket() and/or $fs. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA

Re: [SR-Users] source port used for forwarded requests

2011-12-15 Thread Alex Balashov
Maybe, if I understand you correctly, the 'advertised_address' and/or 'advertised_port' settings are the thing for you? -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evar

Re: [SR-Users] Load Balancing

2011-12-28 Thread Alex Balashov
tp://www.kamailio.org/docs/modules/3.2.x/modules_k/rtimer.html Store the results in 'htable' or some other data structure, and then check it when routing calls. And that's all there is to it. :-) Now you can implement skills-based routing or anything else esoteric, because the

Re: [SR-Users] Is t_on_failure with uac_req_send possible?

2012-01-16 Thread Alex Balashov
It is, unfortunately, not possible. The uac_req_send() requests fly under the radar of TM state. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite

Re: [SR-Users] Homer SIP Capture Setup Question

2012-01-16 Thread Alex Balashov
tly -- e.g. t_relay(). -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ ___ SIP Express Router (SER) and Kamailio (OpenSER

Re: [SR-Users] redirect client to keep original ruri

2012-01-25 Thread Alex Balashov
t URI in the destination set instead, i.e. $du, not $ru. That will cause it to be relayed to the redirect destination on the network and transport level, but the logical target will remain the same. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA

Re: [SR-Users] rpid to from header.

2012-01-25 Thread Alex Balashov
On 01/25/2012 12:22 PM, David wrote: One of my upstream gateways does not support rpid, so I want to rewrite the from header from the rpid. is just a matter if setting $fU = $rpid? No, $fu/$fU/$fd/etc. are not mutable. What you want is uac_replace_from(), in the 'uac' module

Re: [SR-Users] Kamailio for Wholesale Termination

2012-01-26 Thread Alex Balashov
Sure, you can do that. That's probably one of its most common applications. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA

Re: [SR-Users] AVPs vs Variables

2012-01-27 Thread Alex Balashov
AVPs. If you're pulling data out of SQL queries and using it immediately, in the course of processing the same SIP message, just use $var()s. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961

Re: [SR-Users] Selects vs PVs

2012-01-28 Thread Alex Balashov
e was painstakingly thumbed out on my mobile, so apologies for brevity, errors, and general sloppiness. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On Jan 28, 2012, at 3:

Re: [SR-Users] Using forward(); with PVs

2012-01-28 Thread Alex Balashov
st use the request URI to guide the request: $rd = "xxx.xxx.xxx.xxx"; $rp = 5060; forward(); Like t_relay(), by default, forward() will consume the RURI for routing on the network and transport level as well. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree

[SR-Users] xmlops/xpath access of multiple nodes

2012-01-30 Thread Alex Balashov
r(i) = $var(i) + 1; } However, obviously, that's not it. So what's the right way to do it? My desire is to buffer data from these nodes into an AVP array. As you might guess, it's a route set over which I need to serially fork. Thanks! -- Alex -- Alex Balashov - Principal Evaris

Re: [SR-Users] [newbie] questions

2012-01-30 Thread Alex Balashov
ce or extensive pedagogical surveys. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evarist

Re: [SR-Users] [newbie] questions

2012-01-30 Thread Alex Balashov
the technology yourself, but recognise that it will be a slow and incremental process, and nobody can just impart, in a gestalt sort of way, the entire universe of necessary knowledge up-front, or procure commercial help, if efficiency/speed is the primary concern. -- Alex -- Alex Balashov - Pri

Re: [SR-Users] [newbie] questions

2012-01-30 Thread Alex Balashov
ain lack of pragmatism, or at the very least, experience with such forums. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ _

Re: [SR-Users] [newbie] questions

2012-01-30 Thread Alex Balashov
in the recombination of Kamailio with the original SER, to leverage the best of both worlds. You can think of sip-router as a "kernel" and Kamailio as a particular packaging/distribution of it. For all practical purposes, they are the same thing, as far as you should be concerned. In

Re: [SR-Users] Store auth username in registrations

2012-02-07 Thread Alex Balashov
errors. Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com On Feb 7, 2012, at 8:48 PM, Spencer Thomason wrote: > Hello, > I have clients

Re: [SR-Users] Store auth username in registrations

2012-02-07 Thread Alex Balashov
On 02/07/2012 08:59 PM, Spencer Thomason wrote: Can I replace the To: username and then call save(): No, but check this out: http://www.kamailio.org/docs/modules/3.2.x/modules_k/registrar.html#id2540034 -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200

Re: [SR-Users] Topoh hiding prefixes

2012-02-17 Thread Alex Balashov
Regardless, the contact URI is something sent back to the UA to tell it how to communicate with the GW. In the overall scheme of your call flow, no matter the media, it is a "purely internal" attribute. -- This message was painstakingly thumbed out on my mobile, so apologies for b

Re: [SR-Users] Topoh hiding prefixes

2012-02-17 Thread Alex Balashov
On 02/17/2012 10:06 AM, Efelin Novak wrote: Hi Alex, thanks for the answer. My customer is on the SIP side. So my customer sees a prefix of my PSTN gateway in the contact header. Oh, I see. So, the UA is your customer, and the prefix is added by the proxy? Sequential requests are being

Re: [SR-Users] Topoh hiding prefixes

2012-02-17 Thread Alex Balashov
is provided by the UAS for sequential requests. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Re: [SR-Users] Topoh hiding prefixes

2012-02-17 Thread Alex Balashov
erent r-uri that the contact he sent in 200OK. I am unable to understand this statement. However, the client does not receive ACKs. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.ev

Re: [SR-Users] integration kamailio-sems

2012-02-20 Thread Alex Balashov
offer that option. append_hf("P-App-Param: ...\r\n"); -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://

Re: [SR-Users] Kamailio Shutdown when received a packet without RR

2012-02-24 Thread Alex Balashov
My guess would be that it shuts down because a child process exited abnormally, because it crashed. :) -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http

Re: [SR-Users] Dropping 183 and sending 180

2012-02-27 Thread Alex Balashov
Fabian, You may want to take this approach instead: http://www.kamailio.org/docs/modules/3.2.x/modules/textopsx.html#change_reply_status -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http

Re: [SR-Users] How to do accounting for Kamailio-generated BYEs?

2012-02-27 Thread Alex Balashov
They don't appear in the acc table. In the loose_route() section of the config script, set the accounting flag for BYEs, e.g. if(is_method("BYE")) setflag(xx); -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel:

Re: [SR-Users] obtaining htable array index

2012-02-28 Thread Alex Balashov
trying to achieve? -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ ___ SIP Express Router

Re: [SR-Users] obtaining htable array index

2012-02-28 Thread Alex Balashov
$(avp(s:route_set)[$avp(s:route_set_idx]) = ... $avp(s:route_set_idx) = $avp(s:route_set_idx) + 1; Then, I'd just iterate through it using serial forking. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-40

Re: [SR-Users] Rewrite $tU

2012-03-07 Thread Alex Balashov
__ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303

Re: [SR-Users] Rewrite $tU

2012-03-07 Thread Alex Balashov
On 03/07/2012 01:41 PM, Dani Popa wrote: I think you should use uac_replace_from/uac_replace_to. http://www.kamailio.org/docs/modules/3.2.x/modules_k/uac.html Where do you see uac_replace_to()? :) -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta

Re: [SR-Users] LCR

2012-03-20 Thread Alex Balashov
humbed out on my mobile, so apologies for brevity and errors. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com On Mar 19, 2012, at 2:48 PM, Je

Re: [SR-Users] modify FROM field in the "failure_route" block

2012-03-22 Thread Alex Balashov
h(); route(STUFF); t_relay(); } route[STUFF] { uac_replace_from(...); } -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://

Re: [SR-Users] Accessing #!define "variables" from within lua

2012-03-23 Thread Alex Balashov
= "1.2.3.4" descr "IP address" $sel(cfg_get.my project.local_ip) Or SER-style: @cfg_get.my project.local_ip You can evaluate those in Lua, right? -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030 Tel: +1-678-954-0671 Web: htt

Re: [SR-Users] modify FROM field in the "failure_route" block

2012-03-23 Thread Alex Balashov
I am going to have to go with the "upgrade" crowd in this one. Running OpenSER 1.3 at this point is like running a libc5-based Linux distro. Almost no advice or discussion is relevant to it because there have been such tectonic, generational shifts since. -- Alex Balashov - Principa

Re: [SR-Users] Authentication on loose_route();

2012-03-23 Thread Alex Balashov
you should do this, that is a controversial matter. I suppose that the security-maximising approach would be to challenge all requests, but it invites problems with many endpoints. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030 Tel: +1-678

Re: [SR-Users] Accessing #!define "variables" from within lua

2012-03-24 Thread Alex Balashov
2.3.4 # Exportable symbol: myproject.ip = "MYPROJECT_IP" descr "..." #!endif Doesn't that make much more sense, in terms of what these directives were really intended for? -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030

Re: [SR-Users] how to configure Kamailio in ECHO mode

2012-03-29 Thread Alex Balashov
Can you elaborate on what that means? If you are talking about acoustic echo, it's not possible. Kamailio is a proxy / SIP server, it does not handle media or answer calls or anything like that. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlant

Re: [SR-Users] how to configure Kamailio in ECHO mode

2012-03-29 Thread Alex Balashov
No, it's not possible. I think you have the wrong idea about what Kamailio is. Kamailio neither receives nor produces audio at all. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web:

Re: [SR-Users] how to configure Kamailio in ECHO mode

2012-03-29 Thread Alex Balashov
Probably a user agent that is actually an endpoint, like a PBX or media server. You should take a look at Asterisk or Freeswitch. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http

Re: [SR-Users] Installing in a non-standard path

2012-04-07 Thread Alex Balashov
it in kamailio,cfg, and in any init scripts. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com Daniel Gonzalez wrote: >Hello, >

Re: [SR-Users] Variable $fu Kamailio 3.2

2012-04-09 Thread Alex Balashov
$fu is not mutable. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com "Gilbert T. Gutierrez, Jr." wrote: >I wrote the

Re: [SR-Users] SER or Kamailio

2012-04-10 Thread Alex Balashov
My perception is that SER is something like a kernel, but Kamailio a user-oriented distribution and ecosystem wrapper around it that serves to "practicalise" it in an applied way. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 3003

[SR-Users] Failed shared memory allocation even though there's enough free memory

2012-04-16 Thread Alex Hermann
m:max_used_size = 268048584 shmem:free_size = 263613168 shmem:fragments = 62156 This is on 1.5.x, any suggestion on why it keeps failing and how to prevent this error? -- Greetings, Alex Hermann ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-use

Re: [SR-Users] testing the value of $si

2012-04-27 Thread Alex Balashov
It should work. What are your symptoms that it doesn't? -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com x-kamai...@sidell.org wrote: >How do I

Re: [SR-Users] detect retransmission messages...

2012-05-09 Thread Alex Balashov
t_check_trans() generally does the trick. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexbalashov.com Vineet Menon wrote: >Hi, > >How do we detect a m

Re: [SR-Users] allow_address failed initialize permissions

2012-05-23 Thread Alex Balashov
It wants the address table to be present in the database, regardless of whether you intend to use it. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA

Re: [SR-Users] SIP Client for iphone

2012-06-01 Thread Alex Balashov
This is wildly off-topic for the list. That said, I recommend Brian. -- This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030 Tel: +1-678-954-0670 Fax: +1

Re: [SR-Users] SIP Client for iphone

2012-06-01 Thread Alex Balashov
I do, but autocorrect had other ideas. Bria indeed. :-) -- This message was painstakingly thumbed out on my mobile, so apologies for brevity and errors. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Atlanta, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892

Re: [SR-Users] multiple t_on_branch[]

2012-06-01 Thread Alex Balashov
Vitaliy: Short answer: no. You can only have one branch route. However, there may be other means of accomplishing the same goal. Check out, for example, the onsend_route. -- Alex On 06/01/2012 04:08 AM, Vitaliy Aleksandrov wrote: Hi all, Does kamailio allow to configure more than one

[SR-Users] topoh - capturing encrypted values

2012-06-13 Thread Alex Balashov
in script? Thanks, -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ ___ SIP Express Router

Re: [SR-Users] Conditionnal hunting with usrloc?

2012-06-15 Thread Alex Balashov
earth are you using SER 0.9.9? That's ancient. It's basically Jurassic. Newer versions of Kamailio/sip-router support forking to multiple contacts. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-40

Re: [SR-Users] Conditionnal hunting with usrloc?

2012-06-15 Thread Alex Balashov
27;origine- De : sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] De la part de Alex Balashov Envoyé : vendredi 15 juin 2012 17:26 À : sr-users@lists.sip-router.org Objet : Re: [SR-Users] Conditionnal hunting with usrloc? On 06/15/2012 11:19 AM, Igor Potjevlesch

Re: [SR-Users] Releasing v3.3.0 later today

2012-06-18 Thread Alex Balashov
Fabulous new functionality! Very world-changing! Thanks! -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com

[SR-Users] rtimer question

2012-06-19 Thread Alex Balashov
re a practical limit? Finally, is there 100% assurance that 'mqueue' is safe to consume for multiple rtimer processes, possibly ones tripping over each other due to unpredictable delays? Or is it designed only to provide blocking mutex for data passed from a SIP worker thread to a differe

Re: [SR-Users] $200 bounty

2012-06-20 Thread Alex Balashov
mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.

Re: [SR-Users] $200 bounty

2012-06-20 Thread Alex Balashov
This isn't in the business list, for one. I just thought I'd help you out with the opening pricing strategy. On 06/20/2012 02:36 PM, copycall wrote: alex, i appreciate your response. perhaps you can give me your price list for kamailio services? a la carte and table d'h

Re: [SR-Users] $200 bounty

2012-06-20 Thread Alex Balashov
On 06/20/2012 02:38 PM, Fred Posner wrote: I know a great bakery that can offer dessert kamailio pricing. Generally, $6/portion starting. What's the going rate for the Millenium Falcon cake these days? :-) -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suit

Re: [SR-Users] $200 bounty

2012-06-20 Thread Alex Balashov
On 06/20/2012 02:51 PM, copycall wrote: is the list designed for alex balashov to get rich? You're right, all this talk of $200 and riches! It's beyond the wildest dreams of avarice! Actually, this list is not designed for anyone to get rich. It has an explicit non-commerc

Re: [SR-Users] $200 bounty

2012-06-20 Thread Alex Balashov
tions. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ ___ SIP Express Router (SER) and Kam

Re: [SR-Users] how to talk across domains, my domain to say, iptel.org

2012-06-29 Thread Alex Balashov
Note that from a security point of view, this is not necessarily a desirable trait, without appropriate programmatic restrictions and/or ACLs.  -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http

[SR-Users] usrloc concurrency

2012-07-09 Thread Alex Balashov
collide in some sort of race condition. Would db_mode 2 fix? Would anything fix? Is this even the problem? -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com/, http://www.alexba

Re: [SR-Users] usrloc concurrency

2012-07-10 Thread Alex Balashov
p would be to turn up debug logs, but the problem is that this issue is extremely difficult to consistently reproduce, which makes me think there is some sort of exotic race condition afoot. -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA

Re: [SR-Users] Adding "make menuconfig"

2012-07-14 Thread Alex Balashov
On 07/14/2012 04:03 AM, aft wrote: Adding a menuconfig target seems a trivial task for anyone who know kamailio build system well plus some intro to ncurses programming. I would just do it using 'dialog' and skip the direct ncurses interfaces. -- Alex Balashov - Principal Evaris

[SR-Users] Topoh address

2012-07-17 Thread Alex Balashov
A whole ago, it was mentioned on the list that there was some bug or issue in Topoh that precluded the use of the actual host IP of the proxy as the Topoh spoof address.  Is that still true in 3.3? Or has that been fixed some time ago?  Thanks! -- Alex -- Sent from my Samsung mobile, and

[SR-Users] rtimer execution period - round two

2012-07-23 Thread Alex Balashov
processing. Thus, my impression is that the execution time of the rtimer task is bounded by the interval, and that the core kills the forked rtimer task currently running prior to starting another one. Can you shed some light? Thanks! -- Alex -- Alex Balashov - Princi

Re: [SR-Users] rtimer execution period - round two

2012-07-23 Thread Alex Balashov
I am wondering if the execution time of a route is somehow bounded in action.c/run_actions(). Unfortunately, I don't enough about how it works to figure it out. On 07/23/2012 08:38 PM, Alex Balashov wrote: Hi Daniel, I wanted to go back to this thread for a minute: http://list

Re: [SR-Users] rtimer execution period - round two

2012-07-23 Thread Alex Balashov
On 07/23/2012 08:38 PM, Alex Balashov wrote: mq_pv_free("account_write"); This is a typo, btw. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.

Re: [SR-Users] rtimer execution period - round two

2012-07-23 Thread Alex Balashov
in/kamailio[26132]: INFO: Presented time gap: 1 So, something is definitely interrupting the possibility of continuous execution of these rtimer tasks. -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961

Re: [SR-Users] rtimer execution period - round two

2012-07-23 Thread Alex Balashov
diminuendo-1 /usr/local/sbin/kamailio[26254]: INFO: Presented time gap: 1 Shouldn't that while() loop in the script run to infinity? (max_while_loops is set to 0) On 07/23/2012 09:12 PM, Alex Balashov wrote: I did an experiment to try to simplify the problem, and rule out mque

Re: [SR-Users] rtimer execution period - round two

2012-07-23 Thread Alex Balashov
R: [timer_proc.c:94]: Bottomed out of timer loop Jul 23 21:59:32 diminuendo-1 /usr/local/sbin/kamailio[2687]: ERROR: [timer_proc.c:99]: Execution gap: 5 There is definitely something dependably interrupting the execution once in a while (every 5 sec). On 07/23/2012 09:23 PM, Alex Balash

Re: [SR-Users] rtimer execution period - round two

2012-07-23 Thread Alex Balashov
nts? On 07/23/2012 10:02 PM, Alex Balashov wrote: Yeah, something's going on interrupting the execution of the route. I set the interval to 1: modparam("rtimer", "timer", "name=test;interval=1;mode=1") And then added this to the infinite for() loop in

Re: [SR-Users] rtimer execution period - round two

2012-07-23 Thread Alex Balashov
On 07/23/2012 08:38 PM, Alex Balashov wrote: route[ACCT_WRITER] { while(mq_fetch("acct_write")) { # Some stuff to write $mqv(...) values to PostgreSQL. ... sql_query("ca", "SELE

Re: [SR-Users] Cant make from_uri, request_uri work for LCR module

2012-07-24 Thread Alex Balashov
When calling load_gws(), try putting $rU and $fu in double quotes, e.g. "$rU" rather than $rU bare.  -- Alex -- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce d

Re: [SR-Users] rtimer execution period - round two

2012-07-24 Thread Alex Hermann
On Tuesday 24 July 2012 04:46:43 Alex Balashov wrote: > So, perhaps my issue comes down to the while() loop breaking before the > queue is truly empty. That is, unless those thousands of records are > somehow showing up between the while() condition evaluation and my log > stat

Re: [SR-Users] rtimer execution period - round two

2012-07-24 Thread Alex Balashov
On 07/24/2012 04:20 AM, Alex Hermann wrote: On Tuesday 24 July 2012 04:46:43 Alex Balashov wrote: So, perhaps my issue comes down to the while() loop breaking before the queue is truly empty. That is, unless those thousands of records are somehow showing up between the while() condition

Re: [SR-Users] Error Loading db_postgres.so on Startup

2012-07-24 Thread Alex Balashov
Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892

Re: [SR-Users] Error Loading db_postgres.so on Startup

2012-07-24 Thread Alex Balashov
/local/kamailio-3.2/lib64/kamailio/libsrdb1.so.1 (0x2b1e333f1000) libc.so.6 => /lib64/libc.so.6 (0x2b1e33615000) /lib64/ld-linux-x86-64.so.2 (0x003961c0) Thanks Nathaniel On 7/25/2012 1:02 AM, Alex Balashov wrote: ldd /usr/local/kamailio-3.2/lib64/kamaili

Re: [SR-Users] Cleanup location table on failed NAT ping

2012-07-25 Thread Alex Balashov
/nathelper/whatever is doing the pinging expose an event route for repeatedly failed NAT pings, and populating a little bit of context, like the AOR that was being pinged? This would allow the user to intervene manually in the manner of his choosing, e.g. DELETE FROM location via sqlops? -- Alex

Re: [SR-Users] rtimer execution period - round two

2012-07-25 Thread Alex Balashov
others can consume or add to it. Not being in office for few days, I cannot run tests myself ... do you have heavy writers? Can you add few more timer processes to consume from queue and see what happens? I figured it out; Alex Hermann nailed it. The number of accounting events I was generating

Re: [SR-Users] rtimer execution period - round two

2012-07-25 Thread Alex Balashov
On 07/25/2012 03:32 AM, Alex Balashov wrote: On 07/24/2012 02:59 AM, Daniel-Constantin Mierla wrote: The way mqueue is consuming items from queue does not ensure queue locking until all items are consumed. So the first item there is removed from queue and cloned in private memory where is

Re: [SR-Users] Overload Control

2012-07-25 Thread Alex Balashov
istinfo/sr-users -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/ ___ SIP Express Router

Re: [SR-Users] Overload Control

2012-07-25 Thread Alex Balashov
(e.g. rate-limits, window-based control, loss-rate enforcement). I suppose the try-again-after method would be of interest as well. -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Wednesday, Ju

Re: [SR-Users] Overload Control

2012-07-25 Thread Alex Balashov
that appear in RFC 6357 (e.g. rate-limits, window-based control, loss-rate enforcement). I suppose the try-again-after method would be of interest as well. -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Bal

Re: [SR-Users] Add Own Plug-in

2012-07-31 Thread Alex Balashov
timal way to achieve what you want. There may already be facilities to accommodate your requirements. So, a useful start to the conversation might be: what do you want to accomplish? -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Te

[SR-Users] cannot allocate memory & increase shared memory

2012-07-31 Thread Alex Solt
Hi, We are getting "cannot allocate memory" error in the log file. I was wondering which one is the right way to increase the shared memory: 1) adding the following to /etc/openser/openserctl STARTOPTIONS="-m 128" 2) modify the following in /etc/default/openser MEMORY=1024 Thanks,AS

Re: [SR-Users] Regarding - Add your own module

2012-08-01 Thread Alex Balashov
Does TimesTen have a UnixODBC connector? If so, you can use existing Kamailio modules.  -- Alex -- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106

Re: [SR-Users] Regarding - Add your own module

2012-08-01 Thread Alex Balashov
What about it? On 08/01/2012 08:09 PM, Ananth Kollipara wrote: Yes, it does. What about dynamic routing? Regards, Ananth On Thu, Aug 2, 2012 at 5:29 AM, Alex Balashov mailto:abalas...@evaristesys.com>> wrote: Does TimesTen have a UnixODBC connector? If so, you can use ex

Re: [SR-Users] Regarding - Add your own module

2012-08-01 Thread Alex Balashov
;302", "Moved Temporarily"); -- Alex -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Re: [SR-Users] Regarding - Add your own module

2012-08-01 Thread Alex Balashov
2 response, proxy shall use the contact header and then forwards the message to the correct backend server. Do we have support for this? On Thu, Aug 2, 2012 at 5:45 AM, Alex Balashov mailto:abalas...@evaristesys.com>> wrote: On 08/01/2012 08:12 PM, Ananth Kollipara wrote: Which mod

Re: [SR-Users] Regarding - Add your own module

2012-08-02 Thread Alex Balashov
e data yourself, and manually fork through the contacts as you please. On 08/02/2012 04:55 AM, Ananth Kollipara wrote: Alex, uac_redirect doesn't work for me. Please see the below link http://blog.gmane.org/gmane.comp.voip.ser/month=20050201/page=10 In the above link, check the email fro

Re: [SR-Users] Getting started with Kamailio

2012-08-02 Thread Alex Balashov
vial contingent of significant female contributors, definitely in higher proportion compared to the median open-source project. In the case of Yate, that's just coincidence. Romania is relatively famous for having a higher proportion of female programmers. It has excellent foundation

Re: [SR-Users] RTP over TCP

2012-08-05 Thread Alex Balashov
Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http

Re: [SR-Users] RTP over TCP

2012-08-05 Thread Alex Balashov
) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com

Re: [SR-Users] B2BUA issues

2012-08-06 Thread Alex Balashov
o (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Fax: +1-404-961-1

Re: [SR-Users] B2BUA issues

2012-08-06 Thread Alex Balashov
is a signaling B2BUA. -- Alex -- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 Decatur, GA 30030 Tel: +1-678-954-0670 Web: http://www.evaristesys.com

Re: [SR-Users] Kernel Droping SIP packet

2012-08-06 Thread Alex Balashov
You might consider pasting the actual output of: iptables -L -n This lists the actual rules straight from netfilter at runtime. I wouldn't worry too much about what some distro-specific config file or script says. Real truth comes from iptables itself.  -- Alex -- Sent from my Sa

Re: [SR-Users] B2BUA issues

2012-08-06 Thread Alex Balashov
For your relatively narrow, specific applications in your topology, no. You'd be better off installing SEMS per se.  -- Alex -- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard. Alex Balashov - Principal Evariste Systems LLC

  1   2   3   4   5   6   7   8   9   10   >