No calling not in service

Discussion in 'General' started by pato, Nov 6, 2009.

  1. pato

    Joined:
    Aug 5, 2009
    Messages:
    6
    Likes Received:
    0
    i set-up my elastix as in EWT and tried to call a PSTN line connected to an FXO channel 5: I get this message "The number you dialled is not in service" and then it terminates and my asterisk log is below

    -- Starting simple switch on 'DAHDI/5-1'
    -- Executing [s@from-zaptel:1] NoOp("DAHDI/5-1", "Entering from-zaptel with DID == ") in new stack
    -- Executing [s@from-zaptel:2] Ringing("DAHDI/5-1", "") in new stack
    -- Executing [s@from-zaptel:3] Set("DAHDI/5-1", "DID=s") in new stack
    -- Executing [s@from-zaptel:4] NoOp("DAHDI/5-1", "DID is now s") in new stack
    -- Executing [s@from-zaptel:5] GotoIf("DAHDI/5-1", "1?zapok:notzap") in new stack
    -- Goto (from-zaptel,s,8)
    -- Executing [s@from-zaptel:8] NoOp("DAHDI/5-1", "Is a Zaptel Channel") in new stack
    -- Executing [s@from-zaptel:9] Set("DAHDI/5-1", "CHAN=5-1") in new stack
    -- Executing [s@from-zaptel:10] Set("DAHDI/5-1", "CHAN=5") in new stack
    -- Executing [s@from-zaptel:11] Macro("DAHDI/5-1", "from-zaptel-5|s|1") in new stack
    -- Executing [s@macro-from-zaptel-5:1] NoOp("DAHDI/5-1", "Entering macro-from-zaptel-5 with DID = s and setting to: +25420XXXXXXXX") in new stack
    -- Executing [s@macro-from-zaptel-5:2] Set("DAHDI/5-1", "__FROM_DID=+25420XXXXXXXX") in new stack
    -- Executing [s@macro-from-zaptel-5:3] Goto("DAHDI/5-1", "from-trunk|+25420XXXXXXXX|1") in new stack
    -- Goto (from-trunk,+25420XXXXXXXX,1)
    == Channel 'DAHDI/5-1' jumping out of macro 'from-zaptel-5'
    -- Executing [+25420XXXXXXXX@from-trunk:1] Set("DAHDI/5-1", "__FROM_DID=+25420XXXXXXXXX") in new stack
    -- Executing [+25420XXXXXXXX@from-trunk:2] NoOp("DAHDI/5-1", "Received an unknown call with DID set to +25420XXXXXXXX") in new stack
    -- Executing [+25420XXXXXXXX@from-trunk:3] Goto("DAHDI/5-1", "s|a2") in new stack
    -- Goto (from-trunk,s,2)
    -- Executing [s@from-trunk:2] Answer("DAHDI/5-1", "") in new stack
    -- Executing [s@from-trunk:3] Wait("DAHDI/5-1", "2") in new stack
    -- Executing [s@from-trunk:4] Playback("DAHDI/5-1", "ss-noservice") in new stack
    -- <DAHDI/5-1> Playing 'ss-noservice' (language 'en')
    -- Executing [s@from-trunk:5] SayAlpha("DAHDI/5-1", "+25420XXXXXXXX") in new stack
    -- Executing [s@from-trunk:5] SayAlpha("DAHDI/5-1", "+25420XXXXXXX") in new stack
    -- <DAHDI/5-1> Playing 'letters/plus' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/2' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/5' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/4' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/2' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/0' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/X' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/X' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/X' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/X' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/X' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/X' (language 'en')
    -- <DAHDI/5-1> Playing 'digits/X' (language 'en')
    -- Executing [s@from-trunk:6] Hangup("DAHDI/5-1", "") in new stack
    == Spawn extension (from-trunk, s, 6) exited non-zero on 'DAHDI/5-1'
    -- Executing [h@from-trunk:1] Hangup("DAHDI/5-1", "") in new stack
    == Spawn extension (from-trunk, h, 1) exited non-zero on 'DAHDI/5-1'
    -- Hungup 'DAHDI/5-1'

    Note: the XXXXX following +25420 are digits between 0-9 representing a telephone number.
    I have also changed my channel from-pstn to from-zaptel in dahdi_channel.conf. Also,i have registered my DID number in unembedded free-pbx to +25420XXXXXX and stated channel no. as 5.

    Any help is highly appreciated
     

Share This Page