[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 ma

[SR-Users] Kamailio on multiple interface

2016-08-04 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 guid

[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 clients...CLIEN

[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 semaphore

[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.."); $sht

[SR-Users] R: htable lock - unlock

2016-12-15 Thread Marino Mileti
#x27;t 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&#

[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

[SR-Users] DBTEXT Engine & ALIAS_DB

2014-09-24 Thread Marino Mileti
Hi to all, I've setup FS with dbtext module, and now I'm trying to make a alias_db_lookup(dbaliases) but it doesn't find any alias.Same conf with mysql db works great. Is it possible to have alias with dbtext engine? Marino___ SIP Express Router (SER) a

[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 possible

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

2014-09-25 Thread Marino Mileti
toxy sends INVITE for B & C with differents port.Is it possible to implement this scenario or there's some turnarund? Messaggio originale Da: fr...@carmickle.com Data: 25-set-2014 16.22 A: "Kamailio (SER) - Users Mailing List" Ogg: Re: [SR-Users] R: Re: RTPPROXY &a

[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 suggest?

[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("rtppro

[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 d

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

2014-09-29 Thread Marino Mileti
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 are the same...This happens because for all these clients the callid is still the same..so for rtpengine there's no difference.

[SR-Users] rtpproxy & extra_id_pv

2014-09-29 Thread Marino Mileti
hard 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 branc

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

2014-09-29 Thread Marino Mileti
: lunedì 29 settembre 2014 20:31 A: sr-users@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 ope

[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 30224 <> 192.168.10.20:7078 , 540 p, 92880 b, 0 e Media #1, port 30225 <> 192.168.10.20:7079 (RT

[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 thanks

[SR-Users] Kamailio & queue

2014-10-02 Thread Marino Mileti
en start Kamailio says: ERROR: [modparam.c:156]: set_mod_param_regex(): set_mod_param_regex: parameter of type <1> not found in module What's wrong? Messaggio originale Da: mico...@gmail.com Data: 2-ott-2014 9.44 A: "Kamailio (SER) - Users Mailing List", "Marino

[SR-Users] Kamailio & queue

2014-10-03 Thread Marino Mileti
pushed the patches 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: >>

[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] 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 in

[SR-Users] multiple endpoints call

2014-10-06 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...@gma

Re: [SR-Users] Presence PUBLISH error

2014-10-08 Thread Marino Mileti
guration parameters? Messaggio originale Da: mico...@gmail.com Data: 6-ott-2014 18.17 A: "Marino Mileti", "Kamailio (SER) - Users Mailing List" Ogg: Re: [SR-Users] Presence PUBLISH error hello, It seems that the column type and value type are mismatchi

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

2014-10-23 Thread Marino Mileti
030] Unhandled fault: alignment exception (0x801) at 0x4033a782 local0.err kamailio: ERROR: [daemonize.c:307]: daemonize(): Main process exited before writing to pipe In x86 architecture same packages works correctly without any problem. Does anybody encountered this kind of error? Marino - Marino

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

2014-10-23 Thread Marino Mileti
_ > SIP Express Router (SER) and Kamailio (OpenSER) - 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.c

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

2014-10-27 Thread Marino Mileti
n't know 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 archi

[SR-Users] AliasDB module & Forking

2014-11-03 Thread Marino Mileti
send_reply("405", "Method Not Allowed"); exit; } } 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

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 c

[SR-Users] Kamilio verify online servers

2014-11-10 Thread Marino Mileti
ER message 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 mai

[SR-Users] Kamailio - group presence

2014-11-13 Thread Marino Mileti
so with PUA_MI...but using fifo on K2...so user on K1 should subscribe 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.n

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

Re: [SR-Users] Kamailio CDRs

2014-12-18 Thread Marino Mileti
o Varriale (IPZeta) wrote > Hi 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-tp13

[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");

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

2015-08-03 Thread Marino Mileti
s.sip-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

[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 server

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 par

[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 registered

[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