[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
the 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-router.org

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 <sr-users@lists.sip-router.org> Subject: Re: [SR

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

2017-03-07 Thread Grant Bagdasarian
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 mailing list sr

Re: [SR-Users] String split function

2016-12-29 Thread Grant Bagdasarian
;sr-users@lists.sip-router.org> Subject: Re: [SR-Users] String split function Hi Grant, On Thu, Dec 29, 2016 at 09:12:05AM +, 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

[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
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 ___ SIP Express Router (SER) and Kamaili

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
...@gmail.com] Sent: dinsdag 8 november 2016 12:38 To: Grant Bagdasarian <g...@cm.nl>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Subject: Re: [SR-Users] usrloc module expires column issues Hello, the version I noticed some changes in dealing with unsigned int va

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

2016-11-08 Thread Grant Bagdasarian
To: Grant Bagdasarian <g...@cm.nl>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> 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 notice

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

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

2016-10-12 Thread Grant Bagdasarian
Reload PIPILIMIT table from DB Hello, On 11/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 updat

[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

[SR-Users] usrloc module expires column issues

2016-09-26 Thread Grant Bagdasarian
, 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-users

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

2016-09-26 Thread Grant Bagdasarian
mailio 4.4 and Asterisk 13 On 26 Sep 2016, at 15:53, Grant Bagdasarian <g...@cm.nl<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

[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 ___ SIP

[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
-Users] Extract param from RPID 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 <g...@cm.nl<mailto:g...@cm.nl>>: Hello, I’m trying to extract the privacy param fr

[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:

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
4., Option 2 email: bbrid...@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

[SR-Users] Managing concurrent ports

2016-07-20 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

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 <sr-users@lists.sip-router.org> Subject: Re: [SR-Users] Detect 200 OK for ReINVITE On 1

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

[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

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

[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

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

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

[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)

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

2016-04-11 Thread Grant Bagdasarian
is to apply first the tobody transformation to extract the part you want then apply 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)

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

2016-04-08 Thread Grant Bagdasarian
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-us

[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)

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

2016-04-04 Thread Grant Bagdasarian
4.3.4: receive_msg(): no via found in reply On 04 Apr 2016, at 10:02, Grant Bagdasarian <g...@cm.nl<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 wen

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 <g...@cm.nl>; Kamailio (SER) - Users Mailing List <

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

2016-03-19 Thread Grant Bagdasarian
tomer". Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, March 18, 2016 10:25 AM To: Grant Bagdasarian <g...@cm.nl>; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Subject: Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via

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' <m

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

2016-03-14 Thread Grant Bagdasarian
sers-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Monday, March 14, 2016 2:44 PM To: Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org> Subject: Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply Hello, what would be relevant her

[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")

[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

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

[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:

Re: [SR-Users] siptrace retransmission's

2016-01-12 Thread Grant Bagdasarian
ildren parameter. 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 C

[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",

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

2016-01-11 Thread Grant Bagdasarian
caller, kamailio will wait for the active 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 m

[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.

[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

[SR-Users] Sending ReINVITE from Kamailio

2015-10-21 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

[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

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

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 acti

[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

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

2015-09-30 Thread Grant Bagdasarian
...@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 with

[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

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

2015-08-13 Thread Grant Bagdasarian
mode Hi, Try starting rtpprpxy with a / in between the two IP addresses. For example -l 1.1.1.1/2.2.2.2http://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 Bagdasarian g...@cm.nlmailto:g...@cm.nl wrote: Hello, I’m

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

2015-08-13 Thread Grant Bagdasarian
/rtpproxy.html#idp1616) 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

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

2015-08-13 Thread Grant Bagdasarian
. Is there a 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 sr-users

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

2015-08-13 Thread Grant Bagdasarian
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 g...@cm.nlmailto:g...@cm.nl wrote: It’s working! Thank you very much!! From: sr-users [mailto:sr-users-boun...@lists.sip

[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

Re: [SR-Users] SIPCapture and Message Queues

2015-07-27 Thread Grant Bagdasarian
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 inserted directly into a database? Be it DMQ or SQL Server

[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

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 private. Public

[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

Re: [SR-Users] LCR with gateway capabilities

2015-04-29 Thread Grant Bagdasarian
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 sounds

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

[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,

Re: [SR-Users] BYE not forwarded

2015-04-08 Thread Grant Bagdasarian
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 Bagdasarian wrote: Hello, I have the following setup

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

Re: [SR-Users] jsonrpc_exec crashes kamailio

2015-04-01 Thread Grant Bagdasarian
[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
, 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 kamailio

[SR-Users] jsonrpc_exec crashes kamailio

2015-04-01 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:

Re: [SR-Users] jsonrpc_exec crashes kamailio

2015-04-01 Thread Grant Bagdasarian
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 Subject: Re: [SR-Users] jsonrpc_exec

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

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 to clarify

[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

[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] 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 within the route script

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

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

[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] 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:

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 g...@cm.nlmailto: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 multiple

[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

[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, 2 ==

[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] Unix timestamp with millisecond precision

2014-10-22 Thread Grant Bagdasarian
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 timestamp, but this only returns the timestamp up to a second precision

[SR-Users] Kamailio script editor

2014-08-21 Thread Grant Bagdasarian
Hello, What editor do most of you use for editing the kamailio config script? I'm using notepad, which works fine, but sometimes I wish I had something like text coloring and other useful stuff found in most scripting editors. Are there perhaps any plans for developing an editor for the

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 g...@cm.nlmailto:g...@cm.nl wrote: Hello, What editor do most of you use for editing the kamailio config script

[SR-Users] Generate SIP MESSAGE in Kamailio

2014-08-20 Thread Grant Bagdasarian
Hello, Is it possible for Kamailio to generate a SIP MESSAGE message when receiving a HTTP request? Take the content of the HTTP message and form it into a SIP MESSAGE and route it to a certain destination? I can't find a module that does this, or I'm just blind.. :) Regards, Grant

Re: [SR-Users] Generate SIP MESSAGE in Kamailio

2014-08-20 Thread Grant Bagdasarian
in Kamailio Hi Grant, you could try uac_req_send(): http://kamailio.org/docs/modules/devel/modules/uac.html#uac.f.uac_req_send() Kind regards, Carsten 2014-08-20 11:40 GMT+02:00 Grant Bagdasarian g...@cm.nl: Hello, Is it possible for Kamailio to generate a SIP MESSAGE message when

[SR-Users] sipcapture and haproxy

2014-08-15 Thread Grant Bagdasarian
Hello, I just discovered HAproxy, and I was wondering if it is possible to use it in combination with the sipcapture module to store SIP messages on multiple database servers? Has anyone done this before? Regards, Grant ___ SIP Express Router (SER)

Re: [SR-Users] sipcapture and haproxy

2014-08-15 Thread Grant Bagdasarian
Mailing List Subject: Re: [SR-Users] sipcapture and haproxy Hi Grant, check this: http://kamailio.org/docs/modules/devel/modules/db_cluster.html With this, you can write to several databases. Thanks, Carsten 2014-08-15 15:53 GMT+03:00 Grant Bagdasarian g...@cm.nl: Hello, I just discovered

Re: [SR-Users] Max-Forwards severly decreased when invite is relayed

2014-01-10 Thread Grant Bagdasarian
is relayed Hello, you have to adjust the max_limit parameter: - http://kamailio.org/docs/modules/stable/modules/maxfwd.html#idp2652072 Cheers, Daniel On 09/01/14 09:33, Grant Bagdasarian wrote: Hello, Using Kamailio 4.1. I’m having some problems with the Max-Forwards header being decremented

[SR-Users] Max-Forwards severly decreased when invite is relayed

2014-01-09 Thread Grant Bagdasarian
Hello, Using Kamailio 4.1. I'm having some problems with the Max-Forwards header being decremented by almost 50 when Kamailio relays the INVITE to the next hop. The INVITE is received by Kamailio with the value of 65, but when sent to the next hop it has the value of 16. I'm not altering the

[SR-Users] how to string concatination

2013-12-10 Thread Grant Bagdasarian
Hello, How do I concatenate a string to an avp variable? $avp(s:caller) = $fU; if($(avp(s:caller){s.substr,0,2}) != 00) { $avp(s:caller) = 00$avp(s:caller); } This piece of code does not work as the value of $avp(s:caller) is 00$avp(s:caller)

Re: [SR-Users] how to string concatination

2013-12-10 Thread Grant Bagdasarian
...@lists.sip-router.org] On Behalf Of Juha Heinanen Sent: Tuesday, December 10, 2013 11:19 AM To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] how to string concatination Grant Bagdasarian writes: How do I concatenate a string to an avp variable? $avp(s:caller) = $fU; if($(avp(s:caller

Re: [SR-Users] how to string concatination

2013-12-10 Thread Grant Bagdasarian
concatination Grant Bagdasarian writes: try 00 + avp(s:caller) sorry, copy paste mistake. should be like this: 00 + $avp(s:caller) -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http

  1   2   >