[SR-Users] siptrace duplicate both incoming and outgoing messages

2017-03-14 Thread Grant Bagdasarian
Hi, Is it possible to instruct Kamailio to duplicate both incoming and outgoing messages automatically? If not, if I set the flag and explicitly call sip_trace, will both messages be duplicated to the capture server? Regards, Grant Bagdasarian CM

[SR-Users] Access avp between sip transactions

2017-03-09 Thread Grant Bagdasarian
Kamailio engine? I guess I could use a htable, but I'm just wondering if there is a built-in way for doing this. Regards, Grant Bagdasarian CM ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-route

Re: [SR-Users] rtpengine sending rtp to wrong endpoint after reinvite

2017-03-08 Thread Grant Bagdasarian
://github.com/sipwise/rtpengine/issues/330 Regards, Grant Bagdasarian CM From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: dinsdag 7 maart 2017 23:06 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] rtpengine sending rtp to wrong

[SR-Users] rtpengine sending rtp to wrong endpoint after reinvite

2017-03-07 Thread Grant Bagdasarian
tch or sems for call control. Does anyone have experience with this case? Or seen the issue before where rtpengine keeps sending rtp to the original endpoint? Regards, Grant Bagdasarian CM ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users

Re: [SR-Users] String split function

2016-12-29 Thread Grant Bagdasarian
List Subject: Re: [SR-Users] String split function Hi Grant, On Thu, Dec 29, 2016 at 09:12:05AM +0000, Grant Bagdasarian wrote: > Hi, > > Is there a string split function built into Kamailio for use in the > cfg script? I'd like to split a string of key/value pairs inside t

[SR-Users] String split function

2016-12-29 Thread Grant Bagdasarian
Hi, Is there a string split function built into Kamailio for use in the cfg script? I'd like to split a string of key/value pairs inside the cfg script. For example: Key1=Value1;Key2=Value2; First split on ; Then on = I think I can use the String Transformation {s.select,index,separator}, but I

[SR-Users] Htable sht_rm_name_re usage

2016-11-15 Thread Grant Bagdasarian
' + $ci + '::reference' + '$'; sht_rm_name_re("calls=>$var(callid)"); sht_rm_name_re("calls=>$var(callid_reference)"); Hope this may help someone in the future facing the same issue. Regards, Grant Bagdasarian CM

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] usrloc module expires column issues

2016-11-08 Thread Grant Bagdasarian
contact`='sip:s@1.1.1.1:5060' AND `call id`='56b9ca823f9a11d361e184cc5eed07fc@1.1.1.1' AND `domain`='sip-server-gw-01.test.voipdomain.local' From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: dinsdag 8 november 2016 12:38 To: Grant Bagdasarian ; Kamailio

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

2016-11-08 Thread Grant Bagdasarian
: Grant Bagdasarian ; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] usrloc module expires column issues Hello, I haven't encountered such problem so far and no similar report was done to kamailio project recently. I noticed that newer versions of mysql (maybe mariadb as well

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

2016-11-08 Thread Grant Bagdasarian
Hi Daniel, Sorry for the late reply. We’re using a Galera Cluster based on Maria DB. Regards, Grant Bagdasarian From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: donderdag 6 oktober 2016 12:50 To: Kamailio (SER) - Users Mailing List

[SR-Users] RTPEngine & Homer

2016-10-17 Thread Grant Bagdasarian
Hello, I'm trying to get rtpengine to send its stats to Homer, but I'm unsure to which IP I should configure RTPengine to send the stats? We have a Kamailio server configured with the sipcapture module, which works perfectly for SIP traffic, but RTP stats are not visible in Homer. Do I need to p

Re: [SR-Users] Reload PIPILIMIT table from DB

2016-10-12 Thread Grant Bagdasarian
/10/16 15:07, Grant Bagdasarian wrote: Hello, Is it possible to live reload the pipelimit module so it gets new values from the DB without a restart of Kamailio? I couldn’t find a command to do this. no reload command at this moment. What do you want to update from db? Getting new pipes or

[SR-Users] Reload PIPILIMIT table from DB

2016-10-11 Thread Grant Bagdasarian
Hello, Is it possible to live reload the pipelimit module so it gets new values from the DB without a restart of Kamailio? I couldn't find a command to do this. Regards, Grant Bagdasarian CM ___ SIP Express Router (SER) and Kamailio (OpenSER)

[SR-Users] usrloc module expires column issues

2016-09-26 Thread Grant Bagdasarian
4.4.3, and used the dbtables script from version 4.4 to recreate the location table, but without success. Anyone else having this issue? Any resolution for it? Regards, Grant Bagdasarian CM ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-

Re: [SR-Users] REGISTER between Kamailio 4.4 and Asterisk 13

2016-09-26 Thread Grant Bagdasarian
2016, at 15:53, Grant Bagdasarian mailto:g...@cm.nl>> wrote: Hello, We’re trying to get our Asterisk test server to REGISTER with Kamailio. The first attempts are ok, but once the nonce timer is exceeded Kamailio starts rejecting the REGISTER requests from Asterisk, due to the nonce being e

[SR-Users] REGISTER between Kamailio 4.4 and Asterisk 13

2016-09-26 Thread Grant Bagdasarian
. Is this an issue in Asterisk or Kamailio? Which component is responsible for generating a new nonce value? I'm a bit confused regarding the flow of SIP REGISTER. I hope someone could help me out on this. Thanks! Regards, Grant Bagdasarian _

[SR-Users] .NET Core & Kamailio 5.0

2016-09-20 Thread Grant Bagdasarian
Hi, I was reading some docs on Kamailio 5 and saw in the ToDo list an item about implementing the dynamic object mechanism for Mono. Would it be possible to implement it directly for .NET Core, since the official .NET support has been added to Linux some time ago? Regards, Grant __

Re: [SR-Users] Extract param from RPID header

2016-09-19 Thread Grant Bagdasarian
header Hi, you should try the following: $(hdr(Remote-Party-ID){tobody.params}{param.value,privacy}) Thanks, Carsten 2016-09-19 14:03 GMT+02:00 Grant Bagdasarian mailto:g...@cm.nl>>: Hello, I’m trying to extract the privacy param from the RPID header, but without success. Could someone po

[SR-Users] Extract param from RPID header

2016-09-19 Thread Grant Bagdasarian
Hello, I'm trying to extract the privacy param from the RPID header, but without success. Could someone point me in the right direction? Remote-Party-ID: "Cullen Jennings" ;party=calling;privacy=off;screen=no. I've tried the following ways: 1) TEXTOPSX: $var(rpid_privacy_value) = @hf_val

Re: [SR-Users] Managing concurrent ports

2016-07-20 Thread Grant Bagdasarian
concurrent ports On 07/20/2016 06:43 PM, Alex Balashov wrote: > On 07/20/2016 06:39 PM, Grant Bagdasarian wrote: > >> Do you also store state in the database? > > No. In my experience, that attracts from the beauty of the experience. > *detracts -- Alex Balashov | Principal |

Re: [SR-Users] Managing concurrent ports

2016-07-20 Thread Grant Bagdasarian
...@o1.com<mailto:bbrid...@o1.com> | web: www.o1.com<http://www.o1.com/> From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Grant Bagdasarian Sent: Tuesday, July 19, 2016 11:46 PM To: sr-users@lists.sip-router.org<mailto:sr-users@lists.sip-router.org>

[SR-Users] Managing concurrent ports

2016-07-19 Thread Grant Bagdasarian
Hello, Are there any recommended modules for managing concurrent ports for different endpoints/customers/accounts/etc? I believe the dialog and dialog_ng modules do exactly this, but how is the performance of these modules under high loads? What is the release time of the ports? Are there perha

Re: [SR-Users] Detect 200 OK for ReINVITE

2016-07-12 Thread Grant Bagdasarian
I’ve tested it, and it worked. From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Olle E. Johansson Sent: Tuesday, July 12, 2016 3:56 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Detect 200 OK for ReINVITE On 12 Jul 2016, at 15:18, Grant Bagdasari

Re: [SR-Users] Detect 200 OK for ReINVITE

2016-07-12 Thread Grant Bagdasarian
Hi Alex, Here a sample config (not yet tested). Does this make sense and will this work? route[WITHINDLG] { if (!has_totag()) { return; } # Sequential request within a dialog should take the path determined by record-routing if (loose_rou

[SR-Users] Detect 200 OK for ReINVITE

2016-07-12 Thread Grant Bagdasarian
Hi, Is it possible in Kamailio, or SIP in general, to detect if a 200 OK is for a ReINVITE? Regards, Grant ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/ma

Re: [SR-Users] Handling ReINVITEs

2016-06-09 Thread Grant Bagdasarian
Hi Alex, Thank you! One more question regarding 200 OK for a ReINVITE: is it possible to detect if a 200 OK is for a ReINVITE? Regards, Grant -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Wednesday, June 8, 2016 5:3

[SR-Users] Handling ReINVITEs

2016-06-08 Thread Grant Bagdasarian
Hello, How should reINVITEs be handled in the kamailio script and also in combination with rtpengine? I was reading the RR docs and loose_route function pretty much handles this if I'm correct. We're currently receiving reINVITEs for checking if a session is still active, not for session modifi

Re: [SR-Users] Send Register from Kamailio

2016-06-01 Thread Grant Bagdasarian
#uac.r.uac.reg_disable in addition, there is limitaion for reloading uacreg table. i am not sure but it can be reloaded in 150 sec. Cheers. 1.06.2016 11:26 tarihinde Grant Bagdasarian [via SIP Router] yazdı: Thank you! The UAC module has a modparam: reg_db_url which contains a description of: "DB U

Re: [SR-Users] Send Register from Kamailio

2016-06-01 Thread Grant Bagdasarian
Thank you! The UAC module has a modparam: reg_db_url which contains a description of: "DB URL to fetch account profiles for registration". Is this required? If so, is it possible to use the same table for multiple kamailio instances where each instance has to register with different credentials

[SR-Users] Send Register from Kamailio

2016-06-01 Thread Grant Bagdasarian
Hello, Which module do I need to have Kamailio send REGISTER messages to our carrier? Is it the UAC module or REGISTRAR module? It just needs to register with our carrier in order to receive inbound calls. Regards, Grant ___ SIP Express Router (SER) a

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-11 Thread Grant Bagdasarian
rom P-Asserted-Identity header \r\n"); Debug log: P-Asserted-Identity: "Grant" ,tel:+3101234567 Retrieved CallerId (+3101234567) from P-Asserted-Identity header Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Monday, April 11, 2016 11:25 AM To: Grant

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-11 Thread Grant Bagdasarian
the params transformation. Cheers, Daniel On 08/04/16 17:41, Grant Bagdasarian wrote: To answer my own question. This does parse: $var(p_asserted_identity) = $(hdr(P-Asserted-Identity)[*]); $var(caller_id

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-08 Thread Grant Bagdasarian
sure if this is the correct way to do this. Maybe someone else has a more elegant solution? From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Grant Bagdasarian Sent: Friday, April 8, 2016 5:38 PM To: Kamailio (SER) - Users Mailing List (sr-users@lists.sip-router.org)

[SR-Users] Extracting P-Asserted-Identity value

2016-04-08 Thread Grant Bagdasarian
Hello, How do I extract the value of "tel" from multiple P-Asserted-Identity headers? Example: P-Asserted-Identity: "Cullen Jennings" P-Asserted-Identity: tel:+14085264000 What I got so far is: $var(p_asserted_identity) = $(hdr(P-Asserted-Id

Re: [SR-Users] SIP Message Body

2016-04-07 Thread Grant Bagdasarian
Hi Daniel, Is it also possible to get the full sip message using a pseudo variable, including the sip headers etc? Regards, Grant From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, April 7, 2016 9:07 AM To: Kamailio (SER) - User

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-04-04 Thread Grant Bagdasarian
reply On 04 Apr 2016, at 10:02, Grant Bagdasarian mailto:g...@cm.nl>> wrote: Hi Daniel, You mentioned below about this issue not being complaint with the RFC. Our supplier is telling us this is normal behavior and that they went through the RFC and found this was normal behavior. If it

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-04-04 Thread Grant Bagdasarian
ribed? Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, March 18, 2016 4:33 PM To: Grant Bagdasarian ; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply Hello, the problem is that the devic

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-21 Thread Grant Bagdasarian
bout the parameter requiring a string. I've also tried using the following steps, but rewritehost doesn't allow variables too :( rewritehost("$var(cancel_dst)"); $du = "sip:$var(cancel_dst):5060;transport=udp"; Any ideas? Regards, Grant From: sr-users [mailto:sr-users-

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-21 Thread Grant Bagdasarian
Hello Daniel, Thank you for figuring this out and explaining it to me! This has helped me a lot! Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, March 18, 2016 4:33 PM To: Grant Bagdasarian ; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-19 Thread Grant Bagdasarian
as a "customer". Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, March 18, 2016 10:25 AM To: Grant Bagdasarian ; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply Hello, with CeBIT trip th

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-19 Thread Grant Bagdasarian
Hello Community, Could someone point me into the right direction for fixing this issue with CANCEL replies? Regards, Grant From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Grant Bagdasarian Sent: Tuesday, March 15, 2016 8:47 PM To: 'mico...@gmail.com'

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-15 Thread Grant Bagdasarian
Any ideas how to solve this? Regards, Grant From: sr-users on behalf of Grant Bagdasarian Sent: Monday, March 14, 2016 3:09:47 PM To: 'mico...@gmail.com'; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-14 Thread Grant Bagdasarian
.4: receive_msg(): no via found in reply Hello, what would be relevant here is seeing the INVITE request sent to 10.14.0.1:5060 -- paste it to the mailing list discussion. That is going to be used to generate 487, and the Via stack from it should be used there. Cheers, Daniel On 14/03/16 13:23, Gr

[SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-14 Thread Grant Bagdasarian
Hello, We're testing kamailio 4.3.4 with two kamailio's communicating with each other. One of them is a gateway with rtpengine at the carrier side, the other is a basic sip router. When calling a destination and cancelling the INVITE a 487 is received from the carrier and directly ACK'd by the

Re: [SR-Users] siptrace module plain sip mode

2016-02-17 Thread Grant Bagdasarian
Hi Vella, Could you please share your configuration on the capture node? Here is my kamailio.cfg on the capture node: modparam("sipcapture", "db_url", "unixodbc:// ") modparam("sipcapture", "capture_on", 1) modparam("sipcapture", "table_name", "SIPCapture") modparam("sipc

[SR-Users] siptrace module plain sip mode

2016-02-16 Thread Grant Bagdasarian
Hello, The documentation of the siptrace module specifies duplication of sip messages to a capture server using the HEP protocol or plain SIP mode. Which params to I need to set (and with which values) in the siptrace and sipcapture to enable plain SIP mode? I tried several configurations but no

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread Grant Bagdasarian
This looks promising! I was doing exactly this! I'm trying to do a correct translation of anonymous caller id from source to destination, where the source is one of our customers and the destination our carriers. Some of our carriers do not support setting the privacy param in the RPID, so I ha

[SR-Users] Get value of RPID privacy param

2016-01-17 Thread Grant Bagdasarian
Hello, How do I select the value of the privacy parameter in the Remote-Party-ID header? Remote-Party-ID: "John Doe" ;party=calling;id;privacy=full;screen=yes The following doesn't work, and I believe because it's not a valid select class: $sel(@hf_value.remote_party_id.privacy) I'm using kam

Re: [SR-Users] siptrace retransmission's

2016-01-12 Thread Grant Bagdasarian
eter. Cheers, Daniel On 11/01/16 11:06, Grant Bagdasarian wrote: Hello All, I'm load testing Kamailio with siptrace (duplicate) enabled, but for some reason not all SIP messages are arriving at the sip capture server (kamailio instance with sipcapture). The load is an average of 50 CP

[SR-Users] siptrace retransmission's

2016-01-11 Thread Grant Bagdasarian
Hello All, I'm load testing Kamailio with siptrace (duplicate) enabled, but for some reason not all SIP messages are arriving at the sip capture server (kamailio instance with sipcapture). The load is an average of 50 CPS. I enabled debug 9 and I get the following messages. [mem/q_malloc.c:36

Re: [SR-Users] behaviour of exit();

2016-01-11 Thread Grant Bagdasarian
ctive branch to get a reply or time out. Cheers, Daniel On 11/01/16 10:20, Grant Bagdasarian wrote: Hello, I have the following statements in my config script. When either of the IF statements is true, what does the exit function do? Will it still pass the message to the next hop or will it just

[SR-Users] behaviour of exit();

2016-01-11 Thread Grant Bagdasarian
Hello, I have the following statements in my config script. When either of the IF statements is true, what does the exit function do? Will it still pass the message to the next hop or will it just abort and drop the sip message? failure_route[DISPATCH_FAILURE] { xlog("L_INFO", "

[SR-Users] Kamailio and Skype for Business (MS Lync)

2015-12-21 Thread Grant Bagdasarian
Hello, Does anyone have any experience configuring Kamailio as a gateway for Skype For Business (Microsoft Lync)? Regards, Grant ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip

[SR-Users] Kamailio 4.3 and Debian 8.2 systemctl

2015-10-21 Thread Grant Bagdasarian
Hello, I've just installed Kamailio 4.3 on Debian 8.2, but starting kamailio does not work since Debian requires systemctl to be setup. I've tried the below config but it didn't work (https://github.com/kamailio/kamailio/issues/294#issuecomment-138590939) usr/local/src/kamailio# systemctl stat

Re: [SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread Grant Bagdasarian
Thanks for the input. I'll try the Session Timers and the ka_timer param from the dialog module. -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Olle E. Johansson Sent: Wednesday, October 21, 2015 9:30 AM To: Kamailio (SER) - Users Mailing Li

[SR-Users] Sending ReINVITE from Kamailio

2015-10-20 Thread Grant Bagdasarian
Hello, Is it possible to have Kamailio send a ReINVITE every X minutes to determine if a session is still active? I know it's a proxy and doesn't have B2BUA capabilities, but there was a module which allowed Kamailio to generate SIP messages, but I can't find it anymore. If Kamailio is not the p

Re: [SR-Users] SIP and conntrackd experience?

2015-10-01 Thread Grant Bagdasarian
Grant Bagdasarian wrote: > A is connected to C in say 10 seconds and they're exchanging RTP. > Now, the firewalls at B are turned off, or crash or whatever, mid call. > > Would this cause the session to be disconnected? The media is > obviously gone, but will the session remain

Re: [SR-Users] SIP and conntrackd experience?

2015-09-30 Thread Grant Bagdasarian
users-boun...@lists.sip-router.org] On Behalf Of Daniel Tryba Sent: Wednesday, September 30, 2015 10:56 AM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] SIP and conntrackd experience? On Wednesday 30 September 2015 07:19:08 Grant Bagdasarian wrote: > Does anyone have experience

[SR-Users] SIP and conntrackd experience?

2015-09-30 Thread Grant Bagdasarian
Hello, Does anyone have experience with SIP and conntrackd? Our media and signaling is separated. Does this work for VPN connections where SIP is sent over the VPN but the media over public internet? Thanks, Grant ___ SIP Express Router (SER) and Kama

Re: [SR-Users] need help with RTPProxy in bridged mode

2015-08-13 Thread Grant Bagdasarian
return; } #!endif I hope this either help alot of other ppl or get me some better advise on how to improve. Best Regards, Sammy Blog: http://saevolgo.blogspot.com On Thu, Aug 13, 2015 at 10:10 AM, Grant Bagdasarian mailto:g...@cm.nl>> wrote: It’s wor

Re: [SR-Users] need help with RTPProxy in bridged mode

2015-08-13 Thread Grant Bagdasarian
) rtpproxy_manage(“eir”); In the withindlg route, you don’t need to specify the ei/ie direction, but you will need to pass the ‘r’ flag. Regards, Hugh From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Grant Bagdasarian Sent: 13 August 2015 14:50 To: SIP Router - Kamailio

Re: [SR-Users] need help with RTPProxy in bridged mode

2015-08-13 Thread Grant Bagdasarian
way to dig a little deeper and find out why it ignored those packets? From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Grant Bagdasarian Sent: Thursday, August 13, 2015 3:50 PM To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List Subject

Re: [SR-Users] need help with RTPProxy in bridged mode

2015-08-13 Thread Grant Bagdasarian
[SR-Users] need help with RTPProxy in bridged mode Hi, Try starting rtpprpxy with a / in between the two IP addresses. For example -l 1.1.1.1/2.2.2.2<http://1.1.1.1/2.2.2.2> Besides that it depends where you are placing your rtpproxy function. BR, Sammy On Aug 13, 2015 8:36 AM, "Grant

[SR-Users] need help with RTPProxy in bridged mode

2015-08-13 Thread Grant Bagdasarian
Hello, I'm using RTPproxy for the first time in bridged mode and I can't get kamailio/rtpproxy to rewrite the c parameter to the correct public ip address of kamailio. The setup is as following: Carrier --[fiber]-- Kamailio -[lan]- Freeswitch Kamailio is listening on t

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

2015-08-12 Thread Grant Bagdasarian
From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Grant Bagdasarian Sent: Wednesday, August 12, 2015 10:55 AM To: Kamailio (SER) - Users Mailing List (sr-users@lists.sip-router.org) Subject: [SR-Users] RTPProxy incorrect port 0 in reply from rtp proxy Hello, I&#x

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

2015-08-12 Thread Grant Bagdasarian
Hello, I've been load testing kamailio(4.2) with rtpproxy(2.0) using sipp, and when I hit 50+ CPS I start getting the following error: "incorrect port 0 in reply from rtp proxy". I'm running 4 instances of rtpproxy on the same instance as kamailio. Could somebody tell me why I'm receiving this

[SR-Users] Running Kamailio 4.3 on Debian 8.1 and systemd

2015-08-10 Thread Grant Bagdasarian
Hello, I just installed the latest stable release of Kamailio (I believe 4.3.1) on a debian 8.1 system using the install guide (http://www.kamailio.org/wiki/install/4.3.x/git). Starting kamailio didn't work using /etc/init.d/kamailio start. I got the following error: # /etc/init.d/kamailio star

Re: [SR-Users] SIPCapture and Message Queues

2015-07-27 Thread Grant Bagdasarian
it, but the Kazoo module provides you with an AMQP connector the allows you to publish messages to RabbitMQ. Would that work for you? Javi On 16/07/15 12:52, Grant Bagdasarian wrote: Hello, Would it be possible to send the messages captured by the sipcapture module to a message queue instead of in

[SR-Users] SIPCapture and Message Queues

2015-07-16 Thread Grant Bagdasarian
Hello, Would it be possible to send the messages captured by the sipcapture module to a message queue instead of inserted directly into a database? Be it DMQ or SQL Server Service Broker Queues, etc. Or maybe another approach, executing a stored procedure instead of an insert statement? I cou

Re: [SR-Users] Strange behavior for TCP and UDP SIP Routing

2015-05-06 Thread Grant Bagdasarian
that has the final decision on the connection. Note that you can also force a specific inteface with force_send_socket() or $fs= "...". Cheers, Daniel On 06/05/15 15:26, Grant Bagdasarian wrote: Hello, I have a Kamailio machine configured with two interfaces. One public, one priva

[SR-Users] Strange behavior for TCP and UDP SIP Routing

2015-05-06 Thread Grant Bagdasarian
Hello, I have a Kamailio machine configured with two interfaces. One public, one private. Public Address: 10.10.10.10 Private Address: 192.168.1.10 Kamailio forwards the SIP packet to another local endpoint: 192.168.1.20 When a client sends a SIP packet using TCP to the public address of Kamail

Re: [SR-Users] LCR with gateway capabilities

2015-04-29 Thread Grant Bagdasarian
t of both methods. From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Vitaliy Aleksandrov Sent: Wednesday, April 29, 2015 12:27 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] LCR with gateway capabilities On 29/04/15 12:34, Grant Bagdasarian wrote: That s

Re: [SR-Users] LCR with gateway capabilities

2015-04-29 Thread Grant Bagdasarian
That sounds possible! Thanks. That does this description mean: "Execution time of load_gws() function is O(N) * O(M), where N is number of different prefix lengths and M is number of collisions for matching prefix(es) in lcr rules hash table of the LCR instance."? Does this mean it loads the d

[SR-Users] LCR with gateway capabilities

2015-04-29 Thread Grant Bagdasarian
Hello, >From what I understand about the LCR module is that the rules have to be >prioritized by the admin, be it manually or automatically by an application. Let's say the LCR database has 10 gateways, each with their own rules etc. 4 of these gateways support caller id spoofing and the others

Re: [SR-Users] BYE not forwarded

2015-04-08 Thread Grant Bagdasarian
] Sent: Wednesday, April 8, 2015 2:32 PM To: Grant Bagdasarian; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] BYE not forwarded Hello, domain table must contains the hostnames associated with the Kamailio server. Eventually you can add local ip addresses, but they are redundant if

Re: [SR-Users] BYE not forwarded

2015-04-08 Thread Grant Bagdasarian
in Mierla Sent: Wednesday, April 8, 2015 1:28 PM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] BYE not forwarded Hello, is the ip 10.0.0.40 set as alias or domain in domain table? It looks like kamailio considers it to be a local domain. Cheers, Daniel On 08/04/15 13:13, Grant Ba

[SR-Users] BYE not forwarded

2015-04-08 Thread Grant Bagdasarian
Hello, I have the following setup: UAC (Bria) -- Kamailio Freeswitch Kamailio is used to authenticate the client using basic authentication. Upon authentication the INVITE is sent to Freeswitch for further handling. Kamailio stays in the path using record-route. At this point, the

[SR-Users] SIP Authentication Best Practices

2015-04-01 Thread Grant Bagdasarian
Hello, I'm implementing basic authentication using the auth and auth_db module, and I was wondering which domain to use when calling the auth_check function? Should I use the From domain or the To domain? Or both? The default configuration file deployed with kamailio uses $fd, but a code sample

Re: [SR-Users] jsonrpc_exec crashes kamailio

2015-04-01 Thread Grant Bagdasarian
Yes, the version from git fixed the issue. Thanks for the help! From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Wednesday, April 1, 2015 1:06 PM To: Grant Bagdasarian; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] jsonrpc_exec crashes kamailio I just tested here and

Re: [SR-Users] jsonrpc_exec crashes kamailio

2015-04-01 Thread Grant Bagdasarian
on refused I'm using the tutorial on: https://www.kamailio.org/wiki/install/4.2.x/git From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Grant Bagdasarian Sent: Wednesday, April 1, 2015 12:45 PM To: 'mico...@gmail.com'; Kamailio (SER) - Users Mailing List Subjec

Re: [SR-Users] jsonrpc_exec crashes kamailio

2015-04-01 Thread Grant Bagdasarian
I'm running 4.2.3 from tar. I'll try the git branch. From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Wednesday, April 1, 2015 12:36 PM To: Grant Bagdasarian; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] jsonrpc_exec crashes kamailio Hello, one thing

Re: [SR-Users] jsonrpc_exec crashes kamailio

2015-04-01 Thread Grant Bagdasarian
ierla [mailto:mico...@gmail.com] Sent: Wednesday, April 1, 2015 11:26 AM To: Grant Bagdasarian; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] jsonrpc_exec crashes kamailio Hello, I need the logs printed by kamailio before the crash, to see what was processing at that time. After crash

Re: [SR-Users] jsonrpc_exec crashes kamailio

2015-04-01 Thread Grant Bagdasarian
t, it crashes every time. If you need more information, please let me know. Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Wednesday, April 1, 2015 10:44 AM To: Kamailio (SER) - Users Mailing List; Grant Bagdasarian Subject: Re: [SR-Users] jsonrpc_exec crashes kam

[SR-Users] jsonrpc_exec crashes kamailio

2015-03-31 Thread Grant Bagdasarian
Hello, Kamailio crashes when I try to execute the following jsonrpc_exec functions: jsonrpc_exec('{"jsonrpc": "2.0", "method": "domain.reload", "id": 0}'); #domain module jsonrpc_exec('{"jsonrpc": "2.0", "method": "addressReload", "id": 0}'); #permissions module This one works fine: js

Re: [SR-Users] Reload htable

2015-03-27 Thread Grant Bagdasarian
No problem Alex! Thanks Daniel :). I'm glad I'm using 4.2.3 :D -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov Sent: Friday, March 27, 2015 3:08 PM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Reload htable On 03/2

Re: [SR-Users] Reload htable

2015-03-27 Thread Grant Bagdasarian
:44 AM, Grant Bagdasarian wrote: > I need to reload a htable from the database when a certain condition > is met inside my kamailio script. > > I found the htable.reload htable RPC command, but is it possible to > run this from within the script? This command is not exposed w

[SR-Users] Reload htable

2015-03-27 Thread Grant Bagdasarian
Hello, I need to reload a htable from the database when a certain condition is met inside my kamailio script. I found the htable.reload htable RPC command, but is it possible to run this from within the script? Is there perhaps another way to force reload the htable inside the script? Thanks,

Re: [SR-Users] Compiling with db_unixodbc

2015-03-24 Thread Grant Bagdasarian
Installed it using the packages from the OS and now it compiles just fine. Thanks! -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Monday, March 23, 2015 10:38 PM To: Kamailio (SER) - Users Mailing List Subject:

[SR-Users] Compiling with db_unixodbc

2015-03-23 Thread Grant Bagdasarian
Hello, I'm trying to compile Kamailio 4.2.3 on Debian 7.8 with db_unixodbc but the sql.h file can't be found. I've used the following command to compile and install unixODBC. tar -zxvf unixODBC-2.3.2.tar.gz && cd unixODBC-2.3.2 && ./configure --sysconfdir=/etc --

[SR-Users] auth_diameter module

2015-03-19 Thread Grant Bagdasarian
Hello, Does Kamailio still support authentication using the auth_diameter module? There is a note on the modules page stating the module is now obsolete. "NOTE: diameter support was developed for DISC (DIameter Server Client project at http://developer.berlios.de/projects/disc/). This project se

[SR-Users] Grouped dispatching

2015-02-02 Thread Grant Bagdasarian
Hello, Would the below scenario be possible using the dispatcher module or any other routing module? Destination 1: 192.168.1.1 Destination 2: 192.168.1.2 Destination 3: 172.168.1.1 These three destinations belong to the same distribution group(set), but Kamailio has to do the following: Perfo

Re: [SR-Users] dialog module shared memory

2015-01-19 Thread Grant Bagdasarian
ls to multiple profiles, but if that is beyond your requirements, you could equally just increment/decrement a counter for each user with: $shtinc(call_count=>$fu) $shtdec(call_count=>$fu) I put this together quickly, so please excuse any typos or omissions, but it should hopefully be en

Re: [SR-Users] dialog module shared memory

2015-01-18 Thread Grant Bagdasarian
an example later if required. Cheers, Charles On 16 Jan 2015 07:54, "Grant Bagdasarian" mailto:g...@cm.nl>> wrote: Hello, I’m using the dialog module to control the maximum number of calls allowed to be passed through. Is it possible to share the dialogs stored in memory with mu

[SR-Users] dialog module shared memory

2015-01-15 Thread Grant Bagdasarian
Hello, I'm using the dialog module to control the maximum number of calls allowed to be passed through. Is it possible to share the dialogs stored in memory with multiple instances of kamailio? So if both kamailio instances process calls, and the maximum is set to a global of 10, both combined

[SR-Users] Selecting rtpproxy instance on 200 reply

2014-10-27 Thread Grant Bagdasarian
Hello, This was originally posted for opensips, but I figured someone here might know the answer as well since kamailio and opensips are "alike". I have the following RTPproxy configuration: modparam("nathelper", "rtpproxy_sock", "1 == udp:127.0.0.1:12221") modparam("nathelper", "rtpproxy_sock"

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

2014-10-23 Thread Grant Bagdasarian
ist Subject: Re: [SR-Users] Unix timestamp with millisecond precision 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

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

2014-10-22 Thread Grant Bagdasarian
millisecond precision 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 t

[SR-Users] Unix timestamp with millisecond precision

2014-10-22 Thread Grant Bagdasarian
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 in kamailio to get the current unix timestamp with milliseconds precision? Regards, Grant __

Re: [SR-Users] Kamailio script editor

2014-08-21 Thread Grant Bagdasarian
-Users] Kamailio script editor vi (vim/gvim) or sublime text are more efficient than notepad. (They also have multiple color schemes) . On Thu, Aug 21, 2014 at 10:08 AM, Grant Bagdasarian mailto:g...@cm.nl>> wrote: Hello, What editor do most of you use for editing the kamailio config scrip

  1   2   3   >