Re: [SR-Users] Question about the Secsipid module

2022-09-28 Thread Володимир Іванець
Hello Daniel, Thank you for the hints. I made a very simple configuration and Kamailio v5.6 started without a problem. I will be looking into my current configuration. Test config: loadmodule "tm.so" loadmodule "tmx.so" loadmodule "sl.so" loadmodule "pv.so" loadmodule "secsipid.so" request_r

Re: [SR-Users] Question about the Secsipid module

2022-09-27 Thread Daniel-Constantin Mierla
You can use the 5.6 branch, secsipid module should be the same as in master branch. Otherwise, C99 should be required to be supported by the compiler because of code in many other components, is rpm build script enforcing an older C standard in the compiler? Cheers, Daniel On 27.09.22 17:31, Вол

Re: [SR-Users] Question about the Secsipid module

2022-09-27 Thread Володимир Іванець
I will try the master branch too. Unfortunately there is a problem with the RPM build procedure. I will try a different approach and update you when I have something. Thank you for your help! In file included from core/ppcfg.c:37:0: core/utils/snexpr.h: In function 'snexpr_op': core/utils/snexpr.

Re: [SR-Users] Question about the Secsipid module

2022-09-27 Thread Daniel-Constantin Mierla
Hello, I just tested with git master branch using: secsipid_check_identity(""); and started fine. Maybe is something else wrong in your config. Cheers, Daniel On 27.09.22 13:58, Володимир Іванець wrote: > Hello Daniel, > > Sorry for the delayed response. I can confirm that I get the "unknown >

Re: [SR-Users] Question about the Secsipid module

2022-09-27 Thread Володимир Іванець
Hello Daniel, Sorry for the delayed response. I can confirm that I get the "unknown command, missing loadmodule?" error when using an empty parameter *if (secsipid_check_identity(""))*. And thank you for the clarification about the file with the certificate. пн, 26 вер. 2022 р. о 19:50 Daniel-Co

Re: [SR-Users] Question about the Secsipid module

2022-09-26 Thread Daniel-Constantin Mierla
Hello, secsipid_check_identity("") should be ok, because the parameter is empty, but secsipid_check_identity() is not ok, because is no parameter. Isn't it working when you have secsipid_check_identity("")? It has to be one certificate, which corresponds to the key that was used to generate the

Re: [SR-Users] Question about the Secsipid module

2022-09-26 Thread Володимир Іванець
Hello Daniel! I started with a simpler configuration: *if (secsipid_check_identity()) {* and *if (secsipid_check_identity("")) {* - according to documentation: *If the parameter is empty, the function is downloading the key using the URL from "info" parameter of the Identity header, using the valu

Re: [SR-Users] Question about the Secsipid module

2022-09-26 Thread Daniel-Constantin Mierla
Hello, maybe the function is provided with invalid parameters? What's the line 47 in the file? Cheers, Daniel On 26.09.22 15:54, Володимир Іванець wrote: > Hello everyone! > > I'm testing calls with STIR/SHAKEN with a Secsipid module on a > Kamailio version 5.6.1 and ran into a problem. Outbound

Re: [SR-Users] Question on pike_check_ip(ipaddr)

2022-05-13 Thread Fred Posner
On 5/13/22 16:38, Joel Serrano wrote: I was wondering if pike_check_ip(ipaddr) needs strictly an IP as parameter or can it be a string? pike_check_ip is when you want to use an IP other than the source ip... You can always use an htable to store the ip's of your high volume clients... somet

Re: [SR-Users] Question about a future 5.6 release

2022-03-16 Thread Daniel-Constantin Mierla
Hello, it's getting close for a new major release, indeed. Probably we should freeze development by end of this month, test during April and release sometime in May. Cheers, Daniel On 16.03.22 09:39, Stefan-Cristian Mititelu wrote: > > Hi, > > I want to ask you if there is an approximate time

Re: [SR-Users] Question about siptrace destination/source port capture in HEPv3 mode

2022-01-29 Thread Sergey Safarov
you can check the ticket https://github.com/kamailio/kamailio/issues/2092 On Thu, Jan 20, 2022 at 3:21 PM Daniel-Constantin Mierla wrote: > Hello, > > the source port of tcp connections is typically an ephemeral port, that's > due to tcp design and os layer implementation. Newer kernels have the

Re: [SR-Users] Question about siptrace destination/source port capture in HEPv3 mode

2022-01-20 Thread Daniel-Constantin Mierla
Hello, the source port of tcp connections is typically an ephemeral port, that's due to tcp design and os layer implementation. Newer kernels have the option for reuse port for tcp, but even then it cannot be guaranteed always -- there should be an option for recent kamailios as well. Maybe it ca

Re: [SR-Users] Question regarding parser error for REGISTER request

2021-09-20 Thread Henning Westerholt
Hello, the parser error could be also generated from some unrelated operation in the cfg file, like accessing the Contact parameters. You should be able to get from the context of the error log more information. Regarding debugging, for an obvious suggestion - have you already tried to just dum

Re: [SR-Users] Question on the SL Module

2021-09-20 Thread Henning Westerholt
Hello, I agree that this stats handling is a bit non-intuitive. Basically, the reasoning behind the implementation was, to count certain, well-known return codes with individual counters and have a generic NXX counter for the rest. Taking the 5xx codes as example, the 500 counter just gives yo

Re: [SR-Users] Question about suspected memory leak presence module

2021-09-14 Thread Henning Westerholt
ubject: Re: [SR-Users] Question about suspected memory leak presence module hi using kamailio 4.4.7 on that environment i will try to run some test locally simulating reception of a lot presence subscription and observe mem_copy_subs_noc(), Just to understand, both mem_copy_subs_noc are not expec

Re: [SR-Users] Question about suspected memory leak presence module

2021-09-13 Thread Albert Petit
hi using kamailio 4.4.7 on that environment i will try to run some test locally simulating reception of a lot presence subscription and observe mem_copy_subs_noc(), Just to understand, both mem_copy_subs_noc are not expected to increase, is that right? What do they exactly mean? Thanks On Sa

Re: [SR-Users] Question about suspected memory leak presence module

2021-09-11 Thread Henning Westerholt
Hello, the output below indicates the memory allocated in the individual functions. So it seems that the mem_copy_subs_noc() function allocates a lot of memory. It is increasing over time? The final output looks like a wrapping error, the counter goes negative. Which version of Kamailio do you

Re: [SR-Users] Question about MS Teams integration

2021-07-22 Thread Володимир Іванець
ець пише: > Hello Rob, > > Thank you for sharing this information! > > Regards, Volodymyr Ivanets. > > ср, 21 лип. 2021 о 21:12 пише: > >> >> >> *Van:* sr-users *Namens *? >> ??? >> *Verzonden:* woensdag 21 juli 2021 19:54 >

Re: [SR-Users] Question about MS Teams integration

2021-07-22 Thread Володимир Іванець
Hello Rob, Thank you for sharing this information! Regards, Volodymyr Ivanets. ср, 21 лип. 2021 о 21:12 пише: > > > *Van:* sr-users *Namens *? > ??? > *Verzonden:* woensdag 21 juli 2021 19:54 > *Aan:* Kamailio (SER) - Users Mailing List > *Onderwerp:* Re

Re: [SR-Users] Question about MS Teams integration

2021-07-21 Thread rob.van.den.bulk
Van: sr-users Namens ? ??? Verzonden: woensdag 21 juli 2021 19:54 Aan: Kamailio (SER) - Users Mailing List Onderwerp: Re: [SR-Users] Question about MS Teams integration Rob, Thank you for the link! My domain record looks good in the Settings/Domains section. However

Re: [SR-Users] Question about MS Teams integration

2021-07-21 Thread Володимир Іванець
Rob, Thank you for the link! My domain record looks good in the Settings/Domains section. However, I only choose the "Skype for Business" option. I did not select "Exchange and Exchange Online Protection" as well as "Intune and Mobile Device Management for Microsoft 365" options. According to th

Re: [SR-Users] Question about MS Teams integration

2021-07-21 Thread Bugaian A. Vitalie
Hi Volodimir, you have to setup and verify your domain under admin.microsoft.com in domains section,then create users under that domain and make a dialing plan for these users so you can call these users from/to kamailio. Vitalie. On Wed, Jul 21, 2021 at 6:21 PM Володимир Іванець wrote: > Hel

Re: [SR-Users] Question about MS Teams integration

2021-07-21 Thread rob.van.den.bulk
Or this is better, https://www.vitalpbx.org/blog/integrate-vitalpbx-with-microsoft-teams/ The first part you can use for kamailio Van: sr-users Namens ? ??? Verzonden: woensdag 21 juli 2021 17:56 Aan: Kamailio (SER) - Users Mailing List Onderwerp: Re: [SR-Users

Re: [SR-Users] Question about MS Teams integration

2021-07-21 Thread Rob van den Bulk
ailing List Subject: Re: [SR-Users] Question about MS Teams integration Hello Rob! I have to confess that I don't have any experience with Teams :) I've added "mydomain.com<http://mydomain.com/>" to the Settings => Domains section in the Microsoft 365 admin center.

Re: [SR-Users] Question about MS Teams integration

2021-07-21 Thread Володимир Іванець
Hello Rob! I have to confess that I don't have any experience with Teams :) I've added "mydomain.com" to the Settings => Domains section in the Microsoft 365 admin center. Is Tenant a different thing? If yes could you please point me where to find it? Thank you! Regards, Volodymyr Ivanets. ср,

Re: [SR-Users] Question about MS Teams integration

2021-07-21 Thread Rob van den Bulk
Dit you setup the domain in the tenantadmin.microsoft.com Outlook voor Android downloaden From: sr-users on behalf of Володимир Іванець Sent: Wednesday, July 21, 2021 5:20:16 PM To: Kamailio (SER) - Users Mailing List Subject: [SR-Us

Re: [SR-Users] Question about Kamailio IMS in box

2021-05-17 Thread Mojtaba
absolutely yes. Just set local DNS ip server in nslookup file in Ubuntu. With regards. On Wed, 12 May 2021, 20:48 Ibrahim soumana djibo, wrote: > Hello, > > I am new to kamailio. And I Am following the work of Franz Edler. > > I would like to test it in a local environment without internet conne

Re: [SR-Users] [Question] About softphone for VoLTE

2021-03-18 Thread Daniel-Constantin Mierla
Hello, thanks for all these useful details! Cheers, Daniel On 18.03.21 07:02, supreeth herle wrote: > Hi Daniel, > > I am not using any developer mode for the phone app. I have tested > using a test network with programmable SIM cards from Sysmocom and > COTS UE. In order for the Android phones

Re: [SR-Users] [Question] About softphone for VoLTE

2021-03-17 Thread supreeth herle
Hi Daniel, I am not using any developer mode for the phone app. I have tested using a test network with programmable SIM cards from Sysmocom and COTS UE. In order for the Android phones to perform an IMS attach I make use of Carrier Privileges to force enable the VoLTE feature. More instructions c

Re: [SR-Users] [Question] About softphone for VoLTE

2021-03-17 Thread shigeru ishida
Hi Supreeth, Thank you very much for your information! Is your URL as below? https://github.com/herlesupreeth/Kamailio_IMS_Config Regarding VoLTE, there is another URL on Open5GS site. https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/ In any case, it seems that VoLTE built on private

Re: [SR-Users] [Question] About softphone for VoLTE

2021-03-17 Thread Daniel-Constantin Mierla
Hello, is there like a developer mode for this app that allows to register on a local LTE network? Or you tested with a simcard built for you own network? Cheers, Daniel On 17.03.21 15:05, supreeth herle wrote: > Hi Shigeru, > > Having written Open5GS (LTE / EPC) + Kamailio's VoLTE tutorial myse

Re: [SR-Users] [Question] About softphone for VoLTE

2021-03-17 Thread supreeth herle
Hi Shigeru, Having written Open5GS (LTE / EPC) + Kamailio's VoLTE tutorial myself here is my 2 cents on VoLTE client. You can use any Android phone / iphone with its default phone app to test VoLTE (try to avoid Samsung phone as much as possible) Best regards, Supreeth On Wed, Mar 17, 2021, 3:4

Re: [SR-Users] [Question] About softphone for VoLTE

2021-03-17 Thread shigeru ishida
Hi Daniel, Thank you very much for your information. I have tried AGEphone (VoIP) before. However, I don't have any information on whether Open5GS (LTE / EPC) + Kamailio's VoLTE can be used with a normal phone app on comercial smartphones. Maybe it's just because I'm not familiar with this area.

Re: [SR-Users] [Question] About softphone for VoLTE

2021-03-17 Thread Daniel-Constantin Mierla
Hello, not acting much in this space, but I heard about something like imsdroid -- probably you can try to search on the net and see what you can find. Cheers, Daniel On 12.03.21 09:01, shigeru ishida wrote: > > Hi all, > > I have one question. > > What softphones can I use when trying VoLTE (no

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
Ok..that's interesting to know. Thanks for your input Richard. This helps a lot. On Fri, Dec 4, 2020 at 2:18 PM Richard Fuchs wrote: > On 04/12/2020 14.04, Andrew Chen wrote: > > Sure...I understand ICE has its own setup workflow than SIP but it's > > also important that rtpengine uses the rtp

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
Sure...I understand ICE has its own setup workflow than SIP but it's also important that rtpengine uses the rtp path that's negotiated in the SIP or else it can cause confusion (to those who don't understand ICE very well like me). On Fri, Dec 4, 2020 at 1:47 PM Richard Fuchs wrote: > On 04/12/2

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
Hmm..that's interesting. You would guess that the rtpengine binary process shouldn't start connecting ICE candidates once the SIP part is fully negotiated, which should trigger the rtpengine module on the Kamailio to tell rtpengine binary.."ok..you can start associating now..." On Fri, Dec 4, 202

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
So from a SIP point of view, the 200 OK should of sent the final negotiation of SDP once the client ACK's it right? On Fri, Dec 4, 2020 at 11:49 AM Richard Fuchs wrote: > On 04/12/2020 11.39, Andrew Chen wrote: > > oh...that's the IPv6 address of the STUN server, not the ipv6 of the > > rtpengin

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
oh...that's the IPv6 address of the STUN server, not the ipv6 of the rtpengine instance. On Fri, Dec 4, 2020 at 11:38 AM Richard Fuchs wrote: > On 04/12/2020 11.31, Andrew Chen wrote: > > If that's the case then I don't know why this line doesn't show the > > ipv6 address of the client: > > > >

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
If that's the case then I don't know why this line doesn't show the ipv6 address of the client: Dec 3 18:05:47 ashmainrtpe42 rtpengine[8505]: DEBUG: [ep1sbnkk9tikhg4kpmot]: Forward to sink endpoint: 2001:8a0:78fc:7000:e1d7:e93:3c50:ee71:59827 (RTP seq 25423 TS 0) On Fri, Dec 4, 2020 at 11:25 AM

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
So my next question would be: My 200 OK back to the client should have rtpengine as the only ICE candidate. Shouldn't it use that one instead? On Fri, Dec 4, 2020 at 10:18 AM Richard Fuchs wrote: > On 04/12/2020 09.40, Andrew Chen wrote: > > Hey Richard, > > > > So that's what I thought too un

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 14.04, Andrew Chen wrote: Sure...I understand ICE has its own setup workflow than SIP but it's also important that rtpengine uses the rtp path that's negotiated in the SIP or else it can cause confusion (to those who don't understand ICE very well like me). There is no RTP path

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 13.36, Andrew Chen wrote: Hmm..that's interesting.  You would guess that the rtpengine binary process shouldn't start connecting ICE candidates once the SIP part is fully negotiated, which should trigger the rtpengine module on the Kamailio to tell rtpengine binary.."ok..you can s

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
Hey Richard, So that's what I thought too until I saw this in rtpengine logs for one of my test calls: Dec 3 18:05:47 ashmainrtpe42 rtpengine[8505]: DEBUG: [ep1sbnkk9tikhg4kpmot]: Forward to sink endpoint: 2001:8a0:78fc:7000:e1d7:e93:3c50:ee71:59827 (RTP seq 25423 TS 0) unless I misunderstood w

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 13.10, Andrew Chen wrote: So from a SIP point of view, the 200 OK should of sent the final negotiation of SDP once the client ACK's it right? The requirement to send an updated offer once ICE has completed with the final negotiated candidates existed in the original ICE RFC, but

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
Hey Richard, So it is true rtpengine is handling rtp between kamailio and receiver (freeswitch). I'm trying to understand if there is a way to not forward rtp to any of the ICE candidates in the original INVITE request from the client side. In other words, have the client rtp forward directly to

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
Actually Yuriy's..sorry...I see what you are saying. So my question should be, this means I don't have a choice but to use the ICE candidate between client and kamailio? On Fri, Dec 4, 2020 at 9:11 AM Andrew Chen wrote: > So for Yuriy's comment: > > I did issue ICE=force parameter but, as you c

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Andrew Chen
So for Yuriy's comment: I did issue ICE=force parameter but, as you can see my paste, it's still sending RTP sequence packets to the ICE candidate, which is not what I want to do. Richard, So our current setup is this: SIP client -> kamailio -> freeswitch RTP client -> freeswitch What I want t

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 11.39, Andrew Chen wrote: oh...that's the IPv6 address of the STUN server, not the ipv6 of the rtpengine instance. Ok. From rtpengine's point of view, this is one of the client's IP addresses. The ICE candidate in the SDP is the client telling rtpengine: This is one of my own ad

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 11.31, Andrew Chen wrote: If that's the case then I don't know why this line doesn't show the ipv6 address of the client: Dec  3 18:05:47 ashmainrtpe42 rtpengine[8505]: DEBUG: [ep1sbnkk9tikhg4kpmot]: Forward to sink endpoint: 2001:8a0:78fc:7000:e1d7:e93:3c50:ee71:59827 (RTP seq

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 10.39, Andrew Chen wrote: So my next question would be: My 200 OK back to the client should have rtpengine as the only ICE candidate.  Shouldn't it use that one instead? Yes it should. And it probably does. Cheers ___ Kamailio (SER)

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 09.40, Andrew Chen wrote: Hey Richard, So that's what I thought too until I saw this in rtpengine logs for one of my test calls: Dec  3 18:05:47 ashmainrtpe42 rtpengine[8505]: DEBUG: [ep1sbnkk9tikhg4kpmot]: Forward to sink endpoint: 2001:8a0:78fc:7000:e1d7:e93:3c50:ee71:59827

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 09.24, Andrew Chen wrote: Hey Richard, So it is true rtpengine is handling rtp between kamailio and receiver (freeswitch).  I'm trying to understand if there is a way to not forward rtp to any of the ICE candidates in the original INVITE request from the client side.  In other w

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Richard Fuchs
On 04/12/2020 09.11, Andrew Chen wrote: So for Yuriy's comment: I did issue ICE=force parameter but, as you can see my paste, it's still sending RTP sequence packets to the ICE candidate, which is not what I want to do. Richard, So our current setup is this: SIP client -> kamailio -> frees

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-04 Thread Yuriy Gorlichenko
Hello 2020-12-03T18:05:46.456106+00:00 ashmainkama51 kamailio[22147]: a=candidate:2274611867 1 tcp 1518283007 2001:8a0:78fc:7000:e1d7:e93:3c50:ee71 9 typ host tcptype active generation 0 network-id 2 network-cost 10 is a local candidate sent in the offer from the client ICE=force just says rtpengin

Re: [SR-Users] question regarding rtpengine and ICE candidate selection

2020-12-03 Thread Richard Fuchs
On 03/12/2020 13.39, Andrew Chen wrote: Hi all, I was wondering if someone can help me understand how the ICE parameter works in the rtpengine module works. So basically our client does an ICE candidate lookup and grabs a list of them and applies it to the INVITE that gets sent to the Kamail

Re: [SR-Users] Question about textops

2020-06-26 Thread Henning Westerholt
request). Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com<https://gilawa.com/> From: sr-users On Behalf Of Mojtaba Sent: Friday, June 26, 2020 12:43 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Question about t

Re: [SR-Users] Question about textops

2020-06-26 Thread Mojtaba
Any idea? On Wed, 24 Jun 2020, 14:26 Mojtaba, wrote: > Hello, > Some confusing things while developing in Kamailio: > In is_method_f function in textops module, the code checks the HDR_CSEQ_F > in msg also, and if the method name appears in CSEQ_F, The result is > returned TRUE. > These question

Re: [SR-Users] Question about xhttp module kamailio 5.2.x

2020-01-18 Thread Henning Westerholt
Hello Jimmy, not being the author of the module, so some generic comments. The xhttp module is used from the jsonrpcs module, but the jsonrpcs module controls the handling. This module implements the asynchronous processing as you quoted below. The xhttp module does not implement asynchronous h

Re: [SR-Users] Question regarding priority in dispatcher module

2019-12-05 Thread Floimair Florian
Hi Henning! Yes I was referring to algorithm 8. Thanks for the quick clarification! With best regards FLORIAN FLOIMAIR Software Development Commend International GmbH Saalachstrasse 51 5020 Salzburg, Austria commend.com LG Salzburg / FN 178618z Am 05.12.19, 15:35 schrieb "Henning Wester

Re: [SR-Users] Question regarding priority in dispatcher module

2019-12-05 Thread Henning Westerholt
Hi Florian, If you are referring to algorithm 8 in dispatcher - highest priority numerical value is chosen first. Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com -Original Message- From: sr-users On Behalf Of Floimair Floria

Re: [SR-Users] Question on Database Version Table

2019-11-15 Thread David Villasmil
Nevermind, got it. ~# grep "INSERT.*version" /usr/share/kamailio/mysql/* > /usr/share/kamailio/mysql/acc-create.sql:INSERT INTO version (table_name, > table_version) values ('acc','5'); > /usr/share/kamailio/mysql/acc-create.sql:INSERT INTO version (table_name, > table_version) values ('acc_cdrs',

Re: [SR-Users] Question on Database Version Table

2019-11-15 Thread David Villasmil
Hello All, I need to do a version upgrade from 5 to 5.2. I read about the version_table parameter and i know i can create it and set the versions there. But where do i get the correct versions for the table? i.e.: location is version N? Thanks all! Regards, David Villasmil email: david.villasm

Re: [SR-Users] Question

2019-09-25 Thread Alex Balashov
Oh yeah. — Sent from mobile, with due apologies for brevity and errors. > On Sep 24, 2019, at 7:32 PM, Shahdee Nelson wrote: > > With your software would I be able to create, and modify VOIP lines? As in > saying would I be able to provide VOIP numbers that can make outbound calls > to USA f

Re: [SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Henning Westerholt
Hi Daniel, good tip about the crypto module. It will indeed hide the IP address in the call-id, just tried it: Call-ID: d810d369-aa60-4d79-aee5-9c03d2e66781 I think if we would feed the sruid unique ID (in libs/srutils) into the SHA256 hash (also available there) this it should be secure enoug

Re: [SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Daniel-Constantin Mierla
Hello, using the ip in call-id is not a good practice imo, I had it in mind to replace it properly everywhere for quite some time -- actually at this moment there is an option that can be activated in the crypto module making the call-id to be generated with libssl unique id generation functions,

Re: [SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Joel Serrano
Hello Henning, No concerns at all!! As you say, the Call-ID can really say whatever... The only concern could/would be in the security topic that you are disclosing potential sensible information about your infrastructure blablabla... but that can be solved just by changing the listen= order so ev

Re: [SR-Users] Question regarding Dispatcher + ds_default_socket() modparam + Call-ID generation

2019-08-14 Thread Henning Westerholt
Hello Joel, funny - I just had this discussion about the same topic some days ago. In the end this is "only" the call-id, the IP should not be used to to routing descisions etc.. Do you have some more concerns about this? I think as well it just uses the first IP. I think at the moment the call

Re: [SR-Users] question about reply route

2019-07-02 Thread Iván Aponte
Thanks Joel and Karsten both ideas worked. On Sat, Jun 29, 2019 at 10:13 AM Karsten Horsmann wrote: > > Hi, > > Or you could configure > one listen advertise pubip > And a second listen internal ip (could be from the same private subnet) and > you point your Asterisk to the private ip. > > > Ch

Re: [SR-Users] question about reply route

2019-06-29 Thread Karsten Horsmann
Hi, Or you could configure one listen advertise pubip And a second listen internal ip (could be from the same private subnet) and you point your Asterisk to the private ip. Cheers Karsten Joel Serrano schrieb am Sa., 29. Juni 2019, 06:51: > Using the “advertise” option in the listen= param

Re: [SR-Users] question about reply route

2019-06-28 Thread Joel Serrano
Using the “advertise” option in the listen= param will cause the route/via headers to use whatever you configure there regardless of what the actual interface IP is. One option is for you enable a second port for communication with asterisk, and leave 5060 with the advertise for your trunk... On

Re: [SR-Users] Question about registrar behavior

2019-06-27 Thread Володимир Іванець
Hello Henning, I'm preparing Kamailio configuration that uses save() responce codes for additional actions so email from Lars brought my attention. This is not a problem since as Lars mentioned I can check expires value. I just was curious if this is a correct behavior or not. Thank you! ср, 26

Re: [SR-Users] Question about registrar behavior

2019-06-26 Thread Henning Westerholt
Hello, just briefly looked into the code, but I think the return value is like this for the following reasons: - function update_contacts(..) will skip if a contact is not found and a expires=0 is given (it could be also e.g. that the Contact just expired a few seconds ago in Kamailio) - this

Re: [SR-Users] Question about registrar behavior

2019-06-26 Thread Володимир Іванець
Hello! I've just tested this on Kamailio v. 5.3.0-dev6 with *modparam("usrloc", "db_mode", 0)* setting. save() return code was 1 too. I'm also interested if this behavior is by design. Thanks. ср, 26 черв. 2019 о 11:34 Lars Olsson пише: > Hi, > > I have found a behavior in the registrar module

Re: [SR-Users] Question on Database Version Table

2019-06-19 Thread Daniel-Constantin Mierla
On 18.06.19 22:11, Alex Balashov wrote: > On Tue, Jun 18, 2019 at 10:09:56PM +0200, Daniel-Constantin Mierla wrote: > >> Where did you meet such situation? > I wish I could remember. It's been in various times over the years, but > I never filed a bug report--probably because I didn't really perc

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread Alex Balashov
On Tue, Jun 18, 2019 at 10:09:56PM +0200, Daniel-Constantin Mierla wrote: > Where did you meet such situation? I wish I could remember. It's been in various times over the years, but I never filed a bug report--probably because I didn't really perceive it as a bug consciously. :-) If I had to gu

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread Daniel-Constantin Mierla
On 18.06.19 21:50, Alex Balashov wrote: > It's probably also worth noting that Kamailio's DB layer offers > "unpredictable" reactions to columns which are missing and which the > given version expects to be there. Where did you meet such situation? A missing but expected column should end up in

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread Alex Balashov
It's probably also worth noting that Kamailio's DB layer offers "unpredictable" reactions to columns which are missing and which the given version expects to be there. "Unpredictable" generally means a crash, but when it happens -- the presence of columns isn't always validated at boot time, depe

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread JR Richardson
Yep version_table Set the name of the table holding the table version. Useful if the proxy is sharing a database within a project and during upgrades. Default value is “version”. Example of usage: version_table="version44" That's what I was looking for, perfect! Yes, I added accountcode and notes

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread Daniel-Constantin Mierla
Hello, like Alex said, you can have two version tables, one for each versions of kamailio you play with and use in config the core parameter to set the name of that table. I am actually writing to say that address table never had accountcode and notes columns. Likely they were added in your deplo

Re: [SR-Users] Question on Database Version Table

2019-06-18 Thread Alex Balashov
Hi JR, A Kamailio of a given version will want the version table entries it expects for its version, and will blow up on boot if it does not find them. But it is safe to update them while Kamailio is running, as long as you acknowledge that Kamailio will not start properly if it crashes or is rest

Re: [SR-Users] Question about setbflag and isbflagset usage

2019-06-07 Thread Володимир Іванець
Hello again, I've just noticed that if new branch is created after using *t_suspend* and *t_continue*, branch flag can not be used. Not sure if it can not be set or checked. Doues anyone know about potential problems with such configuration? Thanks! вт, 28 трав. 2019 о 19:43 Володимир Іванець п

Re: [SR-Users] Question about setbflag and isbflagset usage

2019-05-28 Thread Володимир Іванець
Hello Alex, Thank you for the clarification. Now I understand this behavior. пт, 24 трав. 2019 о 22:07 Alex Balashov пише: > Branches are a creature of transactions. It follows that “branch flags” > are transaction-persistent flags at the branch level, rather than scoped to > the transaction as

Re: [SR-Users] Question about setbflag and isbflagset usage

2019-05-24 Thread Alex Balashov
Branches are a creature of transactions. It follows that “branch flags” are transaction-persistent flags at the branch level, rather than scoped to the transaction as a whole. ACKs constitute a separate transaction. — Sent from mobile, with due apologies for brevity and errors. > On May 24, 2

Re: [SR-Users] Question about setbflag and isbflagset usage

2019-05-24 Thread Sergiu Pojoga
Then.. I don't know, lol But the fact that ACKs belong or not to even different transactions (depending on whether positive or negative reply) must be playing a role here. Good luck. On Fri, May 24, 2019, 12:11 PM Володимир Іванець, wrote: > Hello Sergiu, > > We allow multiple contacts to regi

Re: [SR-Users] Question about setbflag and isbflagset usage

2019-05-24 Thread Володимир Іванець
Hello Sergiu, We allow multiple contacts to register on single account. They can have different properties. On step 1 I'm looking for something specific which can be different for different contacts. If I understood correctly *setbflag* and *isbflagset* can set and check flags for different branc

Re: [SR-Users] Question about setbflag and isbflagset usage

2019-05-24 Thread Sergiu Pojoga
I might be wrong, but isn't ACK part of a transaction? If so, you'd need to use *setflag*/*isflagset* Cheers. On Fri, May 24, 2019 at 10:03 AM Володимир Іванець wrote: > Hello everyone! > > I'm not sure if I correctly understood the description of functions > *isbflagset* and *isbflagset* so on

Re: [SR-Users] Question regarding retcode

2019-04-09 Thread Nicolas Breuer
Try to remove the first Xlog because Xlog returns also a $retcode. De : sr-users de la part de Andrew Chen Envoyé : mardi 9 avril 2019 23:03:08 À : Kamailio (SER) - Users Mailing List Objet : [SR-Users] Question regarding retcode Hey all, Question regarding t

Re: [SR-Users] Question regarding retcode

2019-04-09 Thread Andrew Chen
Sorry ignore this. Turns out I had the following sequence of events: - http_query - xlog my result - check $retcode turns out the $retcode was for the xlog, My bad. On Tue, Apr 9, 2019 at 5:03 PM Andrew Chen wrote: > Hey all, > > Question regarding the type of retcode. > > I ran a curl comma

Re: [SR-Users] question about replace_body_all

2018-12-07 Thread Daniel-Constantin Mierla
Hello, On 01.12.18 18:27, Wilkins, Steve wrote: > > Hello, > >   > > I am attempting to change the Message Body of an SIP message using > replace_body_all;  I want to replace all attributes that start with  rtcp. > > Here is my code => > >   > > *replace_body_all(“rtcp:{1}[0-9]{5,}”, newstring), *

Re: [SR-Users] question about replace_body_all

2018-12-01 Thread John Petrini
I've never used replace_body_all but I've done something similar using subt_body. One of the issues I've encountered is that you need to explicitly match line feed characters \n. Also in your replacement you need to include a carriage return and a new line at the end \r\n or they'll end up on one l

Re: [SR-Users] Question on the new Kamailio v5.x Releases

2018-06-27 Thread Fred Posner
On 6/27/18 2:34 PM, Ginhoux, Patrick wrote: Hi, I always read your email regarding new stable releases. I am currently working on a project upgrade of multiples servers to the most recent OS (Windows, RedHat) and middleware. In this project, I have upgraded SIP Proxies server running on old

Re: [SR-Users] Question on Contact Header on Kamailio 200 OK to PBX

2018-06-13 Thread Floimair Florian
Yes it should, but only if “rewrite_contact” is set to “no” for the endpoint (chan_pjsip). With best regards Florian Floimair Innovation - Software-Development COMMEND INTERNATIONAL GMBH A-5020 Salzburg, Saalachstraße 51 http://www.commend.com Security and Communica

Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE"

2018-05-13 Thread Wilkins, Steve
Message- From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of Alex Balashov Sent: Sunday, May 13, 2018 10:32 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE" That seems correct and sou

Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE"

2018-05-13 Thread Alex Balashov
That seems correct and sounds like it should work. What is the request URI of the INVITE that comes back into Kamailio on the B leg? Does its domain match the AOR domain? Do you have your registrar/usrloc set to use domains on lookup()? -- Alex -- Alex Balashov | Principal | Evariste Systems LLC

Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE"

2018-05-13 Thread Wilkins, Steve
o (SER) - Users Mailing List Subject: Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE" On Sun, May 13, 2018 at 01:14:08PM +, Wilkins, Steve wrote: > In my configuration I have to use Asterisk as my PBX, and I use > Kamailio in front of Asterisk acc

Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE"

2018-05-13 Thread Alex Balashov
On Sun, May 13, 2018 at 01:14:08PM +, Wilkins, Steve wrote: > In my configuration I have to use Asterisk as my PBX, and I use > Kamailio in front of Asterisk accepting and inspecting calls. I have > many AORs, for which a phone can register to. I have noticed that, > depending on the call, w

Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE"

2018-05-13 Thread Wilkins, Steve
n Behalf Of Pan Christensen Sent: Friday, May 11, 2018 10:20 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE" Hello Steve. What are you trying to achieve? The call could go from client A to Kamailio to cli

Re: [SR-Users] Question about using Kamailio and Asterisk and flow of an "INVITE"

2018-05-11 Thread Pan Christensen
Hello Steve. What are you trying to achieve? The call could go from client A to Kamailio to client B. No need to involve Asterisk. If you need PBX functionality, the INVITE needs to be routed to Asterisk, which will most likely answer the call and then set up a new call to client B. As Asteris

Re: [SR-Users] question on TM transaction matching

2018-04-19 Thread Kelvin Chua
yes i agree quite difficult to trace, here is the invite of the non-working one U 2018/04/19 04:39:42.316735 w.x.y.z:44308 -> a.b.c.d:6060 INVITE sip:408@a.b.c.d:6060;transport=UDP SIP/2.0. Via: SIP/2.0/UDP w.x.y.z:44308;branch=z9hG4bK-524287-1---bac673a0af203e10; rport. Max-Forwards: 70. Contact:

  1   2   >