I am using ring_ready to let incoming calls to my IVR app ring couple times before the app engages: session:execute("ring_ready"); session:sleep(8000); ... session:answer(); On one of my servers I am using freeTDM to interface with Sangoma hardware, and another uses OpenZap (this is really the only difference between the two FS instances). Ringing/early media is playing on the openzap server, but not with freeTDM. Any idea why not? Thanks, Neil
On Tue, Dec 14, 2010 at 5:23 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
I am using ring_ready to let incoming calls to my IVR app ring couple times before the app engages:
session:execute("ring_ready"); session:sleep(8000); ... session:answer();
On one of my servers I am using freeTDM to interface with Sangoma hardware, and another uses OpenZap (this is really the only difference between the two FS instances). Ringing/early media is playing on the openzap server, but not with freeTDM. Any idea why not?
Which signaling is this? Can you post the debug output from FreeSWITCH? Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
Hi Moises, Here is console output during the period where openzap rings, but freetdm doesn't: http://pastebin.freeswitch.org/14800 Thanks, Neil On Wed, Dec 15, 2010 at 2:33 AM, Moises Silva <moises.silva@gmail.com>wrote:
On Tue, Dec 14, 2010 at 5:23 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
I am using ring_ready to let incoming calls to my IVR app ring couple times before the app engages:
session:execute("ring_ready"); session:sleep(8000); ... session:answer();
On one of my servers I am using freeTDM to interface with Sangoma hardware, and another uses OpenZap (this is really the only difference between the two FS instances). Ringing/early media is playing on the openzap server, but not with freeTDM. Any idea why not?
Which signaling is this?
Can you post the debug output from FreeSWITCH?
Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
_______________________________________________ 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
On Thu, Dec 16, 2010 at 1:58 AM, Neil Patel <neilp@cs.stanford.edu> wrote:
Hi Moises,
Here is console output during the period where openzap rings, but freetdm doesn't:
http://pastebin.freeswitch.org/14800
Thanks, Neil
Hi Neil, Who is generating the ringing tone? are you doing it? from your post I understand you want early media. The reason OpenZAP works for you is that the ring_ready application was also enabling early media in OpenZAP, which is not 100% correct. In FreeTDM, ring_ready should only send an alerting (no inband indicator). If you want inband, please use the "pre_answer" application. Let me know if that works for you, Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
<snip>
The reason OpenZAP works for you is that the ring_ready application was also enabling early media in OpenZAP, which is not 100% correct. In FreeTDM, ring_ready should only send an alerting (no inband indicator). If you want inband, please use the "pre_answer" application.
<snip>
Moy, So is this a case of relying on incorrect behavior as a "feature"? Just confirming. I'll make sure that the pre_answer app is mentioned in the FreeTDM wiki pages where appropriate. Neil, Hope your project is going well! -MC
On Thu, Dec 16, 2010 at 1:14 PM, Michael Collins <msc@freeswitch.org> wrote:
Moy,
So is this a case of relying on incorrect behavior as a "feature"? Just confirming. I'll make sure that the pre_answer app is mentioned in the FreeTDM wiki pages where appropriate.
Yes, that's what it looks like to me. I just would like confirmation from Neil that "pre_answer" works as expected. Neil: If "pre_answer" does not work for FreeTDM, please open a bug in jira. Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
Hey Moy and Michael, Looks like pre_answer doesn't work either. Bug filed on Jira: http://jira.freeswitch.org/browse/OPENZAP-129 Thanks for your help! Our project <http://hci.stanford.edu/research/otalo>, powered by FS, is going quite well. Appreciate all of your help in making it possible. -Neil On Fri, Dec 17, 2010 at 7:51 PM, Moises Silva <moises.silva@gmail.com>wrote:
On Thu, Dec 16, 2010 at 1:14 PM, Michael Collins <msc@freeswitch.org>wrote:
Moy,
So is this a case of relying on incorrect behavior as a "feature"? Just confirming. I'll make sure that the pre_answer app is mentioned in the FreeTDM wiki pages where appropriate.
Yes, that's what it looks like to me. I just would like confirmation from Neil that "pre_answer" works as expected.
Neil: If "pre_answer" does not work for FreeTDM, please open a bug in jira.
Moises Silva Senior Software Engineer Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R 9R6 Canada t. 1 905 474 1990 x128 | e. moy@sangoma.com
_______________________________________________ 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
participants (3)
-
Michael Collins
-
Moises Silva
-
Neil Patel