They are not loaded: "number of Codec = 0" This number shuld be >= 2 (for DTMF codec and some auido codec). Note, that if you're running from VisualStudio IDE, then current directory is the directory where project's .vcproj file is located.
On Wed, Oct 15, 2008 at 3:00 PM, atif ali <[EMAIL PROTECTED]> wrote: > hi, > > After dialtone event, i get disconnected event and the state cause is > SmimeFailure. > > yes, the codec's dll are in the current directory. yeah i think you are > right. have a look at the following log. > > "2008-10-14T16:12:08.821000Z":274:SIPXTAPI:DEBUG:bpo56::00000000:sipXtapi:"ENTER > FUNC (tid=15628) sipxConfigSetAudioCodecPreferences\n" > "2008-10-14T16:12:08.821000Z":275:SIPXTAPI:INFO:bpo56::00000000:sipXtapi:"sipxConfigSetAudioCodecPreferences > hInst=03854108 bandWidth=2" > "2008-10-14T16:12:08.821000Z":276:SIPXTAPI:DEBUG:bpo56::00000000:sipXtapi:"sipxConfigSetAudioCodecPreferences > number of Codec = 0 for hInst=03854108" > "2008-10-14T16:12:08.821000Z":277:SIPXTAPI:DEBUG:bpo56::00000000:sipXtapi:"sipxConfigSetAudioCodecPreferences: > " > "2008-10-14T16:12:08.821000Z":278:SIPXTAPI:ERR:bpo56::00000000:sipXtapi:"sipxConfigSetAudioCodecPreferences: > Setting 2 failed, falling back to preference 0" > "2008-10-14T16:12:08.821000Z":279:SIPXTAPI:DEBUG:bpo56::00000000:sipXtapi:"ENTER > FUNC (tid=15628) sipxConfigSetAudioCodecPreferences\n" > "2008-10-14T16:12:08.821000Z":280:SIPXTAPI:INFO:bpo56::00000000:sipXtapi:"sipxConfigSetAudioCodecPreferences > hInst=03854108 bandWidth=0" > "2008-10-14T16:12:08.821000Z":281:SIPXTAPI:DEBUG:bpo56::00000000:sipXtapi:"EXIT > FUNC (tid=15628) sipxConfigSetAudioCodecPreferences\n" > "2008-10-14T16:12:08.821000Z":282:SIPXTAPI:DEBUG:bpo56::00000000:sipXtapi:"EXIT > FUNC (tid=15628) sipxConfigSetAudioCodecPreferences\n" > "2008-10-14T16:12:08.821000Z":283:SIPXTAPI:INFO:bpo56::00000000:sipXtapi:"__sipxEventListenerAdd > hInst=03854108 pCallbackProc=1014EEC8 pUserData=0384B0D8" > "2008-10-14T16:12:08.823000Z":284:SIPXTAPI:DEBUG:bpo56::00000000:sipXtapi:"EXIT > FUNC (tid=15628) sipxInitialize\n" > > > i think codecs are being loaded successfullly. > > Regards. > Atif Ali Bhatti > > >> Date: Wed, 15 Oct 2008 14:49:07 +0400 >> From: [EMAIL PROTECTED] >> To: [EMAIL PROTECTED] >> Subject: Re: [sipxtapi-dev] can not record remote audio i.e., speaker >> audio >> CC: [email protected] >> >> On Wed, Oct 15, 2008 at 2:32 PM, atif ali <[EMAIL PROTECTED]> >> wrote: >> > Thnx Alexender. My problem has been solved 50%. Now i don't get any >> > exception but no INVITE messages are sent by the sipxtapi. >> >> Check, that you have codecs' DLLs in the current directory. You can look >> into >> sipXtapi.log to see whether codecs were successfully loaded. >> >> >> -- >> Regards, >> Alexander Chemeris. >> >> SIPez LLC. >> SIP VoIP, IM and Presence Consulting >> http://www.SIPez.com >> tel: +1 (617) 273-4000 > > ________________________________ > Get news, entertainment and everything you care about at Live.com. Check it > out! -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
