[Asterisk-Users] hangup()???

Rich Adamson radamson at routers.com
Mon Nov 22 06:02:18 MST 2004


> 
> Good day all
> I want to tell asterisk that it should hangup a channel in a certain step
> For example: exten => s,5,Dial(SIP/302,25) exten => s,6,Hangup exten =>
> s,7,Hangup(SIP/302)
> 
> What happens is that if someone calls into the pbx and hangs up before 
> it gets answered it still keeps on ringing on the internal side and if 
> you pick up there is nothing
> Please Help

Are you sure that asterisk has _actually_ answered the channel? Or, has
it just sensed ringing from the pstn line and is attempting to ring the
associated dialplan phone?  In other words, you can't hang up on an
incoming call that hasn't yet been answered.






More information about the asterisk-users mailing list