If I make a call to asterisk's r2 E1 I get these errors *CLI> Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Rx bits 0x1 [1/ 1/ 0/ 0] Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Detected Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Making a new call with CRN 32791 Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Tx bits 0xD [2/ 2/101/ 0] Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:2548 handle_uc_event: UC event Detected Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Rx bits 0x9 [2/ 2/101/ 0] Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Far end disconnected - state 0x2 Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548 handle_uc_event: UC event Far end disconnected Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2854 handle_uc_event: Far disconnect cause 31 Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 mfcr2_DropCall() Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Call disconnected - state 0x800 Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548 handle_uc_event: UC event Drop call Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2892 handle_uc_event: Doing a uc_ReleaseCall Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 mfcr2_ReleaseCall() Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Tx bits 0x9 [1/ 1000/106/ 0] Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 Destroying call with CRN 32791 Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: UniCall: mfcr2 release_guard_expired Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548 handle_uc_event: UC event Release call -- UC channel 4 released I am using channel Unicall compiled without errors on Redhat 9 /Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050110/dfb8fbdf/attachment.htm
Hi Sam, It looks like you have not set the default signalling bit pattern properly in your /etc/zaptel.conf file. If you are not using unicall-0.0.2pre2, update. This version contains a number of important bug fixes. Regards, Steve Sam Njenga wrote:> If I make a call to asterisk's r2 E1 I get these errors > > *CLI> Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 > unicall_error: UniCall: mfcr2 Rx bits 0x1 [1/ 1/ 0/ 0] > Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 Detected > Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 Making a new call with CRN 32791 > Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 Tx bits 0xD [2/ 2/101/ 0] > Jan 10 16:16:38 WARNING[1089170112]: chan_unicall.c:2548 > handle_uc_event: UC event Detected > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 Rx bits 0x9 [2/ 2/101/ 0] > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 Far end disconnected - state 0x2 > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548 > handle_uc_event: UC event Far end disconnected > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2854 > handle_uc_event: Far disconnect cause 31 > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 mfcr2_DropCall() > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 Call disconnected - state 0x800 > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548 > handle_uc_event: UC event Drop call > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2892 > handle_uc_event: Doing a uc_ReleaseCall > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 mfcr2_ReleaseCall() > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 Tx bits 0x9 [1/ 1000/106/ 0] > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 Destroying call with CRN 32791 > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:634 unicall_error: > UniCall: mfcr2 release_guard_expired > Jan 10 16:16:39 WARNING[1089170112]: chan_unicall.c:2548 > handle_uc_event: UC event Release call > -- UC channel 4 released > > I am using channel Unicall compiled without errors on Redhat 9 > > /Sam
Hi Steve I have compiled everything now without errors. Problem is loading the unicall module when starting asterisk. This is the error ...... [chan_unicall.so]Jan 10 18:37:16 WARNING[1076216448]: loader.c:248 ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so: undefined symbol: uc_channel_write Jan 10 18:37:16 WARNING[1076216448]: loader.c:380 load_modules: Loading module chan_unicall.so failed! [root@localhost asterisk]# Sam Njenga ----- Original Message ----- From: "Steve Underwood" <steveu@coppice.org> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Monday, January 10, 2005 6:05 PM Subject: Re: [Asterisk-Users] Unicall errors> Hi Sam, > > Sorry about that. The copy of libsupertone on the FTP site appeared to > be faulty. I have just replaced it. Please try again. > > Strange. You should have had this same problem when testing 0.0.2pre1. > > Regards, > Steve > > Sam Njenga wrote: > > >Steve > > > >I have stated below that I tried to install Libsupertone and gote errors. > > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Hi Sam, Did you build libunicall with ./configure make make install If so, the library will be in /ustr/local/lib. Is this in your search path? Wither add this directory to /etc/ld.so.conf, or build with: ./configure --prefix=/usr make make install This is an issue common to most packages which use ./configure to set them up. Regards, Steve Sam Njenga wrote:>Hi Steve > >I have compiled everything now without errors. Problem is loading the >unicall module when starting asterisk. This is the error ...... > >[chan_unicall.so]Jan 10 18:37:16 WARNING[1076216448]: loader.c:248 >ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so: undefined >symbol: uc_channel_write >Jan 10 18:37:16 WARNING[1076216448]: loader.c:380 load_modules: Loading >module chan_unicall.so failed! >[root@localhost asterisk]# > >Sam Njenga > > > > >----- Original Message ----- >From: "Steve Underwood" <steveu@coppice.org> >To: "Asterisk Users Mailing List - Non-Commercial Discussion" ><asterisk-users@lists.digium.com> >Sent: Monday, January 10, 2005 6:05 PM >Subject: Re: [Asterisk-Users] Unicall errors > > > > >>Hi Sam, >> >>Sorry about that. The copy of libsupertone on the FTP site appeared to >>be faulty. I have just replaced it. Please try again. >> >>Strange. You should have had this same problem when testing 0.0.2pre1. >> >>Regards, >>Steve >> >>Sam Njenga wrote: >> >> >> >>>Steve >>> >>>I have stated below that I tried to install Libsupertone and gote errors. >>> >>> >>> >>> >>> >>_______________________________________________ >>Asterisk-Users mailing list >>Asterisk-Users@lists.digium.com >>http://lists.digium.com/mailman/listinfo/asterisk-users >>To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users >> >> >> > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Hi Steve Thanks. I got past the errors by specifying the prefix. I have now a new error loader.c:248 ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so: undefined symbol: get_supervisory_tone_set Jan 11 18:52:46 WARNING[1076216448]: loader.c:380 load_modules: Loading module chan_unicall.so failed! Sam Njenga ----- Original Message ----- From: "Steve Underwood" <steveu@coppice.org> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Tuesday, January 11, 2005 3:17 AM Subject: Re: [Asterisk-Users] Unicall errors> Hi Sam, > > Did you build libunicall with > > ./configure > make > make install > > If so, the library will be in /ustr/local/lib. Is this in your search > path? Wither add this directory to /etc/ld.so.conf, or build with: > > ./configure --prefix=/usr > make > make install > > This is an issue common to most packages which use ./configure to set > them up. > > Regards, > Steve > > > Sam Njenga wrote: > > >Hi Steve > > > >I have compiled everything now without errors. Problem is loading the > >unicall module when starting asterisk. This is the error ...... > > > >[chan_unicall.so]Jan 10 18:37:16 WARNING[1076216448]: loader.c:248 > >ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so: undefined > >symbol: uc_channel_write > >Jan 10 18:37:16 WARNING[1076216448]: loader.c:380 load_modules: Loading > >module chan_unicall.so failed! > >[root@localhost asterisk]# > > > >Sam Njenga > > > > > > > > > >----- Original Message ----- > >From: "Steve Underwood" <steveu@coppice.org> > >To: "Asterisk Users Mailing List - Non-Commercial Discussion" > ><asterisk-users@lists.digium.com> > >Sent: Monday, January 10, 2005 6:05 PM > >Subject: Re: [Asterisk-Users] Unicall errors > > > > > > > > > >>Hi Sam, > >> > >>Sorry about that. The copy of libsupertone on the FTP site appeared to > >>be faulty. I have just replaced it. Please try again. > >> > >>Strange. You should have had this same problem when testing 0.0.2pre1. > >> > >>Regards, > >>Steve > >> > >>Sam Njenga wrote: > >> > >> > >> > >>>Steve > >>> > >>>I have stated below that I tried to install Libsupertone and goteerrors.> >>> > >>> > >>> > >>> > >>> > >>_______________________________________________ > >>Asterisk-Users mailing list > >>Asterisk-Users@lists.digium.com > >>http://lists.digium.com/mailman/listinfo/asterisk-users > >>To UNSUBSCRIBE or update options visit: > >> http://lists.digium.com/mailman/listinfo/asterisk-users > >> > >> > >> > > > >_______________________________________________ > >Asterisk-Users mailing list > >Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users > >To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Hi Steve Thanks. I got past the errors by specifying the prefix. I have now a new error loader.c:248 ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so: undefined symbol: get_supervisory_tone_set Jan 11 18:52:46 WARNING[1076216448]: loader.c:380 load_modules: Loading module chan_unicall.so failed! Sam Njenga> > > > ----- Original Message ----- > From: "Steve Underwood" <steveu@coppice.org> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <asterisk-users@lists.digium.com> > Sent: Tuesday, January 11, 2005 3:17 AM > Subject: Re: [Asterisk-Users] Unicall errors > > > > Hi Sam, > > > > Did you build libunicall with > > > > ./configure > > make > > make install > > > > If so, the library will be in /ustr/local/lib. Is this in your search > > path? Wither add this directory to /etc/ld.so.conf, or build with: > > > > ./configure --prefix=/usr > > make > > make install > > > > This is an issue common to most packages which use ./configure to set > > them up. > > > > Regards, > > Steve > > > > > > Sam Njenga wrote: > > > > >Hi Steve > > > > > >I have compiled everything now without errors. Problem is loading the > > >unicall module when starting asterisk. This is the error ...... > > > > > >[chan_unicall.so]Jan 10 18:37:16 WARNING[1076216448]: loader.c:248 > > >ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so: undefined > > >symbol: uc_channel_write > > >Jan 10 18:37:16 WARNING[1076216448]: loader.c:380 load_modules: Loading > > >module chan_unicall.so failed! > > >[root@localhost asterisk]# > > > > > >Sam Njenga > > > > > > > > > > > > > > >----- Original Message ----- > > >From: "Steve Underwood" <steveu@coppice.org> > > >To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > ><asterisk-users@lists.digium.com> > > >Sent: Monday, January 10, 2005 6:05 PM > > >Subject: Re: [Asterisk-Users] Unicall errors > > > > > > > > > > > > > > >>Hi Sam, > > >> > > >>Sorry about that. The copy of libsupertone on the FTP site appeared to > > >>be faulty. I have just replaced it. Please try again. > > >> > > >>Strange. You should have had this same problem when testing 0.0.2pre1. > > >> > > >>Regards, > > >>Steve > > >> > > >>Sam Njenga wrote: > > >> > > >> > > >> > > >>>Steve > > >>> > > >>>I have stated below that I tried to install Libsupertone and gote > errors. > > >>> > > >>> > > >>> > > >>> > > >>> > > >>_______________________________________________ > > >>Asterisk-Users mailing list > > >>Asterisk-Users@lists.digium.com > > >>http://lists.digium.com/mailman/listinfo/asterisk-users > > >>To UNSUBSCRIBE or update options visit: > > >> http://lists.digium.com/mailman/listinfo/asterisk-users > > >> > > >> > > >> > > > > > >_______________________________________________ > > >Asterisk-Users mailing list > > >Asterisk-Users@lists.digium.com > > >http://lists.digium.com/mailman/listinfo/asterisk-users > > >To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Hi Steve Thanks. I got past the errors by specifying the prefix. I have now a new error loader.c:248 ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so: undefined symbol: get_supervisory_tone_set Jan 11 18:52:46 WARNING[1076216448]: loader.c:380 load_modules: Loading module chan_unicall.so failed! Sam Njenga> > > > > > > > ----- Original Message ----- > > From: "Steve Underwood" <steveu@coppice.org> > > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > <asterisk-users@lists.digium.com> > > Sent: Tuesday, January 11, 2005 3:17 AM > > Subject: Re: [Asterisk-Users] Unicall errors > > > > > > > Hi Sam, > > > > > > Did you build libunicall with > > > > > > ./configure > > > make > > > make install > > > > > > If so, the library will be in /ustr/local/lib. Is this in your search > > > path? Wither add this directory to /etc/ld.so.conf, or build with: > > > > > > ./configure --prefix=/usr > > > make > > > make install > > > > > > This is an issue common to most packages which use ./configure to set > > > them up. > > > > > > Regards, > > > Steve > > > > > > > > > Sam Njenga wrote: > > > > > > >Hi Steve > > > > > > > >I have compiled everything now without errors. Problem is loading the > > > >unicall module when starting asterisk. This is the error ...... > > > > > > > >[chan_unicall.so]Jan 10 18:37:16 WARNING[1076216448]: loader.c:248 > > > >ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so:undefined> > > >symbol: uc_channel_write > > > >Jan 10 18:37:16 WARNING[1076216448]: loader.c:380 load_modules:Loading> > > >module chan_unicall.so failed! > > > >[root@localhost asterisk]# > > > > > > > >Sam Njenga > > > > > > > > > > > > > > > > > > > >----- Original Message ----- > > > >From: "Steve Underwood" <steveu@coppice.org> > > > >To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > > ><asterisk-users@lists.digium.com> > > > >Sent: Monday, January 10, 2005 6:05 PM > > > >Subject: Re: [Asterisk-Users] Unicall errors > > > > > > > > > > > > > > > > > > > >>Hi Sam, > > > >> > > > >>Sorry about that. The copy of libsupertone on the FTP site appearedto> > > >>be faulty. I have just replaced it. Please try again. > > > >> > > > >>Strange. You should have had this same problem when testing0.0.2pre1.> > > >> > > > >>Regards, > > > >>Steve > > > >> > > > >>Sam Njenga wrote: > > > >> > > > >> > > > >> > > > >>>Steve > > > >>> > > > >>>I have stated below that I tried to install Libsupertone and gote > > errors. > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>_______________________________________________ > > > >>Asterisk-Users mailing list > > > >>Asterisk-Users@lists.digium.com > > > >>http://lists.digium.com/mailman/listinfo/asterisk-users > > > >>To UNSUBSCRIBE or update options visit: > > > >> http://lists.digium.com/mailman/listinfo/asterisk-users > > > >> > > > >> > > > >> > > > > > > > >_______________________________________________ > > > >Asterisk-Users mailing list > > > >Asterisk-Users@lists.digium.com > > > >http://lists.digium.com/mailman/listinfo/asterisk-users > > > >To UNSUBSCRIBE or update options visit: > > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users@lists.digium.com > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Hi Sam, It looks like you need to set the prefix for libsupertone too. Steve Sam Njenga wrote:>Hi Steve > > Thanks. I got past the errors by specifying the prefix. I have now a new > error > > loader.c:248 ast_load_resource: /usr/lib/asterisk/modules/chan_unicall.so: > undefined symbol: get_supervisory_tone_set > > Jan 11 18:52:46 WARNING[1076216448]: loader.c:380 load_modules: Loading > module chan_unicall.so failed! > > Sam Njenga > >
Hi Steve Did that but still the same error :-( PS. There is now unicall-0.0.2pre3. What are the changes in it ? /Sam ----- Original Message ----- From: "Steve Underwood" <steveu@coppice.org> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Wednesday, January 12, 2005 6:09 PM Subject: Re: [Asterisk-Users] Unicall errors> Hi Sam, > > It looks like you need to set the prefix for libsupertone too. > > Steve > > > Sam Njenga wrote: > > >Hi Steve > > > > Thanks. I got past the errors by specifying the prefix. I have now anew> > error > > > > loader.c:248 ast_load_resource:/usr/lib/asterisk/modules/chan_unicall.so:> > undefined symbol: get_supervisory_tone_set > > > > Jan 11 18:52:46 WARNING[1076216448]: loader.c:380 load_modules: Loading > > module chan_unicall.so failed! > > > > Sam Njenga > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Sam Njenga wrote:>Hi Steve > >Did that but still the same error :-( > >PS. There is now unicall-0.0.2pre3. What are the changes in it ? > >/Sam > >pre3 has some bug fixes in the heart if the R2 protocol. The only file different between pre2 and pre3 is the libmfcr2 tar file. There were a couple of things where abandoned calls which could cause a crash. Regards, Steve
Sam, I suggest patch the makefile in your asterisk channels directory using channel_makefile.patch and replace chan_unicall.c. Kibe -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Sam Njenga Sent: Wednesday, January 12, 2005 1:54 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Unicall errors Hi Steve Did that but still the same error :-( PS. There is now unicall-0.0.2pre3. What are the changes in it ? /Sam ----- Original Message ----- From: "Steve Underwood" <steveu@coppice.org> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Wednesday, January 12, 2005 6:09 PM Subject: Re: [Asterisk-Users] Unicall errors> Hi Sam, > > It looks like you need to set the prefix for libsupertone too. > > Steve > > > Sam Njenga wrote: > > >Hi Steve > > > > Thanks. I got past the errors by specifying the prefix. I have now anew> > error > > > > loader.c:248 ast_load_resource:/usr/lib/asterisk/modules/chan_unicall.so:> > undefined symbol: get_supervisory_tone_set > > > > Jan 11 18:52:46 WARNING[1076216448]: loader.c:380 load_modules: Loading > > module chan_unicall.so failed! > > > > Sam Njenga > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users