I think you want the sipxtapi project. There is no email list active, but if you go to http://sipez.com/contact.html maybe you can find an email address to ask your questions.
2011/6/15 Rajan, Nihar <[email protected]>: > < h t m l > < h e a d > < m e t a h t t p - e q u i v = " C o n t e n t - T > y p e " c o n t e n t = " t e x t / h t m l ; c h a r s e t = u t f - 1 6 " >> < / h e a d > < b o d y > > > Hi, > Can anyone please suggest me what is the way to set codec for the line I > added. I tried to set it as follows: > > sipxConfigSetAudioCodecPreferences(m_hInst, AUDIO_CODEC_BW_NORMAL) but found > when I called that line it failed with 488 not acceptable here as my > sipxtapi application is not at all replying with any SDP so codec > negotiation failed. I also tried with in following way: > > mSelectedAudioCodecs = > > "PCMU" ; > > if (sipxConfigSetAudioCodecByName(m_hInst, mSelectedAudioCodecs.data()) != > SIPX_RESULT_SUCCESS) > > { > > printf( > > "\n Cannot set preferred audio codecs"); > > return false; > > } > > It failed with following exception: > > Assertion failed: !"Could not find codec of given type!", file c:\documents > and settings\administrator\desktop\resiprocate\resiprocate-1.6\ > y.cpp, line 315 > > This application has requested the Runtime to terminate it in an unusual > way. > > Can anyone please suggest me what is the way to do this. > > > > Regards, > > ND > > < h r > < f o n t f a c e = " A r i a l " c o l o r = " G r a y " s i z e = > " 1 " > T h i s c o m m u n i c a t i o n m a y c o n t a i n p r i v i l e > g e d o r o t h e r c o n f i d e n t i a l i n f o r m a t i o n . I f y o > u h a v e r e c e i v e d i t i n e r r o r , p l e a s e a d v i s e t h e > s e n d e r b y r e p l y i n g t h i s e - m a i l a n d i m m e d i a t e > l y d e l e t i n g t h i s m e s s a g e a n d a n y a t t a c h m e n t w > i t h o u t c o p y i n g o r d i s c l o s i n g t h e c o n t e n t s . A > l t h o u g h t h i s e m a i l a n d a n y a t t a c h m e n t a r e b e l > i e v e d t o b e f r e e o f a n y v i r u s , T r o j a n h o r s e p r o > g r a m s , w o r m s , f a u l t o r o t h e r d e f e c t s w h i c h m i > g h t a f f e c t a n y c o m p u t e r o r s y s t e m i n t o w h i c h i > t i s r e c e i v e d a n d o p e n e d , i t i s t h e r e s p o n s i b i > l i t y o f t h e r e c i p i e n t t o e n s u r e t h a t t h i s e m a i > l a n d i t s a t t a c h m e n t s a r e f r e e f r o m s u c h v i r u s > e s , f a u l t o r d e f e c t s a n d n o r e s p o n s i b i l i t y i s > a c c e p t e d b y P l a n e t O n e a n d i t s g r o u p s o f c o m p a > n i e s . < b r > < / f o n t > < / b o d y > < / h t m l > > _______________________________________________ > sipx-users mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-users/ > _______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users/
