[SR-Users] rtpengine destroys voice branch on multiple branch call

2016-12-26 Thread Yuriy Gorlichenko
Hi. I have 2 endpoints 1001 and 1002 1001 registered from 1 device 1002 registered from 2 devices at the same time When I called to 1002 kamailio makes 2 branches rtpengine_manage command called from branch rout for handling every branch directly (it can be different endoint types (ws/tls/udp)

Re: [SR-Users] protocol/port mismatch

2016-11-24 Thread Yuriy Gorlichenko
Hi guys. Any ideas? 2016-11-24 19:38 GMT+03:00 Yuriy Gorlichenko <ovoshl...@gmail.com>: > Hi. Have strange issue > > Calling from kamailio through WS > > invite and resposes goes ok but with ACK to WS client has this issue > > get_send_socket2(): protocol/port mism

[SR-Users] protocol/port mismatch

2016-11-24 Thread Yuriy Gorlichenko
Hi. Have strange issue Calling from kamailio through WS invite and resposes goes ok but with ACK to WS client has this issue get_send_socket2(): protocol/port mismatch (forced tls:kamailioIP:4443, to udp:MyWSClientIP:65451) Guess kamailio thinks that it is UDP client because $ru is

Re: [SR-Users] nathelper not changes IP

2016-11-02 Thread Yuriy Gorlichenko
as wrote: > > Might be you are doing fix_nated_sdp, multiple times in configuration. > > On Nov 1, 2016 5:03 PM, "Yuriy Gorlichenko" <ovoshl...@gmail.com> wrote: > >> I trying to use >> fix_nated_sdp with 0x02 and 0x08 flags for changing ip addres and the SDP >&

[SR-Users] nathelper not changes IP

2016-11-01 Thread Yuriy Gorlichenko
I trying to use fix_nated_sdp with 0x02 and 0x08 flags for changing ip addres and the SDP body part like fix_nated_sdp(10,"1.2.3.4") But for now it beaks SDP At the output i see next o=- 7300689428214760503 2 IN IP4 1.1.1.1 c=IN IP4 1.1.1.1 1.2.3.41.2.3.4 <- is just a line that added after

Re: [SR-Users] Commercial SBC or Kamailio

2016-09-15 Thread Yuriy Gorlichenko
I think there need to be another reason to use kamailio instead of any other solution. In this thread main idea of question is If we will use kamailio will it be stable, fast and best usefull software instead of some ot free solution. I can answer yes because kamailio is one of the most flexible

Re: [SR-Users] Replacing Asterisk with Kamailio

2016-09-15 Thread Yuriy Gorlichenko
; Thank you > > Valter > > > 2016-09-13 16:11 GMT-03:00 Yuriy Gorlichenko <ovoshl...@gmail.com>: > >> it is many-many examples of kamialio.cfg at the internet that describes >> same logic with different staff (like kamailio as registrar and also as >> kamai

Re: [SR-Users] Replacing Asterisk with Kamailio

2016-09-13 Thread Yuriy Gorlichenko
it is many-many examples of kamialio.cfg at the internet that describes same logic with different staff (like kamailio as registrar and also as kamailio as just proxy) I suppose you just dont fully understood logic of how kamailo working. Just goole first. I aslo had same question some time ago.

[SR-Users] Video calls with delay on one side

2016-09-09 Thread Yuriy Gorlichenko
Hi. I usein kamailio 4.4 +rtpengine 4.5 for making videocalls though Web And have issue with it: I have one way audio and video till video not started. For example i calling form A point to B point B point accept call and have Audio and Video flow from the point A but point A have no any media

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
t; select the port, due to the lack of support for SO_REUSEPORT. > > Cheers, > > Federico > > On Thu, Sep 8, 2016 at 4:33 PM, Daniel Tryba <d.tr...@pocos.nl> wrote: > >> On Thu, Sep 08, 2016 at 03:38:32PM +0300, Yuriy Gorlichenko wrote: >> > I didnt thoug

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
another logic. 2016-09-08 18:24 GMT+03:00 Yuriy Gorlichenko <ovoshl...@gmail.com>: > I know about dispatcher but it not always canbe heplfull. Sometimes i need > my own logic that not implemented at the dispatcher. > > For checking kamailio live from asterisk im use qualfy for

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
suppose it can help. 2016-09-08 15:04 GMT+03:00 Daniel Tryba <d.tr...@pocos.nl>: > On Thu, Sep 08, 2016 at 02:43:03PM +0300, Yuriy Gorlichenko wrote: > > yes. Thats will be great because in some system design it must use same > > port that listening for sendinf like in UDP for ex

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
yes. Thats will be great because in some system design it must use same port that listening for sendinf like in UDP for example for transcoding SIP over WebSocket to SIP over TCP and masking registration behind thanscoder. Like User sends registration, kamailio just Transcoding this request to

[SR-Users] Kamailio send TCP packets from random ports

2016-09-07 Thread Yuriy Gorlichenko
Hi. I try to make working kamailio on TCP infront of asterisk Before to send to asteisk any packet i added $fs=ip.add.re.ss:port Also discribed listen=tcp:ip.add.re.ss:port But kamailio send outgoing packets from random prot throug TCP Presume i configured 5060 port but it send from 35410 port.

Re: [SR-Users] presence modules not send NOTIFY events

2016-09-05 Thread Yuriy Gorlichenko
hi guys. can some one help to understand what there can be wrong? 2016-09-01 20:55 GMT+03:00 Yuriy Gorlichenko <ovoshl...@gmail.com>: > Hi. I trying to implement full presence server > I set config like this (part of it) > > #!define FLT_DLG 9#!define FLT_DLGINFO 10 > &

[SR-Users] presence modules not send NOTIFY events

2016-09-01 Thread Yuriy Gorlichenko
Hi. I trying to implement full presence server I set config like this (part of it) #!define FLT_DLG 9#!define FLT_DLGINFO 10 modparam("dialog", "timeout_avp", "$avp(i:10)") modparam("dialog", "dlg_flag", 4) modparam("dialog", "initial_cbs_inscript", 1) modparam("dialog", "profiles_with_value",

Re: [SR-Users] Fail to register at trunk through UAC

2016-08-02 Thread Yuriy Gorlichenko
:27:54 Aug 1 2016 with gcc 4.9.2 Still same issue Added debug=4 output 2016-08-01 15:53 GMT+03:00 Yuriy Gorlichenko <ovoshl...@gmail.com>: > Hi Daniel. Thanks for answer. > I will reinstall it today. Ping you ASAP about result > > 2016-08-01 13:19 GMT+03:00 Daniel-Const

Re: [SR-Users] Fail to register at trunk through UAC

2016-08-01 Thread Yuriy Gorlichenko
u use current code... > > Cheers, > Daniel > > On 01/08/16 10:30, Yuriy Gorlichenko wrote: > > Hi.Unfortunattely Probles still exists. > Will be very grateful if someone will help me to understand what is wrong > there... > thnk you > > > 2016-07-29 15:23 GMT

Re: [SR-Users] Fail to register at trunk through UAC

2016-08-01 Thread Yuriy Gorlichenko
Hi.Unfortunattely Probles still exists. Will be very grateful if someone will help me to understand what is wrong there... thnk you 2016-07-29 15:23 GMT+03:00 Yuriy Gorlichenko <ovoshl...@gmail.com>: > Also checked all credentians 3 times. > It worked on another platfoms > I tri

Re: [SR-Users] Fail to register at trunk through UAC

2016-07-29 Thread Yuriy Gorlichenko
Also checked all credentians 3 times. It worked on another platfoms I tried read sources uac_reg.c found that it takes form hash credentmans about this trunk but not found where and what it checks. So i suppose it is difference at MD5 but i can not check it. 2016-07-29 15:03 GMT+03:00 Yuriy

[SR-Users] Fail to register at trunk through UAC

2016-07-29 Thread Yuriy Gorlichenko
Hi. All trunks works fine ony one not works Kamailio sends REGISTER with proxy auth provider answers with 407 Kamailio not send any REGISTER Just answers in log uac_reg_tm_callback(): authentication failed for At attachement kamialio debug 3 log and sip log kamailio.dump.reg trouble

Re: [SR-Users] Kamailio+tls not working with Ubuntu 16.04

2016-07-25 Thread Yuriy Gorlichenko
didn't have any time for it. > > Maybe you can make a very simple c program linking to libssl that just > prints the memory functions as done by the log message in kamailio and see > if they are null or not. > Cheers, > Daniel > > > On 25/07/16 11:51, Yuriy Gorlichenko wrote: &g

Re: [SR-Users] Kamailio+tls not working with Ubuntu 16.04

2016-07-25 Thread Yuriy Gorlichenko
is loaded before any other module using libssl (can be loaded first to be safe) 0(27545) ERROR: [sr_module.c:607]: load_module(): /usr/local/lib64/kamailio/modules/tls.so: mod_register failed 2016-07-25 12:23 GMT+03:00 Yuriy Gorlichenko <ovoshl...@gmail.com>: > Just asking about any

[SR-Users] Kamailio+tls not working with Ubuntu 16.04

2016-07-25 Thread Yuriy Gorlichenko
Just asking about any progress of this staff THere is a bug descried at the ubuntu bug tracker https://bugs.launchpad.net/ubuntu/+source/kamailio/+bug/1591992 There is bug that i wrote at the kamailio bug tracker https://github.com/kamailio/kamailio/issues/714 Closed it because It is not

[SR-Users] uacreg flags field not changing

2016-06-24 Thread Yuriy Gorlichenko
Hi. Im using kamailio 4.4.1 kamailio -v flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE,

Re: [SR-Users] Using websocket server for events

2016-05-04 Thread Yuriy Gorlichenko
05-04 9:48 GMT+03:00 Daniel-Constantin Mierla <mico...@gmail.com>: > Hello, > > what do you mean by websocket events? Can you give a more specific example > of what you want to do? > > Cheers, > Daniel > > On 02/05/16 14:51, Yuriy Gorlichenko wrote: > > Hi is t

[SR-Users] Using websocket server for events

2016-05-02 Thread Yuriy Gorlichenko
Hi is there is a valy to send websocket events (not only SIP) on remote subscribed client from config file? I just want make shure that i need to use redis for this staff insead of native websocket events ___ SIP Express Router (SER) and Kamailio

Re: [SR-Users] Kamailio Cluster

2016-02-01 Thread Yuriy Gorlichenko
Also one of the most siplies ways to resolve your issue is using queries at the databases that select needed fields from db with (where socket=""). 2016-02-01 11:43 GMT+03:00 Gholamreza Sabery : > All right. Thank you so much. > > On Mon, Feb 1, 2016 at 11:47 AM, Federico

[SR-Users] checking source domain

2016-01-31 Thread Yuriy Gorlichenko
I need to understand where from packets received. Now I use something like If $si == "1.2.3.4" { xlog("L_INFO","bla bla bla"); } But I need to check source server not only by IP and PORT, but at Domain too For example if (some_pseudovariable=="pbx.server.com"){ xlog("L_INFO","bla bla bla"); }

[SR-Users] kamailio 4.4 writes wrong expires parameter at the database

2016-01-27 Thread Yuriy Gorlichenko
I register from sofftphone at my registrar server. Kamailio must save to location table info about registration (save("location") uses at reply route) At my softphone I setted expire as 360 (and see it at packet that errives at kamailio) But at the db i only 20 seconds period | id | ruid

Re: [SR-Users] kamailio 4.4 writes wrong expires parameter at the database

2016-01-27 Thread Yuriy Gorlichenko
.la...@synety.com>: > What is the expiry in the reply from Kamailio to the registration? > > > > What is the value you have set for registrar module max_expires param? > > > > > > Phil > > > > *From:* sr-users [mailto:sr-users-boun...@lists.sip-rou

[SR-Users] WebRTC no longer supports RTP

2015-12-10 Thread Yuriy Gorlichenko
https://developers.google.com/web/updates/2015/10/chrome-47-webrtc So at 47 chrome we already have no sound. What kind of proto we must use and how to handle this with rtpengine? Do anyone have same problems with it? ___ SIP Express Router (SER) and

Re: [SR-Users] WebRTC no longer supports RTP

2015-12-10 Thread Yuriy Gorlichenko
I already use DTLS-SRTP (websockets dont works with RTP). This is my SDP body. And I have no sound at incoming calls tcpdump shows me that I have no rtp strean fro websocket endpoint v=0 o=root 1828066564 1828066564 IN IP4 1.1.1.1 s=Cattaxi Media Server c=IN IP4 1.1.1.1 t=0 0 m=audio 30328

[SR-Users] lookup(location) offen dont work with websocket connected endpoints

2015-12-06 Thread Yuriy Gorlichenko
long time ago looked this problem but resolve it by sql queries directly from confing file to location table. So while remember lookup(location) ofen can not find any contacts if its registers from websocket. it may work 10-15 times and then fails. So debug shows answer that is no connections

[SR-Users] UAC dynamic reg_contact_addr()

2015-12-04 Thread Yuriy Gorlichenko
I have multiple ip addresses at my kamailio. I use uac module for registration to sip providers. I have one provider but want to register form different ip addresses used by my server. When register sends it takes ip address form reg_contact_addr(). But if I want to register from another interface

Re: [SR-Users] UAC dynamic reg_contact_addr()

2015-12-04 Thread Yuriy Gorlichenko
do I need to recompile kamailio with make EXTRA_DEFS="-DWITH_EVENT_LOCAL_REQUEST" cfg ? Because at my installation adding event_route[tm:local-request] fives me syntax error. 2015-12-05 0:04 GMT+03:00 Daniel-Constantin Mierla <mico...@gmail.com>: > Hello, > >

[SR-Users] Kamailio can not read to_tag at BYE request

2015-11-09 Thread Yuriy Gorlichenko
Hello. I have some one provider that sends me BYE request with to_tag that kamailio can not parse IP my.pro.vi.der.5060 > my.ser.vi.ce.5060: UDP, length 406 E...x...S.0X_..L..8.BYE sip:0987654...@my.ser.vi.ce SIP/2.0 Via: SIP/2.0/UDP

[SR-Users] Dialog module issue

2015-09-09 Thread Yuriy Gorlichenko
Hello. I try to manage by dialog module every signaling session, that goes through my proxy. I added newx mod params modparam("dialog", "timeout_avp", "$avp(i:10)") modparam("dialog", "dlg_flag", 4) modparam("dialog", "initial_cbs_inscript", 1) modparam("dialog", "profiles_with_value", "caller")

Re: [SR-Users] Kamailio no recieved 480/486 messages

2015-07-01 Thread Yuriy Gorlichenko
Thanks for answer. Main problem is that 1[08][03] and 200 replies resend correctly but 480/486 can not do it at same way... ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

[SR-Users] Fwd: websocket devices keepalive not working

2015-07-01 Thread Yuriy Gorlichenko
. Not a SIP methods, I see at TCPDUMP packets that marks with modparam(websocket, ping_application_data, WebSockets rock) I need to handle replies of keepaliwe mechanism. How I may handle replies form this mechanism? 2015-06-30 18:37 GMT+03:00 Yuriy Gorlichenko ovoshl...@gmail.com: thnks

[SR-Users] websocket devices keepalive not working

2015-06-30 Thread Yuriy Gorlichenko
I try to send keepalive requests (options) to clients at usrloc I tried 4 mechanisms 1) nathelper modparam(nathelper, sipping_method, OPTIONS) modparam(nathelper, natping_interval, 15) modparam(nathelper, ping_nated_only, 0) modparam(nathelper, sipping_bflag, 7) modparam(nathelper, sipping_from,

Re: [SR-Users] websocket devices keepalive not working

2015-06-30 Thread Yuriy Gorlichenko
Now did this. Still no Options if (!save(location)){ sl_reply_error(); } else { setbflag(7); ... 2015-06-30 17:05 GMT+03:00 Daniel Tryba d.tr...@pocos.nl: On Tuesday 30 June 2015 15:49:26 Yuriy Gorlichenko wrote: 1) nathelper modparam(nathelper, sipping_method, OPTIONS) modparam

[SR-Users] Kamailio no recieved 480/486 messages

2015-06-30 Thread Yuriy Gorlichenko
At my confiig I have route like this onreply_route[REPLY_FROM_WS] { if(status=~[12][0-9][0-9]) { xlog(L_INFO, Manage_Reply from webrtc client {$si:$sp} for method {$rm}: $rs); rtpengine_manage(force trust-address replace-origin replace-session-connection DTLS=passive ICE=remove RTP/AVP);

[SR-Users] Kannot start kamailio 4.3

2015-06-23 Thread Yuriy Gorlichenko
Try to start kamailio on Ubuntu 14.04.02 Get this errors ERROR: ctl [init_socks.c:115]: init_unix_sock(): ERROR: init_unix_sock: bind: No such file or directory [2] Jun 23 08:54:29 kamailio-test kamailio[3706]: ERROR: ctl [ctl.c:273]: mod_init(): ERROR: ctl: mod_init: init ctrl. sockets failed

Re: [SR-Users] Kannot start kamailio 4.3

2015-06-23 Thread Yuriy Gorlichenko
) fd_no=5 called 2015-06-23 17:00 GMT+03:00 Roberto Fichera ker...@tekno-soft.it: On 06/23/2015 03:57 PM, Yuriy Gorlichenko wrote: Hi Yuriy, done this. now kamailio fails when try to fork... Jun 23 09:56:22 kamailio-test kamailio[4122]: ALERT: core [main.c:725]: handle_sigs(): child process

Re: [SR-Users] Kannot start kamailio 4.3

2015-06-23 Thread Yuriy Gorlichenko
2015-06-23 16:08 GMT+03:00 Roberto Fichera ker...@tekno-soft.it: On 06/23/2015 03:03 PM, Roberto Fichera wrote: On 06/23/2015 02:58 PM, Yuriy Gorlichenko wrote: Hi, Try to start kamailio on Ubuntu 14.04.02 Get this errors ERROR: ctl [init_socks.c:115]: init_unix_sock(): ERROR

Re: [SR-Users] Kannot start kamailio 4.3

2015-06-23 Thread Yuriy Gorlichenko
to SIGCHLD 2015-06-23 17:08 GMT+03:00 Yuriy Gorlichenko ovoshl...@gmail.com: un 23 09:56:22 kamailio-test kamailio[4150]: DEBUG: core [db.c:205]: db_bind_mod(): using db bind api for db_mysql Jun 23 09:56:22 kamailio-test kamailio[4150]: DEBUG: core [db.c:319]: db_do_init2(): connection

Re: [SR-Users] Kannot start kamailio 4.3

2015-06-23 Thread Yuriy Gorlichenko
was wrong configured 2015-06-23 17:17 GMT+03:00 Yuriy Gorlichenko ovoshl...@gmail.com: now restart host. Last log is here Jun 23 10:15:20 kamailio-test kamailio[1342]: DEBUG: core [sruid.c:106]: sruid_init(): root for sruid is [uloc-558969f8-53e-] (0 / 18) Jun 23 10:15:20 kamailio-test kamailio

Re: [SR-Users] kamailio fails after start

2015-06-22 Thread Yuriy Gorlichenko
...@torreviejawireless.org: On 06/22/2015 03:05 PM, Yuriy Gorlichenko wrote: Hello. I Installed kamailio on ubuntu 14.04 that runs as virtual systemOpenVZ. git or deb? after starting kamailio I see that it runs ok with kamailio start or kamctl start If deb: I would say that you should use /etc

[SR-Users] kamailio fails after start

2015-06-22 Thread Yuriy Gorlichenko
Hello. I Installed kamailio on ubuntu 14.04 that runs as virtual systemOpenVZ. after starting kamailio I see that it runs ok with kamailio start or kamctl start at ps -ax I see working processes. But after one minute of working kamailio fails with kamailio: ERROR: core [daemonize.c:315]:

Re: [SR-Users] UAC Module

2015-05-02 Thread Yuriy Gorlichenko
One more thing may be useful for you. If you will get an error with cseq numder when provider send 401/407 message- usedialog module. It resole an issuevwith cseq( read documentation) 30.04.2015 18:23 пользователь SamyGo govoi...@gmail.com написал: I'd like you to google around, there is a

Re: [SR-Users] UAC not answer with new register after 401 reply from porvider

2015-04-30 Thread Yuriy Gorlichenko
: Hello, does that happen in all cases or just for some records? Can you rung with debug=3 and check the syslog messages for what happens at that moment when 401 is processed? Cheers, Daniel On 30/04/15 11:37, Yuriy Gorlichenko wrote: Hello. We have an issue with REGISTER to Provider

[SR-Users] UAC not answer with new register after 401 reply from porvider

2015-04-30 Thread Yuriy Gorlichenko
Hello. We have an issue with REGISTER to Provider. When Provider answers 401 Kamailio don't send any REGISTER with digest auth IP ourservice.com.5068 provider.dev.5060: UDP, length 468 E...U...@.3' ..AREGISTER sip:provider.dev SIP/2.0 Via: SIP/2.0/UDP ourservice.com:5068

[SR-Users] append_branch. How to disable original URI

2015-04-17 Thread Yuriy Gorlichenko
Hello. I thry to integrate redis for location module and first at all that I do - dublicate location to redis. First At all I create analog of lookup procedure that use location but from redis. I take values from location and create branches by mannualy. All works good but branch route create

Re: [SR-Users] seturi analog for Kamailio 4.3

2015-03-16 Thread Yuriy Gorlichenko
); } } route[FINAL_RELAY] { if (!t_relay()) { sl_reply_error(); } return; } 2015-03-16 15:46 GMT+03:00 Yuriy Gorlichenko ovoshl...@gmail.com: request_route 2015-03-16 15:43 GMT+03:00 Daniel-Constantin Mierla mico...@gmail.com: Is this used in request_route or in failure_route or other

Re: [SR-Users] seturi analog for Kamailio 4.3

2015-03-16 Thread Yuriy Gorlichenko
: + $tU + @ + $(du{s.select,1,:}); Cheers, Daniel On 16/03/15 05:44, Yuriy Gorlichenko wrote: Now. when I use seturi(sip:$tU@$(du{s.select,1,:})); I see error at my log ERROR: tm [t_lookup.c:1264]: new_t(): ERROR: new_t: uri invalid ERROR: tm [t_lookup.c:1411]: t_newtran(): ERROR

Re: [SR-Users] seturi analog for Kamailio 4.3

2015-03-16 Thread Yuriy Gorlichenko
request_route 2015-03-16 15:43 GMT+03:00 Daniel-Constantin Mierla mico...@gmail.com: Is this used in request_route or in failure_route or other routing block? Cheers, Daniel On 16/03/15 12:44, Yuriy Gorlichenko wrote: If I use $ru=sip:+$tU+@+$(du{s.select,1,:}); if (!t_relay

[SR-Users] seturi analog for Kamailio 4.3

2015-03-15 Thread Yuriy Gorlichenko
Hello. I try to call multi[ple endpoints from my server using append_branch. It works fine but when I have only one endpoint - kamailio generate 2 INVITE requests to it. As I understand it is original request and the next one is branch. I used seturi() before for sending original reqest to

Re: [SR-Users] seturi analog for Kamailio 4.3

2015-03-15 Thread Yuriy Gorlichenko
to process the URI (479/SL) As i see error generate twice maby because I ure t_on branch() route 2015-03-16 7:18 GMT+03:00 Yuriy Gorlichenko ovoshl...@gmail.com: Hello. I try to call multi[ple endpoints from my server using append_branch. It works fine but when I have only one endpoint - kamailio

Re: [SR-Users] ndb_redis set null reply to EXISTS query

2015-03-06 Thread Yuriy Gorlichenko
. For instance, is your redis instance in the same machine as Kamailio? Are you using unix sockets or tcp sockets? Can you run kamailio in debig mode to see any potentially helpful message? Javi On 06/03/15 08:04, Yuriy Gorlichenko wrote: arrives kamailio stil disconnects from redis. Haw can I debug

Re: [SR-Users] ndb_redis set null reply to EXISTS query

2015-03-05 Thread Yuriy Gorlichenko
to redis Javi On 27/02/15 14:30, Yuriy Gorlichenko wrote: What type of info can I provide for deeper analys of this situation? 2015-02-27 14:34 GMT+03:00 Javi Gallart jgall...@systemonenoc.com: Hello On 27/02/15 11:58, Yuriy Gorlichenko wrote: at the monitor I see nothing about

Re: [SR-Users] REmove Header line with tags

2015-03-03 Thread Yuriy Gorlichenko
#why_changes_made_to_headers_or Cheers, Daniel On 03/03/15 01:28, Yuriy Gorlichenko wrote: I need to remove all header line witht tags but remove_hf() removes only Header:value All tags after ; stay at the packet as garbage and next Header moves up As there ACK sip:12345678

[SR-Users] REmove Header line with tags

2015-03-02 Thread Yuriy Gorlichenko
I need to remove all header line witht tags but remove_hf() removes only Header:value All tags after ; stay at the packet as garbage and next Header moves up As there ACK sip:12345678...@phone.provider.com SIP/2.0 Via: SIP/2.0/UDP sip.server.com:5068

Re: [SR-Users] ndb_redis set null reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
What type of info can I provide for deeper analys of this situation? 2015-02-27 14:34 GMT+03:00 Javi Gallart jgall...@systemonenoc.com: Hello On 27/02/15 11:58, Yuriy Gorlichenko wrote: at the monitor I see nothing about this request It's difficult to say without further information

[SR-Users] ndb_redis set null reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
Hello I try to get some replies from redis. Time after time redis request give me null result. But redis bs not disconnected. This happens only with websocket endpoints. My queries is: redis_cmd(srv1, EXISTS $si, s); So at xLOG i see that $si correctly sended, but result is null. At db I keep

Re: [SR-Users] ndb_redis set null reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
I will try. I new at redis. Does cli monitor get resul of kamailio request at the cli? 2015-02-27 11:38 GMT+03:00 Javi Gallart jgall...@systemonenoc.com: Hello can you check with redis-cli monitor what is the command sent to Redis in that case? Javi On 27/02/15 09:15, Yuriy Gorlichenko

Re: [SR-Users] ndb_redis set null reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
at the monitor I see nothing about this request 2015-02-27 13:21 GMT+03:00 Yuriy Gorlichenko ovoshl...@gmail.com: Now I see that null values recieved after I see this at kamailio log redisc_exec(): Redis error: Server closed the connection 2015-02-27 12:45 GMT+03:00 Javi Gallart jgall

Re: [SR-Users] ndb_redis set null reply to EXISTS query

2015-02-27 Thread Yuriy Gorlichenko
that kamailio is delivering to the server when you execute the redis_cmd(...) function inside the script. For a non null reply, yo will need a key in redis with the same value as $si. Javi On 27/02/15 10:04, Yuriy Gorlichenko wrote: I will try. I new at redis. Does cli monitor get resul

[SR-Users] usrloc table to redis

2015-02-26 Thread Yuriy Gorlichenko
Hello. We try to use redis for maximum features of kamailio. We already realise dispatcher (not as module, but I want to do it at the future), and now we want to relocate usrloc to redis. Does anyone do this with Redis? ___ SIP Express Router (SER) and

[SR-Users] Kamailio appends firs inserted branch twice

2015-02-10 Thread Yuriy Gorlichenko
Hello I use this version of kamailio kamailio -v version: kamailio 4.3.0-dev3 (x86_64/linux) 8cdbe7 flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,

Re: [SR-Users] Kamailio appends firs inserted branch twice

2015-02-10 Thread Yuriy Gorlichenko
as extra branches. You may want to set a branch flag when processing the REGISTER to know that it is a websocket. Then, you can test the same branch flag in branch_route to discover if the destination is over websocket or not. Cheers, Daniel On 10/02/15 12:01, Yuriy Gorlichenko wrote: Hello

Re: [SR-Users] Kamailio load balansing 2 servers issues

2015-02-06 Thread Yuriy Gorlichenko
We solved this issue with another way because enpoints can registar at only one kam (at location table we see socket field). So we need not register at both servers one endpoint- wee ned call all servers for calling endpoints with same username from both servers. This philosophy right for load

[SR-Users] NDB_REDIS password to REDIS remote DB

2015-01-29 Thread Yuriy Gorlichenko
Hello. I try to use NDB_REDIS with remote REDIS DB and can not to connect because remote DB use password, but Kamailio module have no any variable or attr of modparam that implenets password for DB. How I can connect to my REDIS? ___ SIP Express Router

Re: [SR-Users] Dispatcher weight dont work

2015-01-29 Thread Yuriy Gorlichenko
} } } } } } I hope that helps. All the best. Will On Tue, Jan 27, 2015 at 3:12 AM, Yuriy Gorlichenko ovoshl...@gmail.com wrote: Hello I use dipatcher algorithm 8 that works

[SR-Users] Dispatcher weight dont work

2015-01-27 Thread Yuriy Gorlichenko
Hello I use dipatcher algorithm 8 that works with weight. I added 2 Asterisks and try to call its with my kam.We use 4.3 version. Tthis config select needed dst from database with my scenario. if(!ds_select_dst($var(setid), 8)) $var(setid)- is variable for setting setid that i get from

[SR-Users] lookup_branches and rtpengine_manage

2015-01-26 Thread Yuriy Gorlichenko
Hello. I need parallel forking calls with the same username. (Call to all contacts with name for example User123), my endpoints may be WebSocket based and standart UDP endpoints. And I use rtpengine_manage for nmanaging calls wor webphones and standart softh/hard phones. I get all contacts

[SR-Users] lookup_branches and rtpengine_manage

2015-01-25 Thread Yuriy Gorlichenko
Hello. I need parallel forking calls with the same username. (Call to all contacts with name for example User123), my endpoints may be WebSocket based and standart UDP endpoints. And I use rtpengine_manage for nmanaging calls wor webphones and standart softh/hard phones. I get all contacts

[SR-Users] Kamailio load balansing 2 servers issues

2015-01-23 Thread Yuriy Gorlichenko
Hello. We use 2 kamailio server 4.3 master brancher for load balansing cluster. We have some problems with this deplooiment fist of all we have REgstering issue: Witth one server all works fine (we have some endpoints with same creditians) all endpoints reinging well. But at 2 servers we hawe

Re: [SR-Users] Dispatcher 8 algorithm based on priority strange works

2015-01-14 Thread Yuriy Gorlichenko
12:31 GMT+03:00 Daniel-Constantin Mierla mico...@gmail.com: On 13/01/15 16:52, Yuriy Gorlichenko wrote: Daniel. I added 8 algorithm to our server and it works with 2 asterisk now but it works strange because: While works server with priority 1 - all ok. When this server goes down

Re: [SR-Users] Dispatcher Failover algorithm

2015-01-13 Thread Yuriy Gorlichenko
with lowes priority until this server not goes down. 2015-01-12 15:18 GMT+03:00 Yuriy Gorlichenko ovoshl...@gmail.com: Daniel. Hello. I see changes at documentation about algorithms at 4.3 documentation for dispatcher. Now I see than 8 algo use priority. Not I set this algorithm to my servers

[SR-Users] Dispatcher 8 algorithm based on priority strange works

2015-01-13 Thread Yuriy Gorlichenko
Daniel. I added 8 algorithm to our server and it works with 2 asterisk now but it works strange because: While works server with priority 1 - all ok. When this server goes down dispatcher choose next server with lowes priority. But when server with highest priority waking up dispatcher use server

Re: [SR-Users] Dispatcher Failover algorithm

2015-01-12 Thread Yuriy Gorlichenko
. 2015-01-09 20:23 GMT+03:00 Daniel-Constantin Mierla mico...@gmail.com: You probably look for priority based routing -- see the readme of dispatcher module. Cheers, Daniel On 09/01/15 17:52, Yuriy Gorlichenko wrote: I as wrote before - we find dispatcher algorithm than can do mechanism

[SR-Users] event on table location Duplicate entry for key 'ruid_idx'

2015-01-12 Thread Yuriy Gorlichenko
Hello. We use 2 kamailio servers cluster and we have porblems with db. Database failed pecause of error: Could not execute Write_rows_v1 event on table production.location; Duplicate entry 'uloc-54aae947-86d-a67' for key 'ruid_idx', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the

Re: [SR-Users] Dispatcher Failover algorithm

2015-01-09 Thread Yuriy Gorlichenko
: You probably look for priority based routing -- see the readme of dispatcher module. Cheers, Daniel On 09/01/15 17:52, Yuriy Gorlichenko wrote: I as wrote before - we find dispatcher algorithm than can do mechanism something like this: Try call to fist server with max priority or weight

[SR-Users] Dispatcher Failover algorithm

2015-01-09 Thread Yuriy Gorlichenko
I as wrote before - we find dispatcher algorithm than can do mechanism something like this: Try call to fist server with max priority or weight. OIf this server unavailible then call second server with less weight and etc. Does anyone know what ling of algorithm we can use for this?

Re: [SR-Users] dispatcher weight dont work

2015-01-08 Thread Yuriy Gorlichenko
are you using? Can you paste here the records you have for the destination set (you can replace the ip addresses, I am interested in attributes) and the ds_select_dst() or ds_select_domain() lines from your config? Cheers, Daniel On 08/01/15 04:07, Yuriy Gorlichenko wrote: Hello I use

[SR-Users] dispatcher html-rpc

2015-01-07 Thread Yuriy Gorlichenko
Hello. How I must use this function for dynamic reload dispatcher without restarting me server? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

[SR-Users] Dispatcher weight nor working

2014-12-24 Thread Yuriy Gorlichenko
Hello. We use kamailio 4.3 and dispatcher with 9 algorithm. We use db instanse for dispatcher and at attrs column for our backend servers set WEIGHT=40 and 60 for first and second server, but packets sended only at first server ignoring weight ___ SIP

[SR-Users] ATT and UAC cancel after 200 OK

2014-11-07 Thread Yuriy Gorlichenko
Hello. I use UAC module for trunks and have trouble when call to mobile endpoint of ATT provider. When endpoint pickup call ans 200 OK reply come into kamailio, kamailio send CANCEL. so at the endpoint I see than call is dropped and at kamailio client I hear voicemail speech form ATT endpoint.

[SR-Users] UAC error at reply : t_should_relay_response:

2014-11-05 Thread Yuriy Gorlichenko
ERROR: t_should_relay_response: status rewrite by UAS: stored: 491, received: 200 Hello. I use UAC module for trunks form 4.2 master branch. I have an error when endpoit at the trunk picked up. OK reply never replied to caller because I see next error: ERROR: t_should_relay_response: status

Re: [SR-Users] Help with dialog $dlg_var(cseq_diff)

2014-11-03 Thread Yuriy Gorlichenko
internal flag to tell dialog to increment cseq. Cheers, Daniel On 01/11/14 16:29, Yuriy Gorlichenko wrote: Hello. I need to increment CSeq value for INVITE with Auth params when use UAC_AUTH for outgoing calls to provider. Kamailio 4.2 may increment this using dialog module http

[SR-Users] Help with dialog $dlg_var(cseq_diff)

2014-11-01 Thread Yuriy Gorlichenko
Hello. I need to increment CSeq value for INVITE with Auth params when use UAC_AUTH for outgoing calls to provider. Kamailio 4.2 may increment this using dialog module http://by-miconda.blogspot.de/2014/10/kamailio-42-tips-7-increment-cseq-for.html Now I experements with this and var

[SR-Users] cSeq increasing

2014-10-30 Thread Yuriy Gorlichenko
Does it possible increase cSeq manually (for example remove and then append headers?) for UAC module when send INVITE messages with Auth, or kamailio have pseudovar for this header? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing

Re: [SR-Users] cSeq increasing

2014-10-30 Thread Yuriy Gorlichenko
As I understand UAC module can not be used at production as module foroutgoing calls from kamailio to provider with this limitations? 2014-10-30 18:24 GMT+04:00 Pavel Eremin eremina@gmail.com: No way. Use sems or b2b. 30.10.2014 19:59 пользователь Yuriy Gorlichenko ovoshl...@gmail.com

Re: [SR-Users] cSeq increasing

2014-10-30 Thread Yuriy Gorlichenko
at: - http://by-miconda.blogspot.de/2014/10/kamailio-42-tips-7-increment-cseq-for.html Let me know if works ok for you, as I did not test it yet extensively. Cheers, Daniel On 30/10/14 16:11, Yuriy Gorlichenko wrote: As I understand UAC module can not be used at production as module

Re: [SR-Users] cSeq increasing

2014-10-30 Thread Yuriy Gorlichenko
:26 GMT+04:00 Yuriy Gorlichenko ovoshl...@gmail.com: Thanks for answer. Now will insttall it for tests. 2014-10-30 20:01 GMT+04:00 Daniel-Constantin Mierla mico...@gmail.com: This feature (increasing/decreasing cseq for calls authenticated to the next hop by kamailio) is available with 4.2.0

Re: [SR-Users] UAC INVITE to Provider

2014-10-30 Thread Yuriy Gorlichenko
, Contact:sip:vebinar-...@sip.myservice.com:5068 Can you verify is a valid one. On Wed, Oct 29, 2014 at 3:56 PM, Yuriy Gorlichenko ovoshl...@gmail.com wrote: Hello. I use kamailio for calling to porvider. My providr seccefuully registered from UAC module, but when I try to call through it? it back

Re: [SR-Users] cSeq increasing

2014-10-30 Thread Yuriy Gorlichenko
Does I need to use $dlg_var(cseq_diff) before UAC_AUTH()? If yes - How. Documentation say only that this var stores Difference between CSeq... 2014-10-31 1:58 GMT+04:00 Yuriy Gorlichenko ovoshl...@gmail.com: Daniel. I installed new Kamailio 4.2. I set dialog module params like

[SR-Users] (no subject)

2014-10-29 Thread Yuriy Gorlichenko
Hello. I use kamailio with last rtpengine and I have 5-7 Seconds voice delay. This happened only for from webphone. But it is not client issue as i see. Wireshark at client side shows that RTP starts as soon I pick up call. So rtp leaves rtpengine and goes to the destination with delay... I use

[SR-Users] UAC INVITE to Provider

2014-10-29 Thread Yuriy Gorlichenko
Hello. I use kamailio for calling to porvider. My providr seccefuully registered from UAC module, but when I try to call through it? it back 401 Unauthorised. I send second try with Digest Auth header at INVITE and it receive me 401 too... I register this provider from asterisk and call

  1   2   >