[asterisk-users] unwanted entries created in dialplan from users.conf, how can I get rid of it?
Eyal Goltzman
egoltzman at gmail.com
Sat Jun 26 11:43:21 CDT 2010
Hello,
When I call "dialplan reload" I can see the following lines:
== Parsing '/etc/asterisk/extensions.conf': == Found
-- Registered extension context 'default' (0x8a72410) in local table
0x8a679d0; registrar: pbx_config
-- Added extension '_1XX' priority 1 to default (0x8a72410)
.
.
.
== Parsing '/etc/asterisk/users.conf': == Found
-- Added extension '100' priority -1 to default (0xb731b4e8)
-- Added extension '100' priority 1 to default (0xb731b4e8)
-- Added extension '101' priority -1 to default (0xb731b4e8)
-- Added extension '101' priority 1 to default (0xb731b4e8)
That result in a dialplan that look like that:
[ Context 'default' created by 'pbx_config' ]
'100' => hint: SIP/100&IAX2/100 [pbx_config]
1. Dial(${HINT}) [pbx_config]
'_1XX' => 1. Playback(digits/4) [pbx_config]
I don't want those 2 first line to be there only the _1XX. How do I get rid
of it? Why it is added to the dial plan automatically?
extention.conf look like this:
[default]
exten => _1XX,1,Playback(digits/4)
users.cong look like this:
[100]
username = 100
transfer = yes
mailbox = 100
call-limit = 100
type = peer
fullname = Polycom
registersip = no
host = dynamic
callgroup = 1
type = peer
context = default
cid_number = 100
hasvoicemail = no
threewaycalling = no
hasdirectory = no
callwaiting = no
hasmanager = no
hasagent = no
hassip = yes
hasiax = no
secret = 100
nat = yes
canreinvite = no
dtmfmode = rfc2833
insecure = no
pickupgroup = 1
autoprov = no
macaddress =
linenumber = 1
LINEKEYS = 1
disallow = all
allow = ulaw,gsm
Thanks,
Eyal
More information about the asterisk-users
mailing list