Hi everyone,
I use 1.1.1 notls,
in my testing environment I came across some strange errors when using a home made script in combination with the openserunix util.
First of all there were thousands of files like"/tmp/OpenSER.XXXXXX" but looking around with google I found a patch for that:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1708301...
Then with the home made script I was still getting lots of socket errors in syslog, a colleague of mine fixed the openserunix.c
############################################################ --- openserunix.c.ori 2007-09-13 19:54:00.406861237 +0200 +++ openserunix.c 2007-09-13 19:54:07.407260167 +0200 @@ -97,6 +97,7 @@ goto err; }
+ from_len = sizeof(from); len = recvfrom(sock, buffer, BUF_SIZE, 0, (struct sockaddr*)&from, &from_len); if (len == -1) { fprintf(stderr, "Error in recvfrom: %s\n", strerror(errno)); ############################################################
maybe this is useful for someone since even the newest OpenSER version hast the "buggy" openserunix util :-)
cheers,
Patrick.
On Friday 14 September 2007, Patrick Miccio wrote:
Hi everyone,
I use 1.1.1 notls,
in my testing environment I came across some strange errors when using a home made script in combination with the openserunix util.
First of all there were thousands of files like"/tmp/OpenSER.XXXXXX" but looking around with google I found a patch for that:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1708301... id=139143
Then with the home made script I was still getting lots of socket errors in syslog, a colleague of mine fixed the openserunix.c [..]
Thank you,
i've applied your fix.
Cheers,
Henning
Is openserunix still an interface that should be used ? Daniel or Bogdan, can you respond ? It was my understanding that this interface was to be depreciated.
Regards, Norm
Henning Westerholt wrote:
On Friday 14 September 2007, Patrick Miccio wrote:
Hi everyone,
I use 1.1.1 notls,
in my testing environment I came across some strange errors when using a home made script in combination with the openserunix util.
First of all there were thousands of files like"/tmp/OpenSER.XXXXXX" but looking around with google I found a patch for that:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1708301... id=139143
Then with the home made script I was still getting lots of socket errors in syslog, a colleague of mine fixed the openserunix.c [..]
Thank you,
i've applied your fix.
Cheers,
Henning
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hi Norman,
The unix socket interface was and is to be maintain. It was even extended in 1.2 - see the mi_datagram module for unix sockets and UDP communication.
regards, bogdan
Norman Brandinger wrote:
Is openserunix still an interface that should be used ? Daniel or Bogdan, can you respond ? It was my understanding that this interface was to be depreciated.
Regards, Norm
Henning Westerholt wrote:
On Friday 14 September 2007, Patrick Miccio wrote:
Hi everyone,
I use 1.1.1 notls,
in my testing environment I came across some strange errors when using a home made script in combination with the openserunix util.
First of all there were thousands of files like"/tmp/OpenSER.XXXXXX" but looking around with google I found a patch for that:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=1708301... id=139143
Then with the home made script I was still getting lots of socket errors in syslog, a colleague of mine fixed the openserunix.c [..]
Thank you,
i've applied your fix.
Cheers,
Henning
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users