Re: [SR-Users] Issue with From address being modified in ACK when UAC module used version 4.1

2017-01-25 Thread Jonathan Hunter
Hi Daniel, Ok perfect thank you for the detailed response, I will look to test and implement! Thank you! Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 25 January 2017 16:14 To: Jonathan Hunter; Kamailio (SER) - Users Mailing List Subje

Re: [SR-Users] Issue with From address being modified in ACK when UAC module used version 4.1

2017-01-25 Thread Jonathan Hunter
as in ACK? Cheers, Daniel On 25/01/2017 15:16, Jonathan Hunter wrote: Hi Guys, running kamailio 4.1.4 and using uac_replace_from, I am seeing a strange issue with the proxying of an ACK message back from a carrier to freeswitch on the ingress path into a network. So its just a normal call in

Re: [SR-Users] Issue with From address being modified in ACK when UAC module used version 4.1

2017-01-25 Thread Jonathan Hunter
and port; From: "+44792498881474" <sip:+44792498881474@192.168.226.51:5080;user=phone>;tag=carrier.peering.telecom.im+4+c538fe37+7570d4e5 Although that is the case on other calls that work. Shall I setup some debug on a lab instance and capture? Thanks Jon ______

[SR-Users] Issue with From address being modified in ACK when UAC module used version 4.1

2017-01-25 Thread Jonathan Hunter
Hi Guys, running kamailio 4.1.4 and using uac_replace_from, I am seeing a strange issue with the proxying of an ACK message back from a carrier to freeswitch on the ingress path into a network. So its just a normal call inbound, where on outbound leg we modify the From address, on the inbound

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-07 Thread Jonathan Hunter
Hello, Perfect that all works great, I can trigger a SIP INFO message as required. Sorry for hassling you so much! Many thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 06 December 2016 07:46 To: Jonathan Hunter; Kamailio SER -

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-05 Thread Jonathan Hunter
relayed? Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 05 December 2016 13:54 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-05 Thread Jonathan Hunter
Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 05 December 2016 10:32 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, all the headers must be in a sing

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-02 Thread Jonathan Hunter
From: sr-users <sr-users-boun...@lists.sip-router.org> on behalf of Jonathan Hunter <hunter...@hotmail.com> Sent: 01 December 2016 16:12 To: Kamailio SER - Users Mailing List; mico...@gmail.com Subject: Re: [SR-Users] Send SIP Info within a dialog usi

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-01 Thread Jonathan Hunter
Hi Daniel, I am trying tm.t_uac_start and its stating Content-Type Missing, I have tried to add to params but it doesnt like it, where should it be defined? Command below; jsonrpc_exec('{"jsonrpc":"2.0","method":"tm.t_uac_start","params": ["INFO",

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-01 Thread Jonathan Hunter
o...@gmail.com>> wrote: Hello, tm.t_uac_start is another rpc command than what was tried before, this one doesn't do async operation. Cheers, Daniel On 01/12/2016 13:28, Jonathan Hunter wrote: Hello, I am currently still using the exec module, so within the .cfg file, as when u

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-12-01 Thread Jonathan Hunter
From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 01 December 2016 12:24 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, are you still trying with MI co

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-30 Thread Jonathan Hunter
" so its actually within the SIP header itself? Many thanks Jon From: sr-users <sr-users-boun...@lists.sip-router.org> on behalf of Jonathan Hunter <hunter...@hotmail.com> Sent: 25 November 2016 18:55 To: Kamailio SER - Users Mailing List; mic

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-25 Thread Jonathan Hunter
Hi Daniel, Great thanks very much, will give it a try. Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 22 November 2016 18:46 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-22 Thread Jonathan Hunter
003@193.144.1.112 Contact:sip:daemon@8.8.8.8 " Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 22 November 2016 13:10 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-22 Thread Jonathan Hunter
Hello, One last question relating to this issue of sending SIP INFO within a dialog. (Sorry!) As you know I now have t_uac_dlg working with the exec module to create the SIP INFO, however how do I inject it effectively within the dialog? I have added event_route[dialog:start] as thought

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-21 Thread Jonathan Hunter
to be strange with interpreting the parameters from command line and forwarding them to kamailio. I will dig a bit into kamctl and come back with some hints. Cheers, Daniel On 21/11/16 13:19, Jonathan Hunter wrote: Hello. This is running from command line, not withing the configuration file

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-21 Thread Jonathan Hunter
8.8.8.8rnTo:sip:3003@193.144.1.112rnContact:sip:daemon@8.8.8.8rn' Its including them all as the local socket/port. Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 21 November 2016 11:29 To: Jonathan Hunter; Kamailio SER - Users Mailing L

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-20 Thread Jonathan Hunter
y colons in udp:10.70.1.136:5060"From:sip:1234@8.8.8.8 Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 17 November 2016 09:43 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-Users] Send SIP Info within a dialog using $u

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-16 Thread Jonathan Hunter
ot;\\r\\nTo:$tu\\r\\nContact:$ct\\r\\n\\\"\"", "$avp(test)"); Many thanks again. Jon From: sr-users <sr-users-boun...@lists.sip-router.org> on behalf of Jonathan Hunter <hunter...@hotmail.com> Sent: 16 November 20

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-16 Thread Jonathan Hunter
hat should I modify them or surround them with to please the exec command, as I can see in documentation for variables its '' quotes, but not sure around characters. Thanks Jon From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 16 November 2016 0

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-16 Thread Jonathan Hunter
r 2016 09:45 To: Jonathan Hunter; Kamailio SER - Users Mailingh List Subject: Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO" Hello, as I can see in the logs, the rpc command fails to execute because it requires async processing which is not implemented by

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
Hello, Please see debug output for when I try and send the SIP INFO when I am initiating a new call. I am just testing out the command currently, in practice I will look to inject the SIP INFO into an already formed dialog, so is the way I am trying to test cause me an issue? I can see;

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
d (possibly incorrectly) you can get the command to overwrite the current contents of the headers, so as above the RURI would change to sip:3003@8.8.8.8 and the From to sip:1234@2.2.2.2 etc, however they remain unchanged. Does that make sense? Thanks Jon Fro

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-15 Thread Jonathan Hunter
); All I see it fire is an INFO message to Request-Line: INFO sip:kamailio.org SIP/2.0, with default parameters. Thanks Jon ____ From: Daniel-Constantin Mierla <mico...@gmail.com> Sent: 15 November 2016 08:03 To: Jonathan Hunter; Kamailio SER - Users Mailing List Subject: Re: [SR-

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-11-14 Thread Jonathan Hunter
c":"2.0","method":"mi","params": ["t_uac_dlg", "INFO", "sip:3003@193.144.1.112",.,.,"From:sip:1234@8.8.8.8","To:sip:3003@193.144.1.112","Contact:sip:daemon@8.8.8.8"]}]] Can you give me some clues on how to in

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-10-14 Thread Jonathan Hunter
m module that allows that -- it may be possible to do it from config file via jsonrpc-s module. Cheers, Daniel On 29/09/16 21:41, Jonathan Hunter wrote: Hi Guys, Is it still the case that when using uac_req

Re: [SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-10-14 Thread Jonathan Hunter
e a mi/rpc command exported by tm module that allows that -- it may be possible to do it from config file via jsonrpc-s module. Cheers, Daniel On 29/09/16 21:41, Jonathan Hunter wrote: Hi Guys, Is it stil

[SR-Users] Send SIP Info within a dialog using $uac_req(method)="INFO"

2016-09-29 Thread Jonathan Hunter
Hi Guys, Is it still the case that when using uac_req_send, you cant send withing a specific dialog?I can modify call-id, but I presume tags may be more of a problem?See old post below from 2015; > I am familiar with uac_req_send. but how do I send it with in a > specific dialog and with data in

Re: [SR-Users] failed to find command http_async_query - Even though module loaded

2016-09-23 Thread Jonathan Hunter
body is now done through the $http_req pseudovariable, for uniformity of the interface.What does kamailio -v show on that server? Cheers, Federico On Thu, Sep 22, 2016 at 11:34 PM, Jonathan Hunter <hunter...@hotmail.com> wrote: Hi guys, I am using the http_async_client module to POS

[SR-Users] failed to find command http_async_query - Even though module loaded

2016-09-22 Thread Jonathan Hunter
Hi guys, I am using the http_async_client module to POST some requests to a Web Interface, and on server 1 it all works well. I have done a fresh install from github, version 4.4 on Centos 6.8 on server 2, and kamailio wont start. Its the same configuration file, however it states; failed to

Re: [SR-Users] ndb_mongodb -Sending Query to Mongo

2016-09-22 Thread Jonathan Hunter
by the server. Maybe you can run with debug=3 and see if you can get more info about what happens there. To access part of result, you need to use a json module over $mongodb(mgr1=>value). Cheers, Daniel On 21/09/16 14:36, Jonathan Hun

[SR-Users] ndb_mongodb -Sending Query to Mongo

2016-09-21 Thread Jonathan Hunter
Hi Guys, I am using the ndb_mongodb module, and Im just trying to return values from the dispatcher table, in particular the setid of a particular entry depending on its attrs value. If I query using mongodb shell command it works fine, here I enter test.com and it returns only the setid value,

Re: [SR-Users] http_async_query - How to Allow SIP transaction to continue

2016-09-15 Thread Jonathan Hunter
creates a fake message to be processed in the callback route. You should call t_newtran() before calling http_async_query. Cheers, Federico On Thu, Sep 15, 2016 at 5:44 PM, Jonathan Hunter <hunter...@hotmail.com> wrote: Hi Guys, I am just testing with jansson and http_async_query. Essenti

[SR-Users] http_async_query - How to Allow SIP transaction to continue

2016-09-15 Thread Jonathan Hunter
Hi Guys, I am just testing with jansson and http_async_query. Essentially I sent an INVITE into kamailio ,it hits CALL_START_REQUEST (see below) and the query allows the http site I send to, to provide routing details for kamailio. Logging the $rm that hits CALL_START_ REQUEST, it shows as

Re: [SR-Users] jansson_get path to access a JSON reponse containing an array

2016-09-14 Thread Jonathan Hunter
Hi guys, Sorry for the noise! This works; jansson_get("destination[0].msisdn", Thanks Jon From: hunter...@hotmail.com To: sr-users@lists.sip-router.org Date: Wed, 14 Sep 2016 08:41:41 + Subject: [SR-Users] jansson_get path to access a JSON reponse containing an array Hi guys, Sorry

[SR-Users] jansson_get path to access a JSON reponse containing an array

2016-09-14 Thread Jonathan Hunter
Hi guys, Sorry for the question but Its not clear to me using json_path and the jansson module how to get the contents of a response containing an array. Please see the returned response below that I am getting on kamailio;

Re: [SR-Users] Centos, kamailio 4.4 and jansson module load issue.

2016-09-01 Thread Jonathan Hunter
ailio 4.4 and jansson module load issue. Hello, do you have the jansson devel library installed? Cheers, Daniel On 30/08/16 22:22, Jonathan Hunter wrote: Hi Alex,

Re: [SR-Users] Centos, kamailio 4.4 and jansson module load issue.

2016-08-30 Thread Jonathan Hunter
> -- Alex > > On 08/30/2016 04:12 PM, Jonathan Hunter wrote: > > > Hi Guys, > > > > I am running Centos 6.5 and have installed kamailio 4.4 from Git. > > > > All is running well until I try and load the jansson module. > > > > I have installed jans

[SR-Users] Centos, kamailio 4.4 and jansson module load issue.

2016-08-30 Thread Jonathan Hunter
Hi Guys, I am running Centos 6.5 and have installed kamailio 4.4 from Git. All is running well until I try and load the jansson module. I have installed jansson-2.7 from src, but when loading the module in kamailio I get; Aug 30 20:06:24 sip1 kamailio: ERROR: [sr_module.c:582]: load_module():

Re: [SR-Users] Send JSON document over http and process response

2016-08-22 Thread Jonathan Hunter
;$var(params)", "API_ROUTE_REPLY"); Then a API_ROUTE_REPLY block that processes the response like: if $http_ok { if $http_rs == 200 { $var(action) = $null; jansson_get_field("$http_rb", "authentication.action", "$var(action)");

[SR-Users] Send JSON document over http and process response

2016-08-22 Thread Jonathan Hunter
Hi Guys, I need to send a JSON document over HTTP to a server, and then process the response, both in the kamailio configuration file. I assume I need to use Jansson module to extract contents of response? What is the best method for generating the initial request containing JSON ? Many thanks

Re: [SR-Users] Core/ signal 11 Segmenation fault on kamailio 4.3.5

2016-08-17 Thread Jonathan Hunter
le > directly on the machine and reproduce. > > Cheers, > Dragos > > On 17/08/2016 14:16, Jonathan Hunter wrote: >> Hi guys, >> >> We seem to have a regular occurrence where one of the child processes is >> crashing, and causing a coredump. >> >> Plea

[SR-Users] Core/ signal 11 Segmenation fault on kamailio 4.3.5

2016-08-17 Thread Jonathan Hunter
Hi guys, We seem to have a regular occurrence where one of the child processes is crashing, and causing a coredump. Please see the output of the corefile; gdb kamailio /core.31568GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6)Copyright (C) 2010 Free Software Foundation, Inc.License GPLv3+:

[SR-Users] Kamailio 4.4 Dispatcher on Debian 8 with MongoDB

2016-08-11 Thread Jonathan Hunter
Hi Guys, I am integrating kamailio with MongoDB, and it works well with subscriber/location tables. However when using the dispatcher module I am getting the following error even though the IP Im trying to get to is routeable; /usr/local/kamailio-4.4/sbin/kamailio[2998]: ERROR: dispatcher

Re: [SR-Users] Checking for 200ok Response to a REGISTER request kamailio-Asterisk

2016-07-27 Thread Jonathan Hunter
ssing something here, but it may give you some ideas to test out. Cheers,/O On 27 Jul 2016, at 14:38, Jonathan Hunter <hunter...@hotmail.com> wrote:Hello, Thanks for the response. I appreciate your comments and agree, however the architecture cannot be changed currently so in the meantime its looki

Re: [SR-Users] Checking for 200ok Response to a REGISTER request kamailio-Asterisk

2016-07-27 Thread Jonathan Hunter
] Checking for 200ok Response to a REGISTER request kamailio-Asterisk On 27 Jul 2016, at 14:01, Jonathan Hunter <hunter...@hotmail.com> wrote:Hi Guys, So currently on our network we have a kamailio server which users register against, we then replicate the register messages to 2 Asterisk box

[SR-Users] Checking for 200ok Response to a REGISTER request kamailio-Asterisk

2016-07-27 Thread Jonathan Hunter
Hi Guys, So currently on our network we have a kamailio server which users register against, we then replicate the register messages to 2 Asterisk boxes sat behind it so that all entities are aware of the registration state of the users. REGISTER--->KAMAILIO>ASTERISK A

Re: [SR-Users] Kamailio and UCARP with Multiple VIPs defined

2016-03-15 Thread Jonathan Hunter
/16 17:39, Jonathan Hunter wrote: Hi Daniel, Actually I see I need to go to 4.3 to use the ds_default_socket parameter. ... and per destination by using socket param in attributes: http://www.kamailio.org/docs

Re: [SR-Users] Kamailio and UCARP with Multiple VIPs defined

2016-03-14 Thread Jonathan Hunter
OR: [forward.c:220]: get_out_socket(): no corresponding socket found for(udp:10.70.0.72:5080) The socket listen in the rpc command output is udp:10.70.0.75:5060. Cheers, Daniel On 08/03/16 11:29, Jonathan Hunter wrote: Hi Daniel,

Re: [SR-Users] Kamailio and UCARP with Multiple VIPs defined

2016-03-14 Thread Jonathan Hunter
pc command output is udp:10.70.0.75:5060. Cheers, Daniel On 08/03/16 11:29, Jonathan Hunter wrote: Hi Daniel, Did you have any thoughts on this or is it more ip routing related or ucarp configuration on

Re: [SR-Users] Kamailio and UCARP with Multiple VIPs defined

2016-03-08 Thread Jonathan Hunter
Ps defined Hello, can you see if the socket lists includes the IP address giving problems? Use the command: kamcmd core.sockets_list Cheers, Daniel On 02/03/16 10:14, Jonathan Hunter wrote:

Re: [SR-Users] Kamailio and UCARP with Multiple VIPs defined

2016-03-04 Thread Jonathan Hunter
s includes the IP address giving problems? Use the command: kamcmd core.sockets_list Cheers, Daniel On 02/03/16 10:14, Jonathan Hunter wrote: Hi Guys, Using Centos 6.7, kamailio 4.2 and Ucarp I

[SR-Users] Kamailio and UCARP with Multiple VIPs defined

2016-03-02 Thread Jonathan Hunter
Hi Guys, Using Centos 6.7, kamailio 4.2 and Ucarp I am testing multiple VIPs on the same server and having some issues. I have ucarp running, with 1 Public and 1 Private VIP defined, and both are pingable and failover in a cluster. The Public is for Subscribers to Register with, and the

Re: [SR-Users] Negative value returned when using sql_pvquery

2016-01-06 Thread Jonathan Hunter
ect: Re: [SR-Users] Negative value returned when using sql_pvquery > > > > On 05/01/16 17:51, Daniel Tryba wrote: > > On Tue, Jan 05, 2016 at 03:38:58PM +, Jonathan Hunter wrote: > >> sql_pvquery("cd","select DestinationMsisdn,SourceMsisdn from

Re: [SR-Users] Negative value returned when using sql_pvquery

2016-01-06 Thread Jonathan Hunter
sql_pvquery > > On Wed, Jan 06, 2016 at 10:48:38AM +0000, Jonathan Hunter wrote: > > Currently the field I am extracting the value from in the database is set > > to type; > > bigint(20) unsigned > > If I change to varchar for example it returns fine, my only issue is that

[SR-Users] Negative value returned when using sql_pvquery

2016-01-05 Thread Jonathan Hunter
Hi Guys, Wonder if anyone has experienced this before, on kamailio 4.1. I am using an sql_pvquery and it works fine, unless I pull a value from the database that is defined as 10 digits and starts with a 3, actually its populated as 03785702370 but due to the table it removes the leading 0

[SR-Users] transformations {s.rm,match}

2015-12-10 Thread Jonathan Hunter
Hi Guys, I have been using {s.rm,match} to remove occurrences of numbers, however I am aware it removes all occurrences. Is it possible to make it only remove the first occurrence and not all? For example If I am looking to modify 639157407639 I want to remove only the first 63, not both. So I

Re: [SR-Users] Multi-Array with AVPs

2015-10-29 Thread Jonathan Hunter
ll be available at index 1: $xavp(a[1]=>b) = "..."; As alternative, maybe it is easier to return (or pack) all those attributes in a json document and then use jansson module to navigate through it via json-path mechanism. Cheers, Daniel On 24/10/

Re: [SR-Users] Multi-Array with AVPs

2015-10-24 Thread Jonathan Hunter
t; > Otherwise, you're playing life on hard mode. ;-) > > -- Alex > > On 10/23/2015 01:00 PM, Jonathan Hunter wrote: > > > Hi Guys, > > > > Hope all are well? > > > > sorry to post but Im just trying to get something working where Im > > trying t

[SR-Users] Multi-Array with AVPs

2015-10-23 Thread Jonathan Hunter
VPs > > Jon, > > For complex, nonscalar structures where members can be other AVP > nonscalars, you might wish to consider XAVPs instead: > > http://www.kamailio.org/wiki/cookbooks/4.3.x/pseudovariables#xavp_id_-_xavps > > Otherwise, you're playing life on hard mode. ;-) > >

[SR-Users] Multi-Array with AVPs

2015-10-23 Thread Jonathan Hunter
Hi Guys, Hope all are well? sorry to post but Im just trying to get something working where Im trying to convert a php function script into the kamailio.cfg. Im getting there but wonder how I can group results of sets of avps with another avp. Say I have these variables; $(avp(NTgrp)) =

[SR-Users] Kamailio Load balancing Across Multiple Asterisk Servers -Chanspy

2015-07-14 Thread Jonathan Hunter
Hi guys, I have a kamailio load balancing requests across 2 Asterisk Servers, and all is working well. Only problem now is when utilizing feature codes to look to listen into calls using the chanspy application I am having issues. I am passing calls to * into Asterisk, where an IVR answers

Re: [SR-Users] Kamailio Load balancing Across Multiple Asterisk Servers -Chanspy

2015-07-14 Thread Jonathan Hunter
...@pocos.nl To: sr-users@lists.sip-router.org Date: Tue, 14 Jul 2015 13:53:25 +0200 Subject: Re: [SR-Users] Kamailio Load balancing Across Multiple Asterisk Servers -Chanspy On Tuesday 14 July 2015 11:29:34 Jonathan Hunter wrote: No such extension/context *1022-MAGNORTH13@from-outside

Re: [SR-Users] Kamailio Load balancing Across Multiple Asterisk Servers -Chanspy

2015-07-14 Thread Jonathan Hunter
-Chanspy On Tuesday 14 July 2015 11:04:59 Jonathan Hunter wrote: The problem I have is when I send an INVITE from Asterisk Server, and then kamailio sends an INVITE back to the same Asterisk Server I get the following failure in asterisk console; Is it just a warning or does the chanspy

[SR-Users] CNXCC cnxcc_set_max_time Version 4.2

2015-07-08 Thread Jonathan Hunter
Hi All, Sorry further information on the below. On version 4.2.0 I now have the CNXCC module trying to terminate the call and I can see in the logs; Jul 8 10:04:05 voxweb1 kamailio4-2[28013]: ALERT: cnxcc [cnxcc_check.c:157]: check_calls_by_time(): [84738257-9ffa-1233-479c-2a8a2e4d8baa] call

[SR-Users] CNXCC cnxcc_set_max_time Version 4.2

2015-07-07 Thread Jonathan Hunter
Hi Guys, I have just moved from kamailio 4.1, to 4.2 and have installed via git version 4.2 I am testing with the function cnxcc_set_max_time, as I want to set the maximum call duration. Having moved to 4.2, i cant get the module to terminate the call. I have set dlg_flag, and cc_flag, following

[SR-Users] Performance Tests/Hard Recommendations kamailio 4.2 -200CPS

2015-06-17 Thread Jonathan Hunter
Hi Guys, Has anyone recently performed tests on kamailio 4.2 running up to 200 CPS? It would be great to know the hardware requirements for this setup. Thanks Jon ___ SIP Express Router (SER) and Kamailio (OpenSER) -

Re: [SR-Users] Performance Tests/Hard Recommendations kamailio 4.2 -200CPS

2015-06-17 Thread Jonathan Hunter
. -- Alex P.S. We specialise in getting thousands of CPS out of Kamailio while still doing _lots_ of SQL queries for routing. On 06/17/2015 11:17 AM, Jonathan Hunter wrote: Hi Guys, Has anyone recently performed tests on kamailio 4.2 running up to 200 CPS? It would be great

Re: [SR-Users] Performance Tests/Hard Recommendations kamailio 4.2 -200CPS

2015-06-17 Thread Jonathan Hunter
kamailio 4.2 -200CPS Jonathan Hunter writes: Has anyone recently performed tests on kamailio 4.2 running up to 200 CPS? It would be great to know the hardware requirements for this setup. performance depends, e.g., on how many db queries your script uses when it process one call

Re: [SR-Users] Performance Tests/Hard Recommendations kamailio 4.2 -200CPS

2015-06-17 Thread Jonathan Hunter
Golden Foothill Pkwy El Dorado Hills, CA 95762 office: 916.235.2097 | main: 888.444., Option 2 email: bbrid...@o1.com | web: www.o1.com From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Jonathan Hunter Sent: Wednesday, June 17, 2015 8:32 AM To: Kamailio SER - Users

[SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Jonathan Hunter
Hi Guys, Using kamailio Version 4.1.4 on Centos 6.5 I have an issue when using cnxcc to control max call duration for all outbound calls. In my configuration I set the following; # -Dialog params -modparam(dialog, dlg_flag, 4)modparam(cnxcc, dlg_flag, 4)modparam(cnxcc,

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Jonathan Hunter
control on Version 4.1.4 Hi Jonathan, Cnxcc was heavily updated a couple of months ago, so I suggest you update your copy and let me know if the update fixes this bug. Regards, Carlos On Feb 20, 2015 8:45 AM, Jonathan Hunter hunter...@hotmail.com wrote: Hi Guys, Using kamailio Version

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Jonathan Hunter
] CNXCC Max Call control on Version 4.1.4 It should run on Kamailio 4.1.x. You can git clone master and copy the cnxcc directory to your 4.1.x copy and recompile the modules. That should work. Regards, Carlos On Feb 20, 2015 10:21 AM, Jonathan Hunter hunter...@hotmail.com wrote: Hi Carlos

Re: [SR-Users] CNXCC Max Call control on Version 4.1.4

2015-02-20 Thread Jonathan Hunter
with the latest changes on cnxcc. I would be a matter of trying and seeing. Regards,Carlos On Fri, Feb 20, 2015 at 10:36 AM, Jonathan Hunter hunter...@hotmail.com wrote: Hi Carlos, Ok thanks. Last question! I have installed kamailio from packages on centos via yum. Would a yum update to 4.1.8

[SR-Users] xhttp Module Version 4.1

2014-08-08 Thread Jonathan Hunter
Hi All, I am using the xhttp module to receive and respond to HTTP requests to my kamailio instance, and I am trying to extract the body of the HTTP post sent into kamailio, so that I can store it in variables. Is this possible? I can send 200ok responses with content, this is working well, I

Re: [SR-Users] xhttp Module Version 4.1

2014-08-08 Thread Jonathan Hunter
Hi Guys, I am able to do this using $rb , is this the best method for this if I want to capture the details and manipulate or store accordingly into variables? Thanks Jon From: hunter...@hotmail.com To: sr-users@lists.sip-router.org Date: Fri, 8 Aug 2014 10:31:44 + Subject: [SR-Users] xhttp

Re: [SR-Users] xhttp Module Version 4.1

2014-08-08 Thread Jonathan Hunter
. Cheers, Daniel On 08/08/14 12:56, Jonathan Hunter wrote: Hi Guys, I am able to do this using $rb , is this the best method for this if I want to capture the details and manipulate or store accordingly

[SR-Users] http_query results question

2014-07-15 Thread Jonathan Hunter
Hi Guys, I have used the http_query function in the past, in conjunction with the json module, on version 3.3 and unbuntu. I am now using version 4.1 on Centos 6.5, and I am using the http_query, which I'm aware records in the results the first line of the response. Can you select the result to

Re: [SR-Users] http_query results question

2014-07-15 Thread Jonathan Hunter
Hi Juha, Thank you for the response. So I presume there isn't any other option for this functionality at present? Thanks Jon Date: Tue, 15 Jul 2014 20:24:25 +0300 To: sr-users@lists.sip-router.org From: j...@tutpro.com Subject: [SR-Users] http_query results question Jonathan Hunter writes

Re: [SR-Users] Child Processes Stopped kamailio 4.0.6

2014-06-30 Thread Jonathan Hunter
? Cheers, Daniel On 26/06/14 19:19, Jonathan Hunter wrote: Hi Guys, Sorry thought I better raise this in new stream to avoid confusion. We have another crash

Re: [SR-Users] segfault at 18 error 4 in auth_db.so on Version 4.0.6-1 Release

2014-06-26 Thread Jonathan Hunter
. The coredump file allows to get the backtrace and identify what was the line of code causing the issue. Cheers, Daniel On 25/06/14 18:00, Jonathan Hunter wrote: Hi Guys, We had our kamailio instance crash today

[SR-Users] Child Processes Stopped kamailio 4.0.6

2014-06-26 Thread Jonathan Hunter
Hi Guys, Sorry thought I better raise this in new stream to avoid confusion. We have another crash today, not sure if the below is of much use without debug? Thanks Jon Jun 26 09:38:09 pbx /usr/sbin/kamailio[18529]: ALERT: core [main.c:788]: handle_sigs(): child process 18532 exited by a signal

[SR-Users] segfault at 18 error 4 in auth_db.so on Version 4.0.6-1 Release

2014-06-25 Thread Jonathan Hunter
Hi Guys, We had our kamailio instance crash today, it appeared to be after multiple registration failures, the resulting logs showing; Jun 25 15:47:55 kernel: : kamailio[14993]: segfault at 18 ip 7f03102f9609 sp 7fff1b346500 error 4 in auth_db.so[7f03102f1000+b000]Jun 25 15:47:55

[SR-Users] Cisco 79XX Series Phones and TLS integration with kamailio

2014-06-19 Thread Jonathan Hunter
Hi All, As you guys might remember I have been doing alot of work with these legacy handsets recently, in particular the Cisco IP phones 7945G and 7965G. They work well now with kamailio, using UDP or TCP as the transport protocol. I am now looking to implement SIP over TLS with them, and

Re: [SR-Users] Cisco 79XX Series Phones and TLS integration with kamailio

2014-06-19 Thread Jonathan Hunter
, Jonathan Hunter hunter...@hotmail.com wrote:Hi All, As you guys might remember I have been doing alot of work with these legacy handsets recently, in particular the Cisco IP phones 7945G and 7965G. They work well now with kamailio, using UDP or TCP as the transport protocol. I am now looking

Re: [SR-Users] Cisco 79XX Series Phones and TLS integration with kamailio

2014-06-19 Thread Jonathan Hunter
...@lists.sip-router.org] On Behalf Of Jonathan Hunter Sent: 19 June 2014 10:48 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Cisco 79XX Series Phones and TLS integration with kamailio Hi Mark, Sure of course, they are some what painful to get working due to their asymmetric NAT behaviour

Re: [SR-Users] Cisco 79XX Series Phones and TLS integration with kamailio

2014-06-19 Thread Jonathan Hunter
’ to be working. In that it requests the files, says ‘registering’ - Doesn’t appear to generate any SIP traffic during registration (tcpdump on router/kamailio server) Wondering if I’ve got something wrong in the .cnf xml … Cheers Mark On 19 Jun 2014, at 10:48, Jonathan Hunter hunter...@hotmail.com

Re: [SR-Users] Cisco 79XX Series Phones and TLS integration with kamailio

2014-06-19 Thread Jonathan Hunter
in the proxy field doesn’t seem to make any difference. Cheers Mark On 19 Jun 2014, at 11:51, Jonathan Hunter hunter...@hotmail.com wrote:Hi Mark, Yes we had exactly the same issue with a 7940. It is with the .cnf xml file. You need to make sure that the line name is populated; line1_name

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-14 Thread Jonathan Hunter
block? Cheers, Daniel On 13/05/14 13:28, Jonathan Hunter wrote: Hi Guys, Following on from my initial query, I have indexing working for reg_fetch_contacts, however now I am

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-13 Thread Jonathan Hunter
Hi Guys, Following on from my initial query, I have indexing working for reg_fetch_contacts, however now I am having issues with branching. First, is append_branches() still applicable to kamailio 4.0.6 ? As when I use its not recognised. Also I have two contacts registered, contact 0 and

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-13 Thread Jonathan Hunter
devices registered Hello, are you using a branch_route block? Cheers, Daniel On 13/05/14 13:28, Jonathan Hunter wrote: Hi Guys, Following on from my initial

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-12 Thread Jonathan Hunter
indexes to access any of the location records, see: http://kamailio.org/docs/modules/stable/modules/registrar.html#idp2019304 Cheers, Daniel On 09/05/14 17:18, Jonathan Hunter wrote: Hi Guys

[SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-09 Thread Jonathan Hunter
Hi Guys, I was wondering if anyone could help? I am currently using reg_fetch_contacts to manipulate signaling based on the user agent device being used, therefore I use the result of; if(reg_fetch_contacts(location, $ru, callee)){ xlog(callee=user_agent $ulc(callee=user_agent)\n);} I then use

[SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-09 Thread Jonathan Hunter
Hi Guys, I was wondering if anyone could help? I am currently using reg_fetch_contacts to manipulate signaling based on the user agent device being used, therefore I use the result of; if(reg_fetch_contacts(location, $ru, callee)){ xlog(callee=user_agent $ulc(callee=user_agent)\n);} I

[SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-09 Thread Jonathan Hunter
Hi Guys, I was wondering if anyone could help? I am currently using reg_fetch_contacts to manipulate signaling based on the user agent device being used, therefore I use the result of; if(reg_fetch_contacts(location, $ru, callee)){ xlog(callee=user_agent $ulc(callee=user_agent)\n);} I

[SR-Users] Kamailio 4.1 and Cisco 79xx Integration Work

2014-04-04 Thread Jonathan Hunter
Hi Guys, I'm doing some work, with Legacy Cisco phones, its a long story but I need to manipulate signaling due to firmware limitations. I am looking to implement a workaround, whereby I need to modify an ACK, so that it sends the RURI is sent to port 5060, and the destination Port at the IP

[SR-Users] Legacy Cisco 7945 and 7960 Handset Integration with Kamailio

2014-03-19 Thread Jonathan Hunter
Hi Guys, Hope your all well? Apologies for the post, however I wondered if anyone had successfully integrated Cisco 7945/7960 handsets running SIP firmware with Kamailio? I appreciate these handsets have some issues, whereby they expect responses on port 5060, even though they initiate

Re: [SR-Users] Legacy Cisco 7945 and 7960 Handset Integration with Kamailio

2014-03-19 Thread Jonathan Hunter
-Users] Legacy Cisco 7945 and 7960 Handset Integration with Kamailio Hello Jonathan, On 03/19/2014 03:29 PM, Jonathan Hunter wrote: I appreciate these handsets have some issues, whereby they expect responses on port 5060, even though they initiate transactions from a dynamic port, I

[SR-Users] Sending Database commands via XML-RPC

2013-09-10 Thread Jonathan Hunter
Hi guys, I hope you are all well. Just wondered what best practice is for sending DB commands via XML-RPC, if indeed this is possible? In particular kamctl db exec commands via XML-RPC, as it appears you can only send sercmd commands via XML-RPC. Any comments/pointers gratefully received.

[SR-Users] Writing User-preferences Username into Radacct Table on Call Forward

2012-12-14 Thread Jonathan Hunter
Hi All, I was wondering if anyone would be kind enough to let me know if they have implemented anything like as follows in Kamailio? We are looking to implement call fowarding, activating it as usual in usr_preferences table. I was wondering if on the outbound leg its possible to write the

  1   2   >