First, what I would like to do:
Have a certain number of extensions say, 1155, 1171, 1198. Which all dial an outside line, wait 3 seconds and then dial the same 4 digits that were dialed. However, there are other extensions 1156 through 1170, 1172 through 1197 which are native extensions on the FreePBX and obviously should just behave normally.
I’ve been playing with both custom extensions and custom destinations to try to get this to work.
custom_extensions.conf
[intertel]
exten => s,1,Dial(SIP/sip-provider/7045555555@from-internal,60,D(wwwww1155))
I’ve also tried
[intertel]
exten => 1155,1,Dial(SIP/sip-provider/7045555555@from-internal,60,D(wwwww1155))
And then in the Custom Destinations model I have tried targets of both:
intertel,s,1
and
intertel,1155,1
I have applied the FreePBX config and reloaded dialplan via command line.
However, when I try to dial the extension, it does not even appear to be trying to dial out.
– Executing [1155@from-internal:1] ResetCDR(“PJSIP/1116-0000004f”, “”) in new stack
– Executing [1155@from-internal:2] NoCDR(“PJSIP/1116-0000004f”, “”) in new stack
– Executing [1155@from-internal:3] Progress(“PJSIP/1116-0000004f”, “”) in new stack
– Executing [1155@from-internal:4] Wait(“PJSIP/1116-0000004f”, “1”) in new stack
– Executing [1155@from-internal:5] Playback(“PJSIP/1116-0000004f”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
I’m sure there’s probably something simple I’m missing. Any thoughts?