[Asterisk-Users] Active calls not responding to entries

Tim Touhsaent touhsatj at hotmail.com
Wed Apr 20 09:58:27 MST 2005


I am having an issue with the phone system recognizing keys in an active call. examples being when i call the extension of VoiceMailMain() it does not recognize the numbers that i put in (eg. mailbox and password) if i call from an internal line. However, if i call from an outside line everything works properly. At this moment i have one snom 190 phone and 3 X-Lite softphones. Anouther example is If i call a bussiness with a voice menu I am not able to navigate through the menu. I was wondering if this was an asterisk issue or if it was in the phone's config. If it is an asterisk issue i have attached my extensions and sip conf files. If not does anyone have an idea of where to start, or had the problem before? 


**************************************************************
;extensions.conf by tim touhsaent
**************************************************************
[general]

static=yes
writeprotect=yes  

[globals]

; PHONE1 => snomphone190
; PHONE2 => softphone

ALLVOICEMAIL => u109&101&102&103&104
OUTGOING => Zap/g0
ALL => SIP/101&SIP/102&SIP/103&SIP/104

; VMMAIN => main voice mail message
; VMTIM => vm/tim/message
; VMPETER => vm/peter/message
; VMRIGS => Rigs's
; VMDES => Des's


[default]

include => incoming
include => internal

exten => i,1,Playback,wrongext
exten => i,2,Goto,s|1

exten => t,1,Playback,vm-goodbye
exten => t,2,Hangup

[incoming]
;  wait one
; exten => s,1,Wait(0)

; Answer the phone
exten => s,1,Answer
;exten => s,2,MusicOnHold()
exten => s,2,Background(welcome,30,t)
; dial all phones
exten => s,3,Dial(${ALL},30,t)
exten => s,4,Goto,109|1
; They must respond within 10 seconds
; else jump to priority t (terminate call)
exten => s,5,DigitTimeout,3
exten => s,6,ResponseTimeout,10
exten => s,103,Dial($(ALL),30,t)
exten => s,104,Goto,109|1

[outgoing]
; outgoing
exten => _NXXNXXXXXX,1,Dial(${OUTGOING}/1${EXTEN})
;exten => _NXXNXXXXXX.,2,Congestion()
exten => _NXXNXXXXXX.,2,Goto,t|1

include => longdistance

[internal]
; group email at 109
exten => 109,1,VoiceMail(${ALLVOICEMAIL})
exten => 109,2,Goto,t|1

; 1 - Tim's call plan
exten => 101,hint,SIP/101
exten => 101,1,Dial(SIP/101,15,t)
;exten => 101,2,Playback,VMTIM
exten => 101,2,VoiceMail(u101)
exten => 101,3,Goto,t|1
exten => 101,102,VoiceMail(u101)
exten => 101,103,Goto,t|1

; 2 - Rigs's voicemail
exten => 102,hint,SIP/102
exten => 102,1,Dial(SIP/102,15,t)
;exten => 102,2,Playback,VMRIGS
exten => 102,2,Voicemail(u102)
exten => 102,3,Goto,t|1
exten => 102,102,VoiceMail(u102)
exten => 102,103,Goto,t|1

; 3 - Des's voicemail
exten => 103,hint,SIP/103
exten => 103,1,Dial(SIP/103,15,t)
;exten => 103,2,Playback,VMDES
exten => 103,2,Voicemail(u103)
exten => 103,3,Goto,t|1
exten => 103,102,VoiceMail(u103)
exten => 103,103,Goto,t|1

; 4 - Peter's voicemail
exten => 104,hint,SIP/104
exten => 104,1,Dial(SIP/104,15,t)
;exten => 104,2,Playback,VMDES
exten => 104,2,Voicemail(u104)
exten => 104,3,Goto,t|1
exten => 104,102,VoiceMail(u104)
exten => 104,103,Goto,t|1

; 8 - Voice mail administration
exten => 111,1,VoicemailMain(101 at default)
exten => 112,1,VoicemailMain(102 at default)
exten => 113,1,VoicemailMain(103 at default)
exten => 114,1,VoicemailMain(104 at default)
; exten => 108,1,VoicemailMain(s${CALLERIDNUM}@default)
include => outgoing


; t - terminate call

[longdistance]
exten => _1NXXNXXXXXX,1,Dial(${OUTGOING}/${EXTEN})
exten => 911,1,Dial(${OUTGOING}/${EXTEN})
exten => 411,1,Dial(${OUTGOING}/${EXTEN})

**********************************************************************************
sip.conf
**********************************************************************************
[general]
port = 5060           ; port to bind to
bindaddr = 0.0.0.0    
context = default     
disallow=gsm
allow=alaw
disallow=ulaw

; register => 102:xxxx:tim at localhost:5060/102

[101]
type=friend
;secret=xxxxxx
host=dynamic
callerid=TIM<101>
defaultip=10.0.100.132
dtmfmode=inband
mailbox=101

[102]
type=friend
secret=xxxxxx
host=dynamic
callerid=Rigs<102>
defaultip=10.0.100.102
dtmfmode=inband
mailbox=102


;auth=md5
;secret=xxxxx
;notransfer=1
;host=dynamic
;allow=gsm

[103]
type=friend
secret=xxxxx
host=dynamic
callerid=Des<103>
defaultip=10.0.100.108
dtmfmode=inband
mailbox=103

[104]
type=friend
; secret=xxxxxxx
host=dynamic
callerid=Peter<104>
defaultip=10.0.100.120
dtmfmode=inband
mailbox=104

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


More information about the asterisk-users mailing list