We have a very strange problem. Until yesterday we had an outbound route with a pin set for mobile calls that start with a 044 prefix. Starting today for some reason the route disappears from Asterisk if you have the pin set, if you remove it is fine.
dialplan without pinset:
pbxacurauni*CLI> dialplan show [email protected]
[ Included context ‘outrt-12’ created by ‘pbx_config’ ]
’_044XXXXXXXXXX’ => 1. Macro(user-callerid,LIMIT,) [pbx_config]
2. Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})}) [pbx_config]
3. Set(_NODEST=) [pbx_config]
4. Gosub(sub-record-check,s,1(out,${EXTEN},)) [pbx_config]
5. Macro(dialout-trunk,2,${EXTEN},) [pbx_config]
6. Macro(dialout-trunk,3,${EXTEN},) [pbx_config]
7. Macro(outisbusy,) [pbx_config]
[ Included context ‘bad-number’ created by ‘pbx_config’ ]
’_X.’ => 1. ResetCDR() [pbx_config]
2. NoCDR() [pbx_config]
3. Progress() [pbx_config]
4. Wait(1) [pbx_config]
5. Progress() [pbx_config]
6. Playback(silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer) [pbx_config]
7. Wait(1) [pbx_config]
8. Congestion(20) [pbx_config]
9. Hangup() [pbx_config]
dialplan with pinset:
pbxacurauni*CLI> dialplan show [email protected]
[ Included context ‘bad-number’ created by ‘pbx_config’ ]
’_X.’ => 1. ResetCDR() [pbx_config]
2. NoCDR() [pbx_config]
3. Progress() [pbx_config]
4. Wait(1) [pbx_config]
5. Progress() [pbx_config]
6. Playback(silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer) [pbx_config]
7. Wait(1) [pbx_config]
8. Congestion(20) [pbx_config]
9. Hangup() [pbx_config]
As you can see adding the pin set to the outbound route erases the route in the dialplan. Here is the dialplan for that route without a pin:
[ Context ‘outrt-12’ created by ‘pbx_config’ ]
’_044XXXXXXXXXX’ => 1. Macro(user-callerid,LIMIT,) [pbx_config]
2. Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})}) [pbx_config]
3. Set(_NODEST=) [pbx_config]
4. Gosub(sub-record-check,s,1(out,${EXTEN},)) [pbx_config]
5. Macro(dialout-trunk,2,${EXTEN},) [pbx_config]
6. Macro(dialout-trunk,3,${EXTEN},) [pbx_config]
7. Macro(outisbusy,) [pbx_config]
’_045XXXXXXXXXX’ => 1. Macro(user-callerid,LIMIT,) [pbx_config]
2. Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})}) [pbx_config]
3. Set(_NODEST=) [pbx_config]
4. Gosub(sub-record-check,s,1(out,${EXTEN},)) [pbx_config]
5. Macro(dialout-trunk,2,${EXTEN},) [pbx_config]
6. Macro(dialout-trunk,3,${EXTEN},) [pbx_config]
7. Macro(outisbusy,) [pbx_config]
Include => ‘outrt-12-custom’ [pbx_config]
Here is the dialplan when the route has a pin:
[ Context ‘outrt-12’ created by ‘pbx_config’ ]
Include => ‘outrt-12-custom’ [pbx_config]
We tried to erase the outbound route but get the same results. We uninstalled the pin set module and installed it again with the same result. Any ideas? We are using FreePBX 2.10.1.16 on a CentOS 6.5 server with Asterisk 1.8.22