[asterisk-users] Re: DUNDi configuration problem

Tim Verscheure tverscheure at gmail.com
Tue May 22 18:56:19 MST 2007


Does this even work?

exten => 5010,1,Dial(SIP/5010 at priv)

It keeps saying CHANUNAVAIL...


greetz

2007/5/22, Tim Verscheure <tverscheure at gmail.com>:
> ok so now I changed "ext-local" to "dundi-ext" and I created this
> context at the bottom of the extensions file. This is now the case.
>
> [dundi-priv-canonical]
> ; Direct numbers
>
> exten => 5010,1,NooP(DUNDI LOOKUP 5010)
> exten => 5011,1,NooP(DUNDI LOOKUP 5011)
>
> exten => _60XX,1,Goto(dundi-ext,${EXTEN},1)
>
> [dundi-priv-customers]
> ; If you are an ITSP or Reseller, list your customers here.
> exten => _60XX,1,Goto(dundi-ext,${EXTEN},1)
>
> [dundi-priv-via-pstn]
> ; If you are freely delivering calls to the PSTN, list them here
>
> [dundi-priv-local]
> include => dundi-priv-canonical
> include => dundi-priv-customers
> include => dundi-priv-via-pstn
>
> exten => 5010,1,Dial(SIP/5010)
> exten => 5011,1,Dial(SIP/5011)
>
> [dundi-priv-switch]
> ; Just a wrapper for the switch
> switch => DUNDi/priv
>
> [dundi-priv-lookup]
> include => dundi-priv-local
> include => dundi-priv-switch
>
> [macro-dundi-priv]
> exten => s,1,Goto(${ARG1},1)
> include => dundi-priv-lookup
>
> [trydundi]
> exten => _.,1,Macro(dundi-priv,${EXTEN})
> exten => _.,2,Congestion
>
>
> This is the dundi-ext at the bottom. In there I put this line:
> [dundi-ext]
> exten => _60XX,1,Dial(SIP/${EXTEN}@priv)
>
> I made this myself, I think that if I get an incoming call from for
> example 6010, the person would be dialing SIP/6000 at priv, right?
>
> this is the output:
> *CLI>     -- Executing [5011 at default:1] Goto("SIP/6010-0820cdc8",
> "dundi-ext|5011|1") in new stack
>     -- Goto (dundi-ext,5011,1)
>     -- Executing [5011 at dundi-ext:1] Dial("SIP/6010-0820cdc8",
> "SIP/5011 at priv") in new stack
> [May 22 14:36:18] WARNING[4520]: chan_sip.c:2738 create_addr: No such host: priv
> [May 22 14:36:18] WARNING[4520]: app_dial.c:1099 dial_exec_full:
> Unable to create channel of type 'SIP' (cause 3 - No route to
> destination)
>   == Everyone is busy/congested at this time (1:0/0/1)
>   == Auto fallthrough, channel 'SIP/6010-0820cdc8' status is 'CHANUNAVAIL'
>
>
> 2007/5/21, Remco Post <remco at pipsworld.nl>:
> > Tim Verscheure wrote:
> > > Now I get this... If I call from 5011 on the 192.168.1.103 machine to
> > > 6010 on the 192.168.1.69 machine my X-lite softphone says, call
> > > declined
> > >
> > > this is the output:
> > >    -- Executing [6010 at default:1] Goto("SIP/5011-081da508",
> > > "ext-local|6010|1") in new stack
> > >    -- Goto (ext-local,6010,1)
> > > [May 21 15:32:46] WARNING[8939]: pbx.c:2450 __ast_pbx_run: Channel
> > > 'SIP/5011-081da508' sent into invalid extension '6010' in context
> > > 'ext-local', but no invalid handler
> > >
> >
> > so, is there an extension 6010 in you context ext-local? Probably not ;-)
> >
> > > I'll add my extension file so you can see it. greetz
>


More information about the asterisk-users mailing list