[ previous ] [ next ] [ threads ]
 To :  "AmberVoIP" <ambervoip@g...>
 From :  "Stanislav Zahariev" <sofit@2...>
 Subject :  Re: [yate] perl problems in CVS
 Date :  Thu, 10 Aug 2006 17:50:24 +0300 (EEST)
Probably you're subroutine will finish, Yate.pm will send your response to
Yate's Engine and Yate's Engine will just ignore it or will send an error.
Both cases are fine, you're script will not die.

On Thu, August 10, 2006 17:34, AmberVoIP said:
> Thank you Stas, all good now :)
>
> Another question.
>
> What if caller interrupt call in middle of its processing by external
> script?
> I have some processing, mysql DB opened etc, so, it will be finished
> propertly by perl script or ?
>
> Andy
>
> On Thu, 10 Aug 2006 14:30:11 +0300 (EEST)
> "Stanislav Zahariev"  wrote:
>
>> Try changing all "return undef" to "return ''". That would happen i
>> guess when you don't issue $self->retval(''); in your subroutine.
>>
>>
>> On Thu, August 10, 2006 14:19, AmberVoIP said:
>> > route.pl sending this output for me...
>> >
>> > 8881#447958109543
>> > Use of uninitialized value in substitution (s///)
>> > at /usr/src/yate/scripts/Yate.pm line 254,  line 2. Use of
>> > uninitialized value in sprintf at /usr/src/yate/scripts/Yate.pm line
>> > 365,  line 2.
>> >
>> >
>> > yate from cvs, installed yesterday. any suggestion?
>> >
>>
>>
>


-- 
Best regards,
Stanislav Zahariev
sofit|at|295|ca
ICQ: 283486130