[SR-Users] play music while processing a http request

2017-11-14 Thread 赵国杰
Hello guys, I have the following senario: ua1 calls ua2. when the INVITE reaches the kamailio, before foward to ua2, kamailio has to do a http request using “http_async_query”. However, the http request can take a really long time. I want the kamailio start playing music when the htt

Re: [SR-Users] AVPOPS: is_avp_set/avp_check "name" parameter as variable.

2017-11-14 Thread Asgaroth
Hi Daniel, Thanks for the alternative workaround, but I think I will stick with AVP module tests for the moment, it seems like a little bit of a resource waste having to set another avp to test for an avp that is already loaded up by the domain module. Thanks for the information. Cheers O

[SR-Users] topos and topos_redis : error log -> ERROR: topos [tps_storage.c:394]: tps_storage_record(): failed to store

2017-11-14 Thread Abdoul Osséni
hello, After activated redis backend for topos module, I have some error logs. Can you help me to understand these logs? # kamailio -V version: kamailio 5.1.0-rc0 (x86_64/linux) flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PK

[SR-Users] Dmq_usrloc

2017-11-14 Thread sofos koko
Hi ...i would like to connect two kamailio in diffwrent network so i can get call from one to another is any kamailio.cfg example to help me do it! ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mai

[SR-Users] max_contacts does not work as expected

2017-11-14 Thread Gholamreza Sabery
I have a Kamailio server that has: modparam("registrar", "max_contacts", 2) But recently I noticed some users have more than two records in the location table. For example one of the users has three different records with nearly the same information. The records are as follows. Is this behavior n

Re: [SR-Users] play music while processing a http request

2017-11-14 Thread 赵国杰
Hello guys, I googled the problem and came up with the following solution request_route { ... if (rtpproxy_offer()) t_on_reply("FORCE_RTPPROXY"); rtpproxy_stream2uac("/etc/kamailio/moh/ivr-unavailable-8000.wav", "-1"); t_newtran(); http_async_query("url here", "HTTP

[SR-Users] SUBSCRIBE NAT Keep-Alive

2017-11-14 Thread Asgaroth
Hi All, I'd like to ask the guru's out there their opinion on how to solve the nat problem for presence subscriptions. We have an issue with subscriptions that get timed out and the notify clears the subscription out of the active_watchers table due to the notify timing out, I think this is

[SR-Users] DBURL password in clear

2017-11-14 Thread Robert
Hello, I’m working for a UK high street bank and our Kamailio implementation has been challenged because we’ve got database passwords held in clear in the configuration file. I am unable to find any examples of where this has been worked around, there doesn’t seem to be any module or configura

[SR-Users] How to use $var as arguments to module functions

2017-11-14 Thread Duarte Rocha
Greetings, Is there a way to use the NATHELPER functions with a variable insted of a string with the value ? For example, I can do "fix_nated_sdp("11");" but Kamailio throws an error if i use "fix_nated_sdp("$(var(nat_fix)");" or any other variations. How should i proceed to be able to do this ?

Re: [SR-Users] max_contacts does not work as expected

2017-11-14 Thread Daniel-Constantin Mierla
Hello, what is the value of db_mode parameter for usrloc module? Cheers, Daniel On 15.11.17 06:36, Gholamreza Sabery wrote: > I have a Kamailio server that has: > > modparam("registrar", "max_contacts", 2) > > But recently I noticed some users have more than two records in the > location table.

Re: [SR-Users] DBURL password in clear

2017-11-14 Thread Daniel-Constantin Mierla
Hello, On 14.11.17 14:25, Robert wrote: > Hello, > > I’m working for a UK high street bank and our Kamailio implementation has > been challenged because we’ve got database passwords held in clear in the > configuration file. > > I am unable to find any examples of where this has been worked aro