Re: [SR-Users] Doubd about Dialplan module

2010-09-06 Thread Andrew Pogrebennyk
putting it as ^(00|\+)([1-9][0-9]+) and ^([5-9][0-9]{8}) to designate start of the string. -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip

[SR-Users] correct way to define flags in Kamailio 3.0.3

2010-10-04 Thread Andrew Pogrebennyk
. -- Sincerely, Andrew Pogrebennyk ___ 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

[SR-Users] SER-like domain attributes in Kamailio?

2010-10-04 Thread Andrew Pogrebennyk
module: http://www.mail-archive.com/sr-...@lists.sip-router.org/msg00804.html But I'm not sure what was the outcome. Same for load_attrs() and user_attrs column - it looks like there's no direct replacement for that and I have to migrate it to usr_preferences. -- Sincerely, Andrew Pogrebennyk

Re: [SR-Users] SIP Softphone with RPID and PAI

2010-11-24 Thread Andrew Pogrebennyk
scenarios too (and I have no relation to the authors whatsoever:)). -- Sincerely, Andrew Pogrebennyk ___ 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

[SR-Users] topoh, angle brackets and Contact URI params interpretation

2011-02-03 Thread Andrew Pogrebennyk
= [ / ] / / / : / / + / $ No .-* characters are allowed in the paramchar. But at least that's not causing me any problems. -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi

Re: [SR-Users] [sr-dev] topoh, angle brackets and Contact URI params interpretation

2011-02-03 Thread Andrew Pogrebennyk
On 03.02.2011 10:26, Andrew Pogrebennyk wrote: I think the topoh module should force the angle brackets. BTW it seems that parameter needs to be urlencoded, see rule 'other-param' in RFC 3261 section 25.1: From what I understand the valid form is: Contact: sip:192.168.0.107;line=sr

Re: [SR-Users] [sr-dev] topoh, angle brackets and Contact URI params interpretation

2011-02-03 Thread Andrew Pogrebennyk
into it. -- Sincerely, Andrew Pogrebennyk ___ 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

Re: [SR-Users] topoh, angle brackets and Contact URI params interpretation

2011-02-07 Thread Andrew Pogrebennyk
it for now due to traveling. If you can test it and report back would be great. When all is working fine, I will backport to 3.x branches. Thanks, Daniel -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

Re: [SR-Users] BLF using kamailio

2011-04-20 Thread Andrew Pogrebennyk
, presence, dialog. Server: kamailio (3.1.3 (i386/linux)). Content-Length: 0. -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin

Re: [SR-Users] BLF using kamailio

2011-04-20 Thread Andrew Pogrebennyk
:5060;transport=udp;+sip.instance=urn:uuid:--1000-8000-00085D10A1A6. Event: message-summary. Expires: 86400. Supported: path. User-Agent: Aastra 57i/3.2.1.43 http://3.2.1.43. Content-Length: 0. -- Sincerely, Andrew Pogrebennyk ___ SIP Express

Re: [SR-Users] SIP Trunk Usage Monitoring

2011-05-10 Thread Andrew Pogrebennyk
,$avp(s:cnt)); xlog(L_INFO, - currently, the carrier $rd has $avp(s:cnt) active outgoing calls\n); set_dlg_profile(carrierout,$rd); } -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] Kamailio + Asterisk 1.6.2 Realtime - REGFWD : 401 not authorized

2011-05-22 Thread Andrew Pogrebennyk
, Andrew Pogrebennyk ___ 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

[SR-Users] how to add RR with advertised_address in front of normal RR?

2011-05-22 Thread Andrew Pogrebennyk
interface? -- Sincerely, Andrew Pogrebennyk ___ 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

Re: [SR-Users] incorrect port 0 in reply from rtp proxy

2011-06-06 Thread Andrew Pogrebennyk
Mokhtar, could you please make sure that you are calling route(RTPPROXY) in reply route as well, as Alex suggested? On 03.06.2011 16:33, Mokhtar Bengana wrote: This is how I configured rtpproxy. Not sure why rtpproxy is not engaged both ways. Thanks for your help. -- Sincerely, Andrew

Re: [SR-Users] Questino about dialplan module

2011-06-06 Thread Andrew Pogrebennyk
QUERY=select * FROM $DIALPLAN_TABLE ORDER BY $DIALPLAN_DPID_COLUMN, $DIALPLAN_PR_COLUMN; fi $DBROCMD $QUERY ;; -- Sincerely, Andrew Pogrebennyk ___ SIP

Re: [SR-Users] [sr-dev] kamailio 3.1.3 fail to start as a service when load the ldap.so module

2011-06-21 Thread Andrew Pogrebennyk
that calls env -i (start with an empty environment), maybe this is the reason it works differently for the root and kamailio users. -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users

Re: [SR-Users] Kamailio and DTMF

2011-06-28 Thread Andrew Pogrebennyk
on Kamailio how could i go about doing it? thanking you in advance Phillip -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin

Re: [SR-Users] Kamailio and DTMF

2011-06-28 Thread Andrew Pogrebennyk
On 28.06.2011 11:18, Raúl Alexis Betancor Santana wrote: This is not fully true on the DTMF side, if you use SIP-INFO as DMTF transport, DTMF's will go throught kamailio (if configured to do so). Right - but then this is achieved through the configuration script. Andrew

Re: [SR-Users] kamailio + rtpproxy behind nat possible?

2011-06-29 Thread Andrew Pogrebennyk
advertised_port = sip both define after the line of listen=public_ip please advice. thanks. -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi

Re: [SR-Users] Set CLI.

2011-07-29 Thread Andrew Pogrebennyk
(,$avp(s:allowed_cli)); xlog(L_INFO, $ci : replaced from to $avp(s:allowed_cli)\n); } -- Sincerely, Andrew Pogrebennyk ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip

Re: [SR-Users] issue with tm callbacks / premature cancel

2011-08-01 Thread Andrew Pogrebennyk
, no luck.. -- Sincerely, Andrew Pogrebennyk ___ 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

Re: [SR-Users] issue with tm callbacks / premature cancel

2011-08-02 Thread Andrew Pogrebennyk
() before the call to t_set_fr(), still no luck. -- Sincerely, Andrew Pogrebennyk ___ 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

Re: [SR-Users] Nat problems

2011-09-02 Thread Andrew Pogrebennyk
On 09/02/2011 08:58 PM, David Zambrano wrote: After doing some traces on the network I realized that the transcoder is trying to reach the router in front of the softphone and skipping the Kamailio loadbalancer. The call never reaches the softphone so the phonecall never completes. In UDP

Re: [SR-Users] Nat problems

2011-09-02 Thread Andrew Pogrebennyk
On 09/02/2011 10:33 PM, David Zambrano wrote: Hi andrew. Thanks for your help. What module or config should I use to make sure the connection goes back through the loadbalancer? That's simply the task for record-route like: if (is_method(INVITE)) record_route(); But you also need the

Re: [SR-Users] Account 403 to RADIUS

2011-09-26 Thread Andrew Pogrebennyk
On 09/26/2011 02:16 PM, Mino Haluz wrote: Ok, the problem is the original feeradius package (squeeze) does not support Update radius messages (it gives Unsupported Acct-Status-Type = 15). It's not related to kamailio. .. however anybody knows how to patch it? The patches are here:

Re: [SR-Users] kamailio sip-capture error on compile

2011-10-03 Thread Andrew Pogrebennyk
Jeff, On 10/03/2011 08:45 PM, Jeff Anderson wrote: I am trying to get kamailio sip-capture up and running for use with homer. I can get the service to start but i receive the following error. [root@homer kamailio]# /usr/local/sbin/kamailio -c loading modules under

Re: [SR-Users] How to limit number of calls in Kamailio proxy

2011-11-03 Thread Andrew Pogrebennyk
Austin, Actually you could share your config to the mailing list, I will tell you if there is something blatantly wrong ;-) Regards, Andrew On 11/03/2011 06:15 AM, Jason Penton wrote: Hi Austin, Have a look at the TM module docs. You will find the appropriate commands there. HTH On

Re: [SR-Users] How to limit number of calls in Kamailio proxy

2011-11-09 Thread Andrew Pogrebennyk
Austin, the block beginning with dlg_manage() should be placed between route(AUTH) and route(PSTN). It is commented out and put outside the main routing block so I'm not sure if that was the case.. If the problem persists please get the dialogs list before calling, while the callee's phone is

Re: [SR-Users] transport=TLS

2011-11-29 Thread Andrew Pogrebennyk
Hi Bruno, What I have done is an explicit check if (uri_param(transport,tls) || uri_param(transport,TLS)) to call force_send_socket with either udp or tls port. It would be cool for kamailio to select the proper socket automatically, I think there was a discussion on that previously but I can't

Re: [SR-Users] transport=TLS

2011-11-29 Thread Andrew Pogrebennyk
Bruno, the address from contact header is put into R-URI on outgoing request to that user. This is where I catch that parameter. I think we should debug why kamailio sends the request using UDP, it is not clear, as Daniel pointed out it should work automatically. I think I had to do these

Re: [SR-Users] TLS--UDP not working with record_route_preset

2011-12-09 Thread Andrew Pogrebennyk
Gnani, since version 3.2.0 kamailio accepts several arguments to record_route_preset() function: http://www.kamailio.org/docs/modules/3.2.x/modules_k/rr.html#id2542169 In 3.1.0 you can call insert_hf directly, but IMO it's worth upgrading. Andrew On 12/08/2011 08:50 PM, Gnaneshwar Gatla wrote:

Re: [SR-Users] usrloc, timer process and cache cleanup

2011-12-23 Thread Andrew Pogrebennyk
On 12/23/2011 08:18 PM, Stefan Sayer wrote: shouldn't the db layer and driver be smart enough to do insert ... on duplicate key update at least where it's supported? my fear is that such first insert then update policy will affect the performance. can create noise in the log on some db backends

Re: [SR-Users] Pseudo-variables for Status-Line

2011-12-29 Thread Andrew Pogrebennyk
On 12/29/2011 03:36 PM, Robert R wrote: Thank a lot. $T_reply_code works. I tried all variables in pv doc ($rc, $err.rcode, $rs ... ) and none of them works, Actually the $rs pseudo-variable should also work as described here:

Re: [SR-Users] Pseudo-variables for Status-Line

2011-12-29 Thread Andrew Pogrebennyk
On 12/29/2011 03:21 PM, Robert R wrote: What is the Pseudo-variables for Status-Line filed of SIP response messages (2xx, 3xx,4xx,5xx,6xx)? i.e., is there a Pseudo-variables to display the SIP response code? You can test it with tm function t_check_status(...) or get it in a config variable

[SR-Users] redirect client to keep original ruri

2012-01-25 Thread Andrew Pogrebennyk
Hello, assuming that I want to use contact from 302 response as outbound proxy but keep the original Request-URI, what should I do? Calling the revert_uri() after get_redirects() in failure_route doesn't do the trick. ___ SIP Express Router (SER) and

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

2012-01-25 Thread Andrew Pogrebennyk
Daniel, thank you - method (2) works like a charm. On 01/25/2012 03:16 PM, Daniel-Constantin Mierla wrote: an option - get the contact header from 302 in failure route via $T_rpl($ct). Use its uri to set $du. I was getting an error for some reason: 0(7860) ERROR: core [pvapi.c:516]: error

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

2012-01-25 Thread Andrew Pogrebennyk
On 01/25/2012 03:18 PM, Alex Balashov wrote: Put the 302 Contact 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. Ok. I was thinking that

Re: [SR-Users] Kamailio with Private IP - ACK for 200 OK problem

2012-01-26 Thread Andrew Pogrebennyk
On 01/26/2012 08:21 PM, Krishna Kurapati wrote: Is there a configuration option to let kamailio use Public IP when setting record-route in 200 OK? Of course, you need record_route_preset() - see http://kamailio.org/docs/modules/3.1.x/modules_k/rr.html#id2667590 Also I would expect you need to

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

2012-01-30 Thread Andrew Pogrebennyk
Since this thread will probably end up in Google I''ll share my experience. I ended up with this if(t_check_status(301|302)) { #NOTE: must assign to $du to keep R-URI intact $var(contact) = $T_rpl($ct); $var(contact) =

[SR-Users] image missing in xmlrpc module doc

2012-02-17 Thread Andrew Pogrebennyk
Hi, Was reading through the xmlrpc docs, could anybody with an access check why Figure RPC Example is missing from http://kamailio.org/docs/modules/devel/modules/xmlrpc.html#fig.rpc_example as well as 3.1 and 3.2 module docs? Thanks, Andrew ___ SIP

Re: [SR-Users] ndb_redis module fails after a while

2012-02-17 Thread Andrew Pogrebennyk
Hi Daniel, On 02/17/2012 10:47 AM, Daniel-Constantin Mierla wrote: I made a patch for server reconnect -- I had no access to a computer with redis lib installed for the moment, hopefully it compiles. If you can try and tell the result, it would be great, I can commit then. I may be able to

[SR-Users] UAC canceling a specific early dialog with BYE

2012-02-21 Thread Andrew Pogrebennyk
Hello, we have a Kamailio proxy which gets the call from PSTN gw and does some call forwarding (serial forking) to several destinations through our sbc The call flow I am looking at is: - Kamailio sends INVITE to branch_1. - branch_1 sends 180 with to-tag*, proxy relays it to the gw * 180 meets

Re: [SR-Users] Rewrite $tU

2012-03-07 Thread Andrew Pogrebennyk
On 03/07/2012 07:37 PM, Lucas Alvarez wrote: I want rewrite $tU but I'm not being able, I'm doing the following: remove_hf(To); insert_hf(To: sip:$rU@$rd\r\n, From); Then I'm printing $tU and it is still having the previous value, any help will be appreciated. Thanks in advance. Did

Re: [SR-Users] Rewrite $tU

2012-03-08 Thread Andrew Pogrebennyk
On 03/07/2012 08:46 PM, Lucas Alvarez wrote:. Something like this: if(($rU=~^(box02)[0-9]{2,15}$)) { $rU = $(rU{s.substr,5,0}); $ru = sip: + $rU + @ + $sel(cfg_get.box02.gw_ip) + : + $sel(cfg_get.box02.gw_port); } BTW alternatively you can use dialplan the

Re: [SR-Users] OT: is it allowed to send requests without waiting for the response of the previous request?

2012-03-14 Thread Andrew Pogrebennyk
Hello Klaus, please check this thread: http://www.mail-archive.com/sip-implementors@lists.cs.columbia.edu/msg10537.html On 03/14/2012 05:11 PM, Klaus Darilion wrote: I wonder if a presence server may send a NOTIFY if the previous NOTIFY in the dialog did not received an answer yet. I greped the

Re: [SR-Users] Kamailio modifying ruri during loose-route

2012-03-26 Thread Andrew Pogrebennyk
Dan, Well, it looks like kamailio recognizes 127.0.0.1 as its own URI that's why it does rewrite. Do you have by chance such alias in your config (or auto_aliases=yes)? On 03/26/2012 03:47 PM, Dan-Cristian Bogos wrote: Hey Guys, I have noticed some unexpected behavior (at least by me) during

[SR-Users] in doubt about in-dialog INVITE Route params processing

2012-04-04 Thread Andrew Pogrebennyk
I've been pondering an issue with Route header parameters being not mirrored by kamailio proxy into Record-Route field on in-dialog requests over the last few hours so I thought I'd just whether I'm missing something obvious. The call scenario in UA - lb - proxy - sems. Everything is fine with

Re: [SR-Users] in doubt about in-dialog INVITE Route params processing

2012-04-05 Thread Andrew Pogrebennyk
Hi, despite my initial doubt it works well :-) Thank you Daniel. On 04/04/2012 05:51 PM, Daniel-Constantin Mierla wrote: Hello, is record_route() executed as well as add_rr_param() for reinvites? Cannot spot in the logs. You can load debugger module and enable cfgtrace to see what actions

Re: [SR-Users] reply code for lower cseq

2012-04-24 Thread Andrew Pogrebennyk
Hi Daniel, See RFC 3261 section 12.2.2: If the remote sequence number was not empty, but the sequence number of the request is lower than the remote sequence number, the request is out of order and MUST be rejected with a 500 (Server Internal Error) response. However, 400 or some 4xx

Re: [SR-Users] Config include

2012-05-09 Thread Andrew Pogrebennyk
Hello, It is already there, see http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x On 05/09/2012 06:04 PM, Konstantin M. wrote: Hi, I would like (and a many people here I believe) to have a functional of including a multiple config files like (foe example asterisk's #include

Re: [SR-Users] Config include

2012-05-09 Thread Andrew Pogrebennyk
Konstantin, You should put the include_file directive after loadmodule and modparam directives. So it can be either before main route block or at the bottom of your main kamailio.cfg. On 05/09/2012 06:48 PM, Konstantin M. wrote: After including a part of main config to included file -- I got a

Re: [SR-Users] [NOT Solved]Creating RURI ($ru) from Contact ($ct)

2012-05-30 Thread Andrew Pogrebennyk
Hi, On 05/30/2012 12:22 PM, Aft nix wrote: So i'm interested if RFC 3261 provides any mechanism by which we can differentiate a BYE whether its from caller or callee. Check out is_direction() function: http://www.kamailio.org/docs/modules/3.2.x/modules_k/rr.html#id2527009

Re: [SR-Users] Looking for RTP Proxy in TCP

2012-06-08 Thread Andrew Pogrebennyk
The papers talk about transport protocol for signaling, not media/RTP. I didn't hear of anyone who does RTP over TCP neither. I doubt even that the performance is a primary reason behind that, for media over TCP the client link must be virtually packet-loss free (due to TCP retransmissions), while

Re: [SR-Users] kamailio core request dropping - no reply

2012-06-19 Thread Andrew Pogrebennyk
On 06/19/2012 02:06 PM, Uri Shacked wrote: I am testing kamailio replies when an INVITE or another request arrives with lets say, VIA header missing The core drops the request. But, there is no reply for the originator (so it keep on resending the request...) Why? If there was no Via

Re: [SR-Users] lcr.dump_gws problem

2012-07-24 Thread Andrew Pogrebennyk
Hi Gary, Yes, that's an old/known issue. You can convert the IP to common format with a simple command: perl -MSocket -le 'print inet_ntoa(pack(N, 1273060816))' Maybe somebody from the kamailio team will take time to fix this. On 07/24/2012 09:39 PM, Gary Chen wrote: Kamailio 3.2.0 When

Re: [SR-Users] lcr.dump_gws problem

2012-07-27 Thread Andrew Pogrebennyk
Hi Gary, It was fixed already by Richard in 3.3 branch: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=28be16549831df46dd1b8312da223b02359d8a9c (and master) Thank you for the report. On 07/24/2012 09:44 PM, Gary Chen wrote: Sorry, it should be Kamailio 3.3.0 not 3.2.0.

[SR-Users] New Wiki Site has problems?

2012-07-31 Thread Andrew Pogrebennyk
At least some links at http://www.kamailio.org/wiki/ don't work at the moment: Install Kamailio v3.3.x From GIT Upgrade Kamailio v3.1.x to v3.2.0 Upgrade Kamailio v3.2.x to v3.3.0 you are redirected to some instruction from DokuWiki Installer when trying to visit them. Could somebody

Re: [SR-Users] 302 redirect with 2 numbers registered

2012-08-03 Thread Andrew Pogrebennyk
Mino, I am not sure, but you could try the following: set failure_reply_mode 3 (http://kamailio.org/docs/modules/stable/modules/tm.html#failure_reply_mode), then handle 302 redirect in the proxy and use the contact as a new branch like this: if(status == 302) { $var(contact) = $ct;

Re: [SR-Users] Best tool for crafting sip messages

2012-08-13 Thread Andrew Pogrebennyk
Same here, also you can use protoshoot provided by kamailio, see utils/protoshoot. On 08/13/2012 07:45 AM, Mark Anthony Delfin wrote: Hi Anton, Previously I used the following. sipsak http://sipsak.org/ or sipp http://sipp.sourceforge.net/ Regards, Mark

Re: [SR-Users] Remove m=video from SDP header

2012-08-13 Thread Andrew Pogrebennyk
You might need to upgrade to 3.3.1 to use sdpops module: http://kamailio.org/docs/modules/stable/modules/sdpops.html On 08/13/2012 09:52 AM, phillman25 wrote: Dear List I am trying to remove specific lines from the following original SDP body: Content-Type: application/sdp

Re: [SR-Users] TCP Path received quotes

2012-09-15 Thread Andrew Pogrebennyk
Hello Spencer, actually double quotes are not allowed in URI parameter. In the BNF grammar the allowed chars in the unreserved definition are alphanum and mark, where mark is only - / _ / . / ! / ~ / * / ' / ( / ) ). This is already fixed in 3.3.0 if I am not mistaken, please check

Re: [SR-Users] IM on Kamailio

2012-09-19 Thread Andrew Pogrebennyk
On 09/18/2012 12:15 PM, Gary Shergill wrote: Note that I am testing this with one computer connected by Bria and another computer connected via Blink. I am able to log on to a user on each (test1 and test2) and they are able to call each other. The issue is, with presence enabled, they are

[SR-Users] DB accounting missing if t_newtran() is called explicitly

2012-09-26 Thread Andrew Pogrebennyk
Hi, I have found recently that in order to detect retransmits I have to create a transaction explicitly when the request comes in: force_rport(); if(!t_check_trans()) t_newtran(); sl_send_reply(100, Trying); xlog(L_INFO, New request - $ci\n); it

Re: [SR-Users] DB accounting missing if t_newtran() is called explicitly

2012-09-26 Thread Andrew Pogrebennyk
/docs/modules/3.3.x/modules_k/tmx.html#id2543767 Cheers, Daniel On 9/26/12 3:30 PM, Andrew Pogrebennyk wrote: Hi, I have found recently that in order to detect retransmits I have to create a transaction explicitly when the request comes in: force_rport

Re: [SR-Users] DB accounting missing if t_newtran() is called explicitly

2012-09-28 Thread Andrew Pogrebennyk
, Daniel-Constantin Mierla wrote: Hello, you can try after you set the flag you wanted to be in transaction, to be sure it gets there. Cheers, Daniel On 9/26/12 7:43 PM, Andrew Pogrebennyk wrote: Hi Daniel, No, I don't. Thanks for the tip. Could you advice where t_flush_flags() should

Re: [SR-Users] Supporting TLS and DTLS in RTP Proxy

2012-10-16 Thread Andrew Pogrebennyk
Kamal, perhaps RFC 5763 provides you some of the answers? On 10/16/2012 11:06 AM, Kamal Palei wrote: Hi Johansson, All Sincier regards and thanks for input. As I understand, all media packets pass through RTP Proxy. The RTP Proxy will receive simple UDP media packets from endpoints. Next

Re: [SR-Users] Difficulties with with loose_route() when trying to handle non-compliant ACK

2012-11-23 Thread Andrew Pogrebennyk
Richard, well, the RURI of remote ACK has proxy IP address 10.200.70.100 so proxy thinks that previous hop was a strict router. I can't think of any workaround that would not be an ugly hack at the moment, though. On 11/23/2012 03:24 AM, Richard Brady wrote: Hi guys I have a multihomed

[SR-Users] maximum number of branches exceeded after kamalilio restart

2013-01-04 Thread Andrew Pogrebennyk
Hello, I'm getting some errors - if I restart kamailio on a live system, the first call after restart fails with max nr of branches exceeded. However, we are not doing append_branch() or anything fancy for that call at all: Jan 3 15:26:54 sp1 /usr/sbin/kamailio[8078]: ERROR: core [dset.c:306]:

[SR-Users] why use received as RURI for nathelper OPTIONS ping?

2013-01-07 Thread Andrew Pogrebennyk
Some Fritzbox devices don't accept the OPTIONS ping generated by kamailio with RURI: sip:11.22.3.4:5060. In the location table we have: received: sip:11.22.3.4:5060 contact: sip:user@11.22.3.4:5060;uniq=6633BC1386F4D4CC4EBD64DC7E967 path: sip:lb@127.0.0.1;lr;received='sip:11.22.3.4:5060' Kamailio

Re: [SR-Users] why use received as RURI for nathelper OPTIONS ping?

2013-01-07 Thread Andrew Pogrebennyk
On 01/07/2013 01:29 PM, Andrew Pogrebennyk wrote: What I don't understand is why kamailio sets RURI of the OPTIONS message to value of received instead of the contact. I suspect a bug in the parser somewhere along these lines: rval = ul.get_all_ucontacts(buf,cblen

Re: [SR-Users] LCR

2013-01-11 Thread Andrew Pogrebennyk
Hello, try printing the $ru with xlog statement when the request comes into the server and in the beginning of route[LCR]. On 11/01/2013 01:50, Douglas Ugalde wrote: Hi, Im trying to configure LCR in Kamailio 3.3.3 but I dont Know how can I do to fix this error: ERROR: lcr

Re: [SR-Users] REGISTER OK but on send 407 Proxy Authentication Required with no ACK

2013-01-29 Thread Andrew Pogrebennyk
Hello, I see no problem with an ACK in the trace. The t38modem ACK's the 407, sends the new INVITE with authorization but it's not accepted by kamailio. I'm not sure if t38modem can even perform the authorization. Maybe you need to accept the calls from it without authorization. But if it can and

Re: [SR-Users] REGISTER OK but on send 407 Proxy Authentication Required with no ACK

2013-01-30 Thread Andrew Pogrebennyk
Carsten, On 01/29/2013 08:25 PM, Carsten Maass wrote: Or does it mean, the authentication is rejected because the local part 030123456789 in URI does not match the subscriber 979? Indeed, this is what happens when you call auth_check with flag 1: if (!auth_check($fd, subscriber, 1)) {..}

Re: [SR-Users] loose_route causing loop

2013-01-31 Thread Andrew Pogrebennyk
Hello, Usually this happens when the RURI has the IP address/ domain which points to this server or which is present in the domain table. There are some clients which may put even server IP address into Contact of INVITE or 200 OK instead of its own so the further requests will be mis-routed. You

Re: [SR-Users] path uri problem

2013-04-09 Thread Andrew Pogrebennyk
Hi Juha, On 04/07/2013 01:51 PM, Juha Heinanen wrote: i escaped them, but it didn't help. path header now looks like: Path: sip:192.98.102.10;transport=tcp;lr;received='sip:192.98.102.10:58156%3Btransport%3Dtcp'. and i still get the same error: Apr 7 14:49:47 wheezy1

Re: [SR-Users] path uri problem

2013-04-09 Thread Andrew Pogrebennyk
On 04/09/2013 11:59 AM, Juha Heinanen wrote: because path-value starts with name-addr and my interpretation is that since there are s around this path header body: Path: sip:192.98.102.10;transport=tcp;lr;received='sip:192.98.102.10:58156%3Btransport%3Dtcp' solely consists of name-addr

Re: [SR-Users] [Spce-user] FYI: Package update(s) in release 2.8

2013-06-04 Thread Andrew Pogrebennyk
Dear 2.8 users, this update includes the fixes for kamailio-lb config (multiple sockets-related): - added record-route param to store socket; review logic for relaying in-dialog requests (fallback to default send socket if it's not defined explicitly); fixed socket selection for ACK after 4xx and

Re: [SR-Users] (no subject)

2013-10-15 Thread Andrew Pogrebennyk
Hi, On 10/11/2013 08:14 PM, Fred Posner wrote: I use rwie and rwei flags but in ngcp-mediaproxy-ng e and i seems to be used for IPv4 / IPv6 .. ... I don't believe that mediaproxy-ng can be used to bridge two ipv4 networks; only bridging for ipv6 - ipv4. That's true, there's no bridge

Re: [SR-Users] Update R-URI after lookup(location)

2014-01-14 Thread Andrew Pogrebennyk
Hi, You should create a branch_route and perform this manipulation there.. BR, Andrew On 01/14/2014 10:53 AM, Igor Potjevlesch wrote: Hello, No one has an idea? I was thinking that each request goes to RELAY but even if I try to modify the R-URI in this route, it fails. I still had

Re: [SR-Users] Help with authenticating using Kamailio

2014-01-14 Thread Andrew Pogrebennyk
Hi, check if this answers your question: http://kb.asipto.com/asterisk:index Andrew On 01/13/2014 04:19 PM, Kasinath wrote: Hi All, I just installed Kamailio in one server and Asterisk in another. Asterisk loads it sipusers info from database which is in Kamailio server. I don't know how

Re: [SR-Users] Kamailio behind NAT

2014-01-24 Thread Andrew Pogrebennyk
On 01/23/2014 05:12 PM, Klaus Darilion wrote: It is necessary to use the cwie / cwei flags in the rtpproxy_manage call? If rtpproxy uses only a single listen-IP, then these flags are not needed. Only if you operate rtpproxy in bridge mode, then you need these flags. Bridge mode is necessary

Re: [SR-Users] kamailio with mediaproxy-ng, 488 Not Acceptable Here

2014-02-04 Thread Andrew Pogrebennyk
Hi, could you please post also your Chrome js developer log? Does the problem exist if you start the jssip clients without video support? Andrew On 02/03/2014 12:00 PM, Mihai Marin wrote: Hello, Another weekend struggling to make a call from jssip to another jssip behind firewall and I

Re: [SR-Users] reg event support in subscribe

2014-02-05 Thread Andrew Pogrebennyk
Hi, See presence_reginfo - Extension to Presence server for registration info replication (RFC3680) http://kamailio.org/docs/modules/stable/modules/presence_reginfo.html On 02/05/2014 07:56 AM, Premchandiran wrote: Hi All, May I know whether kamailio supports event header with reg

Re: [SR-Users] NAT helper frustrations with multiple kamailios

2014-02-05 Thread Andrew Pogrebennyk
On 02/05/2014 11:20 AM, Daniel Tryba wrote: Off to figure out why uac_test incorrectly flags the onhold process as needing the nat helper... Well, nat_uac_test is pretty straightforward, it does what the flags tell it to do:

Re: [SR-Users] Error with ACK from SIPML5

2014-02-14 Thread Andrew Pogrebennyk
Sorry for reviving this old thread. I think I've come across the same issue as Jayesh and it is triggered by the Route inserted by sipml5 into in-dialog requests like ACK - Route: sip:172.18.101.48:5060;lr;sipml5-outbound;transport=udp Jayesh had two Route headers that belong to this kamailio

Re: [SR-Users] no rtpengine.so module

2014-07-03 Thread Andrew Pogrebennyk
On 03/07/14 16:42, Yuriy Gorlichenko wrote: thanks for fas reply. If I may user rtpengine as rtpproxy maybe you already use it or just know - does rtpengine provide ridge mode as rtpproxy between internal and external interfaces? At my instalne if I add rtpengine

[SR-Users] howto synchronize ruid across multiple proxy instances

2014-09-12 Thread Andrew Pogrebennyk
Hi, let's say I'm running two proxies/registrars that need to access Shared location DB in db_mode=1 (all changes to usrloc are immediately reflected in database too). I have observed that if the UAC re-registers before the previous registration's expiry and the new REGISTER reaches the other

Re: [SR-Users] howto synchronize ruid across multiple proxy instances

2014-09-18 Thread Andrew Pogrebennyk
Hi, OK, thanks for the clarification. Maybe we will check the load_db_contacts(userid) way with Victor. Regards, Andrew On 09/15/2014 12:04 PM, Daniel-Constantin Mierla wrote: Hello, On 12/09/14 15:42, Andrew Pogrebennyk wrote: Hi, let's say I'm running two proxies/registrars that need

[SR-Users] textopsx issue when modifying same header several times

2014-10-16 Thread Andrew Pogrebennyk
Hi, we are filtering some method names from the Allow header with kamailio 4.1: depending in the configuration: if (hf_value_exists(Allow, INFO)) { xlog(L_INFO, Remove INFO from Allow\n); exclude_hf_value(Allow, INFO); } if

Re: [SR-Users] Unix timestamp with millisecond precision

2014-10-22 Thread Andrew Pogrebennyk
See http://www.kamailio.org/wiki/cookbooks/4.2.x/pseudovariables#tv_name On 10/22/2014 10:40 AM, Grant Bagdasarian wrote: Hello, I’m currently using the $TS psuedovariable to get the current unix timestamp, but this only returns the timestamp up to a second precision. Is it possible

Re: [SR-Users] usage of t_flush_flags() in event_route

2015-06-17 Thread Andrew Pogrebennyk
Daniel, I'm reviving this old thread.. On 05/27/2015 01:40 PM, Andrew Pogrebennyk wrote: thanks for the answer, that's what I was thinking - maybe the flags do not persist or are destroyed after the per-branch failure route. However, the t_flush_flags description says this function can

Re: [SR-Users] usage of t_flush_flags() in event_route

2015-05-27 Thread Andrew Pogrebennyk
Hi Daniel, thanks for the answer, that's what I was thinking - maybe the flags do not persist or are destroyed after the per-branch failure route. However, the t_flush_flags description says this function can be used in any route, so in should be fixed in the long term.. Let me check if I can

[SR-Users] usage of t_flush_flags() in event_route

2015-05-26 Thread Andrew Pogrebennyk
Hi Daniel and others, I'm having a problem with acc module if I'm using the event_route/ branch-failure: say, the call comes from the app server and goes to the registered user. We arm the the failure route and per-branch failure route for the 302 redirect from the UA. We explicitly reset the

[SR-Users] registered4() is not adding xavp with details of the record

2015-09-03 Thread Andrew Pogrebennyk
Hi, I was trying to use registered("location", "$ru", 0, 1) Last parameter is the flag according to http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.f.registered flag values is as follows: 1 - set xavp_rcd with value from matched contact But I'm getting NULL instead

Re: [SR-Users] why msg_apply_changes() from REQUEST_ROUTE only

2015-12-22 Thread Andrew Pogrebennyk
Hi, I have a similar issue with kamailio 4.3.4. I want to append a header to external 486 or 603 reply. If I got it right I should call append_hf, not append_to_reply which is for locally generated replies. I've added append_hf() and in the end of failure route call exit but for some reason that

Re: [SR-Users] Append to reply in default action of failure_route

2015-12-22 Thread Andrew Pogrebennyk
Hello Efelin, I stumbled upon the issue you described here. Have you been able to find a solution? I've tried to play with t_reply(), but no luck so far. Regards, Andrew On 11/18/2013 10:00 AM, Efelin Novak wrote: > Hi, > > I would like to append a header to a 'winning' negative reply in >

Re: [SR-Users] Append to reply in default action of failure_route

2015-12-28 Thread Andrew Pogrebennyk
Thanks Dmitri, I have to look closer at it, but for me it breaks parallel forking, e.g. I need to reply only when it's the last branch. Andrew On 12/22/2015 05:46 PM, Dmitri Savolainen wrote: > Andrew, I use smth like this for adding header to any response > > request_route{ > > if

Re: [SR-Users] should the AVPs be available in CANCEL?

2016-04-14 Thread Andrew Pogrebennyk
Alex Balashov wrote: > Strictly speaking, CANCEL is a different request, and accordingly, a > different transaction. > > However, you should be able to access INVITE transaction data from the > failure_route triggered in connection with transaction cancellation. Thanks, Alex! Andrew

[SR-Users] uac "restore_mode" is auto: effective when using core variables?

2016-04-14 Thread Andrew Pogrebennyk
Per my understanding the uac module stores the "vsf" parameter in Record-Route and should be able to update the From/To URIs automatically in all in-dialog requests that carry this parameter. http://kamailio.org/docs/modules/stable/modules/uac.html#uac.p.restore_mode “auto” - all sequential

[SR-Users] should the AVPs be available in CANCEL?

2016-04-14 Thread Andrew Pogrebennyk
Hi all, it seems that the AVPs not available when when processing CANCEL message, even though they have been set for this transaction initially. Is this the expected behavior? P.S. kamailio 4.3.4 Andrew ___ SIP Express Router (SER) and Kamailio

  1   2   >