Ticket #4150 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 years ago

Bulkextensions put in empty variables in conf files

Reported by: mickecarlsson Assigned to: mickecarlsson
Priority: minor Milestone: 2.8
Component: Third Party Module Version: 2.7-branch
Keywords: Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

When setting a field in the csv file for an entry all remaining empty fields are setting the variables in the conf files without value.

[7198]
deny=0.0.0.0/0.0.0.0
secret=7198
notransfer=
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=never
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/7198
accountcode=
mailbox=7198@device
permit=0.0.0.0/0.0.0.0
callerid=Support <7198>
call-limit=50

Notice the empty variables, notransfer=, callgroup=, pickupgroup=, accountcode=

Change History

03/20/10 12:20:00 changed by mickecarlsson

(In [9345]) Re #4150, unset empty variables, will update more fields after I have done some more testing

03/20/10 12:23:35 changed by mickecarlsson

(In [9346]) Re #4150, clean up a bit

03/20/10 12:40:05 changed by mickecarlsson

  • status changed from new to closed.
  • resolution set to fixed.

(In [9347]) Close #4150, check empty fields and unset them