Re: [SR-Users] Question on the debug change level command with 5.0.x

2017-03-23 Thread Federico Cabiddu
es in my config ? Cordialement Patrick GINHOUX *De :* sr-users [mailto:sr-users-boun...@lists.sip-router.org] *De la part de* Federico Cabiddu *Envoyé :* jeudi 23 mars 2017 17:38 *À :* Kamailio (SER) - Users Mailing List *Objet :* Re: [SR-Users] Question on the debug change level command with 5.

Re: [SR-Users] Question on the debug change level command with 5.0.x

2017-03-23 Thread Federico Cabiddu
Hi, you have to load the cfg_rpc module ( http://www.kamailio.org/docs/modules/5.0.x/modules/cfg_rpc.html). Then you can run kamcmd cfg.set_now_int core debug . Regards, Federico On Thu, Mar 23, 2017 at 5:24 PM, Ginhoux, Patrick < patrick.ginh...@fr.unisys.com> wrote: > Hi, > > > > Previously,

Re: [SR-Users] Error on of type <2> not found in module and SCTP API Not initialized

2017-03-16 Thread Federico Cabiddu
Hi, param name has changed some versions ago: http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.ds_probing_threshold Cheers, Federico On 16 Mar 2017 13:35, "Ginhoux, Patrick" wrote: > Hi, > > > > I’m migrating my kamailio.cfg from the 3.3.1 release to 5.0.0 and >

Re: [SR-Users] Replace old registration record with new one while keeping single AOR per contact

2017-01-29 Thread Federico Cabiddu
Hi, you can use the flag "0x04" when calling save(): http://www.kamailio.org/docs/modules/4.4.x/modules/registrar.html#registrar.f.save Regards, Federico On 28 Jan 2017 20:13, "Aqs Younas" wrote: > Greetings list, > I want to keep single AOR per contact. If new regitration comes i want to > r

Re: [SR-Users] R: R: serial forking calls using TSILO

2017-01-29 Thread Federico Cabiddu
Hi, I analyzed and reproduced your issue and here's my conclusions: 1) in your scenario TSILO module is not involved nor needed. TSILO implements "deferred" parallel forking while, in your case, what you are trying to implement is serial forking with chained transaction suspensions. You can see in

Re: [SR-Users] FOSDEM 2017

2017-01-24 Thread Federico Cabiddu
Hi, I'll be there and willing to participate to the dinner! Cheers, Federico On Tue, Jan 24, 2017 at 3:04 PM, Daniel-Constantin Mierla wrote: > Hello, > > anyone else interested in having a dinner event at Fosdem? > > Soon there has to be a decision and hopefully Torrey (cc-ed) can help > agai

Re: [SR-Users] R: serial forking calls using TSILO

2017-01-23 Thread Federico Cabiddu
exit; > > > > # when routing via usrloc, log the missed calls also > if (is_method("INVITE")) > setflag(FLT_ACCMISSED); > > route(RELAY); > route(STORETRAN); > exit; > > > r

Re: [SR-Users] serial forking calls using TSILO

2017-01-22 Thread Federico Cabiddu
Hi, could you please provide the LOCATION route and the Kamailio's log at level 3? Thank you. Regards, Federico On Fri, Jan 20, 2017 at 11:05 AM, Tomas Zanet wrote: > Hello, > I’m using Kamailio 4.4.4 with TSILO module in order to support Push > Notifications used by our voip app on Apple ios1

Re: [SR-Users] Tsilo iOS Push Notifications with Kamailio/Asterisk Integration

2016-12-11 Thread Federico Cabiddu
my presentation the call to lua_runstring("do_push([[$hdr(X-VxTo)]], [[$tU]], [[$hdr(XVxFrom)]], [[$fU]], [[$ci]])")<0) is actually just an example of where, in the Kamailio script, the logic for sending the push should be placed. Regards, Federico On Sun, Dec 11, 2016 at 5:46 PM,

Re: [SR-Users] Tsilo iOS Push Notifications with Kamailio/Asterisk Integration

2016-12-11 Thread Federico Cabiddu
Hi Benjamin, if you don't plan to support multiple devices per account just the t_suspend/t_continue pair should be enough to support push notification. This being said you can easily integrate the example in my presentation in the Kamailio's configuration given in the Asterisk/Kamailio integration

Re: [SR-Users] TSILO question

2016-12-01 Thread Federico Cabiddu
Hi, about your questions: Q1: yes it's feasible as long as the two Registrars (Kamailio) have the location information. Please see my reply on a thread on this topic: http://lists.sip-router.org/pipermail/sr-users/2016-February/091612.html Q2: given that TSILO depends on the users' location you h

Re: [SR-Users] msilo

2016-11-15 Thread Federico Cabiddu
Hi Slava, if I understand correctly your scenario, you could call t_on_failure before relaying the MESSAGE. In this way you should have access to the original message in the failure route triggered after receiving a final reply and you should be able to store it with the regular msilo functions. Ho

Re: [SR-Users] TSILO module use failure

2016-10-28 Thread Federico Cabiddu
Igor Olhovskiy" wrote: > Tried ti call > ts_store also after t_relay - does not helps… > > 2016-10-27 17:49 GMT+03:00 Igor Olhovskiy : > >> Hi! >> I’m trying to implement scheme much like Federico Cabiddu is described >> here >> https://www.youtube.com/w

Re: [SR-Users] Selective rport behaviour

2016-09-22 Thread Federico Cabiddu
Hi Alex, I had the same problem as you and I couldn't find a way to selectively reply to via. What I ended up doing is the following dirty trick... Before a transaction is created for the processed message I do: if (SOME CONDITION) { remove_hf_value("Via[-1].rport"); msg_apply_chan

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

2016-09-22 Thread Federico Cabiddu
Hi, are you sure that on server 2 you are running 4.4 branch? The three params version of the query has been removed in master in this commit https://github.com/kamailio/kamailio/commit/61adc6e16c73070bd3f8a9a04efa18263793a270 . Setting the query's body is now done through the $http_req pseudovaria

Re: [SR-Users] avp_db_query

2016-09-18 Thread Federico Cabiddu
Hi, you may use sqlops module for executing queries from routing script: http://www.kamailio.org/docs/modules/4.0.x/modules/sqlops.html Cheers, Federico On 17 Sep 2016 13:38, "Angel Elena" wrote: > Hi, good moorning. > > I have a Kamailio 4.0 with avp module working. > > Now, I need write some

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

2016-09-16 Thread Federico Cabiddu
Hi this should be better documented. I'll update the documentation accordingly. On the other hand I see that you are using in the config http_set* and http_append_header functions. I'd suggest to use the $http_req pseudovariable for the same purpouse ( http://www.kamailio.org/docs/modules/4.4.x/mod

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

2016-09-15 Thread Federico Cabiddu
Hi, did you create the transaction before calling http_async_query? If not, the function switch to non-transactional context, the script execution is not stopped (you should notice it in your logs if the log line after the function call is printed) and the callback function creates a fake message t

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Federico Cabiddu
The issue with dispatcher is that, in case of TCP transport, you cannot set the sending socket for the same reason. Basically, each time a client TCP socket is open by Kamailio, the SO select the port, due to the lack of support for SO_REUSEPORT. Cheers, Federico On Thu, Sep 8, 2016 at 4:33 PM,

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Federico Cabiddu
Hi, about this subject: linux kernel starting from 3.9 introduced SO_REUSEPORT which allows reusing TCP sockets. It could be interesting supporting this in Kamailio. I worked on a patch for this, I can open a PR and start a discussion if you think it's worth. Regards, Federico On Thu, Sep 8, 201

Re: [SR-Users] Query - REST API calls in async

2016-09-07 Thread Federico Cabiddu
Hi, On Wed, Sep 7, 2016 at 4:14 PM, Agalya RAMACHANDRAN wrote: > Hi team, > > I am Agalya and I work for Comcast. We are trying to use kamailio as proxy > server for our project. > I have a query regarding the same. We are trying to use REST API calls > asynchronously from the config file. > I s

Re: [SR-Users] Tsilo Tiimers

2016-07-24 Thread Federico Cabiddu
;Nahum Nir" wrote: > Hello Fredrico, > > Please see the attached cfg. I tried to add the fragments you published > and to add a suspension at SENDPUSH but I am getting Desitnation Unknow. > > Thank you so much, > Nir > > On Thu, Jul 21, 2016 at 10:03 PM, Federico Cab

Re: [SR-Users] Tsilo Tiimers

2016-07-20 Thread Federico Cabiddu
Hi, to set the timeout for a specific transaction you can use tm module function t_set_fr ( http://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.f.t_set_fr). For example you could call it before suspending the transaction setting a short timeout and then call it again in the reply route wh

Re: [SR-Users] tsilo ts_append problem

2016-07-07 Thread Federico Cabiddu
Hi Giovanni, thanks for testing and reporting. I will prepare a PR for this. About your solution I do agree with it, simple and effective :) Regards, Federico On Fri, Jul 8, 2016 at 8:20 AM, gmele wrote: > Hello Federico, > > your patch seems to work for us. Thx. > > For the 2 registrars needi

Re: [SR-Users] tsilo ts_append problem

2016-07-07 Thread Federico Cabiddu
Hi Giovanni, glad that I could help you :) About your questions: sip.instance: I've pushed in a branch ( https://github.com/kamailio/kamailio/tree/grumvalski/ts_append-instance) a change in tm t_append_branches function. Can you give it a try and let me know how it works for you? The change is rea

Re: [SR-Users] tsilo ts_append problem

2016-07-06 Thread Federico Cabiddu
Hi Giovanni, when I suggested to disable sip.instance, really I meant in the client, since I know that linphone has an option for this. Anyway the problem is not due to your patch. If your registrar is behind a proxy, you have to enable the support for the Path header in the registrar module ( http

Re: [SR-Users] tsilo ts_append problem

2016-07-06 Thread Federico Cabiddu
Hi Giovanni, are you using sip instances and the client reconnecting is the same? There is currently a limitation in the module which prevent it from working with sip.instance, I had in mind to fix it since a while but I still haven't found the time to work on it. If it's the case, try not using si

Re: [SR-Users] tsilo ts_append problem

2016-07-06 Thread Federico Cabiddu
Hi Giovanni, tsilo module has a parameter to specify if store the transaction with or without the domain part of the ruri: http://www.kamailio.org/docs/modules/devel/modules/tsilo.html#idp45289468. By default is disable so it will use the user part only. Regards, Federico On Wed, Jul 6, 2016 at

Re: [SR-Users] Parsing diversion headers correctly

2016-06-24 Thread Federico Cabiddu
Hi Joel, to the extract the username part of the last Diversion header you could modify your last example like this: $(hdr(Diversion)[-1]{nameaddr.uri}{uri.user}) Regards, Federico On Sat, Jun 25, 2016 at 3:23 AM, Joel Serrano | VOZELIA wrote: > Hi, > > If you receive an INVITE with 2 diversi

Re: [SR-Users] TM Module t_suspend question

2016-06-10 Thread Federico Cabiddu
ers again while there is already an ongoing branch for the same contact, tsilo won't append a new branch for it, so it is safe to register while there is a stored transaction. Lots of questions, but it is not easy to handle phones and desktop clients…. > > > > > Regards >

Re: [SR-Users] TM Module t_suspend question

2016-06-10 Thread Federico Cabiddu
Giovanni > > > > > > *From:* sr-users [mailto:sr-users-boun...@lists.sip-router.org] *On > Behalf Of *Federico Cabiddu > *Sent:* vendredi 10 juin 2016 10:48 > *To:* Kamailio (SER) - Users Mailing List > *Subject:* Re: [SR-Users] TM Module t_suspend question > > >

Re: [SR-Users] TM Module t_suspend question

2016-06-10 Thread Federico Cabiddu
Hi, for this kind of scenarios I'd suggest to use the TSILO module which have been thought for mobile multidevice scenarios: http://www.kamailio.org/docs/modules/devel/modules/tsilo.html. Basically what you can do is: send the INVITE to the desktop phone, store the transaction, send the push to wa

Re: [SR-Users] Want dialog.default_timeout NOT to reset on subseq. req

2016-05-31 Thread Federico Cabiddu
Hi Andrey, you can disable dialog timeout reset either globally ( http://www.kamailio.org/docs/modules/devel/modules/dialog.html#dialog.p.timeout_noreset) or on a per-dialog basis ( http://www.kamailio.org/docs/modules/devel/modules/dialog.html#dialog.f.dlg_set_property ). Cheers, Federico On Tu

Re: [SR-Users] A real mystery - 1.5.x vintage edition!

2016-04-14 Thread Federico Cabiddu
Never tried, but looks like it could work, at least in the "modern" code. Cheers, Federico On Thu, Apr 14, 2016 at 8:53 AM, Alex Balashov wrote: > This can probably still be "overridden" manually in a failure_route[], > even though it's not the prettiest option. e.g. > > failure_route[1] { >

Re: [SR-Users] A real mystery - 1.5.x vintage edition!

2016-04-13 Thread Federico Cabiddu
My pleasure Alex :) See you in Berlin! Federico On Thu, Apr 14, 2016 at 7:34 AM, Alex Balashov wrote: > Federico, > > Very nice find! Subtle, inspired! I had figured it as a module quirk > rather than a standards-mandated behaviour. Now that you mention it, I do, > of course, remember seeing t

Re: [SR-Users] A real mystery - 1.5.x vintage edition!

2016-04-13 Thread Federico Cabiddu
Hi Alex, RFC 3261, section "6. Choosing the best response" states: "A proxy which receives a 503 (Service Unavailable) response SHOULD NOT forward it upstream unless it can determine that any subsequent requests it might proxy will also generate a 503. In other words, forwarding a 503 means that

Re: [SR-Users] Load balancing traffic based on SIP URI

2016-04-01 Thread Federico Cabiddu
Hi, if I understand correctly your problem is that the first INVITE for a specific URI will go to a server and the conference will be instantiated there. Then you must route all the INVITEs from the other participants to the same server, is it right? If this is the case why not use algorithm 3 in d

Re: [SR-Users] kamailio memory issue

2016-03-25 Thread Federico Cabiddu
Hi, you cannot change Kamailio's memory at runtime, you have to stop and restart it passing the new values. Depending on the distribution you're using, the values read by startup scripts can be in different places (/etc/default/kamailio being common one for debian like distribution). About Kamailio

Re: [SR-Users] how to print log message in kamailio.log

2016-03-10 Thread Federico Cabiddu
Hi, xlog documentation: http://www.kamailio.org/docs/modules/devel/modules/xlog.html Kamailio routing script basic example: https://github.com/kamailio/kamailio/blob/master/etc/kamailio-basic.cfg Regards, Federico On 10 Mar 2016 6:51 p.m., "Shiv Patidar" wrote: > please give me any reference

Re: [SR-Users] Kamailio 5.0 - B2BUA

2016-03-03 Thread Federico Cabiddu
Hi, I'm not a fan of the idea of having a B2B implemented in Kamailio, but at the same time I agree with Alex's reasons for having it, so I give a +1 to this. Cheers, Federico On Wed, Mar 2, 2016 at 7:01 PM, Fred Posner wrote: > On 03/02/2016 12:45 PM, Alex Balashov wrote: > > Hi, > > > > I wa

Re: [SR-Users] question about dlg_var

2016-03-03 Thread Federico Cabiddu
S. Yuriev wrote: > Hi, > > Sorry, but why not to check has_totag again? Why we need a flag? > > -- > Wbr, Serge via mobile > > 03.03.2016, 09:31, "Federico Cabiddu" : > > > Hi, > $dlg_var is not available at this stage of the dialog: > >

Re: [SR-Users] question about dlg_var

2016-03-02 Thread Federico Cabiddu
Hi, $dlg_var is not available at this stage of the dialog: http://www.kamailio.org/docs/modules/devel/modules/dialog.html#idp19330392 To achieve your goal you can use there an avp or a flag, which are bound to transactions. Something like: #define INIT_FLAG if (is_method("INVITE") && !has_totag

Re: [SR-Users] Kamailio Cluster

2016-02-01 Thread Federico Cabiddu
Hi, a solution in this case could be making usage of Path header ( https://tools.ietf.org/html/rfc3327). You have to load the path module http://www.kamailio.org/docs/modules/devel/modules/path.html and enabled its usage in registrar module http://www.kamailio.org/docs/modules/devel/modules/reg

Re: [SR-Users] [sr-dev] Fosdem 2016

2016-01-06 Thread Federico Cabiddu
Hi, I'm going to be there too. It would be nice to have some drinks/food together. Regards, Federico On Wed, Jan 6, 2016 at 9:16 AM, Daniel-Constantin Mierla wrote: > Hello, > > ok, let's see how many we are going to be and then decide how to do it > (if we are not a large group, we can just g

Re: [SR-Users] tsilo and linphone android connected via TCP

2015-12-29 Thread Federico Cabiddu
Hi, the commit https://github.com/kamailio/kamailio/commit/6bdddb99d7bca42897b2c0f96a87c49b97efd8ac solves the issue. It has been cherry-picked to 4.2 branch and it's included in version 4.2.7. Regards, Federico On Mon, Dec 28, 2015 at 3:23 PM, Vasiliy Ganchev wrote: > Hi folk! > > sorry for f

Re: [SR-Users] Dispatcher according to called subscriber

2015-12-15 Thread Federico Cabiddu
Hi Michael, a way could be to have two different dispatcher sets (one for each mvno). Then you could store the dispatcher set associated to each user in the usr_preferences table and use it in the routing script. Something like this in your routing script: avp_db_load("fU", "$avp(dispatcher-set)"

Re: [SR-Users] kamailio enabling reply to options

2015-11-09 Thread Federico Cabiddu
Hi, have a look at utils module and its options_reply() function ( http://kamailio.org/docs/modules/4.3.x/modules/siputils.html#siputils.f.options_reply ). In the documentation there is a kamailio configuration file snippet showing how to use it. Cheers, Federico On Mon, Nov 9, 2015 at 12:01 PM,

Re: [SR-Users] Prepend values to PSTN gateway?

2015-10-05 Thread Federico Cabiddu
Hi, for this kind of operations you really have a lot of possible choices with kamailio. Some examples: 1) operating directly on $ru, since it is a r/w pseudovariable ( http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#ru_-_request_uri ) 2) use textops module's susbst_uri function http:

Re: [SR-Users] Crash kamailio 4.3.1

2015-09-28 Thread Federico Cabiddu
Hi, I've finally managed to understand what was causing the crash. I've submitted a pull request with a proposal for a fix ( https://github.com/kamailio/kamailio/pull/346). Let's wait Daniel thoughts about it :) Regards, Federico On Sun, Sep 20, 2015 at 4:17 PM, F

Re: [SR-Users] Crash kamailio 4.3.1

2015-09-20 Thread Federico Cabiddu
Hi Thibault, there is no need for special decline handling when using tsilo, so the default basic should work with the modifications you've done. I tested your scenario with this config and I haven't been able to get the crash. Could you please perform a test with debug level 3 and send me the whol

Re: [SR-Users] Crash kamailio 4.3.1

2015-09-18 Thread Federico Cabiddu
ISTER] > { > if(isflagset(FLT_NATS)) { > setbflag(FLB_NATB); > #!ifdef WITH_NATSIPPING > # do SIP NAT pinging > setbflag(FLB_NATSIPPING); > #!endif > } > if (!save("location")) > sl_reply_error(); > route(PUSHJOIN); > exit; > } > > route[PUS

Re: [SR-Users] Crash kamailio 4.3.1

2015-09-15 Thread Federico Cabiddu
3, 31958, 32706, 0, 0, 0, 65535, 65535}, > > addr = > "%\203\326|\302\177\000\000\000\000\000\000\377\377\377\377"}} > > __FUNCTION__ = "relay_reply" > > #5 0x7fc27cda99d8 in fake_reply (t=0x7fc2761f2fc0, branch=3, > code=408) at

Re: [SR-Users] Crash kamailio 4.3.1

2015-09-15 Thread Federico Cabiddu
then launching again the > app, call is presented... > Then waiting for call timeout. > It works one or 2 times then call never timeouts on the client which > initiates the call > (which means Kamailio is dead and does not send 408 Timeout) > > > 2015-09-10 19:33 GMT+02:00

Re: [SR-Users] Crash kamailio 4.3.1

2015-09-11 Thread Federico Cabiddu
When I get more time I will try to check again and see if those > suppositions are valid. Meanwhile, maybe you can check as well. > > Cheers, > Daniel > > > On 10/09/15 19:33, Federico Cabiddu wrote: > > Hi Thibault, > have you tried last tsilo code from

Re: [SR-Users] Crash kamailio 4.3.1

2015-09-10 Thread Federico Cabiddu
Hi Thibault, have you tried last tsilo code from 4.3.x branch? Recently there has been a fix ( https://github.com/kamailio/kamailio/commit/6ce6803d57dabe287d7d6fa859e93c1df402d821) for an issue that may be related to yours. I'll keep investigating to see if I can spot something else. In the meanwhi

Re: [SR-Users] How to prevent multiple registration entries in module ims_registrar_scscf

2015-06-12 Thread Federico Cabiddu
Hi, to achieve this you could use modparam("ims_usrloc_scscf", "maxcontact", 1) modparam("ims_usrloc_scscf", "maxcontact_behaviour", 2) Regards, Federico On Fri, Jun 12, 2015 at 4:49 PM, jyaim wrote: > Hi all, > > I have an issue with mobile devices which get a different IP address > each tim

Re: [SR-Users] lookup() to fork execution of routing script?

2015-06-02 Thread Federico Cabiddu
Hi, to achieve the described behavior you could call t_on_branch(BRANCH_NAME) before calling t_relay. In this way each branch, after forking and before being relayed, will traverse the branch_route named BRANCH_NAME. http://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.f.t_on_branch Hope

Re: [SR-Users] Kamailio not receiving BYE request

2015-05-28 Thread Federico Cabiddu
43AA40] > <http://www.linkedin.com/company/vanrise-solutions> [image: Description: > Description: cid:image008.png@01CDB760.3643AA40] > <http://twitter.com/VanriseSolution> > > > > > > > > > > > > *From:* sr-users [mailto:sr-users-boun...@list

Re: [SR-Users] Kamailio not receiving BYE request

2015-05-28 Thread Federico Cabiddu
The ACK is stopping at Kamailio. Be sure that you have loose_route management in kamailio script and that the ACK is hitting it. Something like if (loose_route()) { xlog("L_ERR", "route[MAIN]: call-id=$ci from=$fU to=$tU : attempt to route with preloaded Routes"); if (is_method("AC

Re: [SR-Users] Kamailio not receiving BYE request

2015-05-28 Thread Federico Cabiddu
Hi, in the INVITE going to the client there is no Record-Route header. This means that the in-dilaog messages won't go through kamailio. In the trace you are also missing the ACK for the INVITE for the same reason. Be sure that in your kamailio script you are calling record_route(). Regards, Fede

[SR-Users] ims_qos routing

2015-04-25 Thread Federico Cabiddu
Hi, I've been recently playing, with success, with kamailio IMS modules and the examples *cscsf configuration files. Now I'm trying to implement qos but I am stuck with diameter routing. Basically I can route Rx requests only if I use "rx_forced_peer". In the other cases (Realm routing or default r

Re: [SR-Users] tsilo module

2015-03-27 Thread Federico Cabiddu
Hi Roberto, I will try to post an example in the next days. Regards, Federico On Tue, Mar 24, 2015 at 2:56 PM, Roberto Fichera wrote: > On 03/24/2015 07:48 AM, Federico Cabiddu wrote: > > Ciao Federico, > > Hi Alex, > the use case for which I wrote the module is the follo

Re: [SR-Users] tsilo module

2015-03-23 Thread Federico Cabiddu
Hi Alex, the use case for which I wrote the module is the following. Suppose that your service is mobile oriented and thus you are using "push" (APN, GCM or custom one) mechanism to reach your customers' devices. The devices are not registered most of the time, they do after receiving a push trigge

Re: [SR-Users] Grouped dispatching

2015-02-02 Thread Federico Cabiddu
Hi, you could use dispatcher's param "use_default" to achieve this: http://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.use_default Regards, Federico On Mon, Feb 2, 2015 at 11:49 AM, Grant Bagdasarian wrote: > Hello, > > > > Would the below scenario be possible

Re: [SR-Users] dialog timeout reinvite

2015-01-01 Thread Federico Cabiddu
Hi, You can use the timeout_noreset parameter of the dialog module: http://www.kamailio.org/docs/modules/devel/modules/dialog.html#idp16963672. Regards, Federico On 1 Jan 2015 17:27, "Kelvin Chua" wrote: > Happy new year everyone! :) > > I have stumbled into a case where a switch would send a r

Re: [SR-Users] tsilo question

2014-12-02 Thread Federico Cabiddu
Hi, currently the module depends on registrar module to append new branches: basically it forces a lookup and update the dset for the transaction. So adding the Contact(s) of the 302 (if I understand correctly what you want to do) is not possible, maybe it could be a feature to add. As Daniel sugge

Re: [SR-Users] Questions about multiple contacts in kamailio

2014-09-30 Thread Federico Cabiddu
Hi, you can achieve this by using the flag 0x04 when calling save() function from registrar module: http://kamailio.org/docs/modules/stable/modules/registrar.html#idp1965144 Regards, Federico On 30 Sep 2014 10:54, "qw" wrote: Hi, I have one question about contact in kamailio. Sometimes, one u

Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-15 Thread Federico Cabiddu
it. Hope this helps. CHeers, Federico On Tue, Sep 16, 2014 at 3:28 AM, Nicholas Gill wrote: > On 15/09/14 16:03, Federico Cabiddu wrote: > >> What happens if you call t_relay() after setting $du? >> > Same result. Kamailio sends 407 to caller, which then creates a new INVI

Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-14 Thread Federico Cabiddu
What happens if you call t_relay() after setting $du? Cheers, Federico On Mon, Sep 15, 2014 at 1:09 AM, Nicholas Gill wrote: > On 14/09/14 20:00, sr-users-requ...@lists.sip-router.org wrote: > >> In your script snippets it seems >> that upon receiving the 302, in the failure route you set the

Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-13 Thread Federico Cabiddu
Hi, I'm not sure that I fully understand your scenario, there are things not clear to me, like: who is sending the 407? In your script snippets it seems that upon receiving the 302, in the failure route you set the $du and then you pass the message to a RELAY route, which I suppose sends the 407 r

Re: [SR-Users] Restricting Kamailio to single login

2014-04-05 Thread Federico Cabiddu
Hi, you have to call the save() function with the flag 0x04. http://www.kamailio.org/docs/modules/4.0.x/modules/registrar.html#idp1813984 Regards, Federico On 5 Apr 2014 10:03, "MrIhaveAnOpinionOnEverything" wrote: > Hi Everyone: > > I am a newbie in kamailio. Basically I am looking for a

Re: [SR-Users] $DLG_lifetime

2013-06-21 Thread Federico Cabiddu
led. > > [1] http://kamailio.org/docs/modules/devel/modules/cnxcc.html > > Regards, > Carlos > > > On Fri, Jun 21, 2013 at 8:30 AM, Federico Cabiddu < > federico.cabi...@gmail.com> wrote: > >> Hi Daniel, >> thank you for your answer. >> I tried

Re: [SR-Users] $DLG_lifetime

2013-06-21 Thread Federico Cabiddu
Hi Daniel, thank you for your answer. I tried to catch the BYE with event_route[dialog:end] but I'm facing another problem. When the timeout for the dialog is reached Kamailio correctly sends a BYE to the caller and to the callee but in the logs I see this: DEBUG: dialog [dlg_timer.c:240]: start w

Re: [SR-Users] Kamailio service not starting on reboot when using mysql database

2011-04-12 Thread federico cabiddu
Hi, from the log you pasted is clear that the problem is that kamailio is starting before mysql. This because, as you said, they have the same priority and so, being the starting order alphabetical for the same priority, kamailio will start before mysql and cannot connect to mysql which is still no

Re: [SR-Users] Cannot run Kamailio on public IP

2011-04-07 Thread federico cabiddu
eone could check my results > ? > http://pastebin.com/6EY5VYeP > > Now I am getting Too Many Hops (483) > > 77.YY.YY.YY = IP from which client trying to register > 77.XX.XX.XX = My Public IP > 192.168.1.137 = Kamailio > > Thanks for all! > > > > 2011/4/7 fe

Re: [SR-Users] Cannot run Kamailio on public IP

2011-04-07 Thread federico cabiddu
Hi, try to sniff the traffic on your Kamailio server to see if SIP packets are reaching the server or not and where, eventually, Kamailio is sending the replies. Regards, Federico 2011/4/7 spama...@gmail.com : > Thank you, Klaus for your prompt reply. > > Now Kamailio listens on local IP (192.16

Re: [SR-Users] offset exceeds message size crash

2010-09-08 Thread federico cabiddu
een solved by a commit couple of months ago: > > http://openser.svn.sourceforge.net/viewvc/openser/branches/1.5/modules/nathelper/nhelpr_funcs.c?r1=5884&r2=5995 > > If does not work with latest SVN, let us know. > > Thanks, > Daniel > > > > On 9/2/10 2:27 PM, federi

[SR-Users] offset exceeds message size crash

2010-09-02 Thread federico cabiddu
ater then the effective body length body->len is corrected with the real value. This solved for the moment, but I'm not sure if this is a good approach and I still don't understand why in the test platform I cannot reproduce the crash. Regards, Federico Cabiddu __