Thanks that fixed it, run into another issue so I've attached the log.
Did what you said with the IVR *+extnum, under LEAVE VOICEMAIL I select *+extnum.
I then call and press option one to leave a message and it kills the call, if I call *+extnum my self it puts me through.
Connected to Asterisk 1.4.21.1 currently running on server-1 (pid = 8312)
Verbosity is at least 4
server-1*CLI> agi debug yesAsterisk 1.4.21.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.1 currently running on server-1 (pid = 8312)
Verbosity is at least 4
server-1*CLI> agi debug yes
Usage: agi debug
Enables dumping of AGI transactions for debugging purposes
-- Executing [4716596@mainmenu:1] AGI("SIP/4717753-09d7b9e8", "selintra|Inbound|4716596") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
-- AGI Script Executing Application: (Wait) Options: (1)
-- AGI Script Executing Application: (Background) Options: (silence/1)
-- <SIP/4717753-09d7b9e8> Playing 'silence/1' (language 'en')
-- AGI Script Executing Application: (Wait) Options: (1)
-- Playing 'usergreeting2002' (escape_digits=12) (sample_offset 0)
-- AGI Script selintra completed, returning 0
== Auto fallthrough, channel 'SIP/4717753-09d7b9e8' status is 'UNKNOWN'
-- Executing [h@mainmenu:1] Hangup("SIP/4717753-09d7b9e8", "") in new stack
== Spawn extension (mainmenu, h, 1) exited non-zero on 'SIP/4717753-09d7b9e8'
agi debug no
Usage: agi debug
Enables dumping of AGI transactions for debugging purposes