mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 19:14:34 +04:00
asterisk: minor config fixup for 23.1.0
The patch 001-phoneprov_users.patch can be dropped when upstream renames the config. The config file seems necessary for res_phoneprov to start up, so this helps the user get started. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
committed by
Jiri Slachta
parent
00f56ba48a
commit
6a075d6e81
@@ -1016,7 +1016,7 @@ $(eval $(call BuildAsteriskModule,res-mwi-devstate,MWI device state subs,This mo
|
||||
$(eval $(call BuildAsteriskModule,res-mwi-external,Core external MWI resource,Core external MWI resource.,,,res_mwi_external,,))
|
||||
$(eval $(call BuildAsteriskModule,res-mwi-external-ami,AMI for external MWI,AMI support for external MWI.,+$(PKG_NAME)-res-mwi-external,,res_mwi_external_ami,,))
|
||||
$(eval $(call BuildAsteriskModule,res-parking,Phone Parking,Call parking resource.,+$(PKG_NAME)-bridge-holding,res_parking.conf,res_parking,,))
|
||||
$(eval $(call BuildAsteriskModule,res-phoneprov,Phone Provisioning,HTTP phone provisioning.,,phoneprov.conf,res_phoneprov,,))
|
||||
$(eval $(call BuildAsteriskModule,res-phoneprov,Phone Provisioning,HTTP phone provisioning.,,phoneprov.conf phoneprov_users.conf,res_phoneprov,,))
|
||||
$(eval $(call BuildAsteriskModule,res-pjsip-aoc,PJSIP AOC,PJSIP AOC Support.,+asterisk-pjsip +asterisk-res-pjproject,,res_pjsip_aoc,,))
|
||||
$(eval $(call BuildAsteriskModule,res-pjsip-geolocation,PJSIP Geolocation,PJSIP Geolocation support.,+asterisk-pjsip +asterisk-res-geolocation,,res_pjsip_geolocation,,))
|
||||
$(eval $(call BuildAsteriskModule,res-pjsip-phoneprov,PJSIP Phone Provisioning,PJSIP phone provisioning.,+$(PKG_NAME)-pjsip +$(PKG_NAME)-res-phoneprov,,res_pjsip_phoneprov_provider,,))
|
||||
|
||||
86
net/asterisk/patches/001-phoneprov_users.patch
Normal file
86
net/asterisk/patches/001-phoneprov_users.patch
Normal file
@@ -0,0 +1,86 @@
|
||||
--- a/configs/samples/phoneprov_users.conf
|
||||
+++ /dev/null
|
||||
@@ -1,40 +0,0 @@
|
||||
-;
|
||||
-; Device provisioning configuration
|
||||
-;
|
||||
-; This file is used by res_phoneprov to define provisioning entries.
|
||||
-;
|
||||
-
|
||||
-[general]
|
||||
-;
|
||||
-; Full name of a user
|
||||
-;
|
||||
-fullname = New User
|
||||
-;
|
||||
-; MAC Address for res_phoneprov
|
||||
-;
|
||||
-;macaddress = 112233445566
|
||||
-;
|
||||
-; Auto provision the phone with res_phoneprov
|
||||
-;
|
||||
-;autoprov = yes
|
||||
-;
|
||||
-; Line Keys for hardphone
|
||||
-;
|
||||
-;LINEKEYS = 1
|
||||
-;
|
||||
-; Line number for hardphone
|
||||
-;
|
||||
-;linenumber = 1
|
||||
-;
|
||||
-; Local Caller ID number used with res_phoneprov and Asterisk GUI
|
||||
-;
|
||||
-;cid_number = 6000
|
||||
-
|
||||
-;[6000]
|
||||
-;fullname = Joe User
|
||||
-;secret = 1234
|
||||
-;macaddress = 112233445566
|
||||
-;autoprov = yes
|
||||
-;LINEKEYS = 1
|
||||
-;linenumber = 1
|
||||
-;cid_number = 6000
|
||||
--- /dev/null
|
||||
+++ b/configs/samples/phoneprov_users.conf.sample
|
||||
@@ -0,0 +1,40 @@
|
||||
+;
|
||||
+; Device provisioning configuration
|
||||
+;
|
||||
+; This file is used by res_phoneprov to define provisioning entries.
|
||||
+;
|
||||
+
|
||||
+[general]
|
||||
+;
|
||||
+; Full name of a user
|
||||
+;
|
||||
+fullname = New User
|
||||
+;
|
||||
+; MAC Address for res_phoneprov
|
||||
+;
|
||||
+;macaddress = 112233445566
|
||||
+;
|
||||
+; Auto provision the phone with res_phoneprov
|
||||
+;
|
||||
+;autoprov = yes
|
||||
+;
|
||||
+; Line Keys for hardphone
|
||||
+;
|
||||
+;LINEKEYS = 1
|
||||
+;
|
||||
+; Line number for hardphone
|
||||
+;
|
||||
+;linenumber = 1
|
||||
+;
|
||||
+; Local Caller ID number used with res_phoneprov and Asterisk GUI
|
||||
+;
|
||||
+;cid_number = 6000
|
||||
+
|
||||
+;[6000]
|
||||
+;fullname = Joe User
|
||||
+;secret = 1234
|
||||
+;macaddress = 112233445566
|
||||
+;autoprov = yes
|
||||
+;LINEKEYS = 1
|
||||
+;linenumber = 1
|
||||
+;cid_number = 6000
|
||||
Reference in New Issue
Block a user