[Asterisk-Users] SIP extension "busy" when not available ??

Soren Rathje asterisk at lolle.org
Sat Feb 21 18:44:48 MST 2004


How come * says 1010 is BUSY in the trace below? I would have guessed
"UNAVAILABLE" since 1010 is not logged on/registered.

*****
[root at asterisk asterisk]# asterisk -vvvvvvvvfcg
...
Asterisk CVS-02/21/04-15:10:20, Copyright (C) 1999-2001 Linux Support
Services, Inc.
...
...
    -- Executing Macro("SIP/1000-2806", "stdexten|1010|SIP/1010") in new
stack
    -- Executing Dial("SIP/1000-2806", "SIP/1010|20|tr") in new stack
Feb 22 02:21:19 NOTICE[278545]: app_dial.c:527 dial_exec: Unable to create
channel of type 'SIP'
  == Everyone is busy at this time
    -- Executing VoiceMail("SIP/1000-2806", "b1010") in new stack
...
...
sip show peers
Name/username    Host                 Mask             Port     Status
2000             (Unspecified)   (D)  255.255.255.255  0        UNKNOWN
1020             (Unspecified)   (D)  255.255.255.255  0        UNKNOWN
1010             (Unspecified)   (D)  255.255.255.255  0        UNKNOWN
1000/1000        192.168.0.65    (D)  255.255.255.255  5061     OK (9 ms)

[macro-stdexten];
exten => s,1,Dial(${ARG2},20,tr)                ; Ring the interface, 20
seconds maximum
exten => s,2,Voicemail(u${ARG1})                ; If unavailable, send to
voicemail w/ unavail announce
exten => s,3,Goto(default,s,1)                  ; If they press #, return to
start
exten => s,102,Voicemail(b${ARG1})              ; If busy, send to voicemail
w/ busy announce
exten => s,103,Goto(default,s,1)                ; If they press #, return to
start

*****

/Soren
-- 
"It is the mark of an educated mind to be able to entertain a thought
without accepting it."
- Aristotle




More information about the asterisk-users mailing list