Re: [asterisk-users] Continued TAPI Trouble

2008-06-23 Thread Steve Davies
2008/6/21 Gert-Jan de Boer [EMAIL PROTECTED]:
 Hi All,

 I am still working on an TAPI solution for my customer.
 They are trying to connect Asterisk to Navision.

 I am using the Activa TSP and an TAPI connector for Navision.
 When a customer calls I use the following rule:

 exten = s,n,Dial(LOCAL/11LOCAL/991013,25,tTr)

 991013 is an extension that waits 10 seconds and then dials the number 13.

 This results in a couple of TAPI lines in the logfile:

[snip]


 SUPER
 As you can see all the lines are logged as connected but this is not
 actually the case, in this test only the number 11 has picked up the call.

 The 11 and 13 extension look like this:

 exten = 11,1,Macro(bel)

[snip]

 Could someone shine a light on this?

The activa TSP forum would probably be a better place for getting
answers on this, as none of the above gives any hint of a problem in
Asterisk.

I am not trying to be difficult, but the logging you provided is from
a TAPI application that is removed from asterisk by way of a TAPI TSP,
which is removed from Asterisk by way of the Asterisk Manager
interface!

...also, your call is being indirected through a Local/ channel, which
will make is virtually impossible for ActivaTSP to trace the call
status because it is being indirectly dialled. Activa may not
recognise the TAPI control information because it will be output
against the Local/11 or Local/13 channel, and not the originally
allocated channel for the TAPI dial.

Don;t know if that helps at-all.
Steve
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Continued TAPI Trouble

2008-06-23 Thread Gert-Jan de Boer
Thanks.
I will ask on the ActiveTSP forum page.

I was hoping there were people who have experience with this kind of
setup.
I use the LOCAL/ extensions because the direct call through SCCP did not
work. I tried executing it through a macro.

Many thanks for your answer.

Kind Regards,

Gert-Jan



Op maandag 23-06-2008 om 13:34 uur [tijdzone +0100], schreef Steve
Davies:

 2008/6/21 Gert-Jan de Boer [EMAIL PROTECTED]:
  Hi All,
 
  I am still working on an TAPI solution for my customer.
  They are trying to connect Asterisk to Navision.
 
  I am using the Activa TSP and an TAPI connector for Navision.
  When a customer calls I use the following rule:
 
  exten = s,n,Dial(LOCAL/11LOCAL/991013,25,tTr)
 
  991013 is an extension that waits 10 seconds and then dials the number 13.
 
  This results in a couple of TAPI lines in the logfile:
 
 [snip]
 
 
  SUPER
  As you can see all the lines are logged as connected but this is not
  actually the case, in this test only the number 11 has picked up the call.
 
  The 11 and 13 extension look like this:
 
  exten = 11,1,Macro(bel)
 
 [snip]
 
  Could someone shine a light on this?
 
 The activa TSP forum would probably be a better place for getting
 answers on this, as none of the above gives any hint of a problem in
 Asterisk.
 
 I am not trying to be difficult, but the logging you provided is from
 a TAPI application that is removed from asterisk by way of a TAPI TSP,
 which is removed from Asterisk by way of the Asterisk Manager
 interface!
 
 ...also, your call is being indirected through a Local/ channel, which
 will make is virtually impossible for ActivaTSP to trace the call
 status because it is being indirectly dialled. Activa may not
 recognise the TAPI control information because it will be output
 against the Local/11 or Local/13 channel, and not the originally
 allocated channel for the TAPI dial.
 
 Don;t know if that helps at-all.
 Steve
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Continued TAPI Trouble

2008-06-23 Thread Steve Davies
2008/6/23 Gert-Jan de Boer [EMAIL PROTECTED]:
 Thanks.
 I will ask on the ActiveTSP forum page.

 I was hoping there were people who have experience with this kind of setup.
 I use the LOCAL/ extensions because the direct call through SCCP did not
 work. I tried executing it through a macro.

 Many thanks for your answer.

 Kind Regards,

 Gert-Jan


I would definitely try to simplify matters just to test whether
removing the local/ channel helps at-all.

ActivaTSP also has logs of its own which may help, although I only
ever used them once before.

Regards,
Steve

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] Continued TAPI Trouble

2008-06-21 Thread Gert-Jan de Boer
 Hi All,

I am still working on an TAPI solution for my customer.
They are trying to connect Asterisk to Navision.

I am using the Activa TSP and an TAPI connector for Navision.
When a customer calls I use the following rule:

exten = s,n,Dial(LOCAL/11LOCAL/991013,25,tTr)

991013 is an extension that waits 10 seconds and then dials the number
13.

This results in a couple of TAPI lines in the logfile:

Contactscherm gecontroleerd
Pickedup
Incomming
Date
Time
Last External No.
Caller ID
Caller ID Name
Called ID
Direction
Duration (Sec.)
State
External
Entry No.
Key
local
Partner ID
Partner ID Name
Lokale ID
Lokale ID Name
Bezug
Bemerkung
User
Nee
Nee
Nee
20-06-2008
14:46:59
442072530221
442072530221
Onbekend Nummer
 11
in
0,84
connected
Ja
3416
A44816B9922F4B728DB121BE274EF7E0
442072530221


 11
MyMSN 11




SUPER
Nee
Ja
Nee
20-06-2008
14:46:59
442072530221
442072530221
Onbekend Nummer
 11
in
0,84
connected
Ja
3415
A44816B9922F4B728DB121BE274EF7E0
442072530221


 11
MyMSN 11




SUPER
Nee
Nee
Nee
20-06-2008
14:47:09
442072530221
442072530221
Onbekend Nummer
 13
in
1,19
connected
Ja
3414
2AC0A7B110DB43CCA57C793DEF7E127E
442072530221


 13
 13




SUPER
Nee
Ja
Nee
20-06-2008
14:47:09
442072530221
442072530221
Onbekend Nummer
 13
in
1,19
connected
Ja
3413
2AC0A7B110DB43CCA57C793DEF7E127E
442072530221


 13
 13




SUPER
Nee
Nee
Nee
20-06-2008
14:47:00
442072530221
442072530221
Onbekend Nummer
 12
in
0,84
connected
Ja
3412
7636F7BB09BF46D88F25E412434B79A4
442072530221


 12
MyMSN 12




SUPER
Nee
Ja
Nee
20-06-2008
14:46:59
442072530221
442072530221
Onbekend Nummer
 11
in
0,05
connected
Ja
3411
A44816B9922F4B728DB121BE274EF7E0
442072530221


 11
MyMSN 11




SUPER
Nee
Nee
Ja
20-06-2008
14:47:09
442072530221
442072530221
Onbekend Nummer
 13
in
  0
not
connected
Ja
3410
2AC0A7B110DB43CCA57C793DEF7E127E
442072530221










SUPER

As you can see all the lines are logged as connected but this is not
actually the case, in this test only the number 11 has picked up the
call.

The 11 and 13 extension look like this:

exten = 11,1,Macro(bel)

I use the following macros to send TAPI events, but it does not seem to
work:

[macro-bel]
exten = s,1,UserEvent(TAPI|TAPIEVENT: LINE_NEWCALL ${MACRO_EXTEN})
exten = s,n,UserEvent(TAPI|TAPIEVENT: LINE_CALLSTATE
LINECALLSTATE_OFFERING)
exten = s,n,UserEvent(TAPI|TAPIEVENT: SET CALLERID ${CALLERID})
exten = s,n,UserEvent(TAPI|TAPIEVENT: LINE_CALLINFO
LINECALLINFOSTATE_CALLERID)
exten = s,n,Dial(SCCP/${MACRO_EXTEN}/ringer=outside,3600,rtM(tapi^
${UNIQUEID}|${MACRO_EXTEN}))
exten = s,n,Goto(s-${DIALSTATUS},1)
exten = s-NOANSWER,n,UserEvent(TAPI|TAPIEVENT: [~${UNIQUEID}!
${MACRO_EXTEN}] LINE_CALLSTATE LINECALLSTATE_HANGUP)
exten = s-BUSY,n,UserEvent(TAPI|TAPIEVENT: [~${UNIQUEID}!
${MACRO_EXTEN}] LINE_CALLSTATE LINECALLSTATE_HANGUP)
exten = s-.,1,Goto(s-NOANSWER,1)

[macro-tapi];
exten = s,1,UserEvent(TAPI|TAPIEVENT: [~${ARG1}${ARG2}] LINE_CALLSTATE
LINECALLSTATE_CONNECTED)
exten = s,2,UserEvent(TAPI|TAPIEVENT: [~${ARG1}!${ARG2}]
LINE_CALLSTATE LINECALLSTATE_HANGUP)

Could someone shine a light on this?

Kind regards,

Gert-Jan de Boer
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users