Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

callerID, TAPIEx activeX, Siemens Pabx (TAPI 120)

72 views
Skip to first unread message

franck34

unread,
Mar 11, 2010, 5:06:25 AM3/11/10
to
Hello

I'm successfully using TAPIEx ActiveX solution using DOM in MSWindows.

Events callback are all fired as expected.

Now, my last problem : getting the phone number of the caller.

Got an event handler named "OnNewCall($call,$callerId,$callerName)".

But the $callerId do not return the phone number of the caller, it's
displaying the ID of the card which take the call on my Siemens pabx
(i'm using TAPI 120 drivers).

I've tried API TAPI Master solution too, and the demo software
provided in the package show the phone number when an an incoming call
occured. So it tell my that all is setuped correctly PABX side.


Any suggestion to succeed to fetch the phone number/name of the
caller ?

franck34

unread,
Mar 11, 2010, 5:54:49 AM3/11/10
to
Sample code to get phone number of an incoming call using pure TAPI 3
is welcome.

franck34

unread,
Mar 11, 2010, 8:56:42 AM3/11/10
to
On 11 mar, 11:54, franck34 <franck....@gmail.com> wrote:
> Sample code to get phone number of an incoming call using pure TAPI 3
> is welcome.

Found.

CallerIDNumber display calling number for internal call.

RedirectingIDNumber display calling number for external call.

franck34

unread,
Mar 11, 2010, 9:44:58 AM3/11/10
to


Ok ...

Now got it perfectly running.

The code is PHP using DOM with TapiEX solution on Windows XP.

Contact me in private if you want a code sample. franck
RemoveThisBecauseOfSpam at gmail.com

I'm thinking about making this php class opensource. It could be easly
to recode it using python and ruby.

Cheers

Andreas Marschall [exMVP TAPI]

unread,
Mar 11, 2010, 12:40:33 PM3/11/10
to
"franck34" <franc...@gmail.com> schrieb im Newsbeitrag
news:b815339e-9231-4169...@e1g2000yqh.googlegroups.com...

> CallerIDNumber display calling number for internal call.
> RedirectingIDNumber display calling number for external call.

Franck,
on a normal incoming call the caller's number should always be in CallerID.

RedirectingID / RedirectedID are only used in forwarding /diverting
scenarios.

With JulMar's Phone.exe from www.julmar.com/tapi
you can easily see all 5 ID fields (Caller, Called, Connected, Redirecting,
Redirected)
It is a TAPI test tool (incl. open source in C++).

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.

franck34

unread,
Mar 12, 2010, 3:22:13 AM3/12/10
to
On 11 mar, 18:40, "Andreas Marschall [exMVP TAPI]"
<Andreas.Marsch...@I-B-A-M.de> wrote:
> "franck34" <franck....@gmail.com> schrieb im Newsbeitragnews:b815339e-9231-4169...@e1g2000yqh.googlegroups.com...

>
> > CallerIDNumber display calling number for internal call.
> > RedirectingIDNumber display calling number for external call.
>
> Franck,
> on a normal incoming call the caller's number should always be in CallerID.
>
> RedirectingID / RedirectedID are only used in forwarding /diverting
> scenarios.
>

I contacted technical support of TAPIEx and i think the answer will be
the same.

Perhaps the pabx is strangely configured or i don't make my tests in
the good way.

All that suggest me to add a sort of wizard to test which properties
is containing the phone number of the caller in my application.


I'll really happy to have it working, i searched for many days
regarding php/python/ruby simple solution using COM under Windows and
i didn't find it. I'd like to release my class into a little
opensource project. My php code is too easy to convert into python/
ruby .


Thank you for your answer, and thank you for all the job you are doing
around TAPI, i've learn too many things reading your website and this
newsgroup in a few days.

Andreas Marschall [exMVP TAPI]

unread,
Mar 13, 2010, 10:46:06 AM3/13/10
to
"franck34" <franc...@gmail.com> schrieb im Newsbeitrag
news:a2ba86ce-c21a-448d...@o3g2000yqb.googlegroups.com...

>> > CallerIDNumber display calling number for internal call.
>> > RedirectingIDNumber display calling number for external call.
>>
>> on a normal incoming call the caller's number should always be in
>> CallerID.
>>
>> RedirectingID / RedirectedID are only used in forwarding /diverting
>> scenarios.
>>
>
> I contacted technical support of TAPIEx and i think the answer will be
> the same.
>
> Perhaps the pabx is strangely configured or i don't make my tests in
> the good way.

Franck,
as far as HiPath TAPI 120 TSP is affected I'm quite familiar with it because
I wrote much of its code...
What HiPath PBX (model / version) are you using?
What phone device are you using?
Is there anything special with its configuration (member of some group; is
it a forwarding destination etc.) ?


> All that suggest me to add a sort of wizard to test which properties
> is containing the phone number of the caller in my application.

The external calling number should always be present in CallerID,
al least in a direct call scenario. Transfer scenario may differ.


> I'll really happy to have it working, i searched for many days
> regarding php/python/ruby simple solution using COM under Windows and
> i didn't find it. I'd like to release my class into a little
> opensource project. My php code is too easy to convert into python/
> ruby .

Thanks for your intention of sharing.
Just post the link to your open source project here when its online.


> Thank you for your answer, and thank you for all the job you are doing
> around TAPI, i've learn too many things reading your website and this
> newsgroup in a few days.

You are welcome.
Thanks for the feedback :-)

Jarek Karciarz

unread,
Mar 14, 2010, 8:26:14 AM3/14/10
to
He told, the callerID contains number of the board. What board is it? Maybe
in this case Hipath takes the primary call, plays some message using
internal IVR (board?) and then makes consultation. In such case the callerID
would be the number of the board. Some claryfication is required. Hipath
100% signals all phone numbers perfectly well.

Jarek

Użytkownik "Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de>
napisał w wiadomości news:umaZNRsw...@TK2MSFTNGP04.phx.gbl...

> My TotoŽ Tools (a collection of free, mostly TAPI related tools):

miladahmadi

unread,
Apr 19, 2010, 12:39:39 PM4/19/10
to
twest

franck34 wrote:

callerID, TAPIEx activeX, Siemens Pabx (TAPI 120)
11-Mar-10

Hello

I am successfully using TAPIEx ActiveX solution using DOM in MSWindows.

Events callback are all fired as expected.

Now, my last problem : getting the phone number of the caller.

Got an event handler named "OnNewCall($call,$callerId,$callerName)".

But the $callerId do not return the phone number of the caller, it is


displaying the ID of the card which take the call on my Siemens pabx
(i'm using TAPI 120 drivers).

I have tried API TAPI Master solution too, and the demo software


provided in the package show the phone number when an an incoming call
occured. So it tell my that all is setuped correctly PABX side.


Any suggestion to succeed to fetch the phone number/name of the
caller ?

Previous Posts In This Thread:

On Thursday, March 11, 2010 5:06 AM
franck34 wrote:

callerID, TAPIEx activeX, Siemens Pabx (TAPI 120)
Hello

I am successfully using TAPIEx ActiveX solution using DOM in MSWindows.

Events callback are all fired as expected.

Now, my last problem : getting the phone number of the caller.

Got an event handler named "OnNewCall($call,$callerId,$callerName)".

But the $callerId do not return the phone number of the caller, it is


displaying the ID of the card which take the call on my Siemens pabx
(i'm using TAPI 120 drivers).

I have tried API TAPI Master solution too, and the demo software


provided in the package show the phone number when an an incoming call
occured. So it tell my that all is setuped correctly PABX side.


Any suggestion to succeed to fetch the phone number/name of the
caller ?

On Thursday, March 11, 2010 5:54 AM
franck34 wrote:

Sample code to get phone number of an incoming call using pure TAPI 3is welcome.
Sample code to get phone number of an incoming call using pure TAPI 3
is welcome.

On Thursday, March 11, 2010 8:56 AM
franck34 wrote:

Found.CallerIDNumber display calling number for internal call.
Found.

CallerIDNumber display calling number for internal call.

RedirectingIDNumber display calling number for external call.

On Thursday, March 11, 2010 9:44 AM
franck34 wrote:

Ok ...Now got it perfectly running.
Ok ...

Now got it perfectly running.

The code is PHP using DOM with TapiEX solution on Windows XP.

Contact me in private if you want a code sample. franck
RemoveThisBecauseOfSpam at gmail.com

I am thinking about making this php class opensource. It could be easly


to recode it using python and ruby.

Cheers

On Thursday, March 11, 2010 12:40 PM
Andreas Marschall [exMVP TAPI] wrote:

Franck,on a normal incoming call the caller's number should always be in
Franck,


on a normal incoming call the caller's number should always be in CallerID.

RedirectingID / RedirectedID are only used in forwarding /diverting
scenarios.

With JulMar's Phone.exe from www.julmar.com/tapi


you can easily see all 5 ID fields (Caller, Called, Connected, Redirecting,
Redirected)
It is a TAPI test tool (incl. open source in C++).

--


Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm

My Toto? Tools (a collection of free, mostly TAPI related tools):


http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.

On Friday, March 12, 2010 3:22 AM
franck34 wrote:

On 11 mar, 18:40, "Andreas Marschall [exMVP TAPI]"I contacted technical


On 11 mar, 18:40, "Andreas Marschall [exMVP TAPI]"

I contacted technical support of TAPIEx and i think the answer will be
the same.

Perhaps the pabx is strangely configured or i do not make my tests in
the good way.

All that suggest me to add a sort of wizard to test which properties


is containing the phone number of the caller in my application.


I will really happy to have it working, i searched for many days


regarding php/python/ruby simple solution using COM under Windows and

i did not find it. I'd like to release my class into a little


opensource project. My php code is too easy to convert into python/
ruby .

Thank you for your answer, and thank you for all the job you are doing
around TAPI, i've learn too many things reading your website and this
newsgroup in a few days.

On Saturday, March 13, 2010 10:46 AM
Andreas Marschall [exMVP TAPI] wrote:

Franck,as far as HiPath TAPI 120 TSP is affected I am quite familiar with it
Franck,
as far as HiPath TAPI 120 TSP is affected I am quite familiar with it because


I wrote much of its code...
What HiPath PBX (model / version) are you using?
What phone device are you using?
Is there anything special with its configuration (member of some group; is
it a forwarding destination etc.) ?

The external calling number should always be present in CallerID,


al least in a direct call scenario. Transfer scenario may differ.

Thanks for your intention of sharing.


Just post the link to your open source project here when its online.

You are welcome.


Thanks for the feedback :-)

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm

My Toto? Tools (a collection of free, mostly TAPI related tools):


http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.

On Sunday, March 14, 2010 8:26 AM
Jarek Karciarz wrote:

He told, the callerID contains number of the board. What board is it?
He told, the callerID contains number of the board. What board is it? Maybe
in this case Hipath takes the primary call, plays some message using
internal IVR (board?) and then makes consultation. In such case the callerID
would be the number of the board. Some claryfication is required. Hipath
100% signals all phone numbers perfectly well.

Jarek

U?ytkownik "Andreas Marschall [exMVP TAPI]" <Andreas....@I-B-A-M.de>


Submitted via EggHeadCafe - Software Developer Portal of Choice
BizTalk: Writing and using a custom referenced functoid.
http://www.eggheadcafe.com/tutorials/aspnet/f843db77-a775-415e-bd08-71c2b1127e40/biztalk-writing-and-usin.aspx

0 new messages