VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
boerg at nosco-ict.nl Guest
|
Posted: Sat Jun 21, 2008 6:02 am Post subject: [asterisk-users] Continued TAPI Trouble |
|
|
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/11&LOCAL/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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080621/4a1f3cb1/attachment.htm |
|
Back to top |
|
|
boerg at nosco-ict.nl Guest
|
Posted: Mon Jun 23, 2008 7:58 am Post subject: [asterisk-users] Continued TAPI Trouble |
|
|
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:
Quote: | 2008/6/21 Gert-Jan de Boer <boerg at nosco-ict.nl>:
Quote: | 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/11&LOCAL/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]
Quote: |
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]
Quote: |
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
| -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080623/5eec4310/attachment-0001.htm |
|
Back to top |
|
|
davies147 at gmail.com Guest
|
Posted: Mon Jun 23, 2008 8:35 am Post subject: [asterisk-users] Continued TAPI Trouble |
|
|
2008/6/23 Gert-Jan de Boer <boerg at nosco-ict.nl>:
Quote: | 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|