FrankRegardsCLI OUTPUTBrian &Oliver,Try this in your dialplan (modify to suit your needs)
[random-cid]
exten => _7740[*+#0-9].,1,Set(CALLERID(all)=0700123${RAND(0,9)}${RAND(0,9)}${RAND(0,9)})
exten => _7740[*+#0-9].,n,Hangup
-- Executing [7740000@default:2] Set("SIP/4444-00000000", "CALLERID(all)=0700123903") in new stack
-- Executing [7740000@default:2] Set("SIP/4444-00000001", "CALLERID(all)=0700123021") in new stack
On Tue, Feb 4, 2014 at 8:54 AM, Oliver Ndegwa <olie.ndegwa@gmail.com> wrote:
I need the same answer too. I believe there is a way you can do a script to do that and run it on the db..OliverOn Mon, Feb 3, 2014 at 5:37 PM, Brian L <lusiola@gmail.com> wrote:
_______________________________________________I'm in a little fix with some configurations on asterisk.
The Telco has allowed me on the E1 to dial outbound with the last three digits of my choice.Example my number is 0700123(000)
Now apart from creating custom outbound routes for 0700123001 to 0700123999 is there a way to make asterisk randomize the digits?
Thanks.--Lusiola Brian
|3 R 1 /-\ |\|
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke
_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke