[ previous ] [ next ] [ threads ]
 To :  Ralf Schneider <rs9972@g...>
 From :  "Raffaele P. Guidi" <raffaele.p.guidi@g...>
 Subject :  Re: [yate] ivrsample.php crashes yate
 Date :  Thu, 5 Mar 2009 01:15:41 +0100
Mmmm... I tried but it keeps on crashing. Also - I think that yate cannot
talk to php scripts through unix sockets on windows (well, of course...)
then it needs a tcp listener. I tried to change its role to "channel" or
leaving it empty but result is always the same - yate crashes on connect
how should I be supposed, with your suggested configuration, to init
communication into the script?

   - Yate::Init(true, "localhost", 5040, "");?

   or

   - Yate::Init();?


On Wed, Mar 4, 2009 at 16:54, Ralf Schneider  wrote:

> Hi,
>
> I think that ivrsample.php ist not a globel script like pickup.php.
>
> So
>
> > [execute]
> > c:\programmi\php\php.exe=-f C:\Programmi\Yate\share\scripts\ivrsample.php
>
> is wrong. The execute section should be empty.
>
> ### regexroute.conf
> [default]
> ^7668$=external/nodata/ivrsample.php
>
> or maybe under Windows
>
> ^7668$=external/nodata/c:\programmi\php\php.exe -f
> C:\Programmi\Yate\share\scripts\ivrsample.php
>
> should do the job.
>
> Best regards,
> Ralf
>
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
> http://www.gmx.net/de/go/multimessenger01
>



Mmmm... I tried but it keeps on crashing. Also - I think that yate cannot talk to php scripts through unix sockets on windows (well, of course...) then it needs a tcp listener. I tried to change its role to "channel" or leaving it empty but result is always the same - yate crashes on connect

how should I be supposed, with your suggested configuration, to init communication into the script?
  • Yate::Init(true, "localhost", 5040, "");?

    or

  • Yate::Init();?

On Wed, Mar 4, 2009 at 16:54, Ralf Schneider <rs9972@g...> wrote:
Hi,

I think that ivrsample.php ist not a globel script like pickup.php.

So

> [execute]
> c:\programmi\php\php.exe=-f C:\Programmi\Yate\share\scripts\ivrsample.php

is wrong. The execute section should be empty.

### regexroute.conf
[default]
^7668$=external/nodata/ivrsample.php

or maybe under Windows

^7668$=external/nodata/c:\programmi\php\php.exe -f C:\Programmi\Yate\share\scripts\ivrsample.php

should do the job.

Best regards,
Ralf

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01