Remco Barende
2004-Oct-29 13:56 UTC
[Asterisk-Users] Rewriting a telephone number for remote dial out
I have * in several locations, one in a foreign country. To optimize on the costs I am forwarding calls local for a remote server to the remote server instead of dialing out locally. I want to keep it completely transparent to the user however. Can the dial command rewrite numbers? I forward the call to the remote server using IAX2, it will be treated as a normal outgoing call there, I guess the rewriting should be done on the server placing the call? Some examples: Dialled locally Number that must be dialled remote 0034XXXXXX 9XXXXXXXXX (-0034 and +9) ZXXXXXX 078ZXXXXXX (+078) Thanks for any input, hope it's possible.
I have some Sayson / Aastra 480e ADSI phones. They work great except for one annoying feature. It's not really the phone, it's the ADSI programming feature in Asterisk. I can't figure out how to recreate the factor default "flash" screen key on the phone. When I create a ADSI script, it loads to the phone no problem. However it wipes out all of the factory default keys. I can't figure out what to put in the script to recreate the flash key. Help anyone? Martin
Brian West
2004-Oct-29 14:18 UTC
[Asterisk-Users] Rewriting a telephone number for remote dial out
> Dialled locally Number that must be dialled remote > 0034XXXXXX 9XXXXXXXXX (-0034 and +9)exten => _0034XXXXXX,1,Dial(CHAN/user@peer/9${EXTEN:4})> ZXXXXXX 078ZXXXXXX (+078)exten => _ZXXXXXX,1,Dial(CHAN/user@peer/078${EXTEN}) Someone needs to go read some more before asking such basic questions. bkw