Hi,
asterisk version 13.7.2, freepbx 13 latest as of today 14/04/16.
cos:
group1 – ext100, ext101, ext102 – route1(dahdi), route2 (SIP)
group2 – ext 200, ext201, ext202 – route3(dahdi), route4 (SIP)
route order:
route1(dahdi), route2 (SIP), route3(dahdi), route4 (SIP)
In order to dial through dahdi routes i have to add 121 in front of the number (prefix: 121, match patern: .), which apparently is not working when forwarding anymore.
When dialing out from ext100 i go out via route2 (SIP) – unless i use the 121 prefix, which is fine. When forwarding (either through asterisk UCP or via the phone’s forwarding option) the call is sent via route1(dahdi) rather than route2 (SIP). The same thing is happening for cos group2, when forwarding, the line used is route1 (dahdi).
Temporary fix: After changing the route order, i managed to get all extensions to forward via route2 (SIP).
This issue occurred after i have upgraded the asterisk core from version 13.6 to version 13.7.2 on the 29th of March. I have also tried to upgrade to the latest (13.8), unfortunately with no success.
I have added below the call detail record from before and after the upgrade.
Any help would be greatly appreciated.
Time Event CNAM CNUM ANI DID AMA exten context App channel UserDefType EventExtra CEL Table
2016-03-27 11:46:26 CHAN_START 9999999999 DEFAULT 777777 from-digital-custom DAHDI/i8/9999999999-36
2016-03-27 11:46:26 CHAN_START ext202 202 DEFAULT s from-internal SIP/202-00001c97
2016-03-27 11:46:26 CHAN_START DEFAULT 08888888888 from-internal Local/[email protected];1
2016-03-27 11:46:26 CHAN_START DEFAULT 08888888888 from-internal Local/[email protected];2
2016-03-27 11:46:26 FORWARD 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-36
2016-03-27 11:46:26 HANGUP ext202 202 202 DEFAULT 202 from-internal AppDial SIP/202-00001c97
2016-03-27 11:46:26 CHAN_END ext202 202 202 DEFAULT 202 from-internal AppDial SIP/202-00001c97
2016-03-27 11:46:26 CHAN_START DEFAULT s from-trunk SIP/route4-00001c98
2016-03-27 11:46:36 ANSWER 08888888888 DEFAULT 08888888888 from-trunk AppDial SIP/route4-00001c98
2016-03-27 11:46:36 ANSWER 09999999999 9999999999 DEFAULT s macro-dialout-trunk Dial Local/[email protected];2
2016-03-27 11:46:36 ANSWER 202 DEFAULT 08888888888 from-internal AppDial Local/[email protected];1
2016-03-27 11:46:36 BRIDGE_ENTER 08888888888 DEFAULT s macro-dialout-trunk AppDial SIP/route4-00001c98
2016-03-27 11:46:36 BRIDGE_ENTER 09999999999 9999999999 DEFAULT s macro-dialout-trunk Dial Local/[email protected];2
2016-03-27 11:46:36 ANSWER 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-36
2016-03-27 11:46:36 BRIDGE_ENTER 202 DEFAULT s macro-dial AppDial Local/[email protected];1
2016-03-27 11:46:36 BRIDGE_ENTER 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-36
2016-03-27 11:46:36 BRIDGE_EXIT 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-36
2016-03-27 11:46:36 BRIDGE_EXIT 09999999999 9999999999 DEFAULT s macro-dialout-trunk Dial Local/[email protected];2
2016-03-27 11:46:36 BRIDGE_ENTER 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-36
2016-03-27 11:46:36 LOCAL_OPTIMIZE 202 DEFAULT s macro-dial AppDial Local/[email protected];1
2016-03-27 11:46:36 BRIDGE_EXIT 202 DEFAULT s macro-dial AppDial Local/[email protected];1
2016-03-27 11:46:36 HANGUP 202 DEFAULT s macro-dial AppDial Local/[email protected];1
2016-03-27 11:46:36 HANGUP 09999999999 9999999999 DEFAULT h restrictedroute-2a24c93cf74eaef7b1fde7869c74c9cf Local/[email protected];2
2016-03-27 11:46:36 CHAN_END 202 DEFAULT s macro-dial AppDial Local/[email protected];1
2016-03-27 11:46:36 CHAN_END 09999999999 9999999999 DEFAULT h restrictedroute-2a24c93cf74eaef7b1fde7869c74c9cf Local/[email protected];2
2016-03-27 11:48:12 BRIDGE_EXIT 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-36
2016-03-27 11:48:12 BRIDGE_EXIT 08888888888 DEFAULT s macro-dialout-trunk AppDial SIP/route4-00001c98
2016-03-27 11:48:12 HANGUP 08888888888 DEFAULT s macro-dialout-trunk AppDial SIP/route4-00001c98
2016-03-27 11:48:12 CHAN_END 08888888888 DEFAULT s macro-dialout-trunk AppDial SIP/route4-00001c98
2016-03-27 11:48:12 HANGUP 09999999999 09999999999 9999999999 777777 DEFAULT h from-did-direct DAHDI/i8/9999999999-36
2016-03-27 11:48:12 CHAN_END 09999999999 09999999999 9999999999 777777 DEFAULT h from-did-direct DAHDI/i8/9999999999-36
2016-03-27 11:48:12 LINKEDID_END 09999999999 09999999999 9999999999 777777 DEFAULT h from-did-direct DAHDI/i8/9999999999-36
09999999999 - external number dialing in
9999999999 - extenal number dialing in (minus leading 0)
202 - internal extension number
08888888888 - external forward to number
777777 - outside number alocated to ext202
from-digital-custom - used to add leading 0
Time Event CNAM CNUM ANI DID AMA exten context App channel UserDefType EventExtra CEL Table
2016-04-05 12:04:42 CHAN_START 9999999999 DEFAULT 777777 from-digital-custom DAHDI/i8/9999999999-d9
2016-04-05 12:04:42 CHAN_START ext202 202 DEFAULT s from-internal SIP/202-00007630
2016-04-05 12:04:42 CHAN_START DEFAULT 08888888888 from-internal Local/[email protected];1
2016-04-05 12:04:42 CHAN_START DEFAULT 08888888888 from-internal Local/[email protected];2
2016-04-05 12:04:42 FORWARD 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-d9
2016-04-05 12:04:42 HANGUP ext202 202 202 DEFAULT 202 from-internal AppDial SIP/202-00007630
2016-04-05 12:04:42 CHAN_END ext202 202 202 DEFAULT 202 from-internal AppDial SIP/202-00007630
2016-04-05 12:04:42 CHAN_START DEFAULT s from-digital-custom DAHDI/i2/08888888888-1ce
2016-04-05 12:04:54 ANSWER DEFAULT 08888888888 from-digital-custom AppDial DAHDI/i2/08888888888-1ce
2016-04-05 12:04:54 ANSWER DEFAULT 08888888888 from-internal AppDial Local/[email protected];1
2016-04-05 12:04:54 ANSWER 09999999999 9999999999 DEFAULT s macro-dialout-trunk Dial Local/[email protected];2
2016-04-05 12:04:54 BRIDGE_ENTER DEFAULT s macro-dialout-trunk AppDial DAHDI/i2/08888888888-1ce
2016-04-05 12:04:54 BRIDGE_ENTER 09999999999 9999999999 DEFAULT s macro-dialout-trunk Dial Local/[email protected];2
2016-04-05 12:04:54 ANSWER 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-d9
2016-04-05 12:04:54 BRIDGE_ENTER DEFAULT s macro-dial AppDial Local/[email protected];1
2016-04-05 12:04:54 BRIDGE_ENTER 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-d9
2016-04-05 12:04:54 BRIDGE_EXIT 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-d9
2016-04-05 12:04:54 BRIDGE_EXIT 09999999999 9999999999 DEFAULT s macro-dialout-trunk Dial Local/[email protected];2
2016-04-05 12:04:54 BRIDGE_ENTER 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-d9
2016-04-05 12:04:54 LOCAL_OPTIMIZE DEFAULT s macro-dial AppDial Local/[email protected];1
2016-04-05 12:04:54 BRIDGE_EXIT DEFAULT s macro-dial AppDial Local/[email protected];1
2016-04-05 12:04:54 HANGUP DEFAULT s macro-dial AppDial Local/[email protected];1
2016-04-05 12:04:54 CHAN_END DEFAULT s macro-dial AppDial Local/[email protected];1
2016-04-05 12:04:54 CHAN_START DEFAULT s from-digital-custom DAHDI/i2/-1cf
2016-04-05 12:04:54 HANGUP h DEFAULT h from-digital-custom AppDial DAHDI/i2/-1cf
2016-04-05 12:04:54 CHAN_END h DEFAULT h from-digital-custom AppDial DAHDI/i2/-1cf
2016-04-05 12:04:54 HANGUP 09999999999 9999999999 DEFAULT h outbound-allroutes Local/[email protected];2
2016-04-05 12:04:54 CHAN_END 09999999999 9999999999 DEFAULT h outbound-allroutes Local/[email protected];2
2016-04-05 12:07:23 BRIDGE_EXIT DEFAULT s macro-dialout-trunk AppDial DAHDI/i2/08888888888-1ce
2016-04-05 12:07:23 HANGUP DEFAULT s macro-dialout-trunk AppDial DAHDI/i2/08888888888-1ce
2016-04-05 12:07:23 CHAN_END DEFAULT s macro-dialout-trunk AppDial DAHDI/i2/08888888888-1ce
2016-04-05 12:07:23 BRIDGE_EXIT 09999999999 09999999999 9999999999 777777 DEFAULT s macro-dial Dial DAHDI/i8/9999999999-d9
2016-04-05 12:07:23 HANGUP 09999999999 09999999999 9999999999 777777 DEFAULT h from-did-direct DAHDI/i8/9999999999-d9
2016-04-05 12:07:23 CHAN_END 09999999999 09999999999 9999999999 777777 DEFAULT h from-did-direct DAHDI/i8/9999999999-d9
2016-04-05 12:07:23 LINKEDID_END 09999999999 09999999999 9999999999 777777 DEFAULT h from-did-direct DAHDI/i8/9999999999-d9
09999999999 - external number dialing in
9999999999 - extenal number dialing in (minus leading 0)
202 - internal extension number
08888888888 - external forward to number
777777 - outside number alocated to ext202
from-digital-custom - used to add leading 0