[Asterisk-Users] how to hung up a call immediately if it SIP response 486 "Busy Here" received

Chad Scott chad at idworld.net
Fri Oct 1 11:04:34 MST 2004


In your macro for "oneline", add "Hangup" or "Congestion" as the 
priority after Dial().

The system is waiting for the user to enter DTMF digits during the 
delay.

Cheers,
Chad

On Sep 30, 2004, at 12:36 AM, meng-kim wrote:

> Hi,
>
>             I noticed that it takes around 5 sec before the phone hang 
> up immediately if SIP response 486 "Busy Here" was received.
>
>  
>
> How to change it so that it will hangup immediately.
>
>  
>
> From the asterisk CLI, I am seeing
>
>  
>
> ocalhost*CLI>
>
>      -- Executing Macro("SIP/6200-70bb", "oneline|SIP/6203") in new 
> stack
>
>     -- Executing Dial("SIP/6200-70bb", "SIP/6203| 20") in new stack
>
>     -- Called 6203
>
>     -- Got SIP response 486 "Busy Here" back from 10.1.2.116
>
>     -- SIP/6203-d4f0 is busy
>
>   == Everyone is busy/congested at this time
>
> Sep 30 15:19:26 WARNING[52240]: pbx.c:1933 ast_pbx_run: Timeout, but 
> no rule 't' in context 'default'
>
>  
>
>  
>
> This is what I have in the dialplan
>
>  
>
> [macro-oneline]
>
> exten => s,1,Dial(${ARG1}, 20)
>
>  
>
> [default]
>
> exten => 6200,1,Macro(oneline,SIP/6200)
>
> exten => 6201,1,Macro(oneline,SIP/6201)
>
>  
>
>  
>
> Best Regards
>
> Meng Kim
>
>  
>
>  
> _______________________________________________
> 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