SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
me_himanshuOffline



Joined: Dec 29, 2007
Posts: 3

Status: Offline
Posted: Jan 09, 2008 - 05:08 AM Reply with quote Back to top
I have developed a SipXtapi project on windows...now, i tested it on a fresh XP machine..By fresh, i mean there is no visual studio environment...now, as soon as i call sipxcallconnect(), my application hangs...while on my development machine it is working fine....Why is this happening?I thought may be i am producing some kind of blockage in callback mechanism but Even if i comment out sipxEventListnerAdd() (Which initiates the callback activity) the problem still persists...


THE DETAILS OF MY PROBLEM IS GIVEN AS UNDER:


What exactly i am developing is a NPAPI plugin for Mozilla firefox. I have an HTML page which have buttons like:

-Online (For registration)
-Offline (For unregistration)
-Dial (For Dialing)
-Hang-up
-Accept
-Reject

etc..

When any of the above buttons is pressed, a javascript is called which further calls a function in my project (which is implemented in VC++). If, for example the button 'Online' is pressed, then the function ' sipxInitialize()' (which is there in sipxtapi.dll) gets called in VC++ .

i got SipXtapi.dll by building the sipxtapi source code as per instructions given in the page:

http://sipx-wiki.calivia.com/index.php/ ... or_Windows

My VC++ project links with sipxtapi.dll for these functionalities.


Now, on development machine when i connect to asterisk server and try to call some other SIP client,call is established normally.But on fresh machine(Where there is no visual studio environment)all the functions for registration(sipxInitialize(),sipxLineAdd() etc) work properly but as soon as i press the 'Dial' button on HTML page(which finally calls sipxCallCreate() and sipxCallConnect()) my application crashes ...A bit of debugging by putting up some MesssageBox'es took me to the conclusion that sipxCallCreate gets called normally while it is sipxCallConnect which is the culprit...If i uncomment sipxEventListnerAdd, the last event that i can see being fired is: "Callstate::Dialtone" and then my application hangs. I am not able to figure out what is the problem...
View user's profile Send private message
tarunOffline



Joined: Jan 09, 2008
Posts: 6

Status: Offline
Posted: Jan 11, 2008 - 04:30 AM Reply with quote Back to top
Hello, i read your post....

same kind of problems occurs whenever u r not using codecs properly....

so, try to check ...whether codecs dll are made properly in both either debug or release mode....


it may help u...

Tarun
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.