bar top left
bar top right
left curve
right curve
Welcome, Guest
Go to bottom
Post Reply
Post New Topic
Page: 12345
TOPIC: Problema con RoomX
#107511
Re:Problema con RoomX 9 Months, 2 Weeks ago Karma: 159
In your example, i took this:
Array ( [calldate] => 2012-08-07 12:39:35 [dst] => 9425250 [billsec] => 34 [dstchannel] => DAHDI/2-1 [lastdata] => DAHDI/g2/425250,300, )
[1] => Array ( [id] => 5 [name] => l2 [prefix] => 9 [rate] => 2.0 [rate_offset] => 0.01 [trunk] => DAHDI/g2 [estado] => activo [fecha_creacion] => 2012-07-25 07:50:45 [fecha_cierre] => [hided_digits] => 2 [idParent] => 0 )


I made a small php script and took only the test from original code (index.php in rx_check_out folder):

Code:

if (substr($value_cdr['dst'],0,strlen($arrRate[$Scan_Rate]['prefix'])) == $arrRate[$Scan_Rate]['prefix'] && substr($value_cdr['lastdata'],0,strlen($arrRate[$Scan_Rate]['trunk'])) == $arrRate[$Scan_Rate]['trunk']){
.../...
}



So...

<?PHP
if (substr('9425250',0,strlen('9')) == '9' &&
substr('DAHDI/g2/425250,300,',0,strlen('DAHDI/g2')) == 'DAHDI/g2')
{
echo "Ok";
}
?>


Gives me this result: Ok

So, the test is good (for me)..

I don't understand.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
danardf
Administrator
Posts: 6315
graph
User Offline Click here to see the profile of this user
Gender: Male Location: France - Trans sur Erdre Birthday: 12/31
Last Edit: 2012/08/07 14:49 By danardf.

Links hidden for unregistered users. Login or register Here - Links hidden for unregistered users. Login or register Here - Franck Danard - franck.danard@roomx.fr
Reply Quote
 
#107680
Re:Problema con RoomX 9 Months, 2 Weeks ago Karma: 0
Helo, something new? Can´t not solve my problem. any idea?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
loveral76
Fresh Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#107681
Re:Problema con RoomX 9 Months, 2 Weeks ago Karma: 159
Again... send me a mail please instead of forum. Just to not flood the forum with the test.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
danardf
Administrator
Posts: 6315
graph
User Offline Click here to see the profile of this user
Gender: Male Location: France - Trans sur Erdre Birthday: 12/31

Links hidden for unregistered users. Login or register Here - Links hidden for unregistered users. Login or register Here - Franck Danard - franck.danard@roomx.fr
Reply Quote
 
#107684
Re:Problema con RoomX 9 Months, 2 Weeks ago Karma: 0
Send one mail? I not have your mail
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
loveral76
Fresh Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#107686
Re:Problema con RoomX 9 Months, 2 Weeks ago Karma: 159
Really??? look at my signature!!
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
danardf
Administrator
Posts: 6315
graph
User Offline Click here to see the profile of this user
Gender: Male Location: France - Trans sur Erdre Birthday: 12/31

Links hidden for unregistered users. Login or register Here - Links hidden for unregistered users. Login or register Here - Franck Danard - franck.danard@roomx.fr
Reply Quote
 
#107692
Re:Problema con RoomX 9 Months, 2 Weeks ago Karma: 159
Check your mail.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
danardf
Administrator
Posts: 6315
graph
User Offline Click here to see the profile of this user
Gender: Male Location: France - Trans sur Erdre Birthday: 12/31

Links hidden for unregistered users. Login or register Here - Links hidden for unregistered users. Login or register Here - Franck Danard - franck.danard@roomx.fr
Reply Quote
 
#107849
Re:Problema con RoomX 9 Months, 1 Week ago Karma: 159
Hi.

Here the check out module fixed.

Uncompress this zip file into /var/www/html/modules/rx_check-out module/

Some bad requests and conditions has been fixed on this module.
File Attachment:
File Name: rx_check_out_fixed.zip
File Size: 10323
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
danardf
Administrator
Posts: 6315
graph
User Offline Click here to see the profile of this user
Gender: Male Location: France - Trans sur Erdre Birthday: 12/31

Links hidden for unregistered users. Login or register Here - Links hidden for unregistered users. Login or register Here - Franck Danard - franck.danard@roomx.fr
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 12345
Moderators: jgutierrez, jcastellanos

elastix

Protected by Spam Fighter