Re: [SR-Users] usrloc module expires column issues

2016-11-09 Thread Grant Bagdasarian
Hi Daniel, Thank you! Changing to bigint in the DB fixed it. Both expires and last_modified now contain a unix timestamp. Reloading also works now! Regards, Grant Bagdasarian CM From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: dinsdag 8 november 2016 14:58 To: Grant Bagdasarian

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
Hello Daniel, Here more clear trace https://www.dropbox.com/s/2z6ck71ulidqelh/kamailio-BYE-flow.png?dl=0 BYE send by kamailio to wrong freeswitch box. Slava From: "volga629" To: "sr-users" Sent: Wednesday, 9 November, 2016 20:09:53 Subject: Re: [SR-Users] BYE dispatcher Hello Daniel

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
Hello Daniel, Please check this sip call flow picture https://www.dropbox.com/s/itdewdg3ph7xcyx/kamailio-fs-BYE-flow.gif?dl=0 Kamilio send BYE to incorrect freeswitch which already responded to BYE from leg one. Slava. From: "volga629" To: "sr-users" Sent: Wednesday, 9 November, 2016

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
Hello Everyone, Here are full trace call. https://paste.fedoraproject.org/476607/14787290/ Slava. From: "volga629" To: "sr-users" Sent: Wednesday, 9 November, 2016 13:17:34 Subject: Re: [SR-Users] BYE dispatcher Based on this out put Freeswitch send BYE to kamailio and Route present

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
Based on this out put Freeswitch send BYE to kamailio and Route present then kamailio forward BYE to client and no routes. Then client reply 481. Do I need add it ? Is this tag= problem ? 24 is freeswtich and 27 kamailio. IP (tos 0x0, ttl 64, id 56723, offset 0, flags [none], proto UDP (17),

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
Hello Everyone, I cleared registrations and tried again and issue still present. Client reply with 481. IP (tos 0x0, ttl 52, id 7731, offset 0, flags [none], proto UDP (17), length 638) client_pub_ip.49383 > proxy_pub_ip.llrp: [udp sum ok] UDP, length 610 E..~.3..4...cE.\.j..SIP/2.0

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Slava Bendersky
Hello Everyone, I changed dispatcher algorithm from 0 to 1 and start working as expected. Yes group 0 is accepted. route[DISPATCHER] { if(!ds_select_dst("0", "1")) { xlog("L_ERROR","ERROR: Proxy Mapping - Desitnation for $fd not found...request dropped \n"); sl_send_reply("404","Desitinatio

[SR-Users] Kamailio v4.4.4 Released

2016-11-09 Thread Daniel-Constantin Mierla
Hello, Kamailio SIP Server v4.4.4 stable release is out. This is a maintenance release of the latest stable branch, 4.4, that includes fixes since the release of v4.4.3. There is no change to database schema or configuration language structure that you have to do on previous installations of v4.4

[SR-Users] Homer's kamailio config + enabling siptrace module

2016-11-09 Thread Ján Füri
Hi guys, I'm using captagent on my all kamalios and freeswitches to capture and send sip to homer server. That works very well. But I would like to enable, on homer's kamailio, the module SipTrace (http://www.kamailio.org/docs/modules/4.4.x/modules/siptrace.html) and save captured data into

[SR-Users] Change CLID

2016-11-09 Thread Nelson Migliaro
Hello, I have several SIP vendors and I must present a different CLID for each of them. I am planning to use failure routers in Kamailio to route calls to a different vendor in case of failure. The problem I face is changing clid in each route. I am planning to use a mysql database to select th

Re: [SR-Users] Count number of early(Ringing) dialogs on gateway

2016-11-09 Thread Aqs Younas
Thank you Daniel, everything is cleared now. On 9 November 2016 at 13:43, Daniel-Constantin Mierla wrote: > Hello, > > during the early state of a dialog (like trying, ringing, ...), there can > be many outgoing branches of the initial INVITE (think about a call going > to a user which has two s

[SR-Users] How to get Destination port UDP

2016-11-09 Thread andrzej.ciupek-asterisk.edu.pl
Hello Thank You. In using Kamailio only as: route { if (is_method("INVITE")) { sql_query("cb", "insert into invites (from_user,to_user,callid,src_ip,dst_ip,src_port,dst_port) values ('$fU','$rU','$ci','$si','$rd','$sp','$rp')"); } } I know that sip_capture(); In some way get real DST por

Re: [SR-Users] Planning the release of Kamailio v4.4.4

2016-11-09 Thread Daniel-Constantin Mierla
Hello, quick note to remind about the release of v4.4.4 today. Any commit to branch 4.4 should be done before 12:00UTC, afterwards write first on sr-dev or ping me on irc channel to sync in order to avoid building inconsistent release files. Cheers, Daniel On 07/11/16 09:41, Daniel-Constantin Mi

Re: [SR-Users] Count number of early(Ringing) dialogs on gateway

2016-11-09 Thread Daniel-Constantin Mierla
Hello, during the early state of a dialog (like trying, ringing, ...), there can be many outgoing branches of the initial INVITE (think about a call going to a user which has two sip phones registered for same account). It's the reason dialog waits to see which branch is responding from callee sid

Re: [SR-Users] fnmatch

2016-11-09 Thread Daniel-Constantin Mierla
Hello, On 09/11/16 03:39, Slava Bendersky wrote: > Hello Daniel, > Accept by MESSAGE is 202. In my match string was set 200. I changed to > 202 and it works as should be. ok, clarified now -- I wanted to be sure it's no unexpected behaviour. Cheers, Daniel > > Slava. > > -

Re: [SR-Users] BYE dispatcher

2016-11-09 Thread Daniel-Constantin Mierla
Hello, On 08/11/16 20:42, Slava Bendersky wrote: > Hello Everyone, > My setup is kamailio as proxy with few boxes of freeswitch in the > LAN. Having issue with BYE when extensions register on different > freeswitch boxes. Here are some trace of the call. > Not sure if this tag= miss match or rou