On 03/26/2013 04:22 AM, Trever L. Adams wrote:
On 03/25/2013 06:20 PM, Michael Collins wrote:
This may be a case of set vs. export. As a personal preference I like to put "export" variables into the dialstring itself so that I don't forget them. Also, it makes it a bit easier to know what is happening on the dialing leg. Try this:

Remove the set apps for call_timeout and ignore_early_media. (IIUC, enterprise originate automatically ignores early media, but feel free to set it anyway.)

Modify your data on the bridge app to be:
data="<call_timeout=10,ignore_early_media=true>FreeTDM/1/1:_:FreeTDM/1/2:_:FreeTDM/1/3:_:FreeTDM/1/4:_:FreeTDM/1/5:_:FreeTDM/1/6"

I'm just pulling this off the top of my head so don't forget about the standard disclaimer... Let us know how it goes.

-MC

Alright, I think I have this figured out.

1) It seems that the documentation saying that channel variables are to be set in {} are wrong and that it must be <> (if I am missing something please let me know, I was basing my not working information on http://wiki.freeswitch.org/wiki/Channel_Variables#Custom_Channel_Variables)

2) It appears that with enterprise originate you must use originate_timeout, not call_timeout. (http://freeswitch-users.2379917.n2.nabble.com/CALL-TIMEOUT-and-interprise-bridge-td7581891.html)

With this, most of my problems are gone. The rest seem to be related to bugs I have already filed and will be updating.

Thank you for your help,
Trever
--
"All rights reserved, all wrongs reversed." -- Unknown

This works, but now the maximum voicemail time seems to be the originate timeout (in <> on the bridge to the phones).

How can I fix this?

Thank you,
Trever