[Asterisk-Users] Bug?

Ronald Wiplinger ronald at elmit.com
Thu Apr 21 19:28:33 MST 2005


Kevin Bockman wrote:

>> From all what I can see here is that there might be a bug in the php 
>>program.
>>Have you already checked the line 47 and 92 in the php program if you 
>>have missed the semicolon at the end?
>>If that is not the case, can you dump the kernel to the list along with 
>>your bank account info, so that we have more fun in guessing and still 
>>get paid for.
>>    
>>
>
>I found another way to accomplish what I wanted without recording the
>file in the AGI.  It would still be cool to debug it though.
>
>Like I said, it works fine if I call locally with SIP.  It only crashes
>if I call over the internet using IAX.
>
>Could you tell me how you arrived at the line number of 47 and 92?  I
>use a few AGIs but it seems to be the vm.agi that it has a problem
>with.   It is a  67 line file though. :-)
>  
>
Good that you take it with humor, ...
I wanted to say that it is completely useless to send the log files if 
we have no idea what your php is doing, ...
As you stated it did not complete the script, so it is obviously (for 
me) that the reason is in the php and not in Asterisk, or at least you 
can only find the reason if you know the part of the php where it stops.
Since you wrote the php, maybe you can make some print statments (to a 
file), like "I am at line xxx, my values are xxxxxxxxx"
At least this could give you a clue where it may stuck.
It still can be just a syntax error, which you only come to in certain 
situations, ....


bye

Ronald




More information about the asterisk-users mailing list