[SR-Users] R: htable lock - unlock

2016-12-15 Thread Marino Mileti
set the item in memory, no assignment like: $sht(pht=>$ci) = ...; The sht_lock(pht=>$ci) is just locking the slot where the value of $sht(pht=>$ci) will be stored, but don't store any valye for that variable. Cheers, Daniel On 15/12/2016 11:46, Marino Mileti wrote: Hi guys, I'm going out of m

[SR-Users] htable lock - unlock

2016-12-15 Thread Marino Mileti
Hi guys, I'm going out of mind J I've this piece of script inside an "on_reply_route" that captures only 200OK of INVITE (i would like to save in ht the contact of who has answered a call) sht_lock("pht=>$ci"); if ($sht(pht=>$ci)!=$null){ xlog("L_INFO","Before assignment..");

[SR-Users] Question on multiple 200OK received after forking

2016-12-14 Thread Marino Mileti
Hi guys, I've a Kamailio instance listening on both eth0 and wlan0. Kamailio forks call to two branches, so both clients rings together. In case (very very very rare J) of simultaneous answers is there any way to kill/hangup/destroy/cancel the "slowest" leg? I've tried to arrange a

[SR-Users] Kamailio - Multiple NAT

2016-09-12 Thread Marino Mileti
Hi guys, i'm going in trouble with multinat scenario and Kamailio J I've this scenario... Two kamailio boxes with the same configuration (KAM_A and KAM_B). Each box has a WIFI in AP_MODE with the same address (but different SSID obviously) 192.168.254.1. Finally there are 2

[SR-Users] Kamailio on multiple interface

2016-08-05 Thread Marino Mileti
Hi guys, I've my Kamailio box that works great J Now I would like to enable wifi on the board (in AP mode) in order to allow mobile devices to connect and receive and place calls. Is it possible? Is it possible to configure Kama like a "gateway" between two network cards? I've find a

[SR-Users] kamcmd & route[REMOTE_TEST]

2016-07-14 Thread Marino Mileti
Hi guys, I've two question regarding rpc command. Is it possible to "execute" a specific route (for example my route[REMOTE_TEST]) using a rpc command by kamcmd? If not exist some other tricks to do this? Another question...regarding uac module... When Kamailio starts the UAC module

[SR-Users] Nathelper module

2015-12-01 Thread Marino Mileti
I would like to use nathelper module in order to "ping" all registered client and "delete" (from locations table) clients that are not reachable (maybe there's some network issue, or some other problem) I've seen that it's possible to have this feature for natted contact using nathelper (but

[SR-Users] Branch & Forking

2015-11-05 Thread Marino Mileti
I'm playing with branch and i'm using this simple route (copied from kamailio website) route { seturi("sip:a...@example.com"); append_branch("sip:b...@example.com"); append_branch("sip:c...@example.com"); t_relay(); break; } A B & C rings at the same time. If B or C aren't

Re: [SR-Users] Avoid multiple registration

2015-11-04 Thread Marino Mileti
Thank you Daniel!! I've removed the 0x04 flag and now works great!! Cheers, Marino On 03/11/15 17:30, Daniel-Constantin Mierla wrote: Hello, On 03/11/15 11:29, Marino Mileti wrote: I would like to avoid multiple registration with the same AOR... I know that there's a parameter

[SR-Users] Avoid multiple registration

2015-11-03 Thread Marino Mileti
I would like to avoid multiple registration with the same AOR... I know that there's a parameter for this (max_contacts) but if I set it to 1, all REGISTER overwrite location info. Instead i would like to reply with error if a REGISTER arrive with the same AOR just registered on location

[SR-Users] R: Mutiple branch forking and voicemail

2015-08-03 Thread Marino Mileti
-router.org] Per conto di Daniel-Constantin Mierla Inviato: lunedì 3 agosto 2015 12:37 A: Kamailio (SER) - Users Mailing List Oggetto: Re: [SR-Users] Mutiple branch forking and voicemail Hello, On 31/07/15 11:31, Marino Mileti wrote: Hello, I would like to implement a voicemail services but i'm trying

[SR-Users] Mutiple branch forking and voicemail

2015-07-31 Thread Marino Mileti
Hello, I would like to implement a voicemail services but i'm trying everything without good results :( My scenario is: - A make a parallel forking to B(1001) and C(1002) - If timeout, call is routed to voicemail I've done something like this...very simple seturi(sip:1001@172.20.40.103);

Re: [SR-Users] Kamailio CDRs

2014-12-18 Thread Marino Mileti
Hi Massimo you've to modify also your scripts and set flag FLT_ACCMISSED when you want to log the missed or failed call Marino - Marino Mileti -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-CDRs-tp11p12.html Sent from the Users mailing list

Re: [SR-Users] Kamailio CDRs

2014-12-18 Thread Marino Mileti
Marino, now the parameter is set to number 2 #!define FLT_ACCMISSED 2 Should raised to 3 or more? Thanks - Marino Mileti -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-CDRs-tp11p17.html Sent from the Users mailing list archive

[SR-Users] Kamailio - group presence

2014-11-13 Thread Marino Mileti
for a virtual user on K2. This isn't a good idea in case of network problem. Is there anyother way or do you have any suggests? - Marino Mileti -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-group-presence-tp132512.html Sent from the Users mailing list

[SR-Users] Kamilio verify online servers

2014-11-10 Thread Marino Mileti
from one server to another so i can dump all message in very simple way? Is there any example ? Many thanks - Marino Mileti -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamilio-verify-online-servers-tp132372.html Sent from the Users mailing list archive

Re: [SR-Users] AliasDB module Forking

2014-11-05 Thread Marino Mileti
Daniel-Constantin Mierla-6 wrote all the branches are forwarded, but probably they are discarded as the additional ones are looped back. Check your config and be sure you allow traffic from scr_ip==mysqlf without authentication. Thanks Daniel Now it works correctly! :) - Marino Mileti

[SR-Users] AliasDB module Forking

2014-11-03 Thread Marino Mileti
; } } Any suggest? My script still log No contanct found until timeout :( Many thanks - Marino Mileti -- View this message in context: http://sip-router.1086192.n5.nabble.com/AliasDB-module-Forking-tp132128.html Sent from the Users mailing list archive at Nabble.com

Re: [SR-Users] Kamailio for ARM with rtpproxy-ng

2014-10-27 Thread Marino Mileti
if this can be a problem during calls.. Do you have some suggest in order to fix this issue? - Marino Mileti -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-for-ARM-with-rtpproxy-ng-tp131801p131922.html Sent from the Users mailing list archive at Nabble.com

Re: [SR-Users] Kamailio for ARM with rtpproxy-ng

2014-10-23 Thread Marino Mileti
) - sr-users mailing list sr-users@.sip-router http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users - Marino Mileti -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-for-ARM-with-rtpproxy-ng-tp131801p131817.html Sent from the Users mailing list

Re: [SR-Users] Presence PUBLISH error

2014-10-08 Thread Marino Mileti
, Daniel On 06/10/14 15:14, Marino Mileti wrote: Hi guys, with Kamailio 4.1.6 standard configuration and dbtext as db module, when server receives a publish message on the log there's: ERROR: db_text [dbt_base.c:391]: dbt_insert(): incompatible

[SR-Users] multiple endpoints call

2014-10-07 Thread Marino Mileti
Take a look at : modparam(registrar, max_contacts, x) to have up to x contacts for AOR and in your REGISTRAR route if your save(location) has some extra parameters (for example the 0x04 used to restrict one single record in loaction table Messaggio originale Da: ovoshl...@gmail.com

[SR-Users] Presence PUBLISH error

2014-10-06 Thread Marino Mileti
Hi guys, with Kamailio 4.1.6 standard configuration and dbtext as db module, when server receives a publish message on the log there's: ERROR: db_text [dbt_base.c:391]: dbt_insert(): incompatible types v[5] - c[7]! ERROR: presence [presentity.c:402]: update_presentity(): inserting new record

[SR-Users] Kamailio queue

2014-10-03 Thread Marino Mileti
to master and 4.1 branches. So you would need to upgrade to latest git version. Cheers, Daniel On 02/10/14 10:15, Marino Mileti wrote: I don't need any IVR so I would like to try this module and following doc i've setup dbtable name parameters: modparam (mohqueue, db_qtable, mohqueues) modparam

[SR-Users] Serial forking q value

2014-10-03 Thread Marino Mileti
Hi guys, I've tried with success to implement serial forking based on q value (i've followed documentation) with the istruction: append_branch(sip:b...@example.com, 0.5); Now my questions are: is it possible to import URI from db? is it possible to import q value from db too? I would like to

[SR-Users] Kamailio queue

2014-10-02 Thread Marino Mileti
Hi, Is it possible to use kamailio to manage a very simple queue? All calls inbound go directly in queue and then the system to to extract calls and route to agent. A very simple call center. I've seen that there's a mohqueue module...is there any conf example? Many

[SR-Users] Kamailio queue

2014-10-02 Thread Marino Mileti
I don't need any IVR so I would like to try this module and following doc i've setup dbtable name parameters: modparam (mohqueue, db_qtable, mohqueues) modparam (mohqueue, db_ctable, mohcalls) but when start Kamailio says: ERROR: core [modparam.c:156]: set_mod_param_regex():

[SR-Users] R: Re: R: Re: RTPPROXY BRANCH

2014-09-30 Thread Marino Mileti
Unfortunately rtpengine doesn't work in this way. At the end of the calls this is the output log: Final packet stats: Tag 'Fw3D7R0', created 0:41 ago, in dialogue with 'TTPyT~Hdw' Media #1, port 30224192.168.10.20:7078 , 540 p, 92880 b, 0 e Media #1, port 30225192.168.10.20:7079

[SR-Users] rtpproxy extra_id_pv

2014-09-29 Thread Marino Mileti
But with from-tag and To-tag it's possible to instruct rtpengine to generate new couple of ports for each branch of a call? In the source code of rtpengine it seems that it check only the callid parameter Hi guys, I've seen that setting the parameter extra_id_pv, every branch should be a

[SR-Users] rtpproxy extra_id_pv

2014-09-29 Thread Marino Mileti
Fuchs Inviato: lunedì 29 settembre 2014 20:21 A: sr-users@lists.sip-router.org Oggetto: Re: [SR-Users] rtpproxy extra_id_pv On 09/29/14 14:08, Marino Mileti wrote: But with from-tag and To-tag it's possible to instruct rtpengine to generate new couple of ports for each branch of a call

[SR-Users] R: Re: R: Re: RTPPROXY BRANCH

2014-09-29 Thread Marino Mileti
@lists.sip-router.org Oggetto: Re: [SR-Users] R: Re: R: Re: RTPPROXY BRANCH On 09/29/14 14:23, Marino Mileti wrote: The problem isn't on 183s but on the multiple INVITE that Kamailio sends to clients behind rtpengine. Rtpengine open new ports for answer but on INVITE the rtpengine ports

[SR-Users] rtpproxy extra_id_pv

2014-09-26 Thread Marino Mileti
Hi guys, I've seen that setting the parameter extra_id_pv, every branch should be hae different callid.. How can i set this parameter? I've tried with : modparam(rtpproxy, extra_id_pv, $avp(extra_id)) but in the INVITE message the callid is still the same for all branches. Any

[SR-Users] rtpproxy extra_id_pv

2014-09-26 Thread Marino Mileti
Hello, On Friday 26 September 2014 16:44:44 Marino Mileti wrote: Hi guys, I've seen that setting the parameter extra_id_pv, every branch should be a different callid.. How can i set this parameter? I've tried with : modparam(rtpproxy, extra_id_pv, $avp(extra_id)) but in the INVITE

[SR-Users] R: Re: RTPPROXY BRANCH

2014-09-25 Thread Marino Mileti
Because I've more than 1 client behind NAT (1,2,3 mobile phones) and I would like to reach all of them in parallel mode. I can't use for all of them same ports because all mobile clients have early media (the receive video media before they answer) So at the moment this scenario is not

[SR-Users] Kamailio dbaliases

2014-09-19 Thread Marino Mileti
Hi to all, is it possible to define same alias for differents SIP ID? How? Documentations of Alias_DB Module says: If the alias resolves to many SIP IDs, the first is replacing the R-URI, the rest are added as branches ..but i've tried to add more SIPID with the same alias but system doesn't