Re: [Asterisk-Users] Problem Compiling Zaptel 1.2.1
Hello and thank you for your answer. I'm using a 32bits single CPU with Hyperthreading.On 1/9/06, Mojo with Horan & Company, LLC < [EMAIL PROTECTED]> wrote:Are you running a 64-bit CPU or a 32bit one? I'm asking because I see the line with "__set_64bit_var" in there.In addition, are you using an SMP box, or is it just hyperthreading, oris this an accident and you're really just using single cpu?I don't know aything about asterisk and 64-bit compatibility (or SMP compatibility) but I thought these details might help someone else helpyou :)MojLeandro Rzezak wrote:> Removed /usr/include/asterisk, same thing.. Any clue?>> On 1/9/06, *Mojo with Horan & Company, LLC* < [EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:>> If you've ever compiled and installed an older version of * on this > box,> specifically from the 1.0 era, it's possible you need to try removing> /usr/include/asterisk and see if that helps.>> Moj>> Leandro Rzezak wrote: > > [EMAIL PROTECTED] zaptel-1.2.1]# make> > gcc -I/lib/modules/2.4.21- 4.ELsmp/build/include -O6 -DMODULE> > -D__KERNEL__ -DEXPORT_SYMTAB> > -I/lib/modules/2.4.21- 4.ELsmp/build/drivers/net -Wall -I.> > -Wstrict-prototypes -fomit-frame-pointer> > -I/lib/modules/2.4.21-4.ELsmp /build/drivers/net/wan> > -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS > -include> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h> > -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c> > In file included from> > /lib/modules/2.4.21- 4.ELsmp/build/include/linux/tqueue.h:19,> > from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4,> > from> > /lib/modules/2.4.21- 4.ELsmp/build/include/linux/net.h:88,> > from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15,> > from> > /lib/modules/2.4.21- 4.ELsmp /build/include/linux/capability.h:17,> > from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4,> > from> > /lib/modules/2.4.21- 4.ELsmp/build/include/linux/sched.h:10,> > from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22,> > from> > /lib/modules/2.4.21- 4.ELsmp/build/include/linux/slab.h:14,> > from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5,> > from zaptel.c:45:> > /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function> > `__set_64bit_var':> > /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: > > dereferencing type-punned pointer will break strict-aliasing rules> > /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning:> > dereferencing type-punned pointer will break strict-aliasing rules > > In file included from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24,> > from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, > > from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14,> > from> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, > > from zaptel.c:45:> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level:> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error:> > conflicting types for 'smp_send_reschedule' > > /lib/modules/2.4.21- 4.ELsmp/build/include/asm/smp.h:41: error:> previous> > declaration of 'smp_send_reschedule' was here> > /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: > > conflicting types for 'smp_send_reschedule'> > /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error:> previous> > declaration of 'smp_send_reschedule' was here > > make: *** [zaptel.o] Error 1> >> >> > What could I be missing? :) Thank you> >> > --> > Leandro Rzezak> > [EMAIL PROTECTED] [EMAIL PROTECTED]>> [EMAIL PROTECTED] [EMAIL PROTECTED]>>> >> >> >> >> > > > ___> > --Bandwidth and Col
[Asterisk-Users] Stanaphone Configuration
We are having lots of problems with stanaphone. It used to work ok, but now it's terrible. As of this moment, can't make outbound or inbound calls. Anyone has it working? Please provide sip.conf example commands.. Thank you-- Leandro Rzezak[EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problem Compiling Zaptel 1.2.1
Removed /usr/include/asterisk, same thing.. Any clue?On 1/9/06, Mojo with Horan & Company, LLC <[EMAIL PROTECTED] > wrote:If you've ever compiled and installed an older version of * on this box, specifically from the 1.0 era, it's possible you need to try removing/usr/include/asterisk and see if that helps.MojLeandro Rzezak wrote:> [EMAIL PROTECTED] zaptel-1.2.1]# make> gcc -I/lib/modules/2.4.21- 4.ELsmp/build/include -O6 -DMODULE> -D__KERNEL__ -DEXPORT_SYMTAB> -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I.> -Wstrict-prototypes -fomit-frame-pointer> -I/lib/modules/2.4.21-4.ELsmp /build/drivers/net/wan> -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include> /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h> -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c > In file included from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/tqueue.h:19,> from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4,> from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/net.h:88,> from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15,> from> /lib/modules/2.4.21-4.ELsmp /build/include/linux/capability.h:17,> from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4,> from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:10, > from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22,> from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14,> from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5,> from zaptel.c:45:> /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function> `__set_64bit_var':> /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning:> dereferencing type-punned pointer will break strict-aliasing rules > /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning:> dereferencing type-punned pointer will break strict-aliasing rules> In file included from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24, > from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22,> from> /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14,> from > /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5,> from zaptel.c:45:> /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level:> /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error:> conflicting types for 'smp_send_reschedule'> /lib/modules/2.4.21- 4.ELsmp/build/include/asm/smp.h:41: error: previous> declaration of 'smp_send_reschedule' was here> /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error:> conflicting types for 'smp_send_reschedule' > /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous> declaration of 'smp_send_reschedule' was here> make: *** [zaptel.o] Error 1>>> What could I be missing? :) Thank you >> --> Leandro Rzezak> [EMAIL PROTECTED] [EMAIL PROTECTED]>>>> >> ___> --Bandwidth and Colocation provided by Easynews.com -->> Asterisk-Users mailing list> To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users--Mojo <[EMAIL PROTECTED] >Office Manger, Horan & Company, LLC(907) 747- x112___--Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Leandro Rzezak[EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Problem Compiling Zaptel 1.2.1
[EMAIL PROTECTED] zaptel-1.2.1]# make gcc -I/lib/modules/2.4.21-4.ELsmp/build/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/lib/modules/2.4.21-4.ELsmp/build/drivers/net/wan -I/lib/modules/2.4.21-4.ELsmp/build/include/net -DMODVERSIONS -include /lib/modules/2.4.21-4.ELsmp/build/include/linux/modversions.h -DSTANDALONE_ZAPATA -o zaptel.o -c zaptel.c In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/tqueue.h:19, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/aio.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/net.h:88, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/fs.h:15, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/capability.h:17, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/binfmts.h:4, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:10, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.4.21-4.ELsmp/build/include/asm/system.h:189: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.4.21-4.ELsmp/build/include/linux/sched.h:24, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/mm.h:22, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/slab.h:14, from /lib/modules/2.4.21-4.ELsmp/build/include/linux/proc_fs.h:5, from zaptel.c:45: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h: At top level: /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here /lib/modules/2.4.21-4.ELsmp/build/include/linux/smp.h:31: error: conflicting types for 'smp_send_reschedule' /lib/modules/2.4.21-4.ELsmp/build/include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' was here make: *** [zaptel.o] Error 1 What could I be missing? :) Thank you -- Leandro Rzezak[EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] select codec based on extension
I'm having same problem. Were you able to solve it?On 10/18/05, Simone Cittadini <[EMAIL PROTECTED] > wrote:I've the following installation :|asterisk client| --- > |asterisk server| --- > |other asterisk server| all the connections are made in IAX, the client and first server allows711 and 729the other server only allows 729 since it has low bandwidth at disposalall the numbers but a few are routed to a digium card in the first server, the others are routed to the other server, this way :[default]exten => _123X.,1,Dial(IAX2/otherserver/${EXTEN})exten => _123X.,2,Hangupexten => _X.,1,Dial(Zap/g1/${EXTEN}) exten => _X.,2,Hangupwhen I call 123456 from the client box ...on the client :Call accepted by asterisk server (format alaw)on the server :Call accepted by other asterisk server (format g729) on the other server :Called [EMAIL PROTECTED]and then on the server in the middle :Oct 18 18:00:37 NOTICE[2846]: channel.c:1724 ast_set_write_format:Unable to find a path from alaw to g729Oct 18 18:00:37 NOTICE[2846]: channel.c:1757 ast_set_read_format: Unableto find a path from g729 to alawsince that "something" at the end of the call and the paps which sitsbefore the first asterisk server both have g729, I don't like too much having to pay to translate something which need not translation.Is there a clever combination of sip.conf, iax.conf and extensions.confI'm missing to solve my problem ?___ --Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Leandro Rzezak[EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Conditional CODEC translation
We have a VoIP termination provider that allows g729. We would that internal calls (between our own IP phones) be handled using alaw, and outgoing calls using native forwarded g729 without translation (ie, not using asterisk g729 licenses). We need to avoid translations. WHAT WE HAVE NOW: IP Phone <--alaw--> IP Phone IP Phone <--alaw--> Asterisk <--g729--> VoIP provider (Phones are configured only to allow alaw and g729, provider is configured only to allow g729; however phones are never using g729) WHAT WE NEED: IP Phone <--alaw--> IP Phone IP Phone <--g729--> VoIP provider Please help me accomplish that. Thank you -- Leandro Rzezak[EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Conditional CODEC translation
We have 40 IP phones on a LAN that work with g729 and alaw. We have a VoIP termination provider that allows g729. We would that internal calls (between our own IP phones) be handled using alaw, and outgoing calls using native forwarded g729 without translation (ie, not using asterisk g729 licenses). We need to avoid translations. WHAT WE HAVE NOW: IP Phone <--alaw--> IP Phone IP Phone <--alaw--> Asterisk <--g729--> VoIP provider (Phones are configured only to allow alaw and g729, provider is configured only to allow g729; however phones are never using g729) WHAT WE NEED: IP Phone <--alaw--> IP Phone IP Phone <--g729--> VoIP provider Please help me accomplish that. Thank you -- Leandro Rzezak[EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Argentina - Vontel - Asterisk
Any expert that configured Asterisk with Vontel in Argentina? Please give advice on the sip.conf configuration. Thank you!-- Leandro Rzezak[EMAIL PROTECTED] ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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] Argentina - zapata.conf switchtype for Argentina
Just to receive a recommendation on switchtype for Argentina, Buenos Aires, 114816. Thanks a lot-- Leandro Rzezak[EMAIL PROTECTED] ___ --Bandwidth and Colocation sponsored by Easynews.com -- 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