Have been trying to sort these problems for quite some times
:(.
I have problem regarding sipXtapi.dll(976KB). The version of
dll i'm using right now is 2.9.0.0 (I try to replace it
with 2.9.1.0 but it produces more errors.)This dll is
obtained when I compiled sipezphone sometime ago(of version
6274 if i'm not mistaken).I developed a softphone from
scratch and used that particular dll to run my softphone.
The problem are as follows:
1. Speaker and microphone volume. I wrote the code below.
Slider can be scrolled properly. But when I add the 2
codes;sipxAudioSetGain(g_hInst,
nPos),sipxAudioSetVolume(g_hInst, SPEAKER, nPos) , as I try
to scroll the volume it produces assertion error.
if ((CSliderCtrl *)pScrollBar == &m_Slider1)
{
sipxAudioSetGain(g_hInst, nPos);
}
else if ((CSliderCtrl *)pScrollBar == &m_Slider2)
{
sipxAudioSetVolume(g_hInst, SPEAKER, nPos) ;
}
CDialog::OnHScroll(nSBCode, nPos, pScrollBar);
2. Reinitilize configuration. I tried to use
sipxReInitialize(&hInst, iSipPort, iSipPort, 5061, iRtpPort,
16 ) to restart phone registration. But the line produces
error and cannot be compiled. What I do now is when I change
my setting(eg: realm, identity, password, server ip), I have
to stop my program and restart the program again. How can I
make the program reinitialize it setting without having me
to stop and restart the program.
3. DTMF Tone
I'm not sure on how to make the buttons produce tone(DTMF)
when there is no call connection as the code to start tone
is
sipxCallStartTone(g_hCall,ID_DTMF_3, true, false) ;
I'm able to hear the button tone only if I press the button
when there is a phone connection between caller and
recipient. What if the g_hCall value is 0?. How can I deploy
the line when g_hCall is 0, and make the button being
pressed produces its tone.
Please advise. Thank you.
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/