[Asterisk-Users] AstTAPI - Incoming Calls

Peer Oliver Schmidt posde at theinternet.de
Wed Dec 29 06:42:37 MST 2004


Good day,

does anyone have AstTAPI running for incoming calls, and would like to 
show some examples.

My setting right now looks like this:

sip.conf
--------
[22]
type=friend
dtmfmode=info
username=22
mailbox=22
secret=privat
host=dynamic
context=privat
canreinvite=yes
callgroup=1
incominglimit=2

extension.conf
--------------
exten => 123,1,noop
;Hint(SIP/22)
exten => 123,2,Dial(SIP/22,20,t)
exten => 123,3,Voicemail2(su22)
exten => 123,4,Hangup
exten => 123,103,VoiceMail2(su22)
exten => 123,104,Hangup

The TAPI settings look like this:

User channel: Sip/22
Inbound Chan: Sip/22

The manager logs in just fine using the Windows 2000 Dialer App and does 
logout until I exit the application. I can dial out, using the context 
defined in Dial by Context.

However, after specifying the inbound channel, no more calls get thru to 
the Sip/22 extension. Here is an extract of the log:

== Parsing '/etc/asterisk/manager.conf': Found
   == Manager 'pos' logged on from 10.1.3.68
   == Manager 'pos' logged off from 10.1.3.68
   == Parsing '/etc/asterisk/manager.conf': Found
   == Manager 'pos' logged on from 10.1.3.68
     -- Executing NoOp("CAPI[contr3/123]/204", "") in new stack
     -- Executing Dial("CAPI[contr3/123]/204", "SIP/22|20|t") in new stack
     -- Called 22
     -- SIP/22-4eec is ringing
   == No one is available to answer at this time
     -- Executing VoiceMail2("CAPI[contr3/123]/204", "su22") in new stack
     -- Playing 'voicemail/default/22/unavail' (language 'en')
   == Spawn extension (default, 123, 3) exited non-zero on 
'CAPI[contr3/123]/204'

The phone rings once. Nobody used the phone at that time, but the call 
gets directed into voice mail and no pop up happens on the Windows client.

Using Outlook 2000 the manager does not log in unless I want to 
Dial-Out. And it logs out right after completing the call successfully.

Any and all help is greatly appreciated.
-- 
Best regards

Peer Oliver Schmidt
the internet company




More information about the asterisk-users mailing list