Hi there!
Make Originate through AMI
"Channel" => “Local/” . $extension . “@from-internal”,
“Exten” => $phoneNumber,
“Context” => “from-internal”,
“Priority” => 1,
After the answer, the channel is swapped
[2017-12-20 10:03:01] VERBOSE[30305][C-00011e35] bridge_channel.c: Channel IAX2/tt86-12931 joined ‘simple_bridge’ basic-bridge
[2017-12-20 10:03:01] VERBOSE[30153][C-00011e35] bridge_channel.c: Channel Local/4873@from-internal-00003bb9;1 joined ‘simple_bridge’ basic-bridge
[2017-12-20 10:03:01] VERBOSE[30153][C-00011e35] bridge_channel.c: Channel IAX2/tt86-12931 left ‘simple_bridge’ basic-bridge
[2017-12-20 10:03:01] VERBOSE[30153][C-00011e35] bridge_channel.c: Channel Local/4873@from-internal-00003bb9;2 left ‘simple_bridge’ basic-bridge <173d60bd-620c-4272-9355-7d5686bfd932>
[2017-12-20 10:03:01] VERBOSE[30153][C-00011e35] bridge_channel.c: Channel IAX2/tt86-12931 swapped with Local/4873@from-internal-00003bb9;2 into ‘simple_bridge’ basic-bridge <173d60bd-620c-4272-9355-7d5686bfd932>
Why is this happening? Which setting affects this?
In this case, on another machine with the same configuration, this does not happen
[2017-12-20 12:01:42] VERBOSE[53211][C-00000044] bridge_channel.c: Channel IAX2/tt86-9882 joined ‘simple_bridge’ basic-bridge <37f8cfa8-e299-459c-95e1-5c6e6d97d0a9>
[2017-12-20 12:01:42] VERBOSE[53161][C-00000044] bridge_channel.c: Channel Local/4801@from-internal-00000033;1 joined ‘simple_bridge’ basic-bridge <37f8cfa8-e299-459c-95e1-5c6e6d97d0a9>
[2017-12-20 12:01:45] VERBOSE[53211][C-00000044] bridge_channel.c: Channel IAX2/tt86-9882 left ‘simple_bridge’ basic-bridge <37f8cfa8-e299-459c-95e1-5c6e6d97d0a9>
[2017-12-20 12:01:45] VERBOSE[53161][C-00000044] bridge_channel.c: Channel Local/4801@from-internal-00000033;1 left ‘simple_bridge’ basic-bridge <37f8cfa8-e299-459c-95e1-5c6e6d97d0a9>
Config:
FreePBX DISTRO
SNG7-FPBX-64bit-1710-1