FbF Dialplan (number modification) like in Sipura - possible?

tommmy.leee

Neuer User
Mitglied seit
3 Feb 2005
Beiträge
28
Punkte für Reaktionen
0
Punkte
0
hello,
is this possible to modify the dialed from handset number before it is sent in INVITE to some provider?
problem is that one provider offers cheap calls to german mobile (4 us cents) but it wants to have the number in E.164 format (i.e. without leading "00" - IEC and with country code what surely does not appear in dialed number like 01701234567 - it has to be modified to 491701234567).
surely direct dialing prefix *12?# works fine for me (i.e. dialing *129#491701234567) but it bothers a bit do store only some numbers with prefixes in handsets because of possilbe fallback...
thank you!
tom
 
Zuletzt bearbeitet:
tommmy.leee schrieb:
it wants to have the number in E.164 format (i.e. without leading "00" - IEC and with country code what surely does not appear in dialed number like 01701234567 - it has to be modified to 491701234567).
Hi, this is possible: You just have to make the appropriate settings for country and area prefix for your SIP account. Here is an example:
int.png
With this account being my default one, when I dial "01701234567" the syslog shows that the right SIP address is used:
Apr 14 13:32:56 (none) user.info voipd[6390]: call to sip:[email protected] terminated (503)
Regards,
Andreas

P.S.: To make these settings show up in the Web interface you might have to apply a patch for international settings ("internationale Telefoneinstellungen aktivieren") that you can get here (in German only).
 
I understand what you have done above and can do that. But what happens when you want to use the same VoIP provider to call a sip number. For example if somebodies sip number is 555012 and you dial this in your example the box will add 49 to the front of the number and thus you will not be connected.

The two solutions i know to this are:

1. create a quickdial rule and then dial **7<Kurzwahl>#
2. register your VoiP provider twice in the box, 1.once with your 49 above setting and 2. with nothing. Then in the dial rules point your sip numbers to use 2 and normal telephone number to 1 and thus add 49 to the front.

Number two will not work where your VoIP provider will not let you register twice at the same time. And number one is plain annoying everytime you want to call someone. Is there another solution to this problem.
 
The real problem here is that you don't know what exactly should be done in each case... and how should any kinds of even highly elaborate dialling rules know? ;-) How do you propose to distinguish the number 12345 at your provider (which is a dial-direct SIP account number) from the local German number 12345 without the 0xxx prefix for city codes?

Unfortunately, the FBF rules are rather simplistic... With a Sipura adapter, you could let numbers without leading 0 through as direct SIP numbers, and add country prefixes only for those with city codes... not possible here, unfortunately...

--gandalf.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.