[asterisk-users] why executed Hangup doesn't exit DialPlan?look my dialplan...

2006-09-05 Thread Marco Mouta
Hi all,I think i'm missing something very very basic! I want my calls with DID 48XX (From pstn E1 TE110P) to be answered then playback a file and hangup.Part of my extensions.conf where from-pstn is the context for all calls from pstn line is: [from-pstn]include => from-pstn-customĀ 

Re: [asterisk-users] why executed Hangup doesn't exit DialPlan?look my dialplan...

2006-09-05 Thread Eric \"ManxPower\" Wieling
Your problem is caused by using exten => _. DON'T DO THAT! When Hangup() is being run then Asterisk will jump to exten => h Since _. will match "h" it will go there. Marco Mouta wrote: Hi all, I think i'm missing something very very basic! I want my calls with DID 48XX (From pstn E1 TE1

Re: [asterisk-users] why executed Hangup doesn't exit DialPlan?look my dialplan...

2006-09-05 Thread Jason Parker
To expand on what Eric said.. People commonly use _X. for what you're wanting. It's just as effective, but doesn't match the "special" extensions. - Eric \"ManxPower\" Wieling <[EMAIL PROTECTED]> wrote: > Your problem is caused by using exten => _. DON'T DO THAT! > > When Hangup() is bein