VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
testeador01 at gmail.com Guest
|
Posted: Wed Jan 07, 2009 6:39 pm Post subject: [Freeswitch-users] fs doesn't realize caller hanged up when |
|
|
Hello everyone,
Thanks in advance if anyone wants to help me in a couple of questions; I set up my fs plant and included a grandstream fxo gateway gxw4104, the gateway redirects all incomming calls from the PSTN to the extension 1005 (with its default sample configuration).
This is what happens:
1. I get a call from the PSTN, pick it up and i decide to put it on hold while i do something else, the caller hears the moh.
2. If the caller gets tired or bored of waiting and hangs up, my FS plant doesnt realize that the caller hung up, so the channel stays busy, so does the gateway line and my phone still acts as if i had a call on hold.
3. When i pick up the phonecall that was on hold all i hear (obviously) is the busy tone from the PSTN.
My questions are:
Is this behavior only from this particular gateway? or does it happen with other FXO devices.
Is there a way to specify that i want the call to hang up itself when the caller hangs up so the channel gets released?
I know that the call actually gets hanged up and realeases the channel if the caller was another SIP extension on my plant, it just doesn't work with calls from the pstn under my configuration.
I highly appreciate any light you can throw to me on this matter. |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Jan 07, 2009 7:00 pm Post subject: [Freeswitch-users] fs doesn't realize caller hanged up when |
|
|
What version of FreeSWITCH are you on? Also, can you get a debug trace from when the far end hangs up? We definitely need to know if the gxw is alerting FS to the fact that the far end actually hung up, which is in doubt right now.
Thanks,
MC
On Wed, Jan 7, 2009 at 12:39 PM, tester tato <testeador01@gmail.com (testeador01@gmail.com)> wrote:
Quote: | Hello everyone,
Thanks in advance if anyone wants to help me in a couple of questions; I set up my fs plant and included a grandstream fxo gateway gxw4104, the gateway redirects all incomming calls from the PSTN to the extension 1005 (with its default sample configuration).
This is what happens:
1. I get a call from the PSTN, pick it up and i decide to put it on hold while i do something else, the caller hears the moh.
2. If the caller gets tired or bored of waiting and hangs up, my FS plant doesnt realize that the caller hung up, so the channel stays busy, so does the gateway line and my phone still acts as if i had a call on hold.
3. When i pick up the phonecall that was on hold all i hear (obviously) is the busy tone from the PSTN.
My questions are:
Is this behavior only from this particular gateway? or does it happen with other FXO devices.
Is there a way to specify that i want the call to hang up itself when the caller hangs up so the channel gets released?
I know that the call actually gets hanged up and realeases the channel if the caller was another SIP extension on my plant, it just doesn't work with calls from the pstn under my configuration.
I highly appreciate any light you can throw to me on this matter.
_______________________________________________
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 |
|
|
gservat at gmail.com Guest
|
Posted: Wed Jan 07, 2009 9:19 pm Post subject: [Freeswitch-users] fs doesn't realize caller hanged up when |
|
|
On Wed, Jan 7, 2009 at 6:39 PM, tester tato <testeador01@gmail.com (testeador01@gmail.com)> wrote:
Quote: | Hello everyone,
Thanks in advance if anyone wants to help me in a couple of questions; I set up my fs plant and included a grandstream fxo gateway gxw4104, the gateway redirects all incomming calls from the PSTN to the extension 1005 (with its default sample configuration).
This is what happens:
1. I get a call from the PSTN, pick it up and i decide to put it on hold while i do something else, the caller hears the moh.
2. If the caller gets tired or bored of waiting and hangs up, my FS plant doesnt realize that the caller hung up, so the channel stays busy, so does the gateway line and my phone still acts as if i had a call on hold.
3. When i pick up the phonecall that was on hold all i hear (obviously) is the busy tone from the PSTN.
My questions are:
Is this behavior only from this particular gateway? or does it happen with other FXO devices.
Is there a way to specify that i want the call to hang up itself when the caller hangs up so the channel gets released?
I know that the call actually gets hanged up and realeases the channel if the caller was another SIP extension on my plant, it just doesn't work with calls from the pstn under my configuration.
I highly appreciate any light you can throw to me on this matter.
|
You might need to use tone_detect. See the example at the bottom (this is how I use it to detect a hang up as my telco doesn't vary the voltage levels on hangup)
- Gonzalo |
|
Back to top |
|
|
testeador01 at gmail.com Guest
|
Posted: Thu Jan 08, 2009 10:44 am Post subject: [Freeswitch-users] fs doesn't realize caller hanged up when |
|
|
I am using fs 1.0.2 running on CentOS 5.2.
You're right, the gxw is not alerting fs at all, i did some testing and there is absolutely nothing on the debug console (after pressing F between the moment i put the user on hold and the moment i pick up the call again.
"You might need to use tone_detect. See the example at the bottom (this is how I use it to detect a hang up as my telco doesn't vary the voltage levels on hangup)":
It recognizes when the hang up is done before picking up, but after picking up it won't recognize the hang up.
I tried configuring this on my dialplan configuration to-pstn then i dialed to an extension that would pick up and then hang up on me, but it didn't do the magic, I also tried adding it to the anti-action options on the default dialplan for the extensions 100X and testing again but it didn't work either,
I tried calling to my telco to get info on what kind of hangup signal did they send but i got stuck into a cycle of a person bouncing me to the "assigned area" over and over again.
Maybe the frequences i tried were not the right ones... maybe the gateway can be configured without having information about my telco... i don't know, i'll try asking for support on the Grandstream site.
Thank you very much anyways.
2009/1/7 Michael Collins <msc@freeswitch.org (msc@freeswitch.org)>
Quote: | What version of FreeSWITCH are you on? Also, can you get a debug trace from when the far end hangs up? We definitely need to know if the gxw is alerting FS to the fact that the far end actually hung up, which is in doubt right now.
|
|
|
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
|