Problem with Inbound routes

Discussion in 'General' started by nima0102, Jan 31, 2010.

  1. nima0102

    Joined:
    Jul 20, 2009
    Messages:
    26
    Likes Received:
    0
    Hi
    I have installed Elastix with one analog card (OpenVox).for outbound route I have no any problem and my calls successfully is done. for inbound calls I have configured, that trunk (FXO) redirect to one extension. but when I call from external,that extension is not ring.

    this is log when I call from external.
    Code:
    [Jan 31 19:35:36] VERBOSE[13576] chan_dahdi.c:     -- Starting simple switch on 'DAHDI/1-1'
    [Jan 31 19:35:39] NOTICE[13576] chan_dahdi.c: Got event 18 (Ring Begin)...
    [Jan 31 19:35:40] NOTICE[13576] chan_dahdi.c: Got event 2 (Ring/Answered)...
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:1] NoOp("DAHDI/1-1", "Entering from-zaptel with DID == ") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:2] Ringing("DAHDI/1-1", "") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:3] Set("DAHDI/1-1", "DID=s") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:4] NoOp("DAHDI/1-1", "DID is now s") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:5] GotoIf("DAHDI/1-1", "1?zapok:notzap") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Goto (from-zaptel,s,8)
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:8] NoOp("DAHDI/1-1", "Is a Zaptel Channel") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:9] Set("DAHDI/1-1", "CHAN=1-1") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:10] Set("DAHDI/1-1", "CHAN=1") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-zaptel:11] Macro("DAHDI/1-1", "from-zaptel-1,s,1") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@macro-from-zaptel-1:1] NoOp("DAHDI/1-1", "Entering macro-from-zaptel-1 with DID = s and setting to: 26315127") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@macro-from-zaptel-1:2] Set("DAHDI/1-1", "__FROM_DID=26315127") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@macro-from-zaptel-1:3] Goto("DAHDI/1-1", "from-trunk,26315127,1") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Goto (from-trunk,26315127,1)
    [Jan 31 19:35:40] VERBOSE[13576] app_macro.c:   == Channel 'DAHDI/1-1' jumping out of macro 'from-zaptel-1'
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [26315127@from-trunk:1] Set("DAHDI/1-1", "__FROM_DID=26315127") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [26315127@from-trunk:2] NoOp("DAHDI/1-1", "Received an unknown call with DID set to 26315127") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [26315127@from-trunk:3] Goto("DAHDI/1-1", "s,a2") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Goto (from-trunk,s,2)
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-trunk:2] Answer("DAHDI/1-1", "") in new stack
    [Jan 31 19:35:40] VERBOSE[13576] pbx.c:     -- Executing [s@from-trunk:3] Wait("DAHDI/1-1", "2") in new stack
    [Jan 31 19:35:43] VERBOSE[13576] pbx.c:     -- Executing [s@from-trunk:4] Playback("DAHDI/1-1", "ss-noservice") in new stack
    [Jan 31 19:35:43] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'ss-noservice.gsm' (language 'en')
    [Jan 31 19:35:48] VERBOSE[13576] pbx.c:     -- Executing [s@from-trunk:5] SayAlpha("DAHDI/1-1", "26315127") in new stack
    [Jan 31 19:35:48] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'digits/2.gsm' (language 'en')
    [Jan 31 19:35:48] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'digits/6.gsm' (language 'en')
    [Jan 31 19:35:49] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'digits/3.gsm' (language 'en')
    [Jan 31 19:35:50] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'digits/1.gsm' (language 'en')
    [Jan 31 19:35:50] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'digits/5.gsm' (language 'en')
    [Jan 31 19:35:51] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'digits/1.gsm' (language 'en')
    [Jan 31 19:35:52] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'digits/2.gsm' (language 'en')
    [Jan 31 19:35:52] VERBOSE[13576] file.c:     -- <DAHDI/1-1> Playing 'digits/7.gsm' (language 'en')
    [Jan 31 19:35:53] VERBOSE[13576] pbx.c:     -- Executing [s@from-trunk:6] Hangup("DAHDI/1-1", "") in new stack
    [Jan 31 19:35:53] VERBOSE[13576] pbx.c:   == Spawn extension (from-trunk, s, 6) exited non-zero on 'DAHDI/1-1'
    [Jan 31 19:35:53] VERBOSE[13576] pbx.c:     -- Executing [h@from-trunk:1] Hangup("DAHDI/1-1", "") in new stack
    [Jan 31 19:35:53] VERBOSE[13576] pbx.c:   == Spawn extension (from-trunk, h, 1) exited non-zero on 'DAHDI/1-1'
    [Jan 31 19:35:53] VERBOSE[13576] chan_dahdi.c:     -- Hungup 'DAHDI/1-1'
    
    Thanks for any help or guidance
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    your calls are going to the s context, you need to do all the "from-zaptel" thing including the inbound route , please refer to "Elastix Without Tears"
     

Share This Page