Re: [sipxtapi-dev] who goes wrong? REGISTER -> 401 -> REGISTER -> 200: ContactIdentity Comparison failed -> REGERESTED not fired

2006-12-08 Thread YuHang
Hi, === Dale wrote === >The REGISTER request is going out through a NAT, but sipXtapi does not >understand that. I don't know the specifics, but you need to inform >sipXtapi that, to the proxy, its address appears to be 218.242.117.170. I didn't enable stun, and I called: sipxCon

Re: [sipxtapi-dev] [sipX-dev] 3.6\sipxportlib\src\os\ossocket.cpp(1136) : error C2440

2006-12-08 Thread Alexander Chemeris
Hello, On 12/8/06, Dale R. Worley <[EMAIL PROTECTED]> wrote: > On Fri, 2006-12-08 at 19:23 +0530, Kite Flyer wrote: > > The error occurs because above strchr call doesn't match either of the > > following VC++ declarations in string.h. > > > > const char *strchr(const char *, int) > > char *strchr

Re: [sipxtapi-dev] [sipX-dev] 3.6\sipxportlib\src\os\ossocket.cpp(1136) : error C2440

2006-12-08 Thread Dale R. Worley
On Fri, 2006-12-08 at 19:23 +0530, Kite Flyer wrote: > The error occurs because above strchr call doesn't match either of the > following VC++ declarations in string.h. > > const char *strchr(const char *, int) > char *strchr(char *, int) Interesting -- gcc doesn't flag that as a problem, becaus

Re: [sipxtapi-dev] 400 "Registration requests can't have To: tags", what is wrong?

2006-12-08 Thread Dale R. Worley
On Fri, 2006-12-08 at 18:47 +0200, [EMAIL PROTECTED] wrote: > "2006-12-08T16:21:52.312000Z":192:INCOMING:INFO:home-mce:SipClient-6:0BB8:sipXtapi:"Read > SIP message:\nRemote Host:127.0.0.1 Port: 5060\nSIP/2.0 400 > Registration requests can't have To: tags.\r\nVia: SIP/2.0/UDP >

Re: [sipxtapi-dev] who goes wrong? REGISTER -> 401 -> REGISTER -> 200: ContactIdentity Comparison failed -> REGERESTED not fired

2006-12-08 Thread Dale R. Worley
On Fri, 2006-12-08 at 15:12 +0800, YuHang wrote: > Hi, > > Help! anyone can tell me who goes wrong? > > REGERESTED not fired in the following case: > I run sipXtapi at 192.168.0.178:5090 with rport enabled. > (http://scm.sipfoundry.org/rep/sipX/branches/sipXtapi/ at version 8101) I > register t

Re: [sipxtapi-dev] 400 "Registration requests can't have To: tags", what is wrong?

2006-12-08 Thread Dale R. Worley
Yes, it looks like there's a bug in SipRefreshMgr.cpp. Let me see if I can fix it easily. Dale ___ sipxtapi-dev mailing list sipxtapi-dev@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Re: [sipxtapi-dev] XMR-69 seems resolved with the merge from main.

2006-12-08 Thread Alexander Chemeris
Hello, On 12/8/06, Charlie Hedlin <[EMAIL PROTECTED]> wrote: > I can't close this issue, but I thought I would bring it up for someone > who can. I moved it to resolved state. You can close it. BTW, What about your patches with DirestSound audio I/O? They are still welcome. ;) -- Regards, Alexa

[sipxtapi-dev] XMR-69 seems resolved with the merge from main.

2006-12-08 Thread Charlie Hedlin
I can't close this issue, but I thought I would bring it up for someone who can. Charlie ___ sipxtapi-dev mailing list sipxtapi-dev@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Re: [sipxtapi-dev] 400 "Registration requests can't have To: tags", what is wrong?

2006-12-08 Thread sipx
Hi, > Try setting the logging level of your application to DEBUG > (OsSyslog::setLoggingPriority(PRI_DEBUG)) and sending the section of the > log from SipLineMgr::disableLine to the OUTGOING line showing the > un-REGISTER request. Is allowed to send attached files to the mail list (logs ~100-150

Re: [sipxtapi-dev] 400 "Registration requests can't have To: tags", what is wrong?

2006-12-08 Thread sipx
Hi Dale, Thursday, December 7, 2006, 8:37:48 PM, you wrote: > Try setting the logging level of your application to DEBUG > (OsSyslog::setLoggingPriority(PRI_DEBUG)) Recompiled with last sources. Library started on local machine with interfaces 169.254.92.94 (bluetooth/eth0) and 127.0.0.1 (local

Re: [sipxtapi-dev] anyone using sipXtapi to talk to broadvoice?

2006-12-08 Thread Dale R. Worley
On Thu, 2006-12-07 at 17:29 -0800, George Hartzell wrote: > I've signed up for a broadvoice.com account, they seemed to make the > biggest deal about supporting Bring Your Own Device. I haven't had > any luck getting my stuff to work, and fell back to playing with the > PlaceCall demo and find tha

Re: [sipxtapi-dev] 3.6\sipxportlib\src\os\ossocket.cpp(1136) : error C2440

2006-12-08 Thread Alexander Chemeris
Hello, On 12/8/06, Kite Flyer <[EMAIL PROTECTED]> wrote: > Before I change the call to match one of the above, just wanted to know how > others are managing to get rid of this and why the piece of code in 3.6 > branch is different from the same line in sipXtapi branch. > > I could build 3.6 on Lin

[sipxtapi-dev] 3.6\sipxportlib\src\os\ossocket.cpp(1136) : error C2440

2006-12-08 Thread Kite Flyer
Hi, While building sipXcallLib\sipXtapi.sln from 3.6 branch using VC++ 2005 on Windows XP with SP2, I'm getting this error: d:\sip\sipfoundry\sipx\src\3.6\sipxportlib\src\os\ossocket.cpp(1136) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' in the strchr usage belo

Re: [sipxtapi-dev] Logout function in SipXtapi

2006-12-08 Thread Joseph Serafin Aguilar
Try calling sipxLineRemove(SIPX_LINE hLine) before you call sipxUnititialize. Regards, Joseph On 12/8/06, zamielia <[EMAIL PROTECTED]> wrote: I tried the code. But nothing happened. I can make call even after I click the button that execute the code below. Please guide. Regards, Zamielia ___

Re: [sipxtapi-dev] Logout function in SipXtapi

2006-12-08 Thread zamielia
I tried the code. But nothing happened. I can make call even after I click the button that execute the code below. Please guide. Regards, Zamielia Hi, Could you try this? if(sipxUnInitialize(g_hInst) != SIPX_RESULT_SUCCESS) { sipxU

Re: [sipxtapi-dev] sipXtapi's sipxCallStartTone

2006-12-08 Thread zamielia
thanks for explaining...will work on it :) - Original Message Follows - From: "Joseph Serafin Aguilar" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: sipxtapi-dev@list.sipfoundry.org Subject: Re: [sipxtapi-dev] sipXtapi's sipxCallStartTone Date: Fri, 8 Dec 2006 16:23:13 +0800 > Hi, > > I

Re: [sipxtapi-dev] sipXtapi's sipxCallStartTone

2006-12-08 Thread Joseph Serafin Aguilar
Hi, I have a wav file for each dtmf tone and I play the respective wav file everytime I press a button. To play the wave file, I place the function PlaySound() inside the event handler for the button press. PlaySound is part of Windows API and is used to play wav files. example: void Di