OK im getting closer to doing what i need it to. Here is what i have accomplished.
Under outgoing routes:
i have a dial pattern
which goes to a custom trunk.
My custom trunk dial rules are the same
but the custom trunk calls a macro in the extensions-custom config
the custom dial string is this:
At this point, any 4 digit number that begins with a 1 should be sent to that custom trunk which points to a custom dial string located within the extensions-custom.conf am i right or wrong?
within extensions-custom.conf i have the following lines:
exten => _X.,1,Dial([email protected])
exten => _X.,2,Hangup
i know i have something wrong here because i get all circuits are busy now.
What i need this application to do is call a hunt group or extension i.e. 201011, pause, then repeat the digits that the end user had dialed. Lets say 1173 to fall within the 1XXX dial rules. Just to try and help myself understand how this should work in this test i just wanted it to call 201011 so i could see that what i had done up to this point was working. Once i can get this part working i need to figure out the repeat digits part of the macro.
Can someone give me a hand?
One thing i can do is make the custom dial string:
this will get me to that hunt group or extension no matter what i dial that begins with a 1 and is 4 total digits
1173 as the example.
What i need it to do is briefly pause after calling the group 201011, then repeat the dialed digits again… (i.e. 1XXX or 1173, 1345, etc) Please help!