Hi,

On 06/10/2013 22:26, Jonson Player wrote:
Some users of main use + instead of 00 for international dial. Is there
any solution for this problem?

swap the + sign to double zeros if your provider can't handle it

; normal 00 prefix
exten => _00ZZXXXXXXX.,1,Macro(beforealldials)
exten => _00ZZXXXXXXX.,n,Dial(SIP/${EXTEN}@${OUTGOING_LINE})
exten => _00ZZXXXXXXX.,n,Hangup()

; swap + prefix to 00
exten => _+ZZXXXXXXX.,1,Macro(beforealldials)
exten => _+ZZXXXXXXX.,n,Dial(SIP/00${EXTEN:1}@${OUTGOING_LINE})
exten => _+ZZXXXXXXX.,n,Hangup()

regards
adam



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

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

Reply via email to