Call AGI script (Bash, Perl, whatever) that parses the value out of 'ifconfig' (or somewhere in /proc, routing table, whatever) and sets it as a channel variable before returning.
> I need to obtain one variable in the dialplan containing the IP address > that > Asterisk is using, I mean, the originating IP for any calls coming out of > Asterisk via SIP. Is this possible? > F.Alves > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (678) 237-1775 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users