|
|
|
date: Thu, 14 Aug 2008 11:29:59 -0700 (PDT),
group: microsoft.public.win32.programmer.tapi
back
Call using Tapi and H.323 Gateway
Hello,
My name is Mauricio, I am a Chilean developer and I have a problem
trying to call phone number using h323 and Tapi3. When I started with
my project I had some difficulties to call to a specific number. This
it was because I had not specified an h.323 gateway. I put the IP
Address of my PBX (Samsung OfficeServ 7200) into control panel->phone
and modems option, and I could call to a phone number like 5807058,
but when I answer the phone I cannot hear anything. I don't know what
the problem is. Please I need help to do this, I was looking in the
web and I dont found any information about that issue.
I attach my code.
private static TAPIClass ObjTapi;
private static NotificacionLlamada Notificacion;
private static long RegToken;
private static ITAddress ObjAdress;
private ITBasicCallControl ControlLlamada;
private static ITTAPICallCenter CallCenter;
ObjTapi=new TAPIClass();
ObjTapi.Initialize();
Notificacion=new NotificacionLlamada();
Notificacion.AgregaEnLista = new
NotificacionLlamada.MostarLista(StatusLlamada);
ObjTapi.ITTAPIEventNotification_Event_Event = new
ITTAPIEventNotification_EventEventHandler(Notificacion.Event);
ObjTapi.EventFilter=(int)(TAPI_EVENT.TE_CALLNOTIFICATION|
TAPI_EVENT.TE_DIGITEVENT|
TAPI_EVENT.TE_PHONEEVENT|
TAPI_EVENT.TE_CALLSTATE|
TAPI_EVENT.TE_GENERATEEVENT|
TAPI_EVENT.TE_GATHERDIGITS|
TAPI_EVENT.TE_REQUEST);
ITCollection AddrCol;
ITMediaSupport mSupport;
AddrCol = (ITCollection)ObjTapi.Addresses;
foreach(ITAddress Addr in AddrCol)
{
mSupport = (ITMediaSupport)Addr;
if (mSupport.QueryMediaType(TapiConstants.TAPIMEDIATYPE_AUDIO))
{
if ((Addr.AddressName.ToUpper() == "H323 LINE") ||
(Addr.AddressName.ToUpper() == "LÍNEA H323"))
{
ObjAdress = Addr;
}
}
}
RegToken = ObjTapi.RegisterCallNotifications(ObjAdress, true, true,
TapiConstants.TAPIMEDIATYPE_AUDIO, 1);
ControlLlamada = ObjAdress.CreateCall(IpAddr,
TapiConstants.LINEADDRESSTYPE_PHONENUMBER,
TapiConstants.TAPIMEDIATYPE_AUDIO);
IEnumStream EnumStream;
ITStream Stream;
ITStreamControl StreamControl;
StreamControl = (ITStreamControl)ControlLlamada;
StreamControl.EnumerateStreams(out EnumStream);
uint a11 = 0;
int iMedia;
EnumStream.Next(1, out Stream,ref a11);
iMedia = Stream.MediaType;
TERMINAL_DIRECTION Direccion;
Direccion = Stream.Direction;
ITTerminal Terminal1, Terminal2;
ITTerminalSupport tSupport=(ITTerminalSupport)ObjAdress;
Terminal1 = tSupport.GetDefaultStaticTerminal(iMedia, Direccion);
Stream.SelectTerminal(Terminal1);
EnumStream.Next(1, out Stream, ref a11);
Terminal2 = tSupport.GetDefaultStaticTerminal(iMedia,
TERMINAL_DIRECTION.TD_CAPTURE);
Stream.SelectTerminal(Terminal2);
ControlLlamada.Connect(false);
This code is in C#, and is based on a code found in code project.
date: Thu, 14 Aug 2008 11:29:59 -0700 (PDT)
author: Ultra Putrefactus
Re: Call using Tapi and H.323 Gateway
Mauricio,
there can be quite a few reasons for this.
You can try to disable the firewall.
If it doesn't work, I would do a network trace (e.g. with Wireshark)
and see if RTP packets are transmitted.
Regarding TAPI and .NET see KB article "841712 - Telephony Application
Programming Interface (TAPI) functionality is not supported from managed
code".
http://support.microsoft.com/kb/841712
Please have a look at JulMar's
ITAPI3 - TAPI 3.0 wrapper for .NET 2.0
existing TAPI3.0 code based on TAPI3 interop can easily be ported
http://www.julmar.com/blog/mark/CategoryView,category,Tapi.aspx
Best regards,
Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------
"Ultra Putrefactus" wrote in message
news:fae9dc07-1879-4f6e-8c0b-fb39a60e23c0@d45g2000hsc.googlegroups.com...
Hello,
My name is Mauricio, I am a Chilean developer and I have a problem
trying to call phone number using h323 and Tapi3. When I started with
my project I had some difficulties to call to a specific number. This
it was because I had not specified an h.323 gateway. I put the IP
Address of my PBX (Samsung OfficeServ 7200) into control panel->phone
and modems option, and I could call to a phone number like 5807058,
but when I answer the phone I cannot hear anything. I don't know what
the problem is. Please I need help to do this, I was looking in the
web and I dont found any information about that issue.
I attach my code.
private static TAPIClass ObjTapi;
private static NotificacionLlamada Notificacion;
private static long RegToken;
private static ITAddress ObjAdress;
private ITBasicCallControl ControlLlamada;
private static ITTAPICallCenter CallCenter;
ObjTapi=new TAPIClass();
ObjTapi.Initialize();
Notificacion=new NotificacionLlamada();
Notificacion.AgregaEnLista = new
NotificacionLlamada.MostarLista(StatusLlamada);
ObjTapi.ITTAPIEventNotification_Event_Event += new
ITTAPIEventNotification_EventEventHandler(Notificacion.Event);
ObjTapi.EventFilter=(int)(TAPI_EVENT.TE_CALLNOTIFICATION|
TAPI_EVENT.TE_DIGITEVENT|
TAPI_EVENT.TE_PHONEEVENT|
TAPI_EVENT.TE_CALLSTATE|
TAPI_EVENT.TE_GENERATEEVENT|
TAPI_EVENT.TE_GATHERDIGITS|
TAPI_EVENT.TE_REQUEST);
ITCollection AddrCol;
ITMediaSupport mSupport;
AddrCol = (ITCollection)ObjTapi.Addresses;
foreach(ITAddress Addr in AddrCol)
{
mSupport = (ITMediaSupport)Addr;
if (mSupport.QueryMediaType(TapiConstants.TAPIMEDIATYPE_AUDIO))
{
if ((Addr.AddressName.ToUpper() == "H323 LINE") ||
(Addr.AddressName.ToUpper() == "LÍNEA H323"))
{
ObjAdress = Addr;
}
}
}
RegToken = ObjTapi.RegisterCallNotifications(ObjAdress, true, true,
TapiConstants.TAPIMEDIATYPE_AUDIO, 1);
ControlLlamada = ObjAdress.CreateCall(IpAddr,
TapiConstants.LINEADDRESSTYPE_PHONENUMBER,
TapiConstants.TAPIMEDIATYPE_AUDIO);
IEnumStream EnumStream;
ITStream Stream;
ITStreamControl StreamControl;
StreamControl = (ITStreamControl)ControlLlamada;
StreamControl.EnumerateStreams(out EnumStream);
uint a11 = 0;
int iMedia;
EnumStream.Next(1, out Stream,ref a11);
iMedia = Stream.MediaType;
TERMINAL_DIRECTION Direccion;
Direccion = Stream.Direction;
ITTerminal Terminal1, Terminal2;
ITTerminalSupport tSupport=(ITTerminalSupport)ObjAdress;
Terminal1 = tSupport.GetDefaultStaticTerminal(iMedia, Direccion);
Stream.SelectTerminal(Terminal1);
EnumStream.Next(1, out Stream, ref a11);
Terminal2 = tSupport.GetDefaultStaticTerminal(iMedia,
TERMINAL_DIRECTION.TD_CAPTURE);
Stream.SelectTerminal(Terminal2);
ControlLlamada.Connect(false);
This code is in C#, and is based on a code found in code project.
date: Tue, 19 Aug 2008 16:47:12 +0200
author: Matthias Moetje [MVP]
Re: Call using Tapi and H.323 Gateway
On 19 ago, 10:47, "Matthias Moetje [MVP]"
wrote:
> Mauricio,
>
> there can be quite a few reasons for this.
>
> You can try to disable the firewall.
> If it doesn't work, I would do a network trace (e.g. with Wireshark)
> and see if RTP packets are transmitted.
>
> Regarding TAPI and .NET see KB article "841712 - Telephony Application
> Programming Interface (TAPI) functionality is not supported from managed
> code".http://support.microsoft.com/kb/841712
>
> Please have a look at JulMar's
> ITAPI3 - TAPI 3.0 wrapper for .NET 2.0
> existing TAPI3.0 code based on TAPI3 interop can easily be portedhttp://www.julmar.com/blog/mark/CategoryView,category,Tapi.aspx
>
> Best regards,
>
> Matthias Moetje
> -------------------------------------
> TAPI WIKI:http://www.tapi.info
> -------------------------------------
> TERASENS GmbH
> Augustenstraße 24
> 80333 Munich, GERMANY
> -------------------------------------
> e-mail: moetje at terasens dot com
> www: www.terasens.com
> -------------------------------------
>
> "Ultra Putrefactus" wrote in message
>
> news:fae9dc07-1879-4f6e-8c0b-fb39a60e23c0@d45g2000hsc.googlegroups.com...
> Hello,
>
> My name is Mauricio, I am a Chilean developer and I have a problem
> trying to call phone number using h323 and Tapi3. When I started with
> my project I had some difficulties to call to a specific number. This
> it was because I had not specified an h.323 gateway. I put the IP
> Address of my PBX (Samsung OfficeServ 7200) into control panel->phone
> and modems option, and I could call to a phone number like 5807058,
> but when I answer the phone I cannot hear anything. I don't know what
> the problem is. Please I need help to do this, I was looking in the
> web and I dont found any information about that issue.
>
> I attach my code.
>
> private static TAPIClass ObjTapi;
> private static NotificacionLlamada Notificacion;
> private static long RegToken;
> private static ITAddress ObjAdress;
> private ITBasicCallControl ControlLlamada;
> private static ITTAPICallCenter CallCenter;
>
> ObjTapi=new TAPIClass();
> ObjTapi.Initialize();
> Notificacion=new NotificacionLlamada();
> Notificacion.AgregaEnLista = new
> NotificacionLlamada.MostarLista(StatusLlamada);
> ObjTapi.ITTAPIEventNotification_Event_Event = new
> ITTAPIEventNotification_EventEventHandler(Notificacion.Event);
> ObjTapi.EventFilter=(int)(TAPI_EVENT.TE_CALLNOTIFICATION|
> TAPI_EVENT.TE_DIGITEVENT|
> TAPI_EVENT.TE_PHONEEVENT|
> TAPI_EVENT.TE_CALLSTATE|
> TAPI_EVENT.TE_GENERATEEVENT|
> TAPI_EVENT.TE_GATHERDIGITS|
> TAPI_EVENT.TE_REQUEST);
> ITCollection AddrCol;
> ITMediaSupport mSupport;
>
> AddrCol = (ITCollection)ObjTapi.Addresses;
> foreach(ITAddress Addr in AddrCol)
> {
> mSupport = (ITMediaSupport)Addr;
> if (mSupport.QueryMediaType(TapiConstants.TAPIMEDIATYPE_AUDIO> {
> if ((Addr.AddressName.ToUpper() == "H323 LINE") ||
> (Addr.AddressName.ToUpper() == "LÍNEA H323"))
> {
> ObjAdress = Addr;
> }
> }}
>
> RegToken = ObjTapi.RegisterCallNotifications(ObjAdress, true, true,
> TapiConstants.TAPIMEDIATYPE_AUDIO, 1);
>
> ControlLlamada = ObjAdress.CreateCall(IpAddr,
> TapiConstants.LINEADDRESSTYPE_PHONENUMBER,
> TapiConstants.TAPIMEDIATYPE_AUDIO);
>
> IEnumStream EnumStream;
> ITStream Stream;
> ITStreamControl StreamControl;
> StreamControl = (ITStreamControl)ControlLlamada;
> StreamControl.EnumerateStreams(out EnumStream);
> uint a11 = 0;
> int iMedia;
> EnumStream.Next(1, out Stream,ref a11);
> iMedia = Stream.MediaType;
> TERMINAL_DIRECTION Direccion;
> Direccion = Stream.Direction;
> ITTerminal Terminal1, Terminal2;
>
> ITTerminalSupport tSupport=(ITTerminalSupport)ObjAdress;
>
> Terminal1 = tSupport.GetDefaultStaticTerminal(iMedia, Direccion);
> Stream.SelectTerminal(Terminal1);
>
> EnumStream.Next(1, out Stream, ref a11);
> Terminal2 = tSupport.GetDefaultStaticTerminal(iMedia,
> TERMINAL_DIRECTION.TD_CAPTURE);
>
> Stream.SelectTerminal(Terminal2);
> ControlLlamada.Connect(false);
>
> This code is in C#, and is based on a code found in code project.
Matthias,
Thanks a lot for your answer, I have disabled the firewall and the
issue persists. I downloaded julmar's atapi.net, and when I try to
call using the h323 line, I got the next exception:
lineMakeCall failed [0x80000019] Estructura LINECALLPARAMS no
válida.
I don't know if it's because the string that I provided as phone
number isn't valid. The string that I provided is the same that I use
in my application and there it works ok.
By other side, forgive my ignorance, but how can I trace de RTP
packets. I capture some packets between my pc and the PBX filtering by
PBX IP Address, and I save it into a txt file, but I dont understand
anything. I submit part of the txt File.
+--------+--------------+---------
19:21:56,441,094 ETHER
|0 |ff|ff|ff|ff|ff|ff|00|13|8f|a6|5c|e6|08|06|00|01|08|00|06|04|00|
01|00|13|8f|a6|5c|e6|c0|a8|01|8b|00|00|00|00|00|00|c0|a8|01|1f|d9|00|
0a|fa|00|00|00|00|00|01|04|00|00|00|00|00|00|00|
+--------+--------------+---------
19:21:56,883,397 ETHER
|0 |01|80|c2|00|00|00|00|19|06|a5|80|4b|00|26|42|42|03|00|00|00|00|
00|80|01|00|19|06|a5|80|40|00|00|00|00|80|01|00|19|06|a5|80|40|80|0b|
00|00|14|00|02|00|0f|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:21:57,659,746 ETHER
|0 |ff|ff|ff|ff|ff|ff|00|1b|78|6e|e8|14|08|06|00|01|08|00|06|04|00|
01|00|1b|78|6e|e8|14|c0|a8|01|1f|00|00|00|00|00|00|c0|a8|01|33|00|00|
00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:21:57,661,741 ETHER
|0 |ff|ff|ff|ff|ff|ff|00|19|66|69|e9|7e|08|06|00|01|08|00|06|04|00|
01|00|19|66|69|e9|7e|c0|a8|01|33|00|00|00|00|00|00|c0|a8|01|1f|00|00|
00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:21:57,689,189 ETHER
|0 |ff|ff|ff|ff|ff|ff|00|11|09|62|01|26|08|06|00|01|08|00|06|04|00|
01|00|11|09|62|01|26|c0|a8|01|0f|00|00|00|00|00|00|c0|a8|01|93|96|71|
4d|e8|50|18|ff|3c|05|8f|00|00|00|00|00|a7|60|81|
+--------+--------------+---------
19:21:57,735,472 ETHER
|0 |01|00|5e|00|00|fb|00|13|8f|a6|5c|e6|08|00|45|00|00|70|00|71|00|
00|ff|11|17|dd|c0|a8|01|8b|e0|00|00|fb|14|e9|14|e9|00|5c|27|9f|00|00|
84|00|00|00|00|02|00|00|00|00|0a|70|63|2d|6a|61|6c|69|61|67|61|05|6c|
6f|63|61|6c|00|00|01|80|01|00|00|00|78|00|04|c0|a8|01|8b|03|31|33|39|
01|31|03|31|36|38|03|31|39|32|07|69|6e|2d|61|64|64|72|04|61|72|70|61|
00|00|0c|80|01|00|00|00|78|00|02|c0|0c|
+--------+--------------+---------
19:21:58,883,319 ETHER
|0 |01|80|c2|00|00|00|00|19|06|a5|80|4b|00|26|42|42|03|00|00|00|00|
00|80|01|00|19|06|a5|80|40|00|00|00|00|80|01|00|19|06|a5|80|40|80|0b|
00|00|14|00|02|00|0f|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:00,064,901 ETHER
|0 |ff|ff|ff|ff|ff|ff|00|04|00|6b|68|96|08|06|00|01|08|00|06|04|00|
01|00|04|00|6b|68|96|c0|a8|01|c9|00|00|00|00|00|00|c0|a8|01|0f|00|00|
00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:00,883,258 ETHER
|0 |01|80|c2|00|00|00|00|19|06|a5|80|4b|00|26|42|42|03|00|00|00|00|
00|80|01|00|19|06|a5|80|40|00|00|00|00|80|01|00|19|06|a5|80|40|80|0b|
00|00|14|00|02|00|0f|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:01,086,387 ETHER
|0 |ff|ff|ff|ff|ff|ff|00|1e|90|7b|c0|e2|08|06|00|01|08|00|06|04|00|
01|00|1e|90|7b|c0|e2|c0|a8|01|32|00|00|00|00|00|00|c0|a8|01|33|00|00|
00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:01,088,404 ETHER
|0 |ff|ff|ff|ff|ff|ff|00|19|66|69|e9|7e|08|06|00|01|08|00|06|04|00|
01|00|19|66|69|e9|7e|c0|a8|01|33|00|00|00|00|00|00|c0|a8|01|32|00|00|
00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:02,299,711 ETHER
|0 |ff|ff|ff|ff|ff|ff|00|16|32|82|3c|14|08|06|00|01|08|00|06|04|00|
01|00|16|32|82|3c|14|c0|a8|0a|19|be|97|81|cb|00|01|c0|a8|01|14|94|f9|
f5|60|94|fc|70|00|00|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:02,883,171 ETHER
|0 |01|80|c2|00|00|00|00|19|06|a5|80|4b|00|26|42|42|03|00|00|00|00|
00|80|01|00|19|06|a5|80|40|00|00|00|00|80|01|00|19|06|a5|80|40|80|0b|
00|00|14|00|02|00|0f|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:03,406,168 ETHER
|0 |00|11|09|62|01|26|00|13|8f|a6|5b|af|08|00|45|00|00|28|8d|42|40|
00|80|06|e1|02|c0|a8|0a|2b|c0|a8|01|0f|06|c4|00|87|22|4d|f7|e3|1d|ab|
f3|c6|50|11|fe|93|f1|c6|00|00|
+--------+--------------+---------
19:22:03,406,291 ETHER
|0 |00|11|09|62|01|26|00|13|8f|a6|5b|af|08|00|45|00|00|28|8d|43|40|
00|80|06|e1|01|c0|a8|0a|2b|c0|a8|01|0f|06|c6|04|01|97|a0|37|b4|45|47|
26|bc|50|11|ff|3f|dd|e9|00|00|
+--------+--------------+---------
19:22:03,406,549 ETHER
|0 |00|13|8f|a6|5b|af|00|11|09|62|01|26|08|00|45|00|00|28|38|e5|40|
00|80|06|35|60|c0|a8|01|0f|c0|a8|0a|2b|00|87|06|c4|1d|ab|f3|c6|22|4d|
f7|e4|50|10|fe|7f|f1|da|00|00|30|84|00|00|00|b7|
+--------+--------------+---------
19:22:03,407,087 ETHER
|0 |00|13|8f|a6|5b|af|00|11|09|62|01|26|08|00|45|00|00|28|38|e6|40|
00|80|06|35|5f|c0|a8|01|0f|c0|a8|0a|2b|04|01|06|c6|45|47|26|bc|97|a0|
37|b5|50|10|fd|7a|df|ae|00|00|00|00|00|b5|60|81|
+--------+--------------+---------
19:22:03,407,099 ETHER
|0 |00|13|8f|a6|5b|af|00|11|09|62|01|26|08|00|45|00|00|28|38|e7|40|
00|80|06|35|5e|c0|a8|01|0f|c0|a8|0a|2b|04|01|06|c6|45|47|26|bc|97|a0|
37|b5|50|11|fd|7a|df|ad|00|00|00|00|00|a5|60|81|
+--------+--------------+---------
19:22:03,407,107 ETHER
|0 |00|11|09|62|01|26|00|13|8f|a6|5b|af|08|00|45|00|00|28|8d|44|40|
00|80|06|e1|00|c0|a8|0a|2b|c0|a8|01|0f|06|c6|04|01|97|a0|37|b5|45|47|
26|bd|50|10|ff|3f|dd|e8|00|00|
+--------+--------------+---------
19:22:03,407,139 ETHER
|0 |00|13|8f|a6|5b|af|00|11|09|62|01|26|08|00|45|00|00|28|38|e8|40|
00|80|06|35|5d|c0|a8|01|0f|c0|a8|0a|2b|00|87|06|c4|1d|ab|f3|c6|22|4d|
f7|e4|50|11|fe|7f|f1|d9|00|00|02|04|05|b4|01|01|
+--------+--------------+---------
19:22:03,407,144 ETHER
|0 |00|11|09|62|01|26|00|13|8f|a6|5b|af|08|00|45|00|00|28|8d|45|40|
00|80|06|e0|ff|c0|a8|0a|2b|c0|a8|01|0f|06|c4|00|87|22|4d|f7|e4|1d|ab|
f3|c7|50|10|fe|93|f1|c5|00|00|
+--------+--------------+---------
19:22:04,883,137 ETHER
|0 |01|80|c2|00|00|00|00|19|06|a5|80|4b|00|26|42|42|03|00|00|00|00|
00|80|01|00|19|06|a5|80|40|00|00|00|00|80|01|00|19|06|a5|80|40|80|0b|
00|00|14|00|02|00|0f|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:05,742,941 ETHER
|0 |01|00|5e|00|00|fb|00|13|8f|a6|5c|e6|08|00|45|00|00|70|00|76|00|
00|ff|11|17|d8|c0|a8|01|8b|e0|00|00|fb|14|e9|14|e9|00|5c|27|9f|00|00|
84|00|00|00|00|02|00|00|00|00|0a|70|63|2d|6a|61|6c|69|61|67|61|05|6c|
6f|63|61|6c|00|00|01|80|01|00|00|00|78|00|04|c0|a8|01|8b|03|31|33|39|
01|31|03|31|36|38|03|31|39|32|07|69|6e|2d|61|64|64|72|04|61|72|70|61|
00|00|0c|80|01|00|00|00|78|00|02|c0|0c|
+--------+--------------+---------
19:22:06,836,173 ETHER
|0 |03|00|c7|00|00|ee|00|18|fe|75|44|3c|00|42|aa|aa|f3|00|80|5f|00|
02|00|00|08|00|00|00|00|00|00|00|08|00|00|00|01|00|00|00|00|00|00|00|
cf|df|4f|de|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
00|00|00|00|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:06,883,036 ETHER
|0 |01|80|c2|00|00|00|00|19|06|a5|80|4b|00|26|42|42|03|00|00|00|00|
00|80|01|00|19|06|a5|80|40|00|00|00|00|80|01|00|19|06|a5|80|40|80|0b|
00|00|14|00|02|00|0f|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:08,883,130 ETHER
|0 |01|80|c2|00|00|00|00|19|06|a5|80|4b|00|26|42|42|03|00|00|00|00|
00|80|01|00|19|06|a5|80|40|00|00|00|00|80|01|00|19|06|a5|80|40|80|0b|
00|00|14|00|02|00|0f|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:08,908,452 ETHER
|0 |00|1b|78|6e|ea|f5|00|13|8f|a6|5b|af|08|00|45|00|00|ac|8d|48|40|
00|80|06|e0|7c|c0|a8|0a|2b|c0|a8|01|0b|06|70|06|64|12|54|07|d2|50|c4|
1b|93|50|18|ff|ff|d4|f0|00|00|05|00|00|03|10|00|00|00|84|00|04|00|62|
18|00|00|5c|00|00|00|00|00|0b|00|00|00|00|00|39|6f|ed|20|de|30|7d|4d|
ac|9b|91|04|fd|76|f0|e6|00|00|00|00|0a|00|00|00|00|00|06|00|02|00|02|
00|a7|a5|00|00|0a|00|00|00|07|80|00|00|20|00|00|00|00|00|06|00|18|00|
18|00|ad|a5|a4|a4|a4|a5|67|b2|b5|a5|a4|a9|ca|4f|a5|a5|a5|a5|a5|a5|64|
b2|a5|a5|20|00|00|00|88|00|00|00|52|56|2d|43|09|02|04|00|b8|09|18|00|
00|00|00|00|
+--------+--------------+---------
19:22:08,909,010 ETHER
|0 |00|13|8f|a6|5b|af|00|1b|78|6e|ea|f5|08|00|45|00|00|8c|2d|6d|40|
00|80|06|40|78|c0|a8|01|0b|c0|a8|0a|2b|06|64|06|70|50|c4|1b|93|12|54|
08|56|50|18|ff|ff|c0|96|00|00|05|00|02|03|10|00|00|00|64|00|00|00|62|
18|00|00|4c|00|00|00|00|00|00|00|00|00|00|00|39|6f|ed|20|de|30|7d|4d|
ac|9b|91|04|fd|76|f0|e6|00|00|00|00|0a|00|00|00|00|00|00|00|0a|00|00|
00|00|00|06|00|02|00|02|00|a7|a5|27|a7|0a|00|00|00|00|00|00|00|00|00|
00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|00|
+--------+--------------+---------
19:22:09,043,597 ETHER
|0 |00|1b|78|6e|ea|f5|00|13|8f|a6|5b|af|08|00|45|00|00|28|8d|49|40|
00|80|06|e0|ff|c0|a8|0a|2b|c0|a8|01|0b|06|70|06|64|12|54|08|56|50|c4|
1b|f7|50|10|ff|9b|8f|78|00|00|
+--------+--------------+---------
19:22:09,193,560 ETHER
|0 |00|18|73|ed|9a|3f|00|13|8f|a6|5b|af|08|00|45|00|04|ed|8d|4c|40|
00|80|06|cd|69|c0|a8|0a|2b|cf|2e|01|53|0a|f4|00|50|86|46|0d|dc|48|92|
a3|10|50|18|ff|ff|d5|9f|00|00|47|45|54|20|2f|73|65|73|73|69|6f|6e|2f|
64|72|69|76|65|72|2e|61|73|68|78|3f|73|3d|30|38|37|65|66|66|37|64|35|
62|62|65|37|62|61|37|32|37|34|34|62|35|65|63|33|33|32|33|38|65|35|37|
30|30|30|30|30|30|30|33|30|30|31|64|38|30|66|35|20|48|54|54|50|2f|31|
2e|31|0d|0a|48|6f|73|74|3a|20|62|61|79|6d|2d|77|6d|33|2e|77|65|62|6d|
65|73|73|65|6e|67|65|72|2e|6d|73|6e|2e|63|6f|6d|0d|0a|55|73|65|72|2d|
41|67|65|6e|74|3a|20|4d|6f|7a|69|6c|6c|61|2f|35|2e|30|20|28|57|69|6e|
64|6f|77|73|3b|20|55|3b|20|57|69|6e|64|6f|77|73|20|4e|54|20|35|2e|31|
3b|20|65|73|2d|45|53|3b|20|72|76|3a|31|2e|39|2e|30|2e|31|29|20|47|65|
63|6b|6f|2f|32|30|30|38|30|37|30|32|30|38|20|46|69|72|65|66|6f|78|2f|
33|2e|30|2e|31|0d|0a|41|63|63|65|70|74|3a|20|74|65|78|74|2f|68|74|6d|
6c|2c|61|70|70|6c|69|63|61|74|69|6f|6e|2f|78|68|74|6d|6c|2b|78|6d|6c|
2c|61|70|70|6c|69|63|61|74|69|6f|6e|2f|78|6d|6c|3b|71|3d|30|2e|39|2c|
2a|2f|2a|3b|71|3d|30|2e|38|0d|0a|41|63|63|65|70|74|2d|4c|61|6e|67|75|
61|67|65|3a|20|65|73|2d|65|73|2c|65|73|3b|71|3d|30|2e|38|2c|65|6e|2d|
75|73|3b|71|3d|30|2e|35|2c|65|6e|3b|71|3d|30|2e|33|0d|0a|41|63|63|65|
70|74|2d|45|6e|63|6f|64|69|6e|67|3a|20|67|7a|69|70|2c|64|65|66|6c|61|
74|65|0d|0a|41|63|63|65|70|74|2d|43|68|61|72|73|65|74|3a|20|49|53|4f|
2d|38|38|35|39|2d|31|2c|75|74|66|2d|38|3b|71|3d|30|2e|37|2c|2a|3b|71|
3d|30|2e|37|0d|0a|4b|65|65|70|2d|41|6c|69|76|65|3a|20|33|30|30|0d|0a|
43|6f|6e|6e|65|63|74|69|6f|6e|3a|20|6b|65|65|70|2d|61|6c|69|76|65|0d|
0a|52|65|66|65|72|65|72|3a|20|68|74|74|70|3a|2f|2f|77|65|62|6d|65|73|
73|65|6e|67|65|72|2e|6d|73|6e|2e|63|6f|6d|2f|73|65|73|73|69|6f|6e|2f|
63|6f|6e|74|61|63|74|6c|69|73|74|2e|61|73|70|78|3f|73|3d|30|38|37|65|
66|66|37|64|35|62|62|65|37|62|61|37|32|37|34|34|62|35|65|63|33|33|32|
33|38|65|35|37|30|30|30|30|30|30|30|33|30|30|31|64|38|30|66|35|0d|0a|
43|6f|6f|6b|69|65|3a|20|4d|43|31|3d|56|3d|33|26|47|55|49|44|3d|66|34|
66|65|64|37|64|32|62|33|62|35|34|32|31|37|62|34|62|62|33|35|33|38|66|
32|65|35|39|64|34|64|3b|20|4d|55|49|44|3d|45|45|30|42|46|31|37|46|45|
39|43|36|34|39|41|32|41|38|37|30|43|38|33|41|41|34|30|32|35|36|36|45|
3b|20|41|4e|4f|4e|3d|41|3d|34|31|39|30|30|36|36|38|43|44|36|38|37|31|
35|43|45|33|43|38|32|45|43|43|46|46|46|46|46|46|46|46|26|45|3d|37|34|
31|26|57|3d|31|3b|20|4e|41|50|3d|56|3d|31|2e|37|26|45|3d|36|65|37|26|
43|3d|70|54|4a|59|73|33|41|56|36|37|7a|6f|47|6f|6c|45|45|4a|55|72|7a|
32|67|48|6c|74|6b|5a|46|46|4b|38|70|47|6c|72|73|37|46|45|64|4a|6b|6e|
6e|48|53|46|33|42|41|6d|5f|41|26|57|3d|32|3b|20|4d|53|50|41|75|74|68|
3d|39|42|41|70|52|63|4f|62|59|43|4e|34|49|51|53|79|52|74|38|6f|42|44|
46|42|31|43|77|43|73|77|75|5a|74|36|64|55|73|50|43|72|71|69|72|62|73|
53|72|21|62|63|7a|4b|73|4d|78|41|48|67|67|72|68|59|66|67|58|51|59|49|
53|41|6b|67|4c|45|75|21|49|62|47|55|72|39|56|34|62|30|50|45|61|42|45|
6c|73|33|4d|59|79|62|67|32|21|21|41|70|35|7a|4b|66|77|42|75|21|41|41|
6f|59|55|6f|6a|64|45|33|37|45|6c|37|4f|6d|68|21|49|31|4b|46|42|6d|57|
5a|79|33|61|4e|6e|48|58|78|45|6a|6f|4a|4c|51|24|24|3b|20|4d|53|50|50|
72|6f|66|3d|39|62|34|44|47|39|39|48|63|42|79|75|59|4d|74|47|6e|67|31|
4f|47|79|48|6a|74|66|72|77|43|64|61|44|34|48|55|4b|41|52|79|42|57|4a|
51|53|61|2a|4f|34|4f|42|6e|56|4d|52|75|71|70|36|4d|48|46|33|4b|5a|41|
6f|65|65|43|47|56|47|4e|38|6a|37|49|39|70|52|68|44|69|49|5a|33|6e|57|
37|39|2a|79|4b|55|30|62|4c|61|68|50|63|5a|53|37|71|79|48|4b|74|75|53|
50|68|59|39|42|33|57|77|5a|49|21|4a|6b|58|31|63|31|45|56|37|4c|71|59|
50|37|4b|6c|54|47|59|43|56|71|30|49|6d|30|77|64|55|66|55|53|35|66|4d|
6d|66|56|75|4e|63|58|43|67|4b|71|6c|6f|78|52|6f|4a|50|52|37|6c|59|6f|
72|21|43|43|48|33|75|73|65|66|77|48|37|75|3b|20|6d|61|72|6b|65|74|3d|
65|73|2d|65|73|0d|0a|43|61|63|68|65|2d|43|6f|6e|74|72|6f|6c|3a|20|6d|
61|78|2d|61|67|65|3d|30|0d|0a|0d|0a|
date: Tue, 19 Aug 2008 13:27:43 -0700 (PDT)
author: unknown
Re: Call using Tapi and H.323 Gateway
Mauricio,
you must set
ITCallInfo::CallInfoString(CIS_CALLINGPARTYID)
to the number you want to have displayed at the called
party.
IIRC you can separate number and name through a CRLF,
a CR or LF (don't remember which).
Best regards,
Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------
"Ultra Putrefactus" wrote in message
news:bbb685bb-00d0-451f-ba28-b61a88d98988@m44g2000hsc.googlegroups.com...
On 20 ago, 13:42, "Matthias Moetje [MVP]"
wrote:
> Mauricio,
>
> you should first check the functionality by using the Windows Phone Dialer
> (dialer.exe) instead of coding yourself. Then you will know if it's an
> issue
> with your code or a network/configuration problem.
>
> With Wireshark you can analyze VoIP calls but if you are not familiar with
> that you can also save the trace and post is here (or send it to me via
> e-mail
> if you think it may contain sensitive information).
>
> Best regards,
>
> Matthias Moetje
> -------------------------------------
> TAPI WIKI:http://www.tapi.info
> -------------------------------------
> TERASENS GmbH
> Augustenstraße 24
> 80333 Munich, GERMANY
> -------------------------------------
> e-mail: moetje at terasens dot com
> www: www.terasens.com
> -------------------------------------
matthias.
Sorry for my late answer but I was Out of office for a long time. I
could solve the problem of audio reinstalling my soundcard driver. Now
I need to put a caller id into my call, but I don't find the way to do
that. When I make the call, in the LCD visor of my phone appear "inf.
clip no disp". How can I do that my name appears in the LCD?
date: Mon, 15 Sep 2008 22:34:11 +0200
author: Matthias Moetje [MVP]
Re: Call using Tapi and H.323 Gateway
On 15 sep, 16:34, "Matthias Moetje [MVP]"
wrote:
> Mauricio,
>
> you must set
>
> ITCallInfo::CallInfoString(CIS_CALLINGPARTYID)
>
> to the number you want to have displayed at the called
> party.
>
> IIRC you can separate number and name through a CRLF,
> a CR or LF (don't remember which).
>
> Best regards,
>
> Matthias Moetje
> -------------------------------------
> TAPI WIKI:http://www.tapi.info
> -------------------------------------
> TERASENS GmbH
> Augustenstraße 24
> 80333 Munich, GERMANY
> -------------------------------------
> e-mail: moetje at terasens dot com
> www: www.terasens.com
> -------------------------------------"Ultra Putrefactus" wrote in message
>
> news:bbb685bb-00d0-451f-ba28-b61a88d98988@m44g2000hsc.googlegroups.com...
> On 20 ago, 13:42, "Matthias Moetje [MVP]"
> wrote:
>
>
>
> > Mauricio,
>
> > you should first check the functionality by using the Windows Phone Dialer
> > (dialer.exe) instead of coding yourself. Then you will know if it's an
> > issue
> > with your code or a network/configuration problem.
>
> > With Wireshark you can analyze VoIP calls but if you are not familiar with
> > that you can also save the trace and post is here (or send it to me via
> > e-mail
> > if you think it may contain sensitive information).
>
> > Best regards,
>
> > Matthias Moetje
> > -------------------------------------
> > TAPI WIKI:http://www.tapi.info
> > -------------------------------------
> > TERASENS GmbH
> > Augustenstraße 24
> > 80333 Munich, GERMANY
> > -------------------------------------
> > e-mail: moetje at terasens dot com
> > www:www.terasens.com
> > -------------------------------------
>
> matthias.
>
> Sorry for my late answer but I was Out of office for a long time. I
> could solve the problem of audio reinstalling my soundcard driver. Now
> I need to put a caller id into my call, but I don't find the way to do
> that. When I make the call, in the LCD visor of my phone appear "inf.
> clip no disp". How can I do that my name appears in the LCD?
Matthias.
tahnks for your answer. I'm using the next code to set the caller id:
b.set_CallInfoString(CALLINFO_STRING.CIS_CALLINGPARTYID, "7024");
but it doesn't work. When I debug the code in this line, and push
stepinto button, a got the next message in the output windows:
A first chance exception of type
'System.Runtime.InteropServices.COMException' occurred in
Tecnologica.Marcador.Libreria.dll
and the rest of the code isn't evaluates, but anyway the phone ring
and show "inf.
clip no disp" into LCD screen.
date: Mon, 22 Sep 2008 15:08:12 -0700 (PDT)
author: Ultra Putrefactus
Re: Call using Tapi and H.323 Gateway
Mauricio,
> b.set_CallInfoString(CALLINFO_STRING.CIS_CALLINGPARTYID, "7024");
I have no idea why this doesnt't work. All I can say is that it has always
worked for
me.
Perhaps it's a .NET problem. Not very likely, but please be aware that
Regarding TAPI and .NET see KB article "841712 - Telephony Application
Programming Interface (TAPI) functionality is not supported from managed
code".
http://support.microsoft.com/kb/841712
Please have a look at JulMar's
ITAPI3 - TAPI 3.0 wrapper for .NET 2.0
existing TAPI3.0 code based on TAPI3 interop can easily be ported
http://www.julmar.com/blog/mark/CategoryView,category,Tapi.aspx
Best regards,
Matthias Moetje
-------------------------------------
TAPI WIKI: http://www.tapi.info
-------------------------------------
TERASENS GmbH
Augustenstraße 24
80333 Munich, GERMANY
-------------------------------------
e-mail: moetje at terasens dot com
www: www.terasens.com
-------------------------------------
but it doesn't work. When I debug the code in this line, and push
stepinto button, a got the next message in the output windows:
A first chance exception of type
'System.Runtime.InteropServices.COMException' occurred in
Tecnologica.Marcador.Libreria.dll
and the rest of the code isn't evaluates, but anyway the phone ring
and show "inf.
clip no disp" into LCD screen.
date: Wed, 24 Sep 2008 13:32:34 +0200
author: Matthias Moetje [MVP]
|
|