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

Jerry jjones at quiddesign.com
Thu Mar 17 12:10:01 MST 2005


I think that should be

#INCLUDE numbers.conf

Note the caps and no ""


On Mar 17, 2005, at 12:31 PM, asterisk at stephenamadei.com wrote:

>
> 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
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>




More information about the asterisk-users mailing list