Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 10:18 pm
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: uniqueid in callbackspool
PostPosted: Wed Jan 14, 2009 11:37 am 
Offline

Joined: Tue May 29, 2007 11:40 am
Posts: 17
Hi,

I try to setup cid-callback which I have a problem with this line on the script

" $uniqueid = MDP_NUMERIC(5).'-'.MDP_STRING(7); "

the script doesn't work if this line exist. Once i remove this and assigned to be some id such as

" $uniqueid = "222xxxxxx"; "

It's work. I thought that MDP_NUMERIC(5).'-'.MDP_STRING(7) might be incorrect function.

Please help me to fix.


Thank you
kvit


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 14, 2009 9:29 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Which version are you referring to?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 18, 2009 4:24 am 
Offline

Joined: Tue May 29, 2007 11:40 am
Posts: 17
I use A2Billing_1.3.4


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 18, 2009 4:26 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
The random string/number generation functions are defined in libs/Misc.php. There's nothing unusual about them; they use PHP's Mersenne Twister, which should be available in any recent version of PHP. You can test if lack of MT support is the cause of the problem from the PHP prompt:
Code:
$ php -a
Interactive shell

php > print mt_rand(0,255);
140
php > exit;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group