VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
frank at impactfax.com Guest
|
Posted: Tue Dec 09, 2008 8:45 am Post subject: [Freeswitch-users] how to force a MINIMUM call duration |
|
|
How can FS force a Minimum call duration for a FS caller (someone calling out of FS)?
We have a carrier that penalizes us with a surcharge for short duration calls (sound familiar?).
So when a FS caller (not a call center or predictive dialer) calls a cell phone and gets a ring tone or calls an answering machine, the FS caller hangs up because they do not want to leave a message. But they do this in less then a few seconds after the call is answered. This becomes a short duration call and bang the surcharge applies. It is actually cheaper to pay for a longer call time (6 seconds in this case) and avoid the short duration surcharge. But the FS caller does not know this.
So, how can FS hold the connection to the called party open for at least the minimum amount of time I need to avoid the short call charge… even though my FS caller has already hung up the phone on his end? I would like to do this in the xml dialplan if possible.
Thanks
-Frank |
|
Back to top |
|
|
gilbertandrew at me.com Guest
|
Posted: Tue Dec 09, 2008 10:20 am Post subject: [Freeswitch-users] how to force a MINIMUM call duration |
|
|
Don't want the tone to be wrong here, but this makes no sense. Carriers surcharge like this precisely to guard against call center, predictive and other mass outbound calling scenarios.
It just doesn't make since, math wise, that individuals hanging up on voice mail are going to significantly impact overall ACD stats, etc. So unless you have a very strange set of use cases or are pushing another category of traffic (ie call center) that skews you overall relationship with the carrier - I would go back and re-negotiate your arrangement.
Yes, FS is a b2bua and all is possible. But it is probably a better use of time to approach this as a business issue.
My 2 cents.
On Dec 9, 2008, at 8:38 AM, Frank @ Impact wrote:
Quote: | How can FS force a Minimum call duration for a FS caller (someone calling out of FS)?
We have a carrier that penalizes us with a surcharge for short duration calls (sound familiar?).
So when a FS caller (not a call center or predictive dialer) calls a cell phone and gets a ring tone or calls an answering machine, the FS caller hangs up because they do not want to leave a message. But they do this in less then a few seconds after the call is answered. This becomes a short duration call and bang the surcharge applies. It is actually cheaper to pay for a longer call time (6 seconds in this case) and avoid the short duration surcharge. But the FS caller does not know this.
So, how can FS hold the connection to the called party open for at least the minimum amount of time I need to avoid the short call charge… even though my FS caller has already hung up the phone on his end? I would like to do this in the xml dialplanif possible.
Thanks
-Frank
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
frank at impactfax.com Guest
|
Posted: Tue Dec 09, 2008 5:36 pm Post subject: [Freeswitch-users] how to force a MINIMUM call duration |
|
|
On our last bill, the carrier said we had 27% short duration calls (maybe they are wrong but it was on the bill). It is definitely not call center. But these callers hangup as soon as they hear answer machine or most of the time a ring back tone from cell phone. This class of caller will call a cell phone, hear the ring back, hangup right away and then call back another 2 minutes later and repeat the cycle.
So, if I have to make it work the way I suggested (hold the connection open for at least the minimum time, how might you suggest I do it in the dial plan?
-----Original Message-----
Don't want the tone to be wrong here, but this makes no sense. Carriers surcharge like this precisely to guard against call center, predictive and other mass outbound calling scenarios.
It just doesn't make since, math wise, that individuals hanging up on voice mail are going to significantly impact overall ACD stats, etc. So unless you have a very strange set of use cases or are pushing another category of traffic (ie call center) that skews you overall relationship with the carrier - I would go back and re-negotiate your arrangement.
Yes, FS is a b2bua and all is possible. But it is probably a better use of time to approach this as a business issue.
My 2 cents.
On Dec 9, 2008, at 8:38 AM, Frank @ Impact wrote:
<![if !supportLineBreakNewLine]> <![endif]>
How can FS force a Minimum call duration for a FS caller (someone calling out of FS)?
We have a carrier that penalizes us with a surcharge for short duration calls (sound familiar?).
So when a FS caller (not a call center or predictive dialer) calls a cell phone and gets a ring tone or calls an answering machine, the FS caller hangs up because they do not want to leave a message. But they do this in less then a few seconds after the call is answered. This becomes a short duration call and bang the surcharge applies. It is actually cheaper to pay for a longer call time (6 seconds in this case) and avoid the short duration surcharge. But the FS caller does not know this.
So, how can FS hold the connection to the called party open for at least the minimum amount of time I need to avoid the short call charge… even though my FS caller has already hung up the phone on his end? I would like to do this in the xml dialplanif possible.
Thanks
-Frank |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Dec 09, 2008 6:56 pm Post subject: [Freeswitch-users] how to force a MINIMUM call duration |
|
|
Can you paste your dialplan entry here? I have some thoughts but it
would be better if I knew what you were doing before I go any further.
-MC
On Tue, Dec 9, 2008 at 2:35 PM, Frank @ Impact <frank@impactfax.com> wrote:
Quote: | On our last bill, the carrier said we had 27% short duration calls (maybe
they are wrong but it was on the bill). It is definitely not call center.
But these callers hangup as soon as they hear answer machine or most of the
time a ring back tone from cell phone. This class of caller will call a
cell phone, hear the ring back, hangup right away and then call back another
2 minutes later and repeat the cycle.
So, if I have to make it work the way I suggested (hold the connection open
for at least the minimum time, how might you suggest I do it in the dial
plan?
-----Original Message-----
Don't want the tone to be wrong here, but this makes no sense. Carriers
surcharge like this precisely to guard against call center, predictive and
other mass outbound calling scenarios.
It just doesn't make since, math wise, that individuals hanging up on voice
mail are going to significantly impact overall ACD stats, etc. So unless you
have a very strange set of use cases or are pushing another category of
traffic (ie call center) that skews you overall relationship with the
carrier - I would go back and re-negotiate your arrangement.
Yes, FS is a b2bua and all is possible. But it is probably a better use of
time to approach this as a business issue.
My 2 cents.
On Dec 9, 2008, at 8:38 AM, Frank @ Impact wrote:
How can FS force a Minimum call duration for a FS caller (someone calling
out of FS)?
We have a carrier that penalizes us with a surcharge for short duration
calls (sound familiar?).
So when a FS caller (not a call center or predictive dialer) calls a cell
phone and gets a ring tone or calls an answering machine, the FS caller
hangs up because they do not want to leave a message. But they do this in
less then a few seconds after the call is answered. This becomes a short
duration call and bang the surcharge applies. It is actually cheaper to pay
for a longer call time (6 seconds in this case) and avoid the short duration
surcharge. But the FS caller does not know this.
So, how can FS hold the connection to the called party open for at least the
minimum amount of time I need to avoid the short call charge… even though my
FS caller has already hung up the phone on his end? I would like to do this
in the xml dialplanif possible.
Thanks
-Frank
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
gilbertandrew at me.com Guest
|
Posted: Tue Dec 09, 2008 7:30 pm Post subject: [Freeswitch-users] how to force a MINIMUM call duration |
|
|
What do your records say? Ie do they balance to what the carrier claims? You should at a minimum have macro level data to confirm against.
27% seems high, but even at that level if you assume your remaining population is "normal" you are still no where close to call center / predictive traffic in the overall sense. For example, 2 minutes ACD on the normal population is still almost 90 seconds overall. Compare this to outbound call centers that might have an overall ACD in the 10-30 second range and have well over 50%, probably much higher, short duration. I would tell your carrier to stop being silly, or find another one.
I am unsure you can do it just in the dialplan, but it is a somewhat trivial app. The issue is it is difficult to safely avoid scenarios where leg B might actually be a real person, talking to dead air. This is not good citizenship. It breaks implicit assumptions about network behavior and is unfair to end users. It is illegal if applied to a predictive scenario.
On Dec 9, 2008, at 5:35 PM, Frank @ Impact wrote:
Quote: | On our last bill, the carrier said we had 27% short duration calls (maybe they are wrong but it was on the bill). It is definitely not call center. But these callers hangup as soon as they hear answer machine or most of the time a ring back tone from cell phone. This class of caller will call a cell phone, hear the ring back, hangup right away and then call back another 2 minutes later and repeat the cycle.
So, if I have to make it work the way I suggested (hold the connection open for at least the minimum time, how might you suggest I do it in the dial plan?
-----Original Message-----
Don't want the tone to be wrong here, but this makes no sense. Carriers surcharge like this precisely to guard against call center, predictive and other mass outbound calling scenarios.
It just doesn't make since, math wise, that individuals hanging up on voice mail are going to significantly impact overall ACD stats, etc. So unless you have a very strange set of use cases or are pushing another category of traffic (ie call center) that skews you overall relationship with the carrier - I would go back and re-negotiate your arrangement.
Yes, FS is a b2bua and all is possible. But it is probably a better use of time to approach this as a business issue.
My 2 cents.
On Dec 9, 2008, at 8:38 AM, Frank @ Impact wrote:
How can FS force a Minimum call duration for a FS caller (someone calling out of FS)?
We have a carrier that penalizes us with a surcharge for short duration calls (sound familiar?).
So when a FS caller (not a call center or predictive dialer) calls a cell phone and gets a ring tone or calls an answering machine, the FS caller hangs up because they do not want to leave a message. But they do this in less then a few seconds after the call is answered. This becomes a short duration call and bang the surcharge applies. It is actually cheaper to pay for a longer call time (6 seconds in this case) and avoid the short duration surcharge. But the FS caller does not know this.
So, how can FS hold the connection to the called party open for at least the minimum amount of time I need to avoid the short call charge… even though my FS caller has already hung up the phone on his end? I would like to do this in the xml dialplanif possible.
Thanks
-Frank
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
frank at impactfax.com Guest
|
Posted: Tue Dec 09, 2008 8:11 pm Post subject: [Freeswitch-users] how to force a MINIMUM call duration |
|
|
Pretty simple...
<?xml version="1.0"?>
<document type="freeswitch/xml">
<section name="dialplan" description="Regex/XML Dialplan">
<context name="default">
<extension name="myextension">
<condition>
<action application="export"
data="effective_caller_id_name="/>
<action application="export"
data="effective_caller_id_number=5555551212"/>
<action application="enum" data="5555552121"/>
<action application="bridge" data="${enum_auto_route}"/>
<action application="hangup"/>
</condition>
</extension>
</context>
</section>
</document>
-----Original Message-----
Can you paste your dialplan entry here? I have some thoughts but it
would be better if I knew what you were doing before I go any further.
-MC
On Tue, Dec 9, 2008 at 2:35 PM, Frank @ Impact <frank@impactfax.com>
wrote:
Quote: | On our last bill, the carrier said we had 27% short duration calls
| (maybe
Quote: | they are wrong but it was on the bill). It is definitely not call
| center.
Quote: | But these callers hangup as soon as they hear answer machine or most
| of the
Quote: | time a ring back tone from cell phone. This class of caller will call
| a
Quote: | cell phone, hear the ring back, hangup right away and then call back
| another
Quote: | 2 minutes later and repeat the cycle.
So, if I have to make it work the way I suggested (hold the connection
| open
Quote: | for at least the minimum time, how might you suggest I do it in the
| dial
Quote: | plan?
-----Original Message-----
Don't want the tone to be wrong here, but this makes no sense.
| Carriers
Quote: | surcharge like this precisely to guard against call center, predictive
| and
Quote: | other mass outbound calling scenarios.
It just doesn't make since, math wise, that individuals hanging up on
| voice
Quote: | mail are going to significantly impact overall ACD stats, etc. So
| unless you
Quote: | have a very strange set of use cases or are pushing another category
| of
Quote: | traffic (ie call center) that skews you overall relationship with the
carrier - I would go back and re-negotiate your arrangement.
Yes, FS is a b2bua and all is possible. But it is probably a better
| use of
Quote: | time to approach this as a business issue.
My 2 cents.
On Dec 9, 2008, at 8:38 AM, Frank @ Impact wrote:
How can FS force a Minimum call duration for a FS caller (someone
| calling
Quote: | out of FS)?
We have a carrier that penalizes us with a surcharge for short
| duration
Quote: | calls (sound familiar?).
So when a FS caller (not a call center or predictive dialer) calls a
| cell
Quote: | phone and gets a ring tone or calls an answering machine, the FS
| caller
Quote: | hangs up because they do not want to leave a message. But they do
| this in
Quote: | less then a few seconds after the call is answered. This becomes a
| short
Quote: | duration call and bang the surcharge applies. It is actually cheaper
| to pay
Quote: | for a longer call time (6 seconds in this case) and avoid the short
| duration
Quote: | surcharge. But the FS caller does not know this.
So, how can FS hold the connection to the called party open for at
| least the
Quote: | minimum amount of time I need to avoid the short call charge. even
| though my
Quote: | FS caller has already hung up the phone on his end? I would like to
| do this
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
frank at impactfax.com Guest
|
Posted: Wed Dec 10, 2008 9:50 am Post subject: [Freeswitch-users] how to force a MINIMUM call duration |
|
|
This is a bit beyond me, but in the xml dialplan could we use the
execute_on_answer to transfer to an extension that sets up an intercept
of the bleg on hangup_after_bridge? Or use the api_hangup_hook to
transfer the bleg to another extension after the aleg hangs up?
I have been reading all the wiki information I can and these smell like
they might help. But it is not clear to me how they would be pieced
together exactly to achieve this end.
MC, any thoughts?
-----Original Message-----
Can you paste your dialplan entry here? I have some thoughts but it
would be better if I knew what you were doing before I go any further.
-MC
On Tue, Dec 9, 2008 at 2:35 PM, Frank @ Impact <frank@impactfax.com>
wrote:
Quote: | On our last bill, the carrier said we had 27% short duration calls
| (maybe
Quote: | they are wrong but it was on the bill). It is definitely not call
| center.
Quote: | But these callers hangup as soon as they hear answer machine or most
| of the
Quote: | time a ring back tone from cell phone. This class of caller will call
| a
Quote: | cell phone, hear the ring back, hangup right away and then call back
| another
Quote: | 2 minutes later and repeat the cycle.
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Dec 10, 2008 10:45 am Post subject: [Freeswitch-users] how to force a MINIMUM call duration |
|
|
On Wed, Dec 10, 2008 at 6:46 AM, Frank @ Impact <frank@impactfax.com> wrote:
Quote: | This is a bit beyond me, but in the xml dialplan could we use the
execute_on_answer to transfer to an extension that sets up an intercept
of the bleg on hangup_after_bridge? Or use the api_hangup_hook to
transfer the bleg to another extension after the aleg hangs up?
I have been reading all the wiki information I can and these smell like
they might help. But it is not clear to me how they would be pieced
together exactly to achieve this end.
MC, any thoughts?
|
I spent a fair amount of time playing with these last night but I
didn't find a solution. I'm still thinking about it, but I believe
that most likely it will require some scripting in Lua (or another
language) to be able to get this to work. This is the first time I've
ever dealt with keeping the b-leg alive when the a-leg hangs up - it
is usually the other way around.
I recommend you read up on Lua scripting because you're gonna need it
to be able to pull this off. (You could use a different language but
Lua is the scripting language of choice amongst the FS devs so I
highly recommend using it.)
I will tinker with this a bit later today when I have some more time.
In the meantime if you could start experimenting with the ideas you've
presented and brush up on Lua that would be great. BTW, are you on
IRC?
Thanks,
MC
Quote: | -----Original Message-----
Can you paste your dialplan entry here? I have some thoughts but it
would be better if I knew what you were doing before I go any further.
-MC
On Tue, Dec 9, 2008 at 2:35 PM, Frank @ Impact <frank@impactfax.com>
wrote:
Quote: | On our last bill, the carrier said we had 27% short duration calls
| (maybe
Quote: | they are wrong but it was on the bill). It is definitely not call
| center.
Quote: | But these callers hangup as soon as they hear answer machine or most
| of the
Quote: | time a ring back tone from cell phone. This class of caller will call
| a
Quote: | cell phone, hear the ring back, hangup right away and then call back
| another
Quote: | 2 minutes later and repeat the cycle.
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|