Systems:
Definity G3rV6
Suse 9.1 with two X100P cards.
I'm having trouble getting Asterisk to interface with my Definity. 
I can call out fine (Asterisk to Definity), but if I call either X100P
(DID from Definity), strange things happen.
I figure I should probably get dialtone, punch in an Asterisk station
number and get it to ring.
Asterisk picks up fine, but I can't figure out what to put into the
context. 
What's the syntax to give dial tone and wait for digits to dial?
Currently I do something like this:
[default]
exten => 8200,1,Dial(SIP/8200)
exten => 8200,2,Hangup
exten => _.,1,Dial(ZAP/1/${EXTEN})
exten => _.,2,Hangup
[inbound]
exten => s,1,Answer()
exten => s,2,Hangup
Zapata.conf has:
signalling=fxs_ks
language-en
context=inbound
channel => 1-2
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050217/6fd68d39/attachment.htm
Patterson, Bill wrote:> Systems: > Definity G3rV6 > Suse 9.1 with two X100P cards. > > I'm having trouble getting Asterisk to interface with my Definity. > I can call out fine (Asterisk to Definity), but if I call either X100P > (DID from Definity), strange things happen. > I figure I should probably get dialtone, punch in an Asterisk station > number and get it to ring. > Asterisk picks up fine, but I can't figure out what to put into the > context. > > What's the syntax to give dial tone and wait for digits to dial? >This has worked for me .. ; Calls come here after a user calls the Zap extension line ; exten => s,1,Answer exten => s,2,DigitTimeout(10) ; Set Digit Timeout to 10 seconds exten => s,3,ResponseTimeout(20) ; Set Response Timeout to 20 seconds exten => s,4,Background(vm-extension) ; Ask them for the extension they want ; Hang up the line if the caller doesn't do anything ; exten => t,1,Hangup You may also need immediate = no in zapata.conf Dave