Colin Anderson
2005-Dec-05 10:09 UTC
[Asterisk-Users] Looking for advice on cell carrier's default "Un avaliable" message
In our dialplan, we use centralized voicemail for SIP, IAX and cell phones. This means, if a caller calls a user's DID, it tries his SIP/IAX extension, then if he doesn't answer there, it tries his cell, then it goes to Comedian Mail. Everything works 100%, except when the user shuts his cell phone off. When that happens, and he doesn't pick up his SIP/IAX extension, it hits his cell phone, and the cell carrier's default Unavailable message is played. Asterisk detects this as the call being "answered" and completes the call. However, this is undesirable behavior. We want it to go to Comedian mail instead. Note that this is contrary to what the carrier said would happen. The carrier indicated to us that it would just ring and ring and ring forever, which is what we want. Now they are saying: "too bad, this is the way it works, deal with it" In order to have the desired behavior, there are three options: 1. Carrier makes it ring forever (not gonna happen) 2. I set the call forward/Unavailable on the cell to a DID that points to Comedian Mail and do some Caller ID stuff to make it go to the right mailbox. This isn't practical from a management standpoint, it would be troublesome and error prone to maintain 3. When the cell is off, the carrier's Unavailable message plays right away, within 2 seconds of the call being dialed. So, somehow magically modify the dialplan so that if a cell is answered within 2 seconds, go to Comedian Mail. Of these options, 3) would provide the optimum workaround, but I don't think it's possible to express this in an Asterisk dialplan. Anyone have any advice or dialplan magic on how to do 3) ? ?
Joe Pukepail
2005-Dec-05 10:19 UTC
[Asterisk-Users] Looking for advice on cell carrier's default "Un avaliable" message
Look into the findme feature, this will require the person receiving the call to push a button "hit 1 to accept this call" before a call gets transfered to a cell phone (or home phone for that matter), if nobody hits "1" it continues in the dialplan, this will prevent calls from being transfered to cell phone voicemail or the caller getting the unavailable message from the cell phone carrier. On 12/5/05, Colin Anderson <ColinA@landmarkmasterbuilder.com> wrote:> > In our dialplan, we use centralized voicemail for SIP, IAX and cell > phones. > This means, if a caller calls a user's DID, it tries his SIP/IAX > extension, > then if he doesn't answer there, it tries his cell, then it goes to > Comedian > Mail. > > Everything works 100%, except when the user shuts his cell phone off. When > that happens, and he doesn't pick up his SIP/IAX extension, it hits his > cell > phone, and the cell carrier's default Unavailable message is played. > Asterisk detects this as the call being "answered" and completes the call. > However, this is undesirable behavior. We want it to go to Comedian mail > instead. Note that this is contrary to what the carrier said would happen. > The carrier indicated to us that it would just ring and ring and ring > forever, which is what we want. Now they are saying: "too bad, this is the > way it works, deal with it" > > In order to have the desired behavior, there are three options: > > 1. Carrier makes it ring forever (not gonna happen) > 2. I set the call forward/Unavailable on the cell to a DID that points to > Comedian Mail and do some Caller ID stuff to make it go to the right > mailbox. This isn't practical from a management standpoint, it would be > troublesome and error prone to maintain > 3. When the cell is off, the carrier's Unavailable message plays right > away, > within 2 seconds of the call being dialed. So, somehow magically modify > the > dialplan so that if a cell is answered within 2 seconds, go to Comedian > Mail. > > Of these options, 3) would provide the optimum workaround, but I don't > think > it's possible to express this in an Asterisk dialplan. > > Anyone have any advice or dialplan magic on how to do 3) ? ? > _______________________________________________ > --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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051205/8303ca6f/attachment.htm
Colin Anderson
2005-Dec-05 10:30 UTC
[Asterisk-Users] Looking for advice on cell carrier's default "Un avaliable" message
Neat macro but not quite what I'm looking for if I force call recipients to press 1 to accept a call they will scream bloody murder. Good idea though. -----Original Message----- From: Joe Pukepail [mailto:pukepail@gmail.com] Sent: Monday, December 05, 2005 10:20 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Looking for advice on cell carrier's default "Un avaliable" message Look into the findme feature, this will require the person receiving the call to push a button "hit 1 to accept this call" before a call gets transfered to a cell phone (or home phone for that matter), if nobody hits "1" it continues in the dialplan, this will prevent calls from being transfered to cell phone voicemail or the caller getting the unavailable message from the cell phone carrier. On 12/5/05, Colin Anderson < ColinA@landmarkmasterbuilder.com <mailto:ColinA@landmarkmasterbuilder.com> > wrote: In our dialplan, we use centralized voicemail for SIP, IAX and cell phones. This means, if a caller calls a user's DID, it tries his SIP/IAX extension, then if he doesn't answer there, it tries his cell, then it goes to Comedian Mail. Everything works 100%, except when the user shuts his cell phone off. When that happens, and he doesn't pick up his SIP/IAX extension, it hits his cell phone, and the cell carrier's default Unavailable message is played. Asterisk detects this as the call being "answered" and completes the call. However, this is undesirable behavior. We want it to go to Comedian mail instead. Note that this is contrary to what the carrier said would happen. The carrier indicated to us that it would just ring and ring and ring forever, which is what we want. Now they are saying: "too bad, this is the way it works, deal with it" In order to have the desired behavior, there are three options: 1. Carrier makes it ring forever (not gonna happen) 2. I set the call forward/Unavailable on the cell to a DID that points to Comedian Mail and do some Caller ID stuff to make it go to the right mailbox. This isn't practical from a management standpoint, it would be troublesome and error prone to maintain 3. When the cell is off, the carrier's Unavailable message plays right away, within 2 seconds of the call being dialed. So, somehow magically modify the dialplan so that if a cell is answered within 2 seconds, go to Comedian Mail. Of these options, 3) would provide the optimum workaround, but I don't think it's possible to express this in an Asterisk dialplan. Anyone have any advice or dialplan magic on how to do 3) ? ? _______________________________________________ --Bandwidth and Colocation provided by Easynews.com <http://Easynews.com> -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051205/2fa81cee/attachment.htm
Andrew Kohlsmith
2005-Dec-05 11:10 UTC
[Asterisk-Users] Looking for advice on cell carrier's default "Un avaliable" message
On Monday 05 December 2005 12:09, Colin Anderson wrote:> Everything works 100%, except when the user shuts his cell phone off. When > that happens, and he doesn't pick up his SIP/IAX extension, it hits his > cell phone, and the cell carrier's default Unavailable message is played. > Asterisk detects this as the call being "answered" and completes the call.Turn off voicemail on his cell phone, give out his DID instead of his cell #. Send an SMS to his cellphone when new voicemail is left. As far as Dial()ing his cell goes, use 'r' (this is exactly what it's designed for) so that when the carrier is saying "The person you're calling is out of the calling area or has his phone off" all the caller hears is ringing. I just described how I have my own system working and it seems to work just fine. :-) -A.
Colin Anderson
2005-Dec-05 11:39 UTC
[Asterisk-Users] Looking for advice on cell carrier's default "Un avaliable" message
>Turn off voicemail on his cell phone, give out his DID instead of his cell#.>Send an SMS to his cellphone when new voicemail is left.That's what we do now. Works fine.>As far as Dial()ing his cell goes, use 'r' (this is exactly what it'sdesigned>for) so that when the carrier is saying "The person you're calling is outof>the calling area or has his phone off" all the caller hears is ringing.That appears to work *perfectly* but I don't get it. With the 'r' option on, how can Asterisk determine that the user has answered the phone as opposed to the carrier? Is it a signal that the carrier is sending? Anyway, thanks. Works like a hot damn.
Chris Bagnall
2005-Dec-06 10:39 UTC
[Asterisk-Users] Looking for advice on cell carrier's default "Unavaliable" message
I don't know where you're based, so I've no idea if this'll work for your users. If you're using GSM mobiles there are a load of (reasonably) standard vertical service codes to enable/disable call forwarding etc. depending on conditions. How about this: 1) set up a DID that's never answered in Asterisk (or any other number you know will ring forerver) 2) get your users to divert to that DID on unavailable (rather than diverting nowhere, or as is default here in the UK, to the mobile provider's voicemail service) 3) Asterisk will not now see the call as answered. Problem solved (hopefully). Regards, Chris -- C.M. Bagnall, Director, Minotaur I.T. Limited This email is made from 100% recycled electrons