[Asterisk-Users] adding to asterisk db from a script

Wolfgang S. Rupprecht list+asterisk-users at lists.wsrcc.com
Thu Mar 17 14:48:02 MST 2005


It looks like asterisk isn't honoring EOF on stdin.

file add-phonelist: 

database put cidname 200551234 "name 1"
database put cidname 200551235 "name 2"
database put cidname 200551236 "name 3"
database put cidname 200551237 "name 4"

asterisk -rn < add-phonelist

What I see is an infinite stream of prompts as asterisk is banging
onto the EOF.

How is one supposed to add a bulk list of clid names to asterisk?

-wolfgang



More information about the asterisk-users mailing list