[Asterisk-Users] Re: I get MOH when the caller hangs up

Steve Totaro stotaro at asteriskhelpdesk.com
Mon May 22 15:17:19 MST 2006


Douglas Garstang wrote:
> Do you have a 'g' option in your dial command? That will cause the dial plan to continue executing after they hangup.... I think.
>
>   
>> -----Original Message-----
>> From: Tony Mountifield [mailto:tony at softins.clara.co.uk]
>> Sent: Monday, May 22, 2006 8:15 AM
>> To: asterisk-users at lists.digium.com
>> Subject: [Asterisk-Users] Re: I get MOH when the caller hangs up
>>
>>
>> In article 
>> <2C2595A0F39ADC4E84623DA5CC0DB7A42A3110 at exchange.qfirst.com>,
>> Steven Totaro <stotaro at bluehippo.com> wrote:
>>     
>>> Exten = h,1,hangup ?
>>>       
>> No, there's never any need to call Hangup in the h extension, because
>> by the time h is called, the call is already hung up, by definition.
>>
>> Cheers
>> Tony
>> -- 
>> Tony Mountifield
>>     
Would it not be logical that the hangup in the h extension would hang up 
the local channel?  If the local leg of the call was hungup then why MOH?



More information about the asterisk-users mailing list