[Asterisk-Users] Problems with Wait & SIP 486 "DND"

Rod Bacon rod.bacon at empoweredcomms.com.au
Tue Oct 11 20:01:53 MST 2005


Or explained more clearly....

The fallback rule is "n + 101", so your voicemail busy priority needs to be 103 
  (2 + 101).


==========================================
Rod Bacon
Empowered Communications
Ground Floor, 102 York St. South Melbourne
Victoria, Australia. 3205
Phone: +613 99401600    Fax: +613 99401650
FWD: 512237                   ICQ: 5662270
==========================================


C F wrote:
> Priority 103 should be dial and not hangup, that way it will do the
> voicemail stuff with the wait as well.
> 
> On 10/11/05, Zack Odell <dabigshiznizzle at sctelcom.net> wrote:
> 
>>Greetings,
>>
>>I have implemented the following command to allow CNAM to be delivered to my
>>users.
>>
>>exten => 9969,1,Wait(1)
>>
>>This works great!
>>
>>However it has spawned a new problem.  When this is implemented into a full
>>dial plan.  If a user is set to DND or sends a call to Voicemail by hitting
>>deny the caller gets a busy.  Below is a result of the calls.
>>
>>With the Wait(1) statement
>>-- Executing Wait("Zap/1-1", "1") in new stack
>>    -- Accepting call from '3169321000' to '9969' on channel 0/1, span 1
>>    -- Executing Dial("Zap/1-1", "SIP/9969|20") in new stack
>>    -- Called 9969
>>    -- Got SIP response 486 "Do Not Disturb" back from 192.168.1.100
>>    -- SIP/9969-d492 is busy
>>  == Everyone is busy/congested at this time
>>    -- Executing Hangup("Zap/1-1", "") in new stack
>>  == Spawn extension (default, 9969, 103) exited non-zero on 'Zap/1-1'
>>    -- Hungup 'Zap/1-1'
>>
>>
>>
>>Without the Wait(1) statement
>>-- Executing Dial("Zap/1-1", "SIP/9969|20") in new stack
>>    -- Called 9969
>>    -- Accepting call from '3169321000' to '9969' on channel 0/1, span 1
>>    -- Got SIP response 486 "Do Not Disturb" back from 192.168.1.100
>>    -- SIP/9969-0c98 is busy
>>  == Everyone is busy/congested at this time
>>    -- Executing VoiceMail2("Zap/1-1", "b9969") in new stack
>>    -- Playing 'voicemail/default/9969/busy' (language 'en')
>>    -- Playing 'vm-intro' (language 'en')
>>    -- Channel 0/1, span 1 got hangup
>>
>>
>>
>>
>>This is the full dialplan for this extension -
>>
>>exten => 9969,1,Wait(1)
>>exten => 9969,2,Dial(SIP/9969,20)
>>exten => 9969,3,Setvar(NewCaller=${CALLERIDNUM})
>>exten => 9969,4,SetCIDNum(${CALLERIDNUM})
>>exten => 9969,5,Dial(Zap/g1/13169321000,10,m)
>>exten => 9969,6,SetCIDNum(${NewCaller})
>>exten => 9969,7,Voicemail2(u9969)
>>exten => 9969,102,Voicemail2(b9969)
>>exten => 9969,103,Hangup
>>
>>
>>Now the CNAM is very important and I would love for this to work, so if
>>anyone has suggestions, please help.
>>
>>Asterisk 1.0.5
>>Gentoo 2005.1
>>Quad-PRI card
>>
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>--Bandwidth and Colocation sponsored by Easynews.com --
>>
>>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
>>
>>
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> 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