[Asterisk-Users] Include/Macro not working right...

asterisk at stephenamadei.com asterisk at stephenamadei.com
Thu Mar 17 11:31:50 MST 2005


Hey guys.  Thanks for the help on the Pattern matching, I got that
working pretty nicely.

the next problem I have is that I'm using an include file, but its not
really working...

In my extensions.conf:

[incoming]
exten => _NXXNXXXXXX,1,SetCallerID("Unknown Called Number")
#include "numbers.conf"
exten => _NXXNXXXXXX,3,Macro(Number,1000,${EXTEN})

[macro-Brand]
exten => 1000,1,Playback(${EXTEN})

And my numbers.conf:
exten => _5551234567,2,SetCallerID("Bob's Seafood")
exten => _5557891234,2,SetCallerID("Damon Stern's Garage")

When I reload, I can see my include load right, but...

When I call 5551234567, I get the SetCalledID("Unknown Called Number")
then I get the Auto Fallthrough, status in 'UNKNOWN' and it hangs up.

I'm sure I'm doind something stupid.  Please correct me.  ;-)  Tahnks in
advance.

					----Steve
Stephen Amadei
5114 Harbor Beach Blvd
Brigantine Beach, NJ 08203
(609) 703-9649

Current resume at http://www.amadei.com/resume.doc



More information about the asterisk-users mailing list