LinHES Forums
http://forum.linhes.org/

Exception when sending OSD_Notify :-(
http://forum.linhes.org/viewtopic.php?f=17&t=15833
Page 1 of 1

Author:  Warped [ Tue Jul 10, 2007 1:15 pm ]
Post subject:  Exception when sending OSD_Notify :-(

Hi *

I'm fighting with problem of exceptions in mythfrontend when OSD_Notify is sent.
Details:
Knoppmyth R5F1, Cel3,46GHz, 2xPVR250+NovaT, 2x500G WD
BE&FE are running on the same (this) host. This host is also Inet gw (NAT, firewall), fileserver and VoIP GW (SIP proxy).
I integrated VoIP & Myth (CID notification via OSD & FE pausing when SIP calls are incoming/initiated).

Problem:
Sometimes (I can't catch exact conditions) FE is crashing when receiving OSD_notification.

Unfortunatelly there is no dumpregisters or any trace in logs (mythfrontend & syslog) - so I can't drill down this problem.

Here is fragment of perl code sending OSD notify:

Code:
my $msg = "<?xml version=\"1.0\"?>\n<mythnotify version=\"1\"><container name=\"notify_cid_info\">\n<textarea name=\"notify_cid_name\"><value>FROM: $callernumber</value></textarea>\n<textarea name=\"notify_cid_num\"><value>TO:   $callingnumber</value></textarea><textarea name=\"notify_cid_dt\"><value>TIME: $datestamp</value></textarea>\n</container></mythnotify>\n";

print("  Sending OSD notify to $notifyaddr1 udp port 6948\n");

my $mythnotify_fh = IO::Socket::INET->new(PeerAddr=>"$notifyaddr1",Proto=>'udp',PeerPort=>6948);

if ($mythnotify_fh) {
   print $mythnotify_fh $msg;
   $mythnotify_fh->close;
}

Is somebody can help me trace down this problem ?

Thx in advance !
Code:

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/