[SR-Users] Catching internally generated BYE event & other

Alex Balashov abalashov at evaristesys.com
Mon Apr 19 09:05:04 CEST 2010


On 04/19/2010 02:00 AM, Alex Balashov wrote:

> (a) Define a $dlg_ctx(timeout_route) and have it write a BYE event
> artificially using acc_db_request().

Well, this isn't going to work.

I tried having it write a "201 Initial" event that my triggers can 
postprocess as though it were a BYE, a la:

    acc_db_request("201 Dialog Timeout", "acc");

Unfortunately, none of the usual request data is populated when the 
synthetic BYE is generated, including From URI, Call-ID, etc.  The 
request method is "OPTIONS" for some reason, and the Call-ID is "123." 
  With this, there is no way to pass this information to "acc," even 
with a manual SQL query, because this information is not available in 
the timeout route.

I don't know what to do here.  Help appreciated.

-- 
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/




More information about the sr-users mailing list