Avoiding IAX destroy deadlock

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Avoiding IAX destroy deadlock

Postby convertec » Sun Sep 03, 2006 6:09 pm

ok here goes:
php 4.4.4
MySQL 4.0.27
Apache 2.0.59
Astguiclient 1.1.12-3
Asterisk 1.2.10

I can log into the vicidialer and get into the conference room fine with both hard and soft sip phones, but when I click on
"Dial Next Number" It hangs up and I get this:

Code: Select all

code edited because it contained personal binfone account info!

Sep  3 16:04:59 WARNING[4482]: channel.c:787 channel_find_locked: Avoided initial deadlock for '0x81bea38', 10 retries!
Sep  3 16:04:59 WARNING[4482]: channel.c:787 channel_find_locked: Avoided initial deadlock for '0x81bea38', 10 retries!
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
Sep  3 16:05:00 NOTICE[4394]: chan_iax2.c:1619 iax2_destroy: Avoiding IAX destroy deadlock
 


I am using binfone, and i have followed tthe examples given in scratch_install as close as possible. I thank you in advance for any help I can get with this!
Last edited by convertec on Mon Sep 04, 2006 7:49 pm, edited 2 times in total.
convertec
 
Posts: 43
Joined: Sun Sep 03, 2006 2:27 pm
Location: Idaho

nevermind

Postby convertec » Sun Sep 03, 2006 6:51 pm

i got pissy formatted and decided to try the astguiclient_2.0.1b1
convertec
 
Posts: 43
Joined: Sun Sep 03, 2006 2:27 pm
Location: Idaho

Postby mflorell » Sun Sep 03, 2006 9:02 pm

this message for the hangup reason "CHANUNAVAIL" might be a connection issue or an issue with your account on binfone. Can you place other calls normally with binfone?
mflorell
Site Admin
 
Posts: 18342
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby convertec » Mon Sep 04, 2006 3:22 am

Please don't misunderstand me, I appreciate your _very_ timely response, but I have already started over. I tried your new astguiclient_2.0.1b1 version (as you had recommended to by business partner in a private email) only to find that the installation instructions provided were flawed (or I'm just losing it!). So I am back to reinstalling the astguiclient_1.1.12 version. I hope to help contribute to your project more, as we have already purchased your managers manual, and _when_ we get this thing working, a contribution will be going your way. I can't wait to post to your sticky thread on production servers. I can feel your dedication to this and I can see how successful this project must be for you, it is practically a revolution in the contact center industry. Well, enough of me rambling on.....

Thanks for the great support on a _free_ product.
convertec
 
Posts: 43
Joined: Sun Sep 03, 2006 2:27 pm
Location: Idaho

Postby mflorell » Mon Sep 04, 2006 3:35 am

Please post your issues with the SCRATCH_INSTALL on 2.0.1b1. I am always trying to make the documentation better.
mflorell
Site Admin
 
Posts: 18342
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby convertec » Mon Sep 04, 2006 7:06 pm

I am no pro at this stuff but I when I tried to follow the instructions here is what happened with my install:

In subphase 5 step 11 when you run
'asterisk –vvvvvvvvvvvvgc'
I get stuck at the command prompt and can’t get out by typing 'quit' so I used 'ctrl+c' and it said something about broken pipe and breaking some music on hold stream and said 'Yuck!'

In subphase 6 when you enter
'perl install.pl'
You don’t specify what all the directories are supposed to be. It would be helpful to know for SURE what all those dirs are supposed to be.

You reference the user ‘cron’ in the install, but the adduser cron step is left out.
So when you get to subphase 6.1 and get to
'\. /home/cron/astguiclient/MySQL_AST_CREATE_tables.sql'
It doesn’t work, and the astguicleint files are not it the folder /home/cron because earlier you say to to this:
- mkdir /usr/src/astguiclient
- cd /usr/src/astguiclient
- wget http://internap.dl.sourceforge.net/sour ... .0.1b1.zip
- unzip astguiclient_2.0.1b1.zip
- perl install.pl
So the files are actually in the /usr/src/astguiclient dir.
Also when I try to run this command:
'/home/cron/ADMIN_area_code_populate.pl'
Naturally I had to type '/usr/src/astguiclient/bin/populate.pl'

And none of the files were executable, and that step is somewhere left out.

There might be something I left out, I am just trying to recall everything that happened last night.
Take Care!
convertec
 
Posts: 43
Joined: Sun Sep 03, 2006 2:27 pm
Location: Idaho

Postby mflorell » Mon Sep 04, 2006 7:24 pm

Thankyou very much for the notes.

To get out of asterisk you need to type "stop now"

I have corrected the paths from /home/cron to /usr/share/astguiclient which is where the files are stored as executable.

I have updated in the SVN 2-X trunk. Thanks again for the input. This is the kind of feedback that makes the project better :)
mflorell
Site Admin
 
Posts: 18342
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby convertec » Mon Sep 04, 2006 7:35 pm

Thanks much,
I still have to ask about the adduser cron
Doesn't astguiclient use the user cron to access the asterisk database?
What do I do about that?
The answer is probably "adduser cron" before installing MySQL?

Oh, and what about when you run 'perl install.pl'
what are the directories for all that stuff?
Am I supposed to use the defaults on a scratch install?
:)
convertec
 
Posts: 43
Joined: Sun Sep 03, 2006 2:27 pm
Location: Idaho

Postby mflorell » Mon Sep 04, 2006 8:50 pm

For 2.0.1b1 you do not need to add user cron to your system at all. I have now removed all reference to a user cron except for a mysql user cron which is unrelated.

For install.pl if you don't know what to use for the directories then use the defaults, You can always change them later or even rerun the install.pl script if you need to; The most often one that needs to be changed in that process is the web directory, since it is often installed in many different places depending on your Linux distro.
mflorell
Site Admin
 
Posts: 18342
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby convertec » Mon Sep 04, 2006 8:55 pm

ok great!
I am revising your scratch_install for version 1.1.12-3.
There were only a few things I found that may be incorrect.
I have a word document of it that has the revisions if you want that. I will post it on my webserver when I get it done so you can download it if you want to take a look. Thanks again for all your help, I am going to download the new revision from your svn server and give it another shot.
convertec
 
Posts: 43
Joined: Sun Sep 03, 2006 2:27 pm
Location: Idaho


Return to Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 134 guests