Hi Dragomir,

Please move the dialog creation and setflag() before the async jump. Let's see if this does the trick.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 18.02.2016 10:21, Dragomir Haralambiev wrote:
Hi,

I user latest Opensips 2.2 from git.

When use Async radius Opensips not generate CDR.
Here is example:

-----------------------
route {
......
if ( is_method("INVITE") ) {
.....
async( radius_send_auth("invite","invrespons"), return_invite );
}

}

route[return_invite] {
.....
create_dialog("PB");
setflag(MAKE_CDR);
.....
}

----------------------

when change :
async( radius_send_auth("invite","invrespons"), return_invite );
with
radius_send_auth("invite","invrespons");
route(return_invite);
all working fine.

I will open issues in github.

Regards,
Dragomir






_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to