Hi folks
I want to set some in asterisk database based on a dialed extension. For example if someone dials 88101102103 I want to but in the database:
/family1/key1 101
/family2/key2 102
/family3/key3 103
Removing 88 is easy with ${EXTEN:2}. But how can I split the others? Can I count how many numbers there is in ${EXTEN}? Then it gets easy to :N or :-N the result.
Any ideas?