On Mon, Jun 12, 2017 at 05:00:31PM +0200, Hans-Peter Jansen wrote:
> is somebody attending, that wants to share his outgoing dial rules of 
> extension.conf, like used in typical(?) german pbx setups?
> 
>  * zero prefix for outside calls
>  * zero zero or plus prefix for international calls
>  * handle emergency calls
> 
> With ISDN, one was able to just forward the called number, but with sip, one 
> has to normalize the dialed pattern in order to match SIP (provider) 
> expectations... As always, the devil is in the details.

Shouldn't you just ask the provider?

But not being German, the only problem I know of is the ISDN 
sub addressing feature widely in use.

Looking at https://en.wikipedia.org/wiki/Telephone_numbers_in_Germany
I'd guess a dialplan would be (assuming the operator wants e164+):

exten => _1.,1,Dial(SIP/${EXTEN}@provider)
exten => _[2-9].,1,Goto(+49xyz${EXTEN:1},1)
exten => _0[1-9].,1,Goto(+49${EXTEN:1},1)
exten => _00[1-9].,1,Goto(+${EXTEN:2},1)

exten => _+.,1,Dial(SIP/${EXTEN}@provider)


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to