Convert Asterisk Extensions To Single Numbers

Home » Asterisk Users » Convert Asterisk Extensions To Single Numbers
Asterisk Users No Comments

hi,

i’m converting extensions.conf to DB routing. can you help me with regexp or something which converts dialplan to single numbers like _3X0
to 310,320,330,340,… ?

i found only https://pypi.python.org/pypi/asterisk_dialplan/0.1.2 but i need the opposite direction

thanks