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

meng-kim meng-kim at mediaring.com
Thu Sep 30 00:36:43 MST 2004


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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040930/7e34e1de/attachment.htm


More information about the asterisk-users mailing list