[OpenSIPS-Users] Value comparison issue

2023-05-31 Thread Michele Pinassi via Users
gt; ... Seems that there's a problem with "if($var(calls)>$avp(maxcalls))" because in logs i got: User has 2 calls (max 10 calls): BUSY ... User has 1 calls (max 10 calls): ALLOW Any hints or suggestion? Thanks for your help. -- Michele Pinassi Università degli

[OpenSIPS-Users] Help with max concurrent call limit

2020-11-05 Thread Michele Pinassi
grep): INVITE 333@172.20.1.4:506 5...@voip..it:5060 28 172.20.1.4:5060193.xxx:5060 REJECTED 28ad94e804782466 0:10 INVITE 5...@voip..it5...@voip.xxx.it20 193.205.4.182:5060 193.xxx:5060

Re: [OpenSIPS-Users] Upgrading from 1.11.11 to latest stable 2.4

2018-10-16 Thread Michele Pinassi
? > > Best regards, > > Liviu Chircu > OpenSIPS Developer > http://www.opensips-solutions.com > On 16.10.2018 10:13, Michele Pinassi wrote: >> Hi all, >> >> maybe a trivial question but i'm planning to upgrade my production >> OpenSIPS server from lates

[OpenSIPS-Users] Upgrading from 1.11.11 to latest stable 2.4

2018-10-16 Thread Michele Pinassi
ay ? Thanks for any hint :-) Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Ufficio Esercizio e tecnologie - Università degli Studi di Siena tel: 0577.(23)5000 - helpd...@unisi.it Per trovare una soluzione rapida ai tuoi problemi tecnici consulta le FAQ di Ateneo, htt

[OpenSIPS-Users] OpenSIPS and REDIS

2017-06-14 Thread Michele Pinassi
R"); break; case -2: xlog("L_ERR","Auth error for $fU@$fd from $si: INVALID PASSWORD"); break; case -3: # Stale nonce - This is not an error, so don't print anything br

Re: [OpenSIPS-Users] Call Pickup feature in Opensips 1.11

2017-06-09 Thread Michele Pinassi
; Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - central...@unisi.it Per trovare una soluzione r

Re: [OpenSIPS-Users] CDR in Flat files

2017-06-06 Thread Michele Pinassi
setflag(CALL_AST); >create_dialog("B"); >do_accounting("log", "cdr"); > } > > in cosole debug I see > ACC: call ended: > created=1496654777;call_start_time=1496654780;duration=7;ms_duration=7393;setuptime=3;meth

Re: [OpenSIPS-Users] opnsisps 2.3 routing config

2017-06-06 Thread Michele Pinassi
t; > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena

Re: [OpenSIPS-Users] OpenSIPS and 256 MByte of RAM.

2017-03-22 Thread Michele Pinassi
very well ! > > But, I have to move back my OpenSIPS to the 'poor' hardware! > > > So, what configurations in OpenSIPS files should I set, to get better > performance? > > > Any suggestion will be very helpful! > > > Best regards. > > -- Mich

Re: [OpenSIPS-Users] ERROR:presence:update_presentity cause OpenSIPS eat all memory and crash...

2017-03-16 Thread Michele Pinassi
le On 16/03/2017 09:05, Michele Pinassi wrote: > Opensips 1.11.9-notls on a Debian 8.7 x64, with more that 700 phones > registered. > > Sometimes, almost twice a week, i got a lot of: > > /usr/sbin/opensips[1585]: ERROR:presence:update_presentity: No E_Tag > match [a.1489409482.

[OpenSIPS-Users] ERROR:presence:update_presentity cause OpenSIPS eat all memory and crash...

2017-03-16 Thread Michele Pinassi
memory available... Thanks, Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - central...@unisi.it Per trovare una soluzione rapida ai tuoi problemi tecnici consulta le FAQ di Ateneo, http

[OpenSIPS-Users] uac_replace_from i'm doing something wrong..

2017-02-23 Thread Michele Pinassi
ute_to_carrier("toip")) { t_on_failure("next_gw"); t_relay(); exit; } } but i got an error. Maybe i'm doing somewthing wrong with number manipulation. Suggestions how i can do the same thing in a more elegant manner are welcome ! Thanks for any

Re: [OpenSIPS-Users] preferred OS and version for OpenSIPS?

2017-02-21 Thread Michele Pinassi
wrote: > > What is the preferred OS and version for OpenSIPS? > > > > I installed it on newer version Ubtunu, but and it seems to work, but > the Control Panel does not. The Control Panel I am guessing expects > an older version of Debian. > > > -- Michele Pi

[OpenSIPS-Users] CRITICAL:core:timer_ticker: timer handler

2017-02-15 Thread Michele Pinassi
On my opensips log i got: /usr/sbin/opensips[17639]: CRITICAL:core:timer_ticker: timer handler lasted (260 us) for more than timer tick (100 us) -> potential timer shifting what's going on ? Thanks, Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, S

[OpenSIPS-Users] WARNING:rr:after_strict:no socket found for match second RR

2017-02-08 Thread Michele Pinassi
Hi all, i'm going crazy with an issue with WiFi VoIP users. Our VoIP server, Opensips 1.11.9, was inside DMZ with public IP address 193.x.x.110 and WiFi network is 10.x.x.x. VoIP fixed phone are inside a separated network 172.20.x.x and firewall allowed traffic in both directions between those net

[OpenSIPS-Users] Block anonymous incoming calls

2016-10-05 Thread Michele Pinassi
08 proxy-voip01 /usr/sbin/opensips[2978]: 403 - Forbidden - Call blocked from 333xx to 5002 Any suggestions ? Thanks, Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - central...@

Re: [OpenSIPS-Users] Dynamic Routing module issue with srip

2016-05-03 Thread Michele Pinassi
t are you sure that $var(carrier) points to > "toip" carrier ? > > Note that the module changes only the username in RURI, it does not > change TO hdr . > > Best regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutio

Re: [OpenSIPS-Users] Dynamic Routing module issue with srip

2016-05-02 Thread Michele Pinassi
all the routing scenarios (per prefix, per > carrier, etc). Are you sure your call is routed via that GW ? try to > print in cfg the GW ID to see it the right GW is used. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-soluti

[OpenSIPS-Users] Dynamic Routing module issue with srip

2016-04-29 Thread Michele Pinassi
rrier routing, i get no number strip... Maybe i'm missing something ? Thanks, Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - central...@unisi.it Per trovare una soluzione rapida a

[OpenSIPS-Users] Knowing when a call was diverted

2015-11-25 Thread Michele Pinassi
0 phones. Any hint/suggestions ? Thanks, Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - central...@unisi.it Per trovare una soluzione rapida ai tuoi problemi tecnici consulta le F

[OpenSIPS-Users] Try to setup ENUM NRENUM support...

2015-11-03 Thread Michele Pinassi
exit;// //}/ but on establishing call, this is the tcpdump trace between VOIP01 and VOIP02 i get this: /IP VOIP01.5060 > VOIP02.5060: UDP, length 1170// // //INVITE sip:86472@VOIP02 SIP/2.0// //Record-Route: // //Via: SIP/2.0/UDP VOIP01:5060;branch=z9hG4bKe567.edebdee3.0// //Via: SIP/2.0/UDP 172

[OpenSIPS-Users] Secretary/Boss

2015-11-02 Thread Michele Pinassi
er cannot call directly to Boss phone: firstly, the call will be diverted to secretary and only in a second time, call should be forwarded to boss phone (from secretary). Any hint how to do this ? Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza In

Re: [OpenSIPS-Users] Again BLF and Presence with Snom 7xx phones and OpenSips

2015-04-09 Thread Michele Pinassi
ip.unisi.it") { # > CUSTOMIZE ME > > Or set the contact in presence with the real IP: > modparam("presence", "server_address", > mailto:sip:presence@127.0.0.1:5060) > > Best regards, > Bogdan-Andrei Iancu > OpenSIPS Founder and Develo

[OpenSIPS-Users] SUBSCRIBE not routed to destination

2015-04-03 Thread Michele Pinassi
5030: http://pastebin.com/h7qBTKbv This is the full opensips.cfg -> http://pastebin.com/r7fNTxpy Thanks for any help. Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - fax: 0577.(23)2053 Pe

[OpenSIPS-Users] Some questions about Presence server

2015-03-31 Thread Michele Pinassi
't figure out why doesn't work... Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)5000 - fax: 0577.(23)2053 Per trovare una soluzione rapida ai tuoi problemi tecnici consulta l

[OpenSIPS-Users] Relay SUBSCRIBE after handle_subscribe

2015-03-30 Thread Michele Pinassi
ndle_publish(); } else if (is_method("SUBSCRIBE")) { handle_subscribe(); t_relay(); } } else if(is_method("NOTIFY")) { t_relay(); } exit; } Is that correct ? There's another better way to do this ? Michele -- Michele

[OpenSIPS-Users] Routing NOTIFY to the phone - MAYBE SOLVED

2015-03-27 Thread Michele Pinassi
uot;)) { t_relay(); exit; } sl_send_reply("404","Not here"); } exit; } Hope this works. Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servi

[OpenSIPS-Users] NOTIFY not routed

2015-03-27 Thread Michele Pinassi
binGAdVESTnG0.bin Description: PGP/MIME version identification encrypted.asc Description: OpenPGP encrypted message ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

[OpenSIPS-Users] Routing NOTIFY to the phone

2015-03-26 Thread Michele Pinassi
ror(); exit; } if (is_method("PUBLISH")) { if($hdr(Sender)!= NULL) handle_publish("$hdr(Sender)"); else handle_publish(); } else if (is_method("SUBSCRIBE")) { handle_subscribe(); } exit; }

[OpenSIPS-Users] Sad and frustrated: PRESENCE not working

2015-03-11 Thread Michele Pinassi
username","$fU"); } # fix some broken subscriptions if(!search("^Accept: application/simple-message-summary")) { append_hf("Accept: application/simple-message-summary\r\n"); } setdsturi("si

Re: [OpenSIPS-Users] Again BLF and Presence with Snom 7xx phones and OpenSips

2015-03-04 Thread Michele Pinassi
modparam("presence", "server_address", > "sip:presence@127.0.0.1:5060") > > Best regards, > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > On 24.02.2015 12:04, Michele Pinassi wrote: >>

[OpenSIPS-Users] Again BLF and Presence with Snom 7xx phones and OpenSips

2015-02-24 Thread Michele Pinassi
erver when i try to call (from another phone) 5020. The full opensips.cfg is available here: http://pastebin.com/e6SfbFfq Thanks for any help. Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23

[OpenSIPS-Users] Some phones can call, others not...

2014-11-28 Thread Michele Pinassi
http://pastebin.com/rW3AKr22 My config: http://pastebin.com/9gP9xncd Thanks for all your help. Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)2169 - fax: 0577.(23)2053 Per trovar

Re: [OpenSIPS-Users] Not forwarding 200 ok sporatically

2014-11-26 Thread Michele Pinassi
ts.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Michele Pinassi Responsabile Tel

[OpenSIPS-Users] BLF and Presence/PUA

2014-11-19 Thread Michele Pinassi
Y+%60active_watchers%60.%60local_contact%60+ASC&token=02f2e9cb7d26d05e4d122aa4f77b558d> sip:5...@voip.unisi.it 5002voip.unisi.it 5007voip.unisi.it dialog f315b2d58ae8829149b784764c5a40e3-ef1f 1f2g3lai9y 5c5b6c540726-yq78t6gum1az 1 2 sip:5002@172.20.

[OpenSIPS-Users] Presence error

2014-11-18 Thread Michele Pinassi
presence); } [] route(relay); } # RELAY route[relay] { # for INVITEs enable some additional helper routes if (is_method("INVITE")) { xlog("L_INFO","Route RELAY on INVITE [$fd/$fu/$rd/$ru/$si/]\n"); dialoginfo_set(); t_on

[OpenSIPS-Users] ul_publish: failed to send publish

2014-11-14 Thread Michele Pinassi
ndle_publish(); } if (is_method("SUBSCRIBE")) { handle_subscribe(); } exit; } branch_route[per_branch_ops] { xlog("L_INFO","Route NEW BRANCH [$fd/$fu/$rd/$ru/$si/]\n"); } failure_route[missed_call] { xlog("L_INFO","Route MI

[OpenSIPS-Users] BLF and PRESENCE

2014-10-29 Thread Michele Pinassi
update_subscription: notify Oct 29 11:47:32 proxy-voip01 /usr/sbin/opensips[5496]: INFO:presence:send_notify_request: NOTIFY sip:5...@voip.unisi.it via sip:5022@172.20.2.12:32768 on behalf of sip:*9...@voip.unisi.it for event message-summary, to_tag=f315b2d58ae8829149b784764c5a40e3-c2fb, cseq=1 M

[OpenSIPS-Users] Help with dr_routing outside VoIP network

2014-05-30 Thread Michele Pinassi
MEDICINA [$fd/$fu/$rd/$ru/$si/]\n"); if(route_to_carrier("trunkmed")) { t_on_failure("next_gw"); t_relay(); exit; } } "trunkmed" gw is outside VoIP network (200.200.200.2) and i'm not able to forward correctly packets from VoIP devices to trunkm

Re: [OpenSIPS-Users] Opensips plays an audio

2014-04-21 Thread Michele Pinassi
Hi Frana, Just install an Asterisk and live happy. If you need help i've already di what you want Michele Il 20/apr/2014 09:57 "H Yavari" ha scritto: > Hi Frank, > I tried to do with rtpproxy_stream2uac() the RBT but this not work for me. > > -- > Regards, > H.Yavari > --

[OpenSIPS-Users] Opensips 1.11.0 CRASH

2013-10-29 Thread Michele Pinassi
sbin/opensips[10210]: INFO:core:sig_usr: signal 15 received Oct 29 13:59:04 proxy-voip01 /usr/sbin/opensips[10193]: INFO:core:cleanup: cleanup Oct 29 13:59:04 proxy-voip01 /usr/sbin/opensips[10193]: NOTICE:presence:destroy: destroy module ... Any hint ? Michele -- Michele Pinassi Responsabile T

[OpenSIPS-Users] RTPProxy to link two networks

2013-10-18 Thread Michele Pinassi
quot;,"Internal Error"); }; exit; } # Presence route route[handle_presence] { if (!t_newtran()) { sl_reply_error(); exit; } if(is_method("PUBLISH")) { handle_publish(); } else if( is_method("SUBSCRIBE")) {

Re: [OpenSIPS-Users] Where to place acc_aaa_request ?

2013-05-17 Thread Michele Pinassi
the > configuration seems ok for that ; Could you confirm that OpenSIPS is > sending RADIUS packages to the RADIUS server ? The RARDIUS server is the > one responsible for writing in whatever file or DB the received data. > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Foun

Re: [OpenSIPS-Users] Where to place acc_aaa_request ?

2013-05-17 Thread Michele Pinassi
> http://www.opensips-solutions.com > > > On 05/16/2013 01:18 PM, Michele Pinassi wrote: >> Thanks Bodgan for your kindly reply but now accounting don't work: >> nothing will be added to acc table ! >> >> Here's the full routing logic. Maybe there's

Re: [OpenSIPS-Users] Where to place acc_aaa_request ?

2013-05-16 Thread Michele Pinassi
1 [$fd/$fu/$rd/$ru/$si/]\n"); } onreply_route[2] { xlog("L_INFO","OnReply Route2 [$fd/$fu/$rd/$ru/$si/]\n"); } failure_route[1] { xlog("L_INFO","Failure Route1 [$fd/$fu/$rd/$ru/$si/]\n"); if (t_was_cancelled()) { exit;

[OpenSIPS-Users] Where to place acc_aaa_request ?

2013-05-16 Thread Michele Pinassi
/$rd/$ru/$si/]\n"); if (!t_newtran()) { sl_reply_error(); exit; }; if(is_method("PUBLISH")) { handle_publish(); } else if( is_method("SUBSCRIBE")) { handle_subscribe(); } exit; } route[4] { xlog("L_INFO"

[OpenSIPS-Users] OpenSIPS with public/private interface and RTPProxy

2013-05-09 Thread Michele Pinassi
quot;); } onreply_route[2] { xlog("L_INFO","OnReply Route2 [$fd/$fu/$rd/$ru/$si/]\n"); } failure_route[1] { xlog("L_INFO","Failure Route1 [$fd/$fu/$rd/$ru/$si/]\n"); if (t_was_cancelled()) { exit; } if (t_check_stat

[OpenSIPS-Users] Calls from Asterisk gateway not allowed...

2012-06-01 Thread Michele Pinassi
$ | NULL | +----+-++--+--+---+--+--+ root@proxy-voip01:/etc/opensips# Any hint ? Thanks, Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)