Re: [SR-Users] Setting dialog variable when BYE is received before accounting

2015-02-10 Thread Daniel-Constantin Mierla
Hello, iirc, the $dlg_var(...) can have only string value. Can you try the assignments with values 700 and 701? Otherwise, I tested and if a dlg_var si set for BYE, it appears in acc cdr. Cheers, Daniel On 29/01/15 12:20, Mickael Marrache wrote: Hi, Is there a way to set a dialog

[SR-Users] Setting dialog variable when BYE is received before accounting

2015-01-29 Thread Mickael Marrache
Hi, Is there a way to set a dialog variable when a BYE is received so that it can be written in a CDR? I tried as follows but it didn't work: if (loose_route()) { .. if(is_method(BYE)) { if(is_direction(downstream)) {