[Asterisk-Users] Answering without ringing from PRI

Ugur GUNCER ugur.guncer at telebizz.org.uk
Fri Apr 8 06:14:54 MST 2005


I made patch 
But when i wrote make im taking errors 

.........
./gentone ringtone 440 480
Wavelength 1 (in samples):   18.18182
Minimum samples (1): 200 (11.000000.3 wavelengths)
Wavelength 1 (in samples):   16.66667
Minimum samples (1): 50 (3.000000.3 wavelengths)
Need 200 samples
Wrote ringtone.h
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686   -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-v1-0-03/10/05-14:53:33\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
-Wno-missing-prototypes -Wno-missing-declarations   -DZAPATA_PRI
-DIAX_TRUNKING   -DCRYPTO -fPIC    -c -o chan_oss.o chan_oss.c
gcc -shared -Xlinker -x -o chan_oss.so chan_oss.o
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686   -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-v1-0-03/10/05-14:53:33\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
-Wno-missing-prototypes -Wno-missing-declarations   -DZAPATA_PRI
-DIAX_TRUNKING   -DCRYPTO -fPIC    -c -o chan_phone.o chan_phone.c
gcc -shared -Xlinker -x -o chan_phone.so chan_phone.o
gcc -c -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE
-O6 -march=i686   -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\"CVS-v1-0-03/10/05-14:53:33\" -DINSTALL_PREFIX=\"\"
-DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\"
-DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk/asterisk.conf\"
-DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/lib/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
-Wno-missing-prototypes -Wno-missing-declarations   -DZAPATA_PRI
-DIAX_TRUNKING   -DCRYPTO -fPIC  -o chan_zap.o chan_zap.c
chan_zap.c: In function `pri_dchannel':
chan_zap.c:7733: error: structure has no member named `proceeding'
make[1]: *** [chan_zap.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [subdirs] Error 1
 

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of 
> Steve Hanselman
> Sent: Friday, April 08, 2005 12:05 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] Answering without ringing from PRI
> 
> Have you tried the latest CVS, there was a bug relating to 
> ALERTING which was fixed yesterday...
> 
> -----Original Message-----
> From: Ugur GUNCER [mailto:ugur.guncer at telebizz.org.uk]
> Sent: 08 April 2005 04:54
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: RE: [Asterisk-Users] Answering without ringing from PRI
> 
> I made that but still same no ringing for pri coming calls  
>  
> 
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf 
> Of Mathew 
> > McKernan
> > Sent: Friday, April 08, 2005 5:02 AM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: RE: [Asterisk-Users] Answering without ringing from PRI
> > 
> > Hi,
> > 
> > Where you have your 1st priority, I suspect you have it set to 
> > "Answer".
> > Try changing this to Wait(1). Then on priority 2 put answer. i.e.
> > 
> > Exten => s,1,Wait(1)
> > Exten => s,2,Answer
> > Exten => blah blah
> > 
> > Hope that covers it,
> > 
> > Thanks
> > 
> > Mathew
> > 
> > 
> > -----Original Message-----
> > From: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ugur 
> > GUNCER
> > Sent: Friday, 8 April 2005 11:39 AM
> > To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> > Subject: [Asterisk-Users] Answering without ringing from PRI
> > Importance: High
> > 
> > 
> > 
> > How can i set asterisk for when call came from pri ring once then 
> > answer pri call.
> > 
> > In now call cames from pri then asterisk directly answering 
> pri call 
> > without ringing. Then my carries hangup call because they said your 
> > box is answer without ringing
> > 
> > 
> > Iyi Calismalar
> > Saygilarimla
> > 
> > 
> > 
> > Ugur GUNCER
> > Sistem Yoneticisi
> > Telebizz Tel. ve Int. Hizm. 
> > 
> > Office	= +90 212 347 6959
> > Gsm	= +90 544 535 9737
> > Fax 	= +90 212 347 6949
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at 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
> > 
> 
> The information contained in this email is intended for the 
> personal and confidential use of the addressee only. It may 
> also be privileged information. If you are not the intended 
> recipient then you are hereby notified that you have received 
> this document in error and that any review, distribution or 
> copying of this document is strictly prohibited. If you have 
> received  this communication in error, please notify Brendata 
> immediately on: 
> 
> +44 (0)1268 466100, or email 'technical at brendata.co.uk' 
> 
> Brendata (UK) Ltd
> Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX  UK 
> Registered Office as above. Registered in England No. 2764339
> 
> See our current vacancies at www.brendata.co.uk 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
> 





More information about the asterisk-users mailing list