[Dundi] Dundi setup

Vic Jolin victor.jolin at gmail.com
Wed Dec 12 01:10:48 CST 2007


Can dundi be used using openser?

On Nov 26, 2007 5:20 PM, Vic Jolin <victor.jolin at gmail.com> wrote:

> Is it possible to dial alphanumeric on dundi?
>
> Say I have username as "vic" will dundi know it?
>
> One more question (sorry Im really new with dundi features)
>
> Will dundi know what context it is dialling from? For example my phone is
> in context1 and I want to dial to the other server within the same context,
> will dundi know it?
>
> Is it possible for dundi to separate extensions with contexts? Like if I
> have 2 identical extensions 101 with different context
>
>
>
>
>
> On Nov 25, 2007 5:42 AM, Marcel Stutz < solaris at swissirc.net> wrote:
>
> > Dear Vic,
> >
> > This is my Part of DUNDi in my Extensions but i use it for Dialing e164
> > Numbers.
> >
> > [sNE-DUNDi]
> > exten => _000XXX.,1,NoOp(DOING DUNDi LOOKUP)
> > exten => _000XXX.,n,Set(dundiresult=${DUNDILOOKUP(${EXTEN:3})})
> > exten => _000XXX.,n,GotoIf($["" = "${dundiresult}"]?:30)
> > exten => _000XXX.,n,GotoIf($["" = "${dundiresult}"]?20:30)
> >
> > exten => _000XXX.,20,NoOp(DUNDi Failed)
> > exten => _000XXX.,n,Return
> >
> > exten => _000XXX.,30,NoOp(DUNDi Successful)
> > exten => _000XXX.,n,SayAlpha(DUNDI)
> > exten => _000XXX.,n,macro(call,${dundiresult})
> > exten => _000XXX.,n,Return
> >
> > [macro-call]
> > exten => s,1,Dial,${ARG1}|90|tT
> > exten => s,2,Goto,s-${DIALSTATUS}|1
> > exten => s-CHANUNAVAIL,1,Playback(all-circuits-busy-now)
> > exten => s-CHANUNAVAIL,n,Playback(pls-try-call-later)
> > exten => s-CHANUNAVAIL,n,Hangup
> > exten => s-CONGESTION,1,Playback(cannot-complete-temp-error)
> > exten => s-CONGESTION,n,Playback(pls-try-call-later)
> > exten => s-CONGESTION,n,Hangup
> > exten => s-BUSY,1,Playback(the-party-you-are-calling)
> > exten => s-BUSY,n,Playback(is-curntly-busy)
> > exten => s-BUSY,n,Hangup
> > exten => s-NOANSWER,1,Playback(the-party-you-are-calling)
> > exten => s-NOANSWER,n,Playback(is-curntly-unavail)
> > exten => s-NOANSWER,n,Hangup
> > exten => s-ANSWER,1,Hangup
> > exten => _s-.,1,Playback(cannot-complete-network-error)
> > exten => _s-.,n,Playback(pls-try-call-later)
> > exten => _s-.,n,Hangup
> >
> > I hope this will help you
> >
> > Marcel
> >
> >
> >
> > Vic Jolin schrieb:
> > > Yah I already have looked into that.
> > >
> > > If also I can ask the group, my sip.conf files and extensions
> > sometimes have
> > > words instead of numbers as an extension.
> > >
> > > Example
> > >
> > > exten => 100,1,Dial(SIP/vic,20,tT)
> > >
> > >
> > > How can I point it to the correct extension on the other server.
> > >
> > > I am using Realtime for sip registration
> > >
> > > TIA
> > > Vic
> > >
> > > On Nov 24, 2007 2:36 AM, Marcel Stutz <dundi at swissirc.net> wrote:
> > >
> > >
> > >> Hello Vic,
> > >>
> > >> Dit you read the Document DUNDi so easy ?
> > >>
> > >> I hope this PDF will help you
> > >>
> > >> Marcel
> > >>
> > >>
> > >> Vic Jolin schrieb:
> > >>
> > >>> Im having problems making the dundi able to query the other server.
> > >>>
> > >>> My setup is 2 asterisk servers with realtime.
> > >>>
> > >>> When I do dundi show peers I see the mac address of the other server
> > but
> > >>> when I try dundi query I always end up with no result
> > >>>
> > >>> this is my mappings
> > >>> priv =>
> > >>>
> > >> dundi-priv-lookup-12connect,0,SIP,${IPADDRESS}/${NUMBER},nopartial
> > >>
> > >>> extensions.conf
> > >>> [12connect]
> > >>> ;switch => Realtime/12connect at extensions
> > >>>
> > >>> include => apps
> > >>> include => parkedcalls
> > >>> include => lookupdundi
> > >>> exten => _X.,1,Macro(dundi-priv-12connect,${EXTEN})
> > >>>
> > >>> [dundi-12connect]
> > >>> exten => 101,1,Dial(SIP/${EXTEN},20,tT)
> > >>> exten => 102,1,Dial(SIP/${EXTEN},20,tT)
> > >>> exten => 103,1,Dial(SIP/${EXTEN},20,tT)
> > >>> exten => 104,1,Dial(SIP/${EXTEN},20,tT)
> > >>> exten => 105,1,Dial(SIP/${EXTEN},20,tT)
> > >>> exten => 106,1,Dial(SIP/${EXTEN},20,tT)
> > >>> exten => 107,1,Dial(SIP/${EXTEN},20,tT)
> > >>> exten => 108,1,Dial(SIP/${EXTEN},20,tT)
> > >>> exten => 109,1,Dial(SIP/${EXTEN},20,tT)
> > >>>
> > >>> [dundi-priv-lookup-12connect]
> > >>> include => dundi-12connect
> > >>> include => lookupdundi
> > >>>
> > >>> [lookupdundi]
> > >>> switch => DUNDi/priv
> > >>>
> > >>> [macro-dundi-priv-12connect]
> > >>> exten => s,1,Goto(${ARG1},1)
> > >>> include => dundi-priv-lookup-12connect
> > >>>
> > >>>
> > >>> Any help will be much appreciated
> > >>>
> > >>> TIA
> > >>>
> > >>>
> > >>>
> > ------------------------------------------------------------------------
> > >>>
> > >>> _______________________________________________
> > >>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > >>>
> > >>> Dundi mailing list
> > >>> To UNSUBSCRIBE or update options visit:
> > >>>     http://lists.digium.com/mailman/listinfo/dundi
> > >>>
> > >>
> > >
> > >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/dundi/attachments/20071212/24649e78/attachment.htm 


More information about the Dundi mailing list