bypass_media->true state causes sofia bridge under loopback to fail
I'm thinking this is a bug: A local extension calls internal dialplan ring group. If the local extension calls the internal dialplan at 1234 directly, whether bypass_media=true or bypass_media=false it works. However when that same extension is called via bridge loopback/1234 in a ring group it fails with 'normal temporary failure' only when bypass_media=true; it works when bypass_media is false. What am I missing? I'm going to explore the 'bow out' notion next but I don't see that it applies. detail: The ring group lua eventually calls continue_on_fail=true hangup_after_bridge=true bridge loopback/1234 then, internal dialplan at 1234 does bypass_media=true originate_continue_on_timeout=true hangup_after_bridge=false continue_on_fail=true bridge sofia/internal/5551212@voip2pstn.com will always fails with 'Normal temporary failure' and then fall through to voicemail. If bypass_media=true -> bypass_media=false both cases work normally. Using FreeSWITCH version: 1.0.head (git-7f17ad7 2011-10-01 14-05-14 +0200) P.S. Thanks for the pointer to 'jira', I filed the previous issue there. I'm new enough I'll wait to file this until I get some sense of whether it's my mistake somehow before filing one about this. -- Harry Coin Quiet Fountain LLC 2118 Lundy Ln Bettendorf, Iowa 52722 USA Office: 563 332 4970x101 Fax: 563 332 9633 Mobile: 563 650 7800
bypass_media=true only works on sofia endpoints loopback is another endpoint module... On Sat, Feb 25, 2012 at 6:23 PM, Harry Coin <hcoin@quietfountain.com> wrote:
I'm thinking this is a bug: A local extension calls internal dialplan ring group.
If the local extension calls the internal dialplan at 1234 directly, whether bypass_media=true or bypass_media=false it works. However when that same extension is called via bridge loopback/1234 in a ring group it fails with 'normal temporary failure' only when bypass_media=true; it works when bypass_media is false.
What am I missing? I'm going to explore the 'bow out' notion next but I don't see that it applies. detail:
The ring group lua eventually calls continue_on_fail=true hangup_after_bridge=true bridge loopback/1234
then, internal dialplan at 1234 does
bypass_media=true originate_continue_on_timeout=**true hangup_after_bridge=false continue_on_fail=true bridge sofia/internal/5551212@**voip2pstn.com <5551212@voip2pstn.com>
will always fails with 'Normal temporary failure' and then fall through to voicemail.
If bypass_media=true -> bypass_media=false both cases work normally.
Using FreeSWITCH version: 1.0.head (git-7f17ad7 2011-10-01 14-05-14 +0200)
P.S. Thanks for the pointer to 'jira', I filed the previous issue there. I'm new enough I'll wait to file this until I get some sense of whether it's my mistake somehow before filing one about this.
--
Harry Coin Quiet Fountain LLC 2118 Lundy Ln Bettendorf, Iowa 52722 USA Office: 563 332 4970x101 Fax: 563 332 9633 Mobile: 563 650 7800
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.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
You can't use loopback + bypass in the manner you're trying. Honestly you shouldn't be using loopback unless its the last resort. /b On Feb 25, 2012, at 6:23 PM, Harry Coin wrote:
I'm thinking this is a bug: A local extension calls internal dialplan ring group.
If the local extension calls the internal dialplan at 1234 directly, whether bypass_media=true or bypass_media=false it works. However when that same extension is called via bridge loopback/1234 in a ring group it fails with 'normal temporary failure' only when bypass_media=true; it works when bypass_media is false.
What am I missing? I'm going to explore the 'bow out' notion next but I don't see that it applies. detail:
The ring group lua eventually calls continue_on_fail=true hangup_after_bridge=true bridge loopback/1234
participants (3)
-
Brian West
-
Harry Coin
-
Ken Rice