[asterisk-users] Dial international number over dahdi trunk

Daniel Gonzalez gonvaled at gonvaled.com
Fri Jul 18 01:48:17 CDT 2014


Hi all,

I am trying to perform the following outgoing call:

    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)

But this is not working. I have also tried changing the route to:

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

With similar results:

    server1*CLI>
        ...
        -- Goto (ctx-carriers,491722222222,1)
        -- Executing [491722222222 at 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 at ctx-carriers:2]
Set("SIP/sipserver3-0000006c", "route=DAHDI/g1/00491722222222") in new stack
        -- Executing [491722222222 at 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)

(the number dialed is not really 491722222222, but a real, working mobile
german number)

How can I dial international numbers via DAHDI? (in case it matters, my SS7
trunk provider is Telefonica España)

Thanks!
Daniel Gonzalez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140718/8fdc5c1e/attachment.html>


More information about the asterisk-users mailing list