Hi!
I’m want pass to dialog additional values, such as incoming and outgoing gate
from drouting.
I’m use store_dlg_value("incoming_gate»,"$avp(gw_id)") and this value
successfully pass to dialog (I can see it in dialog table in MySQL) and in log:
Nov 8 04:27:28 ops /usr/sbin/opensips[21074]: DBG:dialog:new_dlg_val:
inserting <incoming_gate>=<GW_TEST>
But when I receive BYE - I want to extract this values from dialog and use it
in radius function:
$var(outgoing_gate) = $dlg_val("incoming_gate»);
I see next messages in log:
Nov 8 04:27:31 ops /usr/sbin/opensips[21074]: DBG:dialog:fetch_dlg_value:
looking for <"incoming_gate">
Nov 8 04:27:31 ops /usr/sbin/opensips[21074]: DBG:dialog:fetch_dlg_value: var
NOT found!
I thought that dialog is died before I tried to fetch value, but it still alive
at this moment:
Nov 8 04:27:31 ops /usr/sbin/opensips[21074]: DBG:dialog:unref_dlg: unref dlg
0x7ffa5a66f2d8 with 2 -> 3 in entry 0x7ffa5a63c318
Need help! ((
Best regards,
Alexander Mustafin
[email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users