|
zopostyle
|
 |
« on: November 13, 2008, 06:06:31 am » |
|
Hi,
How can I create a rule to do the following: (if it's possible, if not can you make it ?)
All number that the user dial, will be changed to 45213254p{phone}, but on {phone} I need to do something like:
the phone number is 32546044 I need to put an "*" on every duplicated number so it will be 3254604*4 IF the number is : 36625266 will be change to 36*62526*6 and if there is no duplicate number 32546048 will stay the same !
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
admin
|
 |
« Reply #1 on: November 13, 2008, 10:23:14 pm » |
|
Sounds interesting. Can you tell me why you want to do this? 
|
|
|
|
|
Logged
|
|
|
|
|
zopostyle
|
 |
« Reply #2 on: November 13, 2008, 11:16:39 pm » |
|
I developed an asterisk server that will receive this numbers and treat to the user...So in this way he will have PABX functions on the mobile...
Another point, that this method will solve, is that the operator sends the DTMF wrong.... Other point, windows mobile, does not has the "p" (pause), so with this we can also send...
IF you can do this, we will try your program, if it works well, we are going to buy about 3 - 5 licenses, to make a demo with some users, and if they like it... It going to be our new product, and them we expect to buy much more =)...
Can you implement this ? If you want, I can help you, I'm a software developer here in Brazil. And also I can translate the program to PT-BR...
Thanks, and hope that it can be done.
|
|
|
|
« Last Edit: November 14, 2008, 12:18:19 am by zopostyle »
|
Logged
|
|
|
|
|
admin
|
 |
« Reply #3 on: November 14, 2008, 02:09:02 am » |
|
We are going to implement this feature, but not directly. We will add scripting language support to v2.5 (right after the upcoming v2.2), users can attach a script file to each rule. I think we can write a script for this featuer. 
|
|
|
|
|
Logged
|
|
|
|
|
zopostyle
|
 |
« Reply #4 on: November 14, 2008, 03:11:47 am » |
|
I need this feature(use "*") as soon as possible...  Can you alert me when it's ready ? Cool, that will have language support... As I said if you need help....
|
|
|
|
|
Logged
|
|
|
|
|
admin
|
 |
« Reply #5 on: November 15, 2008, 02:37:42 am » |
|
Unfortunately it will not be soon. We planned to publish v2.5 in Q1 2009. I will inform when it is ready. Thanks. We will add Lua script support to v2.5. Are you familiar with Lua? We are still thinking which version to be embedded, Lua 4 is smaller in size, however Lua 5.1 is more powerful.
|
|
|
|
|
Logged
|
|
|
|
|
zopostyle
|
 |
« Reply #6 on: November 15, 2008, 02:44:02 am » |
|
OK, Thanks.. Yeah, I used it once... In my opnion, when we look for an application like yours, we're expecting a lot of possibilities and personalization, so in this case Lua 5.1 would be the best option..
Another point, is that more and more mobile are comming with a bigger disk space...so the size will not be a problem ! Or if you think that this can cause a problem you can build a lite version (without lua, most of users will not use...I think)
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
zopostyle
|
 |
« Reply #7 on: November 15, 2008, 02:47:37 am » |
|
Let me ask you something, just if you can help me... I developed a C# program to make the dialing number change... It's working, but it does no run transparently to the user...(there is an interface to the user insert the number and them dial)
But I'm litening to SystemState event change..but it's not being triggered when the user dials from the default dialer.. It's just et triggered when your application calls mine...
Is there a way to make mine aplication being triggered ?? Like keep it running..or a service ??
|
|
|
|
|
Logged
|
|
|
|
|
admin
|
 |
« Reply #8 on: November 15, 2008, 04:26:13 pm » |
|
You're right, program size is not a big problem to modern devices.
Doesn't "Launch application" help? You may create a rule like the following and use dialed number as a parameter to your program.
Rule type: Outgoing Call Action1: Hang up Action2: Launch application Path: <your program's full path> Parameters: {phone}
We use "Hang up" as Action1, so that the original out call will be cancelled, and your program will receive the dialed number, and then you can modify it and dial for your needs.
|
|
|
|
|
Logged
|
|
|
|
|
zopostyle
|
 |
« Reply #9 on: November 16, 2008, 12:36:16 am » |
|
Thansk... I did something like that... But the mobile (I'm using an HTC), hang up the call and give an erro like (There is a problem with signal, and the calling could not be completed.) I will send you the exctly error on Monday...I don't have the device here....
And then when my program send make a call, as the error ocurred, it cannot make the call, and give the error again !
PS: Sorry for my english...
|
|
|
|
|
Logged
|
|
|
|
|
admin
|
 |
« Reply #10 on: November 17, 2008, 01:28:15 am » |
|
I know that message which is by design. You call is rejected may be because MagiCall hangs it up too. Please check the rule and modify it if necessary.
|
|
|
|
|
Logged
|
|
|
|
|
zopostyle
|
 |
« Reply #11 on: November 17, 2008, 02:31:18 am » |
|
Hum can be this...
What I need is to do the following... The user entered 32546048 so the program needs to hang up and them call my program... My program will do the following change the number to p32546048 and append on front of it 84353793...so the final number to be dialed is this: 84353797p32546048.
Is there a to the program does not hangup the second call ? OBS.: the number 32546048 is dinamic...can be any number..
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
admin
|
 |
« Reply #12 on: November 17, 2008, 12:54:00 pm » |
|
How about this? - when your program is invoked, run "mgc.exe -p" to pause MagiCall, and then call your number, wait for one or two seconds, and then run "mgc.exe -r" to resume MagiCall.
|
|
|
|
|
Logged
|
|
|
|
|
zopostyle
|
 |
« Reply #13 on: November 17, 2008, 09:52:25 pm » |
|
Hum... I didn't know that option... Thanks ! I post you the results...
|
|
|
|
|
Logged
|
|
|
|
|
admin
|
 |
« Reply #14 on: November 18, 2008, 02:02:37 am » |
|
That is not an option. Please refer to the user guide Command Line
|
|
|
|
|
Logged
|
|
|
|
|