John Joseph
2006-May-01 09:17 UTC
[Asterisk-Users] auto-dail for ZAP channel, the application gets executed before the call attended
Hi All
when I try to use auto-dial to connect to
outside phone , my applications get executed before
the caller attend the calls , this happens only when I
call outside no , ie when I use
Channel: ZAP/1/0507451111 in my sample.call file , if
I use Channel:SIP/326 , it works fine
my ?sample.call? file contains
Channel: ZAP/1/0507451111
Callerid: Asterisk
MaxRetries: 2
RetryTime: 10
WaitTime: 60
Context: outboundmsg1
Extension: s
Priority: 1
and my ?extensions.conf? file contains
[outboundmsg1]
exten => s,1,DigitTimeout,5
exten => s,2,ResponseTimeout,30
exten => s,3,Answer
exten => s,4,Wait(1)
exten => s,5,Cepstral(Hi ,, Hope u are getting this
voices, It is text to Voice conversation , did u hear
it )
exten => 1,1,Goto(s,5) ; replay message
exten => 2,1,Goto(msgack,s,1) ; acknowledge message
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup
Guidance requested , to know the
reason , why the ?Ceptral ? application is executed ,
before the call is attended when I user ZAP channel .
But for SIP channel (only SIP internal call , I made
) it is working fine
Thanks
Joseph John
___________________________________________________________
Win tickets to the 2006 FIFA World Cup Germany with Yahoo! Messenger.
http://advision.webevents.yahoo.com/fifaworldcup_uk/
John Joseph wrote:> Hi All > when I try to use auto-dial to connect to > outside phone , my applications get executed before > the caller attend the calls , this happens only when I > call outside no , ie when I use > Channel: ZAP/1/0507451111 in my sample.call file , if >My fix for this is to loop an audio file, requiring the answering party to press a key before playing a message. If it loops for a number of times, without a response, hangup. Doug
Moises Silva
2006-May-01 10:35 UTC
[Asterisk-Users] auto-dail for ZAP channel, the application gets executed before the call attended
The problem is that "Answer" for Zap channels, means that the FXO card has accepted the call and is in process of making the call, but that does not means that the other end (ie. the phone in the PSTN) has already answered. Personally I have the same problem, but I have not looked further on the code to solve it because I havent had the time. I suggest you 3 options: 1. Wait 2 or 3 weeks, so I have some free time and came up with a fix. 2. Ask in bugs.digium.com for a feature to know this. 3. Keep looking and questioning about it in asterisk-users, may be someone has a workaround. Regards On 5/1/06, John Joseph <jjk_saji@yahoo.com> wrote:> > Hi All > when I try to use auto-dial to connect to > outside phone , my applications get executed before > the caller attend the calls , this happens only when I > call outside no , ie when I use > Channel: ZAP/1/0507451111 in my sample.call file , if > I use Channel:SIP/326 , it works fine > my "sample.call" file contains > Channel: ZAP/1/0507451111 > Callerid: Asterisk > MaxRetries: 2 > RetryTime: 10 > WaitTime: 60 > Context: outboundmsg1 > Extension: s > Priority: 1 > > and my "extensions.conf" file contains > [outboundmsg1] > exten => s,1,DigitTimeout,5 > exten => s,2,ResponseTimeout,30 > exten => s,3,Answer > exten => s,4,Wait(1) > exten => s,5,Cepstral(Hi ,, Hope u are getting this > voices, It is text to Voice conversation , did u hear > it ) > exten => 1,1,Goto(s,5) ; replay message > exten => 2,1,Goto(msgack,s,1) ; acknowledge message > exten => t,1,Playback(vm-goodbye) > exten => t,2,Hangup > > Guidance requested , to know the > reason , why the "Ceptral " application is executed , > before the call is attended when I user ZAP channel . > But for SIP channel (only SIP internal call , I made > ) it is working fine > Thanks > Joseph John > > > > > > > > > > ___________________________________________________________ > Win tickets to the 2006 FIFA World Cup Germany with Yahoo! Messenger. http://advision.webevents.yahoo.com/fifaworldcup_uk/ > _______________________________________________ > --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 >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
Michael Silveus
2006-May-01 10:41 UTC
[Asterisk-Users] auto-dail for ZAP channel, the application gets executed before the call attended
I'm still trying to accomplish the same thing and a solution might come from
Newman Telecom but I'm still waiting to see. Note: I have no affiliation
with Newman Telecom but they're application code appears to be the closest
to what I'm looking for.
The problem is because asterisk needs a way of emulating answer supervision
on the FXO circuit, which it does not currently have. If you tested your
callout on a local extension or VOIP it works because it traps events
internally for all extensions. But once you do a handoff to an outside line
that's the end of asterisk knowledge base until someone out there creates an
addon patch to do answer supervision for those outside lines. The problem is
that world wide there is no standard signaling tones for ringing, busy, fax,
answering machines, etc. The indications file does a great job of defining
the basics but let's say you're in the US so * is defined for US but if
you
are calling internationally the ring back tones you receive will vary
greatly.
Mike
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of John Joseph
Sent: Monday, May 01, 2006 9:18 AM
To: Asterisk Users
Subject: [Asterisk-Users] auto-dail for ZAP channel,the application gets
executed before the call attended
Hi All
when I try to use auto-dial to connect to
outside phone , my applications get executed before
the caller attend the calls , this happens only when I
call outside no , ie when I use
Channel: ZAP/1/0507451111 in my sample.call file , if
I use Channel:SIP/326 , it works fine
my "sample.call" file contains
Channel: ZAP/1/0507451111
Callerid: Asterisk
MaxRetries: 2
RetryTime: 10
WaitTime: 60
Context: outboundmsg1
Extension: s
Priority: 1
and my "extensions.conf" file contains
[outboundmsg1]
exten => s,1,DigitTimeout,5
exten => s,2,ResponseTimeout,30
exten => s,3,Answer
exten => s,4,Wait(1)
exten => s,5,Cepstral(Hi ,, Hope u are getting this
voices, It is text to Voice conversation , did u hear
it )
exten => 1,1,Goto(s,5) ; replay message
exten => 2,1,Goto(msgack,s,1) ; acknowledge message
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup
Guidance requested , to know the
reason , why the "Ceptral " application is executed ,
before the call is attended when I user ZAP channel .
But for SIP channel (only SIP internal call , I made
) it is working fine
Thanks
Joseph John
___________________________________________________________
Win tickets to the 2006 FIFA World Cup Germany with Yahoo! Messenger.
http://advision.webevents.yahoo.com/fifaworldcup_uk/
_______________________________________________
--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