[asterisk-users] Important security alert: update your dialplans now!

Tony Mountifield tony at softins.clara.co.uk
Mon Feb 15 10:58:48 CST 2010


In article <699ee941002150033t7c6e1be5xdba76cb0f68d5c39 at mail.gmail.com>,
Lenz Emilitri <lenz.loway at gmail.com> wrote:
> -=-=-=-=-=-
> -=-=-=-=-=-
> 
> Or one could simply rewrite to:
> 
> [incoming-from-voip]
> exten => XXXXXXX,1,Dial(${EXTEN}@incoming-from-voip-old)
> exten => XXXXXXXX,1,Dial(${EXTEN}@incoming-from-voip-old)
> exten => XXXXXXXXX,1,Dial(${EXTEN}@incoming-from-voip-old)
> exten => XXXXXXXXXX,1,Dial(${EXTEN}@incoming-from-voip-old)
> 
> [incoming-from-voip-old]
> exten => _X., 1, dial(SIP/${EXTEN})
> 
> To avoid extensive rewriting and fix the current issue.
> l.

Don't forget you still need the underscore to make X magic:

exten => _XXXXXXX,1,Dial(${EXTEN}@incoming-from-voip-old)

etc.

Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list