From: <fa...@ti...> - 2003-06-29 15:24:51
|
Hi. I was working on WinIAX client (MSVC one). I checked the wxWindows client also. In SIP client when we register we usually can dial a number by pressing the digits and pressing the dial button. But in wxWindows when we register we cant just press digits to dial. we still need to make a call to asterisk gateway by putting the IAX URI in the dial string and then have to press dial button. There you can then press digits to go to specific extension. This is a bit different than what I have seen in SIP phones. Is this the way IAX is supposed to work. To register but not to send DTMF/Dial to server untill you also specify iax uri and dial to it. Am I missing something or we should get it to work like the normal SIP phones would work. |
From: Darren S. <da...@ba...> - 2003-06-29 15:51:08
|
Hi I've been tinkering with the WinIAX (MSVC) client too, learning Windows API basically (*spit*). I've now added menus to the main form, as well as created 'Registration', 'About' & 'Options' dialogs.... It also now registers to asterisk and supports incoming calls etc. In terms of the external calls, all i did was see if the number had an @ sign in. If it had an @ sign I just dial the iax call as they typed, otherwise i just use: <user>:<pass>@<server>/<what-they-typed> stealing the info straight off the registration form. Once i've tidied my code up a bit i'll stick it up somewhere for people to have a look at, being a VC++ n00b it's a tad messy atm ;-) Oh i've also started hacking 'ringtone','playback' and 'microphone' voice device controls too, having fun with combo boxes atm. HWND RecordBox = GetDlgItem(m_hwndOptionsDlg,IDC_RECORD); SendMessage(RecordBox, LB_RESETCONTENT , 0, 0); SendMessage(RecordBox, LB_ADDSTRING, 0, (LPARAM) (LPCTSTR) pwic.szPname); Can't believe windows C coding was so prehistoric tbh, unless i'm doing things the hard way, which I usually do ;-) Regards Darren ----- Original Message ----- From: <fa...@ti...> To: <iax...@li...> Sent: Sunday, June 29, 2003 4:24 PM Subject: [Iaxclient-devel] Dialing after registration. > Hi. > > I was working on WinIAX client (MSVC one). I checked the wxWindows client also. > In SIP client when we register we usually can dial a number by pressing the > digits and pressing the dial button. > But in wxWindows when we register we cant just press digits to dial. we still > need to make a call to asterisk gateway by putting the IAX URI in the dial > string and then have to press dial button. There you can then press digits to > go to specific extension. > > This is a bit different than what I have seen in SIP phones. Is this the way > IAX is supposed to work. To register but not to send DTMF/Dial to server untill > you also specify iax uri and dial to it. > > Am I missing something or we should get it to work like the normal SIP phones > would work. > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Iaxclient-devel mailing list > Iax...@li... > https://lists.sourceforge.net/lists/listinfo/iaxclient-devel > |
From: <fa...@ti...> - 2003-06-29 18:08:40
|
Quoting Darren Smith <da...@ba...>: > Hi > > I've been tinkering with the WinIAX (MSVC) client too, learning Windows API > basically > (*spit*). > > I've now added menus to the main form, as well as created 'Registration', > 'About' & > 'Options' dialogs.... > > It also now registers to asterisk and supports incoming calls etc. > So did you do anything to dial or send DTMF when you have registered and without actually placing a call. I guess that is one reason to have registratio option. > In terms of the external calls, all i did was see if the number had an @ sign > in. > > If it had an @ sign I just dial the iax call as they typed, otherwise i just > use: > <user>:<pass>@<server>/<what-they-typed> stealing the info straight off the > registration > form. > Well I am using separate box for username pass and host. I guess that is easy to understand for users. > Once i've tidied my code up a bit i'll stick it up somewhere for people to > have a look at, > being a VC++ n00b it's a tad messy atm ;-) > > Oh i've also started hacking 'ringtone','playback' and 'microphone' voice > device controls > too, having fun with combo boxes atm. > > HWND RecordBox = GetDlgItem(m_hwndOptionsDlg,IDC_RECORD); > SendMessage(RecordBox, LB_RESETCONTENT , 0, 0); > SendMessage(RecordBox, LB_ADDSTRING, 0, (LPARAM) (LPCTSTR) pwic.szPname); > > Can't believe windows C coding was so prehistoric tbh, unless i'm doing > things the hard > way, which I usually do ;-) > Well we do have MFC that makes things a lot easier. But reuires a dll which is sometimes not available on systems like windows95 or fresh windows98. but i guess is available on about 95-98% windows machines now. > Regards > > Darren > > ----- Original Message ----- > From: <fa...@ti...> > To: <iax...@li...> > Sent: Sunday, June 29, 2003 4:24 PM > Subject: [Iaxclient-devel] Dialing after registration. > > > > Hi. > > > > I was working on WinIAX client (MSVC one). I checked the wxWindows client > also. > > In SIP client when we register we usually can dial a number by pressing > the > > digits and pressing the dial button. > > But in wxWindows when we register we cant just press digits to dial. we > still > > need to make a call to asterisk gateway by putting the IAX URI in the > dial > > string and then have to press dial button. There you can then press digits > to > > go to specific extension. > > > > This is a bit different than what I have seen in SIP phones. Is this the > way > > IAX is supposed to work. To register but not to send DTMF/Dial to server > untill > > you also specify iax uri and dial to it. > > > > Am I missing something or we should get it to work like the normal SIP > phones > > would work. > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Iaxclient-devel mailing list > > Iax...@li... > > https://lists.sourceforge.net/lists/listinfo/iaxclient-devel > > > |