[Freeswitch-users] ESL: phpmod

Helmut Kuper helmut.kuper at ewetel.de
Tue Jun 22 10:44:02 PDT 2010


Hi Sergey,


On 22.06.2010 18:14, Sergey Okhapkin wrote:
> What is the reason to use "bgapi" instead of "api"? Your code just waits for 
> the connection completion.

Well, bgapi allows my code *not* to wait until originate connected or
fails. Instead I want to get events about connect or failure...

> 
> Also you code doesn't take into account that the connection could fail for 
> some reason.

yes, I know, the code sippet is only for demonstrating the problem.


regards
helmut




More information about the FreeSWITCH-users mailing list