[OpenSIPS-Devel] [opensips] EventRoute blocking sip listening (#504)

Dan Christian Bogos notifications at github.com
Sat May 9 12:29:48 CEST 2015


Hey Guys,

Not really an emergency but for the record, when using the dialog variable in event route, it will get opensips server unresponsive.

Following route will reproduce it:
```
event_route[E_DLG_STATE_CHANGED] {
	fetch_event_params("new_state=$var(new_state)");
	if $var(new_state) == 3 {
		$avp(dialog_start) = "cgr_reqtype";
		$avp(dialog_start) = $avp(cgr_reqtype);
		$avp(dialog_start) = "callid";
		$avp(dialog_start) = $ci;
		$avp(dialog_start) = "from_tag";
		$avp(dialog_start) = $ft;
		$avp(dialog_start) = "cgr_account";
		$avp(dialog_start) = $avp(cgr_account);
		$avp(dialog_start) = "cgr_subject";
		$avp(dialog_start) = $avp(cgr_subject);
		$avp(dialog_start) = "cgr_destination";
		$avp(dialog_start) = $avp(cgr_destination);
		$avp(dialog_start) = "created";
		$avp(dialog_start) = $Ts;
		$avp(dialog_start) = "dialog_id";
		$avp(dialog_start) =  $DLG_did;
		raise_event("E_CGR_DIALOG_START", $avp(auth_keys), $avp(auth_vals));
	}
}
```

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/504
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150509/6205263d/attachment.htm>


More information about the Devel mailing list