[OpenSIPS-Devel] Using dialog module functions from LOCAL_ROUTE

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sun Sep 27 13:31:54 CEST 2009


Hi Alex,

for what kind of requests (from LOCAL route) you try to use the dlg stuff?

Regards,
Bogdan

Alex Massover wrote:
>
> Hi!
>
> I’m looking for a way to use fetch_dlg_value() inside LOCAL_ROUTE. I 
> edited dialog.c to to enable it:
>
> {"fetch_dlg_value",(cmd_function)w_fetch_dlg_value, 2,fixup_dlg_fval,
>
> 0, REQUEST_ROUTE| FAILURE_ROUTE | ONREPLY_ROUTE | BRANCH_ROUTE | 
> LOCAL_ROUTE },
>
> Now I can write fetch_dlg_value() inside the LOCAL_ROUTE, but I’m 
> getting NULLs always.
>
> Can anybody point me what else do I need to hack to have access to 
> dialog variables from LOCAL_ROUTE?
>
> Also what is the reason not to enable all dialog functions from 
> LOCAL_ROUTE?
>
> --
>
> Best Regards,
>
> Alex Massover
>
> VoIP R&D TL
>
> Jajah Inc.
>
>
>
> This mail was sent via Mail-SeCure System.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list