[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  "Raffaele P. Guidi" <raffaele.p.guidi@g...>
 Subject :  ivrsample.php crashes yate
 Date :  Mon, 2 Mar 2009 13:01:17 +0100
Hi, I'm running the yate binary distribution on windows and I'm trying to
install the provided ivrsample.php. It correctly starts (see debug output)
and I can find it listed typing "external" in the rmanager but when I
connect to the assigned extension (7668) yate crashes very badly (I have a
popup saying "Yate has encontered a problem and need to close..."). I'm
currently using pickup.php and it works well, so I don't understand what I'm
doing wrong.

Thanks in advance for your help,
   Raffaele

This is the configuration:

### extmodule.conf

[listener ivrsample]
type=tcp
addr=0.0.0.0
port=5040
role=global

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

### ivrsample.php
Yate::Init(true, "localhost", 5040, "");
//instead of Yate::Init(); that doesn't run on windows

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



Hi, I'm running the yate binary distribution on windows and I'm trying to install the provided ivrsample.php. It correctly starts (see debug output) and I can find it listed typing "external" in the rmanager but when I connect to the assigned extension (7668) yate crashes very badly (I have a popup saying "Yate has encontered a problem and need to close..."). I'm currently using pickup.php and it works well, so I don't understand what I'm doing wrong.

Thanks in advance for your help,
   Raffaele

This is the configuration:

### extmodule.conf

[listener ivrsample]
type=tcp
addr=0.0.0.0
port=5040
role=global

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

### ivrsample.php
Yate::Init(true, "localhost", 5040, ""); 
//instead of Yate::Init(); that doesn't run on windows

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