[OpenSIPS-Users] IP Header dont fragment

2011-09-01 Thread Airton Kuada

Hi Guys,I captured some packets generated by OpenSIPS and found that the flags field of the IP header has the value 0x04 (do not fragment)Is there any parameter in OpenSIPS to disable this?Airton Kuada




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] opensipsctl erros

2010-04-30 Thread Airton Kuada

Hi allThere is a sintaxe error in opensipsctl in lines 435, 438, 495, 498 when option is "opensipsctl alias_db show/list"if [ $DBENGINE -eq "MYSQL" ]if [ $DBENGINE -eq "PGSQL" ]toif [ $DBENGINE = "MYSQL" ]
if [ $DBENGINE = "PGSQL" ]
Airton Kuada--




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] problem with finishing call

2009-10-30 Thread Airton Kuada

Hi all.Currently working with version 1.4 and testing the 1.6 to perform the migration, but I'm having some problems that never happened in version 1.4I am using to test the file opensips.cfg that comes with the package opensips-1.6.tar.gz, added the module "drouting" to route calls between two Asterisk server.In this configuration the system works perfectly, but when the module "domain" is activated (loaded and configured) the closure of a call does not end normally, as shown in the diagram below. If the domain module is disabled, everything works normally.What may be happening?Airton Kuada*(a) opensips *(b)! INVITE ! ! !---! ! ! TRYING ! ! !! ! ! ! INVITE ! ! !! ! ! TRYING ! ! !! ! ! RING ! ! !! ! RING ! ! !---! ! ! ! 200 OK ! !!! ! 200 OK ! ! !- ! ! ! ACK ! ! !-! ! ! ! ACK ! ! !! ! DIALOG ! !---! ! ! ! ! ! BYE ! ! !-! ! ! 404 Not here ! ! !!  




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] problem with finishing call - correction

2009-10-30 Thread Airton Kuada

Hi all, excuse me this is the correct question.Currently working with version 1.4 and testing the 1.6 to perform the migration, but I'm having some problems that never happened in version 1.4I am using to test the file opensips.cfg that comes with the package opensips-1.6.tar.gz, added the module "drouting" to route calls between two Asterisk server.In this configuration the system works perfectly, but when the module "domain" is activated (loaded and configured) the closure of a call does not end normally, as shown in the diagram below. If the domain module is disabled, everything works normally.What may be happening?*(a) opensips *(b)! INVITE ! ! !--! ! ! TRYING ! ! !--! ! ! ! INVITE ! ! !! ! ! TRYING ! ! !! ! ! RING ! ! !! ! RING ! ! !--! ! ! ! 200 OK ! ! !! ! 200 OK ! ! !- ! ! ! ACK ! ! !--! ! ! ! 200 OK ! ! !! ! ! 200 OK ! ! !! ! ! 200 OK ! ! !! ! ! (not send ack) ! ! !! ! DIALOG ! !---! ! ! ! !  BYE ! ! !-! ! ! 404 Not here !  !! !!!   




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] drouting and regular expression

2009-10-30 Thread Airton Kuada

Hi all.I User's module "lcr" and I'm testing the module "drouting" to perform
the migration. However, I am trying to use regular expressions ( '^
413,312 [45]') in the column prefix of dr_rules table and is failing. Can I use regular _expression_ in this column? If i can not, what better
way to write the route _expression_?Thanks.Airton Kuada.--




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] loose_route: loop on ACK requests

2009-10-30 Thread Airton Kuada

Hi all.I'm having problems about loose_route(). Opensips is routing ACK requests to itself. Follow bellow the code regarding loose_route: if (has_totag())  { if (loose_route())  {	if (is_method("BYE"))   {	setflag(1); # do accounting ...	setflag(3); # ... even if the transaction fails	} elseif (is_method("INVITE")){		  record_route();		}   xlog ("ROTEAMENTO ... $rm");   route(1);  } else {		if ( is_method("ACK") ) {   // HERE OCCUR THE PROBLEM 			if ( t_check_trans() ) {xlog ("ENVIANDO ACK COM TRANSACAO ABERTA PARA FRENTE");	t_relay();	exit;} else {	# ACK without matching transaction -	# ignore and discardxlog ("IGNORANDO ACK SEM TRANSACAO");	exit;}			}			sl_send_reply("404","Not here");		}




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] tel-uri

2009-10-21 Thread Airton Kuada

Hi all.Anybody know what is the schema tel-uri?  OpenSIPS works with the schema tel-uri?Thanks.Airton Kuada




___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] alter username to_uri

2009-10-16 Thread Airton Kuada

Hi allIs there a function to change the username part of field to_uri, similar to function uac_replace_from ?thanksAirton---
	
	
	
	Airton Kuada
	
	(41)3200-6080






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] MI_DATAGRAM AND LCR_RELOAD/LCR_DUMP

2009-09-30 Thread Airton Kuada

Hi all.I am using mi_datagram to send commands to the OpenSIPS. 

 A buffer containing the following command: "char buffer_cmd[]=":get_statistics:\ndialog:\ntm:\n" works
correctly, however, the buffer containing the command "char buffer_cmd[]=":fifo:\nlcr_dump:\n";" does not
work, how do I correctly send the buffer to the command lcr_reload work
properly?Thanks  Airton.--------
	
	26/09/09
	
	Airton Kuada
	
	(41)3200-6080






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] lcr_dump/lcr_reload

2009-09-30 Thread Airton Kuada

Hi.I am using the command lcr_dump with MI_Datagram (1.4.5).The table lcr (postgres) have about 8000 lines and gw table about 60 lines. 
 I am modify config.h to #define PKG_MEM_POOL_SIZE 6*1024*1024#define SHM_MEM_SIZE 1024 I have no problems with opensipsctl fifo lcr_dump/lcr_reload.When I using MI_DATAGRAM my program send the buffer - char buffer_cmd []=":lcr_reload:\n " - works correctly, however the buffer - char buffer_cmd []=":lcr_dump:\n " not work. Produces the following output in syslog.Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_server: received :lcr_dump:#012Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_server: mi_buf is :lcr_dump:#012 and we have received 11 bytesSep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:identify_command: the command starts here: lcr_dump:#012Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:identify_command: the command is lcr_dumpSep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:identify_command: dtgram-len is 11Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:identify_command: dtgram-len is 0Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_server: we have a valid commandSep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_server: after identifing the command, the received datagram isSep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_server: the command has no paramsSep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_server: done parsing the mi treeSep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_server: command process (lcr_dump)succededSep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name GW and value Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name GW and value Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name GW and value Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name GW and value ...Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  .Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: writing the name RULE and value  Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: DBG:mi_datagram:mi_datagram_write_node: a too long line Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: ERROR:mi_datagram:datagram_recur_write_tree: failed to write -line too long!!! Sep 30 09:53:53 scelepar00188 /usr/local/sbin/opensips[11992]: ERROR:mi_datagram:mi_datagram_server: failed to build the responseWhats happen ?Airton.---- 

	
	26/09/09
	
	Airton Kuada
	
	(41)3200-6080






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] lcr_dump failed

2009-09-29 Thread Airton Kuada

Hi all.I have about 8000 lines at Postgres DB lcr table.I am look at syslog and Error messages after command "opensipsctl fifo lcr_dump" are:Sep 29 07:53:37 scelepar00188 /usr/local/sbin/opensips[18130]: ERROR:db_postgres:db_postgres_convert_row: no private memory leftSep 29 07:53:37 scelepar00188 /usr/local/sbin/opensips[18130]: ERROR:db_postgres:db_postgres_convert_rows: failed to convert row #4022Sep 29 07:53:37 scelepar00188 /usr/local/sbin/opensips[18130]: ERROR:db_postgres:db_postgres_convert_result: failed to convert rowsSep 29 07:53:37 scelepar00188 /usr/local/sbin/opensips[18130]: ERROR:db_postgres:db_postgres_store_result: 0x938eb0 Error returned from convert_result()Sep 29 07:53:37 scelepar00188 kernel: [66611.719875] opensips[18130]: segfault at 0 ip 4d8ea6 sp 7fffb1625940 error 4 in opensips[40+126000]Sep 29 07:53:41 scelepar00188 /usr/local/sbin/opensips[18104]: INFO:core:handle_sigs: child process 18130 exited by a signal 11Airton-
	
	26/09/09
	
	Airton Kuada
	
	(41)3200-6080






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] lcr_reload

2009-09-29 Thread Airton Kuada

Is possible to use the command lcr_reload/lcr_dump through MI_Datagram?Airton.---
	
	26/09/09
	
	Airton Kuada
	
	(41)3200-6080






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] lcr_dump failed

2009-09-28 Thread Airton Kuada

Hello All.I am using command (version 1.4.5): opensipsctl fifo lcr_dump and response is: 500 command '' failedThe command "opensipsctl fifo lcr_reload" is OK.What's happen ?Airton Kuada---
	
	26/09/09
	
	Airton Kuada
	
	(41)3200-6080






___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users