Hall, Eric M.
2004-Jul-05 19:51 UTC
[Asterisk-Users] Calling an outside phone number as part of a hunt
I'm trying to see if this is even possible. When you dial ext 2000 I want it to ring my sip phone for 20 sec then call my cell and let it ring for 10 sec if I do not pick up the call on my cell I would like it to go back to * and leave a voice message for me. Here is what I have so far in my extensions.conf Everything works except the call will not go back to * after the 10 sec rule has expired. My hardware is 2 X100P card exten => 2000,1,Dial(SIP/2000,20) exten => 2000,2,Dial(Zap/1/5551212,10) exten => 2000,3,Voicemail(u2000) exten => 2000,102,Voicemail(b2000) exten => 2000,103,Hangup Any ideas?
Andrew Yager
2004-Jul-05 20:01 UTC
[Asterisk-Users] Calling an outside phone number as part of a hunt
Hazarding a guess that your dial plan is encountering a busy ( well - I think technically it's an error) message on the Dial(Zap/1) extension, and then moving straight to the hangup (priority+101). To start with, try loosing the priorities 103 and 104 and see if it works then. If that fixes it, then try changing your dialplan to be: exten => 2000,1,Dial(SIP/2000,20) exten => 2000,2,Goto(2000,6) exten => 2000,6,Dial(Zap/1/5551212,10) exten => 2000,7,Voicemail(u2000) exten => 2000,103,Voicemail(b2000) exten => 2000,104,Hangup exten => 2000,107,Voicemail(b2000) exten => 2000,108,Hangup No warranties on this working - wrote it off the top of my head. Andrew _________________________ Andrew Yager Real World Technology Solutions Real People, Real SolUtions (tm) ph: (02) 9945 2567 fax: (02) 9945 2566 mob: 0405 15 2568 http://www.rwts.com.au/ _________________________ On 06/07/2004, at 12:51 PM, Hall, Eric M. wrote:> I'm trying to see if this is even possible. > > When you dial ext 2000 I want it to ring my sip phone for 20 sec then > call my cell and let it ring for 10 sec if I do not pick up the call on > my cell I would like it to go back to * and leave a voice message for > me. Here is what I have so far in my extensions.conf > > Everything works except the call will not go back to * after the 10 sec > rule has expired. > > My hardware is 2 X100P card > > > > exten => 2000,1,Dial(SIP/2000,20) > exten => 2000,2,Dial(Zap/1/5551212,10) > exten => 2000,3,Voicemail(u2000) > exten => 2000,102,Voicemail(b2000) > exten => 2000,103,Hangup > > Any ideas? > > _______________________________________________ > 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-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2365 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040705/f50bd5a9/smime.bin
hank smith
2004-Jul-05 20:19 UTC
[Asterisk-Users] Calling an outside phone number as part of a hunt
how would I do this but do it with broadvoice? I want to give people the oppsion to call my cell phone but I use a voip carier ----- Original Message ----- From: "Hall, Eric M." <ehall@amaxx.com> To: <asterisk-users@lists.digium.com> Sent: Monday, July 05, 2004 7:51 PM Subject: [Asterisk-Users] Calling an outside phone number as part of a hunt> I'm trying to see if this is even possible. > > When you dial ext 2000 I want it to ring my sip phone for 20 sec then > call my cell and let it ring for 10 sec if I do not pick up the call on > my cell I would like it to go back to * and leave a voice message for > me. Here is what I have so far in my extensions.conf > > Everything works except the call will not go back to * after the 10 sec > rule has expired. > > My hardware is 2 X100P card > > > > exten => 2000,1,Dial(SIP/2000,20) > exten => 2000,2,Dial(Zap/1/5551212,10) > exten => 2000,3,Voicemail(u2000) > exten => 2000,102,Voicemail(b2000) > exten => 2000,103,Hangup > > Any ideas? > > _______________________________________________ > 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 >
Daniel Jimenez
2004-Jul-05 20:38 UTC
[Asterisk-Users] Calling an outside phone number as part of a hunt
Hall, Eric M. wrote:> I'm trying to see if this is even possible.AFAIK Asterisk has no way of knowing if you do not answer. To Asterisk, the call is complete and "answered" when it starts ringing. A PSTN/POTS call is always going to be the final destination. -- Daniel Jimenez <djimenez[at]pobox[dot]com>
Greg Hill
2004-Jul-05 21:26 UTC
[Asterisk-Users] Calling an outside phone number as part of a hunt
On Mon, 5 Jul 2004, hank smith wrote:> how would I do this but do it with broadvoice? > I want to give people the oppsion to call my cell phone but I use a voip > carierstay tuned to see how he gets the thing figured out, then change exten => 2000,2,Dial(Zap/1/5551212,10) to exten => 2000,2,Dial(SIP/5551212@yourbroadvoicecontext,10) or similar. Greg
hank smith
2004-Jul-05 21:34 UTC
[Asterisk-Users] Calling an outside phone number as part of a hunt
will do. thanks ----- Original Message ----- From: "Greg Hill" <gregh-asterisk@hillnet.us> To: <asterisk-users@lists.digium.com> Sent: Monday, July 05, 2004 9:26 PM Subject: Re: [Asterisk-Users] Calling an outside phone number as part of a hunt> On Mon, 5 Jul 2004, hank smith wrote: > > > how would I do this but do it with broadvoice? > > I want to give people the oppsion to call my cell phone but I use a voip > > carier > > stay tuned to see how he gets the thing figured out, then change > exten => 2000,2,Dial(Zap/1/5551212,10) > to > exten => 2000,2,Dial(SIP/5551212@yourbroadvoicecontext,10) > > or similar. > > Greg > > _______________________________________________ > 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
Hall, Eric M.
2004-Jul-06 03:55 UTC
[Asterisk-Users] Calling an outside phone number as part of a hunt
Thank you! That's what I was thinking but being new I wanted to ask . Thanks again -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Daniel Jimenez Sent: Monday, July 05, 2004 11:38 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Calling an outside phone number as part of a hunt Hall, Eric M. wrote:> I'm trying to see if this is even possible.AFAIK Asterisk has no way of knowing if you do not answer. To Asterisk, the call is complete and "answered" when it starts ringing. A PSTN/POTS call is always going to be the final destination. -- Daniel Jimenez <djimenez[at]pobox[dot]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
Chris A. Icide
2004-Jul-06 15:18 UTC
[Asterisk-Users] Calling an outside phone number as part of a hunt
On 07:51 PM 7/5/2004, Hall, Eric M. wrote: >I'm trying to see if this is even possible. > >When you dial ext 2000 I want it to ring my sip phone for 20 sec then >call my cell and let it ring for 10 sec if I do not pick up the call on >my cell I would like it to go back to * and leave a voice message for >me. Here is what I have so far in my extensions.conf > >Everything works except the call will not go back to * after the 10 sec >rule has expired. Asterisk assumes an analog interface (x100p, TDM4XXX) to have answered a dial command as soon as the dial command completed successfully. You may have some success with using callprogress=yes, however, this may very well cause other issues as can be seen if you do a google on callprogress. So in other words, your dialplan isn't working as you suspect because as soon as asterisk picks up the line on one of your x100p cards and issues the dtmf to the telco, it assumes the line has been answered (and technically it has, the telephone company's switch has answered your call request, and will now just pass audio back to you, whether it's a ring, busy tone, or someone's voice, and without call progress you won't know the difference (at least asterisk won't). The 10 second timeout never makes it into the decision, the line has been answered before 1 second passes. > >My hardware is 2 X100P card > > > >exten => 2000,1,Dial(SIP/2000,20) >exten => 2000,2,Dial(Zap/1/5551212,10) >exten => 2000,3,Voicemail(u2000) >exten => 2000,102,Voicemail(b2000) >exten => 2000,103,Hangup > >Any ideas? > >_______________________________________________ >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