|
List Info
Thread: sipXinitialize() returning SIPX_RESULT_NETWORK_FAILURE on WIN-98
|
|
| sipXinitialize() returning
SIPX_RESULT_NETWORK_FAILURE on WIN-98 |

|
2008-01-15 04:47:07 |
|
hi, I have developed a project on sipXtapi on windows XP(my development machine) and my application uses asterisk server(on ubuntu machine). I have tested it on fresh windows XP, windows VISTA and the application is working fine. By fresh i mean there is no visual studio installed on them...Now,when i test my application on windows 98,not a single sipxtapi function works. After a bit of debugging i found that sipxInitialize() returns a value that matches the macro SIPX_RESULT_NETWORK_FAILURE but when i run the same application on fresh WIN-XP and WIN-VISTA the function sipxInitialize() returns a value that matches the macro SIPX_RESULT_SUCCESS.I went through the line given in commented form against SIPX_RESULT_NETWORK_FAILURE in
sipxtapi.h, it says "The network is down or failing".I tested the connectivity of my WIN-98 machine with the asterisk server by pinging asterisk server from WIN-98 machine and it is working normally, that means my WIN-98 machine is in the network, then what is the exact reason of the network failure. I don't know what exactly the problem is....PLZ HELP!!!!
A part of my log file is given below:
============================================================================================
............... :sipXtapi:"ENTER FUNC (tid = -1877477) sipxInitializen"
............... :sipXtapi:"ENTER FUNC (tid = -1877477) sipxConfigGetVersionn" ............... :sipXtapi:"EXIT FUNC (tid = -1877477) sipxConfigGetVersionn" ............... :sipXtapi:"Sipxtapi SDK
2.9.1.0 Rls (built 0000-00-00)" ............... :sipXtapi:"ENTER FUNC (tid = -1877477) sipxConfigGetAllLocalNetworkIpsn" ............... :sipXtapi:"Could not get the proc address to GetPerAdapterInfo!n"
............... :sipXtapi:"Could not get the proc address to GetPerAdapterInfo!n" ............... :sipXtapi:"Could not get the proc address to GetPerAdapterInfo!n" ............... :sipXtapi:"Could not get the proc address to GetPerAdapterInfo!n"
............... :sipXtapi:"EXIT FUNC (tid = -1877477) SipxConfigGetAllLocalNetworkIpsn" ............... :sipXtapi:"Unable to querry for network interface" ............... :sipXtapi:"EXIT FUNC (tid=-1877477) SipxInitializen"
. . . .
============================================================================================
|
| Re: sipXinitialize() returning
SIPX_RESULT_NETWORK_FAILURE on WIN-98 |

|
2008-01-16 01:19:04 |
|
hi,
A bit of debugging revealed that SipXtapi uses a function
GetPerAdapterInfo() which should be there in iphpapi.dll. But, when i
used 'dependency walker'; to see whether iphlpapi.dll (version 5.00.1717.2
,which is there in CWindowsSystem in my WIN-98SE machine) supports
that function or not, i found that this version of iphlpapi.dll doesn't
support GetPerAdapterInfo()..I tried to copy iphlpapi.dll ( version
5.1.2600.2180) from my WIN-XP machine to my WIN-98SE machine at
CWindowsSystem but these time my application was not even able to
load this dll...can i get latest version of iphlpapi.dll (for WIN-98SE)
from somewhere which supports this function 'GetPerAdapterInfo()'
I want my application to run on WIN-98. what should i do?
Thanks in Advance
Himanshu
On Jan 16, 2008 7:50 AM, li zhang < zhangli.ka ngjj gmail.com" target="_blank">zhangli.kangjj gmail.com> wrote:
The error info "Could not get the proc address to GetPerAdapterInfo!" is caused by loading iphlpapi.dll failure. So, you may check whether the version of iphlpapi.dll in win98 is same as other os.
Li Zhang
|
| Re: sipXinitialize() returning
SIPX_RESULT_NETWORK_FAILURE on WIN-98 |

|
2008-01-17 06:34:14 |
Hi,
Yeah, we did not tested sipXtapi on Win98 for a very long
time, but we did
not meant to break compatibility with it. If it will not
take too much of code
it would be good thing to suport Win98.
Try attached patch and let us know weither it helps.
--
Regards,
Alexander Chemeris.
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
_______________________________________________
sipxtapi-dev mailing list
sipxtapi-dev list.sipfoundry.org
List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/
|
|
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|