Help with Asterisk+TAPI driver

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Help with Asterisk+TAPI driver

Postby bint123 » Thu Apr 02, 2015 2:33 am

Hello, sorry for mistakes English is not my native language. I have one interesting problem, I want to use Asterisk + CRM via third-party app which uses TAPI driver. I have installed xtelsio TAPI driver, it has an option "Answer via Special-Context-Self-Redirect ". There is an example which must be patched on Asterisk server:
Example AMI Redirect command to answer ringing call on 202. Caller=203:
-----------------------------------------------------------------------
Action: Redirect
Channel: SIP/203-09f7e4f0
Context: CTI_AUTO_ANSWER
Exten: 202
Priority: 1
ActionID: 8-srv06D1FFAF
Variable: SIPADDHEADER01=Call-Info: <sip:>\;answer-after=0
The Asterisk has to process this action and should in result
send a new INVITE to extension 202 with auto-answer header.

I don`t know how implement it and I created context
[CTI_AUTO_ANSWER]
exten => _X.,1,SIPAddHeader(Call-Info:<sip:>\; answer-after=0)
exten => _X.,n,Dial(SIP/${EXTEN},,tT)

When i get incoming call and click answer button on third-party app it creates and starts a new call, and in history first call marked missed. Can somebody help me to create context which will be working without creating new call ?
bint123
Newsterisk
 
Posts: 1
Joined: Thu Apr 02, 2015 2:06 am

Return to AsteriskNOW Support

Who is online

Users browsing this forum: No registered users and 1 guest