[asterisk-users] dialplan problem : not including context

Jonas Kellens jonas.kellens at telenet.be
Fri Jan 13 10:05:21 CST 2012


On 01/13/2012 04:22 PM, Doug Lytle wrote:
>
> Jonas Kellens wrote:
>> Does this mean the Return() comes before Asterisk looks into the 
>> context [TrunkAccounts] ??
>
> No, I believe the includes are read first, but the order in important.
>
> Since you may be matching against another context that may cause 
> failure.  For example, I have the following in a internal context:
>
>   Include =>        'analog-extensions'                           
> [pbx_config]
>   Include =>        'sip-utilities'                               
> [pbx_config]
>   Include =>        'internal-extensions'                         
> [pbx_config]
>   Include =>        'dial-local'                                  
> [pbx_config]
>   Include =>        'dial-ld'                                     
> [pbx_config]
>   Include =>        'incoming'                                    
> [pbx_config]
>   Include =>        'fall-through'                                
> [pbx_config]
>
> If I had fall-through first, it'd cause lots of issues.
>
> Doug

Hello,

there is only one include-statement...


Jonas.




More information about the asterisk-users mailing list