View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Feb 26, 2005 5:24 pm 
Offline
Joined: Tue Jan 25, 2005 10:25 pm
Posts: 21
MythPhone as compiled with the deb included in R5A10 will crash in two places (I've found so far.)

To prevent these crashes, unpack the source code, switch to the source directory, perform the following edits, recompile and reinstall, and MythPhone should appear on the menus.

After performing these steps I was able to register and complete calls through my own Asterisk server and a friends Asterisk server across the country. (Note, Asterisk uses the sound card, therefore, it's recommended that you run Asterisk on a server where it can have access to a dedicated sound card. Other than that, you could even run asterisk on your myth front or back end box.)/

#1 sipfsm.cpp : SipFsm::SipFsm(...)

at end of fuction, just above the line starting with cout << "SIP: Cannot...", insert the line:

CloseSocket();

#2 sipfsm.cpp : SipFsm::CheckRxEvent()

after

int Event = MsgToEvent(&sipRcv);

insert
if ( Event == 0 )
{
return;
}

#3 sipfsm.cpp : SipThread::SipThreadWorker()

at the bottom of the function, the last
delete vxml;

should be surrounded by WIN32 ifndefs like:
#ifndef WIN32
delete vxml;
#endif

and that should do it!

Thanks,
MikeE


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 27, 2005 8:28 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
Hi Mike. I haven't tried MythPhone yet, but your third fix seems a little strange. The #ifndef WIN32 conditional should make no difference on Linux, because it should not have WIN32 defined. Thoughts?

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject: MythPhone Bugs
PostPosted: Sun Apr 10, 2005 12:54 pm 
Offline
Joined: Tue Jan 25, 2005 10:25 pm
Posts: 21
Of course, you are absolutely correct, the last fix will have no effect on linux, however it will prevent a crash on a win32 platform. While I'm fixing bugs, I try to fix all bugs, not pay attention to platforms.

So if you are sharing this code with a win32 app using this as a library, you would benefit from the fix. If you are not using any win32 software with this code, you will not.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 66 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu