extensions_custom.conf for misc destinations

catdsnny's picture

It seems that one cannot add a custom dialplan for misc destinations. The Goto in the did section reads

exten => s,n,Goto(ext-miscdests,3,1)

in the [ext-miscdests] context, we have:

[ext-miscdests]
include => ext-miscdests-custom
exten => 3,1,Noop(MiscDest: YourNameHere)
exten => 3,n,Goto(from-internal,XXXX,1) (XXXX is your extension specified)

so putting anything in ext-miscdests-custom is pointless because the Goto from the did section skips over it? at least i am unable to execute anything in there...thoughts??


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I does not skip over, the

obelisk's picture

I does not skip over, the include puts the code at the end, right after the other Goto ;-(
You can verify this by executing:

dialplan show ext-miscdests

This has been discussed in the past - http://www.freepbx.org/forum/freepbx/users/how-to-execute-custom-code-at...

The autogenerated *-custom includes are simply not very useful in most of the cases ...


__________________

SIP: Magic incantations - http://forums.digium.com/viewtopic.php?t=78543