Re: [SR-Users] Transport question

2018-05-16 Thread Joel Serrano
You have a listen= param with tcp transport right? On Tue, May 15, 2018 at 9:22 AM, Juha Heinanen wrote: > Wilkins, Steve writes: > > > I tried your suggestion and everything is still going over UDP. I > > verified with tcpdump/wireshark and all SIP traffic is UDP. > > Check your send socket, i

Re: [SR-Users] Transport question

2018-05-16 Thread Wilkins, Steve
Yes, I do. It seems so strange that nothing I try will enable it to go out over TCP. There is very little configuration to force it out TCP. I have tried a few thing that Alex has suggested but nothing sends it over TCP. Thank you, From: sr-users [mailto:sr-users-boun...@lists.kamailio.org]

Re: [SR-Users] Transport question

2018-05-16 Thread Juha Heinanen
Wilkins, Steve writes: > Yes, I do. It seems so strange that nothing I try will enable it to > go out over TCP. There is very little configuration to force it out > TCP. I have tried a few thing that Alex has suggested but nothing > sends it over TCP. Show what you get about Listening to syslo

Re: [SR-Users] Auth module with shared "secret"

2018-05-16 Thread Asgaroth
On 11/05/18 13:47, Daniel Tryba wrote: This works with all auth params set to default. My guess the following are the cause of problems. modparam("auth", "nonce_count", 1) modparam("auth", "one_time_nonce", 1) Thanks for the pointer Daniel, I'll take a look in the comming days and report

[SR-Users] t_load_contacts() and t_next_contacts() guts

2018-05-16 Thread KamDev Essa
I am tackling Hunting and see that there are two functions recommended to accomplish this. Before I jump into using them I wanted to know a bit about each regard to the call flow. >From where does t_load_contacts() load contacts and how does it order then in >case of a serial fork flow,  Is ther

Re: [SR-Users] Contact Header

2018-05-16 Thread KamDev Essa
Thanks. That worked. H On Tuesday, May 15, 2018, 1:08:47 PM EDT, Alex Balashov wrote: You just need to use Record-Route and all will work as intended. On Tue, May 15, 2018 at 05:06:02PM +, KamDev Essa wrote: > My scenario is  > UA <> Kamailio <> Freeswitch  > UA calls a nu

Re: [SR-Users] Contact Header

2018-05-16 Thread Wilkins, Steve
Where did you add Record-Route? Thank you, From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of KamDev Essa Sent: Wednesday, May 16, 2018 10:11 AM To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Contact Header Thanks. That worked. H On Tuesday, May 15, 201

Re: [SR-Users] Contact Header

2018-05-16 Thread KamDev Essa
Just before I relay. H On Wednesday, May 16, 2018, 10:24:48 AM EDT, Wilkins, Steve wrote: #yiv8125217347 #yiv8125217347 -- _filtered #yiv8125217347 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv8125217347 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv8125217347

Re: [SR-Users] Transport question

2018-05-16 Thread Daniel Tryba
On Wed, May 16, 2018 at 10:59:40AM +, Wilkins, Steve wrote: > Yes, I do. It seems so strange that nothing I try will enable it to > go out over TCP. There is very little configuration to force it out > TCP. I have tried a few thing that Alex has suggested but nothing > sends it over TCP. Wh

Re: [SR-Users] Transport question

2018-05-16 Thread Wilkins, Steve
If have tried a few things (and combination of things), setting ru, du, and fs => $ru = $ru + ";transport=tcp"; $du = $ru + ";transport=tcp"; $fs = 'tcp:xx.xx.xx.xx:5060'; I have also tried both, t_relay_to_tcp(), and t_relay() Thank you! -Original Message- From: sr-users [mailto:sr-use

[SR-Users] Hunting - Dynamic logistics

2018-05-16 Thread KamDev Essa
So I finally got to the docs on hunting under the TM Modules and there was an awesome write up and it is making a lot more sense now.  Basic logic is to append_branch with your extensions and and manage serial and/or parallel forking by setting the q values. The script is static. Is there a modul

[SR-Users] t_load_contacts() and t_next_contacts() guts

2018-05-16 Thread Juha Heinanen
KamDev Essa writes: > >From where does t_load_contacts() load contacts and how does it order > then in case of a serial fork flow, as readme tells, from destination set and it orders them based on q and +sip.instance values. destination set can gets its values, e.g., as result of lookup() call.

Re: [SR-Users] t_load_contacts() and t_next_contacts() guts

2018-05-16 Thread KamDev Essa
But lookup looks at urloc (location) table but that is dynamic. How do I say these extensions need to be in this hunt group. What static table do I place that info in.  On Wednesday, May 16, 2018, 1:00:31 PM EDT, Juha Heinanen wrote: KamDev Essa writes: > >From where does t_load_cont

Re: [SR-Users] t_load_contacts() and t_next_contacts() guts

2018-05-16 Thread Juha Heinanen
KamDev Essa writes: > But lookup looks at urloc (location) table but that is dynamic. How > do I say these extensions need to be in this hunt group. What > static table do I place that info in.  Sorry, I don't understand. -- Juha ___ Kamailio

Re: [SR-Users] t_load_contacts() and t_next_contacts() guts

2018-05-16 Thread KamDev Essa
I want to implement hunting dynamically. Say I have one Inbound # 12345678909 that needs to hunt 4 extensions. 201, 202, 203 and 204. where do I store this relationship in the db becuse a customer can change sequence to 202, 203, 201 and 204. KD On Wednesday, May 16, 2018, 1:15:36 PM EDT, J

Re: [SR-Users] t_load_contacts() and t_next_contacts() guts

2018-05-16 Thread Juha Heinanen
KamDev Essa writes: > I want to implement hunting dynamically. Say I have one Inbound # > 12345678909 that needs to hunt 4 extensions. 201, 202, 203 and > 204. where do I store this relationship in the db becuse a customer > can change sequence to 202, 203, 201 and 204. If you want to use load_c

Re: [SR-Users] t_load_contacts() and t_next_contacts() guts

2018-05-16 Thread KamDev Essa
- How do I mark the entries in the location table as permanent. - How do I group the entries in the location table as belonging to one hunt group ike the 4 extensions I mentioned - If I mark the entery as permanent how would I know if that extension is currently registered or not. 

Re: [SR-Users] t_load_contacts() and t_next_contacts() guts

2018-05-16 Thread Juha Heinanen
KamDev Essa writes: >- How do I mark the entries in the location table as permanent. you can use a flag for it or use long expires time. >- How do I group the entries in the location table as belonging to >- one hunt group ike the 4 extensions I mentioned uris of the extensions are

[SR-Users] cfg script 101

2018-05-16 Thread KamDev Essa
I have decided to do Hunting DIY. I needed some help with the cfg script part and using a database dip.  Say I do the db dip  sql_xquery("ca", "call usp_GetHuntBranches( '$rU', '$rd');", "ra");that will return the uri/q pairs and I will add using append_branch dynamically.  How do I do the loopin