[ext-did-direct] Where's it coming from?

adroitboy
Posts: 45
Member Since:
2006-06-01

I've been using A@H for a bit and now trixbox. I can't seem to figure this out. Warning: It might be a stipid question...

In my extensions_additional.conf, I have this under [ext-did-direct] which I think may be preventing any time conditions or inbound routing from working.

[ext-did-direct]
include => ext-did-direct-custom
exten => xxxyyy2601,1,Set(FROM_DID=xxxyyy2601)
exten => xxxyyy2601,n,Goto(from-did-direct,400,1)

If I change the extension here and reload asterisk, I can make another extension ring. However, I can't figure out where this is entered in freepbx. I don't have any digital receptionists, inbound routes etc. My phone rings fine, I would just like to be able to start adding in some time conditions and inbound routing and to be able to change where the call goes.

I know freebpx is writing it as it will change back every time I reload freepbx.



adroitboy
Posts: 45
Member Since:
2006-06-01
Re: [ext-did-direct] Where's it coming from?

Ok. Someone must have had a similar issue right? I feel like I entered something in freepbx, but I've been through every modules and can't figure out what I might have done. I even went so far as to erase everything from every module. Callback, conferences, DISA, Digital receptionist, follow me, inbound routes, queues and ring groups are all empty, but I still get the call dialing extension 400.

I have 2 extensions, 400 and 401. An incoming call to xxx-yyy-2601 always rings extension 400 even if I set time conditions or inbound routes to ring another extension.

DISA, time conditions, inbound routes...none of them work for the DID that is in [ext-did-direct]. If I comment it out, reload asterisk from the command line, and call the DID, everything works as it should. As soon as I click the red bar in freepbx, it overwrites extensions_additional.conf (as it should) and the functionality of the mentioned modules goes away for that DID.

Here is my trunk setup which I believe is the only thing left in freepbx...every module is now empty.

Quote:
canreinvite=no
context=telasip-in
dtmfmode=rfc2833
host=gw4.telasip.com
insecure=very
nat=yes
qualify=yes
secret=secret
type=peer
username=username

in extensions_custom.conf has:
[telasip-in]
include => from-pstn

That's it!!!

in my extensions.conf

[from-pstn]
include => from-pstn-custom
include => ext-findmefollow
include => ext-did-direct
include => ext-did
exten => fax,1,Goto(ext-fax,in_fax,1)

Sure, I could not include ext-did-direct, but that's notfixing the root of the problem...where in freepbx does ext-did-direct get written from in the first place?

Anyone?



philippel
Posts: 697
Member Since:
2006-05-31
Re: [ext-did-direct] Where's it coming from?

adroitboy,

you have created a direct did for that extension, which takes precedence over inbound routing (see the commend in the extensions.conf file next to it). Delete that field for the extension if you want to use inbound routing.

p

--

Philippe Lindheimer, FreePBX® Project Leader
http://freepbx.org - #freepbx on irc.freenode.net
http://freepbx.org/forums - The FreePBX® Forum
OTTS Training - Apr 27-29, Huntsville, AL



adroitboy
Posts: 45
Member Since:
2006-06-01
Re: [ext-did-direct] Where's it coming from?

Thank you P!

I knew it was something stupid on my part. I don't remember having a direct DID option for extensions in A@H. Am I correct in thinking that it would be used in order to always have a DID ring an extension, bypassing all other inbound processing in freepbx?

Thanks again!

From across the water in Silverdale...
Aaron



Comment viewing options

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