通过 dahdi 中继拨打国际号码

通过 dahdi 中继拨打国际号码

我正在尝试拨打以下电话:

exten => _49.,1,Log(NOTICE,Dialing German number: ${EXTEN})
 same => n,Set(route=DAHDI/g1/00${EXTEN})
 same => n,Dial(${route})
exten => _0049.,1,Goto(${EXTEN:2},1)
exten => _01149.,1,Goto(${EXTEN:3},1)
exten => _+49.,1,Goto(${EXTEN:1},1)

但这不起作用。我也尝试过将路线改为:

 same => n,Set(route=DAHDI/g1/${EXTEN})

得到类似结果:

server1*CLI>
    ...
    -- Goto (ctx-carriers,491722222222,1)
    -- Executing [491722222222@ctx-carriers:1] Log("SIP/sipserver3-0000006c", "NOTICE,Dialing German number: 491722222222") in new stack
[Jul 18 07:18:53] NOTICE[19497]: Ext. 491722222222:1 @ ctx-carriers: Dialing German number: 491722222222
    -- Executing [491722222222@ctx-carriers:2] Set("SIP/sipserver3-0000006c", "route=DAHDI/g1/00491722222222") in new stack
    -- Executing [491722222222@ctx-carriers:3] Dial("SIP/sipserver3-0000006c", "DAHDI/g1/00491722222222") in new stack
    -- Called DAHDI/g1/00491722222222
    -- Hungup 'DAHDI/63-1'
  == Everyone is busy/congested at this time (1:0/0/1)

(所拨打的号码并不是真正的号码491722222222,而是一个真实的、可用的德国手机号码)

我如何通过 DAHDI 拨打国际号码?(如果有关系的话,我的 SS7 中继提供商是 Telefonica España)

相关内容