Re: [SR-Users] DMQ Cluster - hosts loose network connectivity

2017-02-07 Thread Charles Chance
ion: 0 > local: 1 > } > > Server B only can see itself: > > { > host: 172.112.10.243 > port: 5060 > resolved_ip: 172.112.10.243 > status: 2 > last_notification: 0 > local: 1 > } > > This behavior keeps the same after the ne

Re: [SR-Users] DMQ Cluster - hosts loose network connectivity

2017-02-06 Thread Charles Chance
Hello, DMQ will remove nodes from its internal list if they fail to respond to its pings - with the exception of the original notification peer specified in config. This way, if the network connection is lost, DMQ will continue to try the original peer indefinitely until connectivity is restored,

Re: [SR-Users] Upgrade from 4.3 to 4.4

2017-01-18 Thread Charles Chance
Hello, There were minimal DB changes between 4.3 and 4.4 - if you're using one of the affected modules then you'll need to update the schema and version as described here: https://www.kamailio.org/wiki/install/upgrade/4.3.x-to-4.4.0 (Also note the dialog-ng module name change.) Other than that,

Re: [SR-Users] Kamailio - DMQ dns srv Question

2016-10-11 Thread Charles Chance
Hey Olle, On 11 Oct 2016 10:54, "Olle E. Johansson" wrote: > > >> On 11 Oct 2016, at 09:46, José Seabra wrote: >> >> Hi Charles, >> Sorry for my late reply. >> I have tried that parameter but seems that for the dmq FQDN kamailio doesn't send a NAPTR query. >> Even for the SRV query, the kamailio

Re: [SR-Users] Distributed Message Queue Module

2016-09-29 Thread Charles Chance
Hello, That depends entirely on what you need to replicate between servers. DMQ is just a communication channel. How you use it is up to you. For example, if you enable dmq_usrloc, there's no need to share a location database. Htable has an option for replicating over dmq too. The number of dire

Re: [SR-Users] Kamailio - DMQ dns srv Question

2016-09-26 Thread Charles Chance
Hi José, On 21 September 2016 at 18:28, José Seabra wrote: > Hello, > I have a doubt related with DMQ dns behavior, I noticed that when kamailio > starts, it tries to resolve DMQ name configured on parameter > notification_address as the following sequence: > >1. SRV >2. A >3. >

Re: [SR-Users] Kamailio - DMQ dns srv Question

2016-09-22 Thread Charles Chance
Hi, On 22 September 2016 at 14:08, José Seabra wrote: > Hi charles, > Inline > Thanks > > 2016-09-22 13:51 GMT+01:00 Charles Chance : > >> Hi José, >> >> In your config, you need to tell DMQ about a minimum of one other node. >> This can be in the form

Re: [SR-Users] Kamailio - DMQ dns srv Question

2016-09-22 Thread Charles Chance
resolves to all IP addresses associated with the host. This includes > addresses from DNS SRV records, A and records. > > *Default value is “0”.* > > Thank you > Cheers > José > > > > 2016-09-22 13:28 GMT+01:00 Charles Chance : > >> Hey, >> >

Re: [SR-Users] Kamailio - DMQ dns srv Question

2016-09-22 Thread Charles Chance
? Cheers, Charles > Thank you for your great job. > > BR > José Seabra > > 2016-09-22 8:33 GMT+01:00 Charles Chance : > >> Hello, >> >> I can take a look today. >> >> Cheers, >> Charles >> >> On 22 Sep 2016 06:20, "Daniel

Re: [SR-Users] Kamailio - DMQ dns srv Question

2016-09-22 Thread Charles Chance
Hello, I can take a look today. Cheers, Charles On 22 Sep 2016 06:20, "Daniel-Constantin Mierla" wrote: > Hello, > > I guess that the one who did the implementation of the srv query for dmq > hasn't "allocated" any service name. I haven't looked at the sources, but I > guess it should be a sma

Re: [SR-Users] Detecting calls with missing ACK (Lazy SIP scanners)

2016-04-05 Thread Charles Chance
Hi, You should probably check out TM docs - specifically failure route ( http://kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_on_failure) and t_is_expired ( http://kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_is_expired). >From there you can do what you like. Cheers, Charle

Re: [SR-Users] using DMQ , Kamailio shutsdown

2016-03-28 Thread Charles Chance
:03:14 P172 /usr/local/kamailio/sbin/kamailio[14013]: ALERT: > [main.c:739]: handle_sigs(): child process 14031 exited by a signal > 11 > > Mar 25 06:03:14 P172 /usr/local/kamailio/sbin/kamailio[14013]: ALERT: > [main.c:742]: handle_sigs(): core was generated > > Mar 25 06:03:14

Re: [SR-Users] using DMQ , Kamailio shutsdown

2016-03-26 Thread Charles Chance
Hello, Which version are you running? Can you provide a gdb backtrace? Cheers, Charles Hello All, I am running two instances of kamailio and using dmq. Kamailio starts good. However one of the node shutsdown unexpectedly. Unsure what is going wrong. Please let me know what could be wrong. belo

Re: [SR-Users] DMQ question

2016-03-04 Thread Charles Chance
s On 3 Mar 2016 7:00 pm, "Alex Balashov" wrote: > On 03/03/2016 01:58 PM, Charles Chance wrote: > >> Hi Alex, >> >> The function was primarily intended for onward replication of successful >> REGISTERs, rather than transactional state. >> >&g

Re: [SR-Users] DMQ question

2016-03-03 Thread Charles Chance
Hi Alex, The function was primarily intended for onward replication of successful REGISTERs, rather than transactional state. Assuming the function was available for replies, how do you anticipate handling them on the standby node(s)? Cheers, Charles On 3 Mar 2016 17:33, "Alex Balashov" wrote:

Re: [SR-Users] DMQ question

2016-03-03 Thread Charles Chance
hov wrote: > On 03/03/2016 11:29 AM, Charles Chance wrote: > >> In the first instance, you could use dmq_is_from_node() to determine if >> the message is a replicated one and if so, don't relay. >> >> There's no specific function to check the state of other no

Re: [SR-Users] DMQ question

2016-03-03 Thread Charles Chance
he message has just been replicated by the primary server then it's safe to assume it's in service, right? Cheers, Charles On 3 March 2016 at 16:14, Alex Balashov wrote: > On 03/03/2016 11:09 AM, Charles Chance wrote: > > Yes, you are correct. It simply wraps the stand

Re: [SR-Users] DMQ question

2016-03-03 Thread Charles Chance
Hi Alex, Yes, you are correct. It simply wraps the standard t_replicate() function, replicating the original request to every other node (first appending a new branch for each). Use case is essentially the same as the original but having the benefit of not having to define destination(s) staticall

Re: [SR-Users] Releasing Kamailio v4.3.2

2015-09-10 Thread Charles Chance
s ok to backport. To me it looks like making that dmq location > replication work, because removing a contact is part of the normal > registration processing, so personally I am fine backporting. > > Cheers, > Daniel > > On 10/09/15 12:49, Charles Chance wrote: > > Of c

Re: [SR-Users] Releasing Kamailio v4.3.2

2015-09-10 Thread Charles Chance
me other backports, it will take a while to read the whole thread and > figure out the details -- sometime looking at code is faster to decide is a > new feature or not. > > Cheers, > Daniel > > On 10/09/15 11:26, Charles Chance wrote: > > Hi Daniel, > > Do you ha

Re: [SR-Users] Releasing Kamailio v4.3.2

2015-09-10 Thread Charles Chance
Hi Daniel, Do you have a moment to comment on this related question: http://lists.sip-router.org/pipermail/sr-dev/2015-September/030663.html? Cheers, Charles On 10 Sep 2015 08:21, "Daniel-Constantin Mierla" wrote: > Hello, > > short note to remind that today kamailio v4.3.1 will be released. If

Re: [SR-Users] dmq_usrloc

2015-08-28 Thread Charles Chance
2550 "kelvin", len = 6} > ruid = {s = 0xb92a10 "uloc-55dffbe9-258b-1", len = 20} > c = {s = 0xb92aa0 > "sip:kelvin@192.168.1.120:5060;alias=4x.1x8.62.213~5060~1", > len = 56} > received = {s = 0xb92b60 "", len = 0} > path =

Re: [SR-Users] dmq_usrloc

2015-08-24 Thread Charles Chance
I will backport to 4.3. Cheers, Charles On 18 August 2015 at 06:00, Kelvin Chua wrote: > yes, same crash > > Kelvin Chua > > On Mon, Aug 17, 2015 at 3:17 PM, Charles Chance < > charles.cha...@sipcentric.com> wrote: > >> There were some issues fixed si

Re: [SR-Users] dmq_usrloc

2015-08-17 Thread Charles Chance
es on usrloc_sync.c > -- crash > i tried changing save("location") -- crash > > > Kelvin Chua > > On Fri, Aug 14, 2015 at 7:32 PM, Charles Chance < > charles.cha...@sipcentric.com> wrote: > >> Hi, >> >> I'm not sure why, but the dmq

Re: [SR-Users] dmq_usrloc

2015-08-14 Thread Charles Chance
Expires:: deleted > Callid:: 559751939@192.168.1.120 > Cseq:: 30 > User-agent:: qutecom/rev-g-trunk > Path:: 2.4.6.8:5060> > State:: CS_DIRTY >

Re: [SR-Users] dmq_usrloc

2015-08-13 Thread Charles Chance
not show anything >> >> >> >> i used ngrep to trace the KDMQ packets, i can see the frequent exchanges >> but nothing related to usrloc. am i doing something wrong? >> >> >> Kelvin Chua >> >> >>

Re: [SR-Users] htable replication between several kamailio's through dmq

2015-07-22 Thread Charles Chance
, from another kamailio instances through dmq module? > > Best Regards > -- > Cumprimentos > José Seabra > > ___ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http:

Re: [SR-Users] dmq_is_from_node() issue

2015-07-22 Thread Charles Chance
Hi, This is expected. The point of DMQ is to enable dynamic scaling without having to define every node in advance in Kamailio config. You should not use dmq_is_from_node() with dmq_handle_message() - it is not intended to be a security check for KDMQ messages, but for other messages replicated d

Re: [SR-Users] dmq_usrloc replication and max_contacts

2015-07-22 Thread Charles Chance
Hi, It seems to me like another bug, although again I'm not familiar with the module so can't be sure without looking that it is not intended behaviour. I plan to look later this week when I have some time but in the meantime, you can send me the examples directly if you like. Cheers, Charles

Re: [SR-Users] dmq_replicate deserializing?

2015-07-01 Thread Charles Chance
:"sip:212.2.160.202:61270 > ","path":"","callid":"rvOjXlyhAGK1aokNbR859w..","user_agent":"Z > 3.7.30891 > r30851","instance":"","expires":1435779765,"cseq":6,"flags":0,&qu

Re: [SR-Users] dmq_replicate deserializing?

2015-07-01 Thread Charles Chance
Hello, Should be no need to load any additional deserializer. The docs simply mean if you wish to send/receive your own messages from within a module or script, it's up to you to choose the best payload type and method of (de)serialization. Can you post an example KDMQ message here to look at? C

Re: [SR-Users] add feature to dmq to allow for HA (heartbeat or pacemaker)

2015-04-24 Thread Charles Chance
Hello, Thanks for the suggestion. Callbacks for change of node state can be added easily enough and I agree they could be quite useful to other modules. Development is frozen currently but I can push to a separate branch if you're interested in testing? Cheers, Charles On 24 Apr 2015 13:42, "V

Re: [SR-Users] registrar: add optional check for local path during lookup()

2015-04-21 Thread Charles Chance
Hi Volkan, It is in the master (development) branch, so will appear in the next major release (4.3). The code could not be backported to 4.2 because it was considered a new feature rather than a fix. Cheers, Charles P.S. please use mailing list in case the question is useful to others :-) On

Re: [SR-Users] Kamailio Freeswitch TCP call origination

2015-03-16 Thread Charles Chance
Hello, Since you are sharing location database, you might consider using Path. Cheers, Charles On 15 Mar 2015 08:52, "Niraj Roy" wrote: > Hi, >Here is the setup I have configured. > --Two Kamailio K1, K2 Works as a registrar and call load balancer > -- Three freeswitch works as the me

Re: [SR-Users] How to Use Multiple DMQ Notification Addresses

2015-03-04 Thread Charles Chance
t; > On Wed, Mar 4, 2015 at 4:17 AM, Charles Chance < > charles.cha...@sipcentric.com> wrote: > >> Hello Bob, >> >> It is only possible to specify one notification address. So it is >> important to make sure it points initially to an active node. >> >>

Re: [SR-Users] How to Use Multiple DMQ Notification Addresses

2015-03-04 Thread Charles Chance
Hello Bob, It is only possible to specify one notification address. So it is important to make sure it points initially to an active node. Once it has joined the cluster, the active node list is shared between all servers, so it should not matter which servers are up or down later. But for now,

Re: [SR-Users] dmq_t_replicate fails with ERROR: t_forward_nonack: no branches for forwarding

2015-02-06 Thread Charles Chance
Ok, you should report the cnxcc issue separately if required. For now, I have pushed the patch to master branch but will also backport to 4.2 later. Cheers, Charles On 6 February 2015 at 10:59, Leonardo Arena wrote: > On ven, 2015-02-06 at 09:37 +0000, Charles Chance wrote: > > >

Re: [SR-Users] dmq_t_replicate fails with ERROR: t_forward_nonack: no branches for forwarding

2015-02-06 Thread Charles Chance
On 6 Feb 2015 09:27, "Leonardo Arena" wrote: > > On gio, 2015-02-05 at 09:29 +, Charles Chance wrote: > > Hi, > > > > On 5 Feb 2015 09:18, "Leonardo Arena" wrote: > > > I saw the patch on sr-dev. Thanks! > > > > > >

Re: [SR-Users] dmq_t_replicate fails with ERROR: t_forward_nonack: no branches for forwarding

2015-02-05 Thread Charles Chance
Hi, On 5 Feb 2015 09:18, "Leonardo Arena" wrote: > > On mer, 2015-02-04 at 21:15 +, Charles Chance wrote: > > Hi, > > > > On 3 Feb 2015 10:07, "Leonardo Arena" wrote: > > > > > > On lun, 2015-02-02 at 17:54 +, Charles Chance

Re: [SR-Users] dmq_t_replicate fails with ERROR: t_forward_nonack: no branches for forwarding

2015-02-04 Thread Charles Chance
Hi, On 3 Feb 2015 10:07, "Leonardo Arena" wrote: > > On lun, 2015-02-02 at 17:54 +, Charles Chance wrote: > > Hi, > > > > > > Can you send the output of "kamcmd dmq.list_nodes" (mask IP addresses > > if needed)? > > proxy2:/et

Re: [SR-Users] dmq_t_replicate fails with ERROR: t_forward_nonack: no branches for forwarding

2015-02-02 Thread Charles Chance
Hi, Can you send the output of "kamcmd dmq.list_nodes" (mask IP addresses if needed)? I will try to replicate your scenario and come back with a solution shortly. By the way, your dmq "notification_address" parameter looks slightly odd (although I don't know what you're doing with DNS) - it shou

Re: [SR-Users] dialog module shared memory

2015-01-19 Thread Charles Chance
s. Regards, Charles On 19 January 2015 at 07:05, Grant Bagdasarian wrote: > Hello Charles, > > > > I’ve looked at the htable and dmq modules, but I don’t understand how to > integrate this with the dialog module. > > > > Could you post an example please? >

Re: [SR-Users] dialog module shared memory

2015-01-16 Thread Charles Chance
Hello, > > hmm, I thought there was already a patch from Alex Hermann, might be just > early for me here and that was just in the plans, because he changed how > the profiles are stored to allow mixing from different servers. > > Cheers, > Daniel > > On 16/01/15 12:23, C

Re: [SR-Users] dialog module shared memory

2015-01-16 Thread Charles Chance
Hello, Currently, this is work in progress. But in the meantime, it is possible to achieve using htable with dmq enabled. I can post an example later if required. Cheers, Charles On 16 Jan 2015 07:54, "Grant Bagdasarian" wrote: > Hello, > > > > I’m using the dialog module to control the maxi

Re: [SR-Users] Help analysing segmentation fault

2014-08-29 Thread Charles Chance
gt;s.s,avp_value.s.s,avp_value.s.len); >> >> It is for 4.1. >> >> I have some ongoing work to commit soon on the master branch. if you >> confirm it is working fine, I will push this patch as well and backport to >> 4.1. >> >> Cheers, >> Daniel >

Re: [SR-Users] Help analysing segmentation fault

2014-08-27 Thread Charles Chance
Hi Daniel, The patch has tested OK so far. Regards, Charles On 22 August 2014 12:37, Charles Chance wrote: > Thanks, Daniel. > > It can be hours, days or weeks between occurrences, but I will report > back after a day or two initially then continue to monitor. > > C

Re: [SR-Users] [sr-dev] rfc: distributing dialog profiles

2014-08-25 Thread Charles Chance
Alex, Thanks for expanding in such detail. I appreciate you taking the time to fix the things that I missed. Sometimes I think it may have been easier to start from scratch ;) Best regards, Charles On 25 Aug 2014 10:11, "Alex Hermann" wrote: > On Friday 22 August 2014, Charles

Re: [SR-Users] [sr-dev] rfc: distributing dialog profiles

2014-08-22 Thread Charles Chance
discuss before going to implement the mechanism. There are two > > major aspects to care of: > > > > A) Distribution, I thought of two options for it: > > > > 1) using dmq module to publish the operations done with local profiles > > (add/remove) -- this seems

Re: [SR-Users] Help analysing segmentation fault

2014-08-22 Thread Charles Chance
gt; str_list); > list_current->s.len = avp_value.s.len; > memcpy(list_current->s.s,avp_value.s.s,avp_value.s.len); > > It is for 4.1. > > I have some ongoing work to commit soon on the master branch. if you > confirm it is working fine, I will p

[SR-Users] Help analysing segmentation fault

2014-08-22 Thread Charles Chance
Hi All, I wonder if some one could help me to diagnose a recurring issue? It happens at random times/intervals and under varying load. But always, just before the time of crash, I see the same critical error in log: CRITICAL: dialog [dlg_hash.c:841]: log_next_state_dlg(): bogus event 6 in state

Re: [SR-Users] How to replace cachedb_local.so functionality

2014-04-30 Thread Charles Chance
Hi Gary, That's good to hear. Best regards, Charles On 29 Apr 2014 13:37, "Gary Wallis" wrote: > On 4/28/2014 17:54, Charles Chance wrote: > >> Hi, >> >> Maybe try http://kamailio.org/docs/modules/stable/modules/htable.html? >> >> Regards, &

Re: [SR-Users] How to replace cachedb_local.so functionality

2014-04-28 Thread Charles Chance
Hi, Maybe try http://kamailio.org/docs/modules/stable/modules/htable.html? Regards, Charles On 28 Apr 2014 21:26, "Gary Wallis" wrote: > Hello, > > Moving away from OpenSIPS... > > How can I replace the functionality that > > loadmodule "cachedb_local.so" > > gives in Kamailio 4.1? > > It is

Re: [SR-Users] Fwd: Early dialog

2014-04-28 Thread Charles Chance
Hi, To my knowledge, only confirmed dialogs are ever persisted to the database. Regards, Charles On 28 April 2014 15:10, Ivan Baques Garcia wrote: > Hi, > > I'm using modparam("dialog", "db_mode", 1), but only confirmed dialogs are > shown in the database. > > How I can enable to show uncon

Re: [SR-Users] dialog list query

2014-02-03 Thread Charles Chance
e case slightly, someone may be able to suggest another way to achieve it. Regards, Charles On 2 February 2014 15:40, John Murray wrote: > Charles, > > Thanks For that. > > How do I get the callid from a call in a specific profile if it is stored > in memory? > > Regards. &

Re: [SR-Users] dialog list query

2014-02-02 Thread Charles Chance
Hi John, > > >What db_mode are you using for dialog module? > > Mode 5. I Don't need to persist the dialog state so means table maintained in memory and not flushed to disk until shutdown but I can access it through normal avp_db_query right? Do you mean mode 3? Anyway, avp_db_query is for readin

Re: [SR-Users] dialog list query

2014-02-01 Thread Charles Chance
John, What db_mode are you using for dialog module? Are the entries in the db if you check manually? Are you able to fetch other data using avp_db_query? And do you see any errors in the log? Regards, Charles On 1 Feb 2014 16:24, "John Murray" wrote: > Hello, > > > > I am managing calls with

Re: [SR-Users] Replicate registration

2014-01-23 Thread Charles Chance
Hi Volkan, You probably should take a look at the Path module. For UACs behind NAT, the INVITEs should be proxied via the server with which the client is registered. Best regards, Charles On 23 January 2014 21:41, Volkan Oransoy wrote: > First of all thank you for your replies. > > I think

Re: [SR-Users] Link Redundancy

2014-01-15 Thread Charles Chance
Hello, Perhaps DNS SRV is what you are looking for? See http://en.m.wikipedia.org/wiki/SRV_record for more info. Regards, Charles On 15 Jan 2014 22:52, "Owais ul Haq" wrote: > Hello, > > I have a kamailio server deployed along with an internet connection and > database (on a seperate server t

Re: [SR-Users] Merry Christmas!

2013-12-24 Thread Charles Chance
And to you, Daniel. Season's greetings to one and all! Cheers, Charles On 24 Dec 2013 20:28, "Daniel-Constantin Mierla" wrote: > Almost done with another fruitful year, counting two major releases, the > first edition of a dedicated conference for Kamailio and presence at over a > dozen event

Re: [SR-Users] dialog sync via dmq

2013-12-10 Thread Charles Chance
Hi, > In dialog module no functions to create/destroy dialogs, they described > and used in tm module. Do you plan move dialog creation/destroying > funcs in dialog module? I think it will more usable for replication: > use same functions for create dialog in tm module (when real sip > dispatch) a

Re: [SR-Users] dialog sync via dmq

2013-12-09 Thread Charles Chance
Hi, On 9 Dec 2013 07:45, "Victor V. Kustov" wrote: > > Hi all! > > Can I create dialog structures via dmq? > Not yet, but it is work in progress and will be possible soon. > for example, two K. share IP via carp. Active K. (carp master) process > calls, create dialogs and send it to slave. When

Re: [SR-Users] MSRP module - Ubuntu repo

2013-10-24 Thread Charles Chance
so, in this case also i need to > configure Rtp proxy or mediaproxy ? > if so, which proxy to use (either Rtpproxy or mediaproxy) with kamailio > server ? > > Regards, > Ravi > > > On Thu, Oct 24, 2013 at 3:03 PM, Charles Chance < > charles.cha...@sipcentric.com> wr

Re: [SR-Users] MSRP module - Ubuntu repo

2013-10-24 Thread Charles Chance
library. > Is that is enough ? with that i can load msrp module in kamailio.config > and continue ? > > or should i have to install kamailio from sources ? > > Thank you > > > On Thu, Oct 24, 2013 at 1:07 PM, Charles Chance < > charles.cha...@sipcentric.com> wro

Re: [SR-Users] MSRP module - Ubuntu repo

2013-10-24 Thread Charles Chance
Hi, Is the msrp module not included already in the core kamailio package? Regards, Charles On 24 Oct 2013 08:26, "Wingsravi R" wrote: > Dear Kamailio'ns, > > I have Installed kamailio V 4.0.3 from Ubuntu 12.04 (precise) repository > and running successfully. > now i have to work around MSRP r

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-30 Thread Charles Chance
MI. It must match a URL to which the > RPC is bound. > > Is this referring to the binrpc modparam? > > ** ** > > Any tips? > > ** ** > > *From:* sr-users-boun...@lists.sip-router.org [mailto: > sr-users-boun...@lists.sip-router.org] *On Behalf Of *Charl

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Charles Chance
(): > handle_stream read: eof on /tmp/kamailio_ctl > > 8(11010) DEBUG: ctl [../../io_wait.h:617]: io_watch_del(): DBG: > io_watch_del (0x7f9211dab440, 11, -1, 0x10) fd_no=2 called > > ** ** > > *From:* sr-users-boun...@lists.sip-router.org [mailto: > sr-users-boun...

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Charles Chance
> Content-Type: text/html > > Server: kamailio (4.0.2 (x86_64/linux)) > > Content-Length: 2095 > > ** ** > > *From:* sr-users-boun...@lists.sip-router.org [mailto: > sr-users-boun...@lists.sip-router.org] *On Behalf Of *Charles Chance > *Sent:* Friday, Septembe

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Charles Chance
vp(dsdst)") > > modparam("dispatcher", "grp_avp", "$avp(dsgrp)")**** > > modparam("dispatcher", "cnt_avp", "$avp(dscnt)") > > modparam("dispatcher", "attrs_avp", "$avp(d

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-27 Thread Charles Chance
s-boun...@lists.sip-router.org [mailto: > sr-users-boun...@lists.sip-router.org] *On Behalf Of *Grant Bagdasarian > *Sent:* Friday, September 27, 2013 10:04 AM > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] Communicate with Kamailio through external > application**

Re: [SR-Users] Communicate with Kamailio through external application

2013-09-25 Thread Charles Chance
Hi, Take a look at http://www.kamailio.org/docs/modules/stable/modules/xhttp_rpc.html, which allows you to receive/handle RPC commands over HTTP. Then use the appropriate RPC command in dispatcher module to reload table: http://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#idp16998

Re: [SR-Users] Store dispatcher weight attribute in dispatcher table

2013-09-18 Thread Charles Chance
Hi, Maybe priority? http://kamailio.org/docs/modules/stable/modules/dispatcher.html#idp15199200 Regards, Charles On 18 September 2013 09:02, Grant Bagdasarian wrote: > Hello, > > ** ** > > Is it possible to store the weight attribute in the dispatcher table? If > so, which column must

Re: [SR-Users] Calling users on another kamailio server

2013-09-17 Thread Charles Chance
this way, when an INVITE reaches a proxy it'll do a lookup() and then > t_relay() to the appropriate registrar, right? > > > On Mon, Sep 16, 2013 at 11:06 AM, Charles Chance < > charles.cha...@sipcentric.com> wrote: > >> Peter - calling msg_apply_changes() after

Re: [SR-Users] Calling users on another kamailio server

2013-09-16 Thread Charles Chance
ly_changes()) until the message left Kamailio too? >>> >>> If that is the case, and msg_apply_changes() is called, doesn't that >>> mean the Path: header from add_path() would be added in that scenario? >>> >>> >>> On 16 September 2013 14:49,

Re: [SR-Users] Calling users on another kamailio server

2013-09-16 Thread Charles Chance
is called, doesn't that mean >> the Path: header from add_path() would be added in that scenario? >> >> >> On 16 September 2013 14:49, Charles Chance > > wrote: >> >>> It is possible if the edge proxy and registrar are separate, as you say. >>&

Re: [SR-Users] Calling users on another kamailio server

2013-09-16 Thread Charles Chance
any reason it isn't possible? > > > On 16 September 2013 14:21, Charles Chance > wrote: > >> Hi, >> >> Yes, you are right - and I agree, it would be better if this was possible >> :) >> >> Charles >> >> >> >> >> On

Re: [SR-Users] Calling users on another kamailio server

2013-09-16 Thread Charles Chance
Hi Brian, Another tip, if you do share the same database, make sure the clocks are in sync ;) Cheers, Charles On 16 September 2013 14:22, Brian Wallen wrote: > Thanks for the tips guys. I'll try them out today and report back. > > > On Mon, Sep 16, 2013 at 9:21 A

Re: [SR-Users] Calling users on another kamailio server

2013-09-16 Thread Charles Chance
istrar. > > Regards, > > Peter > > > On 16 September 2013 14:05, Charles Chance > wrote: > >> Hi, >> >> This sounds like a case for sharing same database, and adding Path before >> saving incoming register. That way, no need to replicate register

Re: [SR-Users] Calling users on another kamailio server

2013-09-16 Thread Charles Chance
Hi, This sounds like a case for sharing same database, and adding Path before saving incoming register. That way, no need to replicate register message to other servers and all subscribers use the same domain. Add path something like this before calling save(): append_hf(

Re: [SR-Users] Kamailio realtime fails to forward register with Asterisk.

2013-09-14 Thread Charles Chance
Another thing, you do have bindport=5080 in your sip.conf, don't you? Regards, Charles On 14 September 2013 13:42, Charles Chance wrote: > Hi Mick, > > What is the output of the following commands on Asterisk machine? > > netstat -lnp | grep asterisk > iptables -L

Re: [SR-Users] Kamailio realtime fails to forward register with Asterisk.

2013-09-14 Thread Charles Chance
ue thats got me baffled. > > Regards > Mick > On 14 Sep 2013 09:08, "Charles Chance" > wrote: > >> Hi, >> >> Could be something network related, or firewall? I know you stated phones >> could register directly to Asterisk but if nothing is showing i

Re: [SR-Users] issues with dispatcher rerouting to next server when getting a 500 from freeswitch

2013-09-14 Thread Charles Chance
Hi, You describe what you are trying to achieve, but not the result you are seeing. One thing I noticed is that in your failure route you set t_on_failure("DISPATCH"), but should it not be t_on_failure("RTF_DISPATCH")? Regards, Charles On 14 Sep 2013 08:33, "Joseph Watson" wrote: > Hello Eve

Re: [SR-Users] Kamailio realtime fails to forward register with Asterisk.

2013-09-14 Thread Charles Chance
Hi, Could be something network related, or firewall? I know you stated phones could register directly to Asterisk but if nothing is showing in Asterisk SIP log, then the requests are never getting to it. Was your trace performed on Kamailio server or Asterisk? Cheers, Charles On 13 September

Re: [SR-Users] New Developer: Charles Chance

2013-09-13 Thread Charles Chance
ello, >> >> I want to announce that a new person got developer GIT write access to >> repository: Charles Chance. >> >> He is for long time in the community, sending patches in the past to >> modules such as memcache. His immediate goal is to care of dmq module, &g

Re: [SR-Users] Nat_traversal module not sending keepalives

2013-09-10 Thread Charles Chance
ds, > Carsten > > 2013/9/9 Daniel-Constantin Mierla : > > Hello, > > > > not using this module, however, after you start, can you see a dedicated > > timer module 'NT' if you do kamctl ps? > > > > Cheers, > > Daniel > > > > >

Re: [SR-Users] Kamailio's XMPP issue

2013-09-07 Thread Charles Chance
Hi, Not familiar with the specific module but it looks like a more general DNS issue - do you have the correct DNS server(s) configured in resolv.conf? Are you able to resolve other hostnames? Regards, Charles On 7 Sep 2013 11:56, "Nandini madhu" wrote: > Dear All, > > I am working on XMPP mod

[SR-Users] Nat_traversal module not sending keepalives

2013-09-06 Thread Charles Chance
Hi all, Currently evaluating the nat_traversal module in some tests, and trying to configure keepalives for registers. We currently use nathelper, but due to the distributed nature of our setup, nat_traversal seems more appropriate for the keepalive functionality (nathelper is sending keepalives f

Re: [SR-Users] DB_CLUSTER - Cluster Definition

2013-08-22 Thread Charles Chance
Hello, Is anyone able to confirm whether the cluster definition I provided should indeed do what I think it should? If so, I will take a look further myself to find the reason why not. Thanks in advance, Charles On 20 Aug 2013 16:18, "Charles Chance" wrote: > Hi All, &

Re: [SR-Users] Presence: Get number of active_watchers

2013-08-21 Thread Charles Chance
Hi Jan, Why not use sqlops to query the database from within your config script? Best regards, Charles On 21 August 2013 13:36, Jan Gaida wrote: > Hello, > > I need to obtain the number of subscribed watchers for a given > presentity-uri. > > I can get it with a SQL Query like "select count

[SR-Users] DB_CLUSTER - Cluster Definition

2013-08-20 Thread Charles Chance
Hi All, I'm having difficulties with the above module and can't see what I'm doing wrong. Config as follows: modparam("db_cluster", "connection", "db01=>mysql:// > readwrite:passw...@db01.domain.com/kamailio") > modparam("db_cluster", "connection", "db02=>mysql:// > readonly:passw...@db02.domain

Re: [SR-Users] releasing v3.3.5

2013-08-02 Thread Charles Chance
> not sure if would be just simple backport and then it might be better just > to upgrade to 4.0 instead of making 3.3 unstable. > > Cheers, > Daniel > > On 8/2/13 10:27 AM, Charles Chance wrote: > > Hi Daniel, > > Sorry if I missed it already, but did the fix t

Re: [SR-Users] releasing v3.3.5

2013-08-02 Thread Charles Chance
Hi Daniel, Sorry if I missed it already, but did the fix to clear early state dialogs get backported in the end? Cheers, Charles On 2 Aug 2013 09:17, "Daniel-Constantin Mierla" wrote: > Hello, > > I am considering to package soon a new version out of branch 3.3. If > anyone has spotted fixes

Re: [SR-Users] Asterisk cluster with Kamailio for load balancing.

2013-07-11 Thread Charles Chance
to Kamailio, official tutorial did not cower all my > questions. > > Thanks. > > Regards, Volodya Ivanets. > > > 2013/7/11 Charles Chance > >> Hello, >> >> Have you looked at >> http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-

Re: [SR-Users] Asterisk cluster with Kamailio for load balancing.

2013-07-11 Thread Charles Chance
Hello, Have you looked at http://kb.asipto.com/asterisk:realtime:kamailio-3.3.x-asterisk-10.7.0-astdb? Charles On 11 July 2013 16:01, Володимир Іванець wrote: > Hello everyone! > > Recently I became interested in concept of putting couple of Asterisks > servers in cluster. So I tried to repli

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-05 Thread Charles Chance
On 3 July 2013 17:25, Charles Chance wrote: > Hi Daniel, > > Sounds perfect! I will try to test here tomorrow and let you know. > > Cheers, > > Charles > > > On 2 July 2013 22:44, Daniel-Constantin Mierla wrote: > >> Hello, >> >> I pushed a patc

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-04 Thread Charles Chance
he SIP message was perfect fine with Bye signal, yet the > dialog is still hang with state 1. > > Gary > > > On Wed, Jul 3, 2013 at 12:25 PM, Charles Chance < > charles.cha...@sipcentric.com> wrote: > >> Hi Daniel, >> >> Sounds perfect! I will tr

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-03 Thread Charles Chance
Maybe patching the module is the only > solution. > > Regards, > Carlos > > > On Tue, Jul 2, 2013 at 10:16 AM, Charles Chance < > charles.cha...@sipcentric.com> wrote: > >> That doesn't work I'm afraid. Also from >> http://www.kamailio.org/

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-02 Thread Charles Chance
gt; parse the info and tear down those unconfirmed dialogs using dlg_end_dlg: > > http://www.kamailio.org/docs/modules/3.1.x/modules_k/dialog.html#id2524783 > > > On Tue, Jul 2, 2013 at 10:02 AM, Charles Chance < > charles.cha...@sipcentric.com> wrote: > >> The paramet

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-02 Thread Charles Chance
when timeout is reached? On 2 July 2013 14:51, Carlos Ruiz Díaz wrote: > There is, but for all dialogs, not only the unconfirmed ones. > > > http://www.kamailio.org/docs/modules/3.3.x/modules_k/dialog.html#default-timeout-id > > > On Tue, Jul 2, 2013 at 9:49 AM, Char

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-02 Thread Charles Chance
29207 ... Therefore, the unconfirmed dialogs never get cleared automatically, in my experience at least. I hope I'm wrong though :) Cheers, Charles On 2 July 2013 14:31, Henning Westerholt wrote: > Am Dienstag, 2. Juli 2013, 14:23:25 schrieb Charles Chance: > > I don't thi

Re: [SR-Users] How to cleanup unconfirmed dialog in memory?

2013-07-02 Thread Charles Chance
Hi, I don't think this will help at all, as regardless of DB mode, unconfirmed dialogs are not stored in DB anyway. The important thing to remember is that if you are calling dialog_manage() in your config, to only do it once you are ready to forward the request. If you call it but then exit for

  1   2   >