[Asterisk-Users] Goto after Dial PRoblem

René Enskat [Teamware GmbH] ren at teamware-gmbh.de
Tue Dec 20 07:04:34 MST 2005


i want to forward a call after the dial is not succesfull.
But the problem is when the phone is not registered i get this error:
 
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Executing
Set("SCCP/1000131-0000000b", "LANGUAGE()=de")
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Executing
Set("SCCP/1000131-0000000b", "CDRUserField=INTERN")
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Executing
Set("SCCP/1000131-0000000b", "MusicOnHold")
Dec 20 15:01:45 WARNING[15092] pbx.c: Ignoring entry 'MusicOnHold' with
no = (and not last 'options' entry)
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Executing
Dial("SCCP/1000131-0000000b", "SIP/10001233|30")
Dec 20 15:01:45 DEBUG[15092] db.c: Unable to find key '10001233' in
family 'SIP/Registry'
Dec 20 15:01:45 DEBUG[15092] db.c: Unable to find key '10001233' in
family 'SIP/Registry'
Dec 20 15:01:45 NOTICE[15092] app_dial.c: Unable to create channel of
type 'SIP' (cause 3 - No route to destination)
Dec 20 15:01:45 VERBOSE[15092] logger.c:   == Everyone is busy/congested
at this time (1:0/0/1)
Dec 20 15:01:45 DEBUG[15092] app_dial.c: Exiting with
DIALSTATUS=CHANUNAVAIL.
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Executing
VoiceMail("SCCP/1000131-0000000b", "b233 at 10001")
Dec 20 15:01:45 WARNING[15092] app_voicemail.c: No entry in voicemail
config file for '233'
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Executing
Hangup("SCCP/1000131-0000000b", "")
Dec 20 15:01:45 VERBOSE[15092] logger.c:   == Spawn extension (10001,
233, 106) exited non-zero on 'SCCP/1000131-0000000b'
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Executing
Set("SCCP/1000131-0000000b", "LANGUAGE()=de") in new stack
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Executing
Playback("SCCP/1000131-0000000b", "goodbye") in new stack
Dec 20 15:01:45 VERBOSE[15092] logger.c:     -- Playing 'goodbye'
(language 'de')
Dec 20 15:01:46 VERBOSE[15092] logger.c:     -- Executing
Hangup("SCCP/1000131-0000000b", "") in new stack
Dec 20 15:01:46 VERBOSE[15092] logger.c:   == Spawn extension (10001, h,
3) exited non-zero on 'SCCP/1000131-0000000b'

 
But my dialplan shows this:
 
...
4    Dial     SIP/10001233|30<----from here it jumps to 107 mailbox but
this is only for busy but this is a unavailable situation
5    Goto    10001|23|1
6    Hangup
105    VoiceMail    b233 at 10001
 
Somebody can help me here why the GOTO is not followed?


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


More information about the asterisk-users mailing list