Hello, If one is using Dundi, and it returns multiple, weighted routes to a destination, how is that applied in the dial-plan?
asterisk*CLI> dundi lookup 1588XXXXXXX 1. 400 IAX2/dundi:[EMAIL PROTECTED]/1588XXXXXXX (EXISTS|NOUNSLCTD|NOCOMUNSLTD) from 00:30:48:71:26:70, expires in 1098 s 2. 400 IAX2/dundi:[EMAIL PROTECTED]/1588XXXXXXX (EXISTS|NOUNSLCTD|NOCOMUNSLTD) from 00:30:48:71:27:51, expires in 1098 s DUNDi lookup completed in 560 ms How do I then take that information and cycle through it? According to the help for the DundiLookup application: asterisk*CLI> show application DUNDiLookup asterisk*CLI> -= Info about application 'DUNDiLookup' =- [Synopsis]: Look up a number with DUNDi [Description]: DUNDiLookup(number[|context[|options]]) Looks up a given number in the global context specified or in the reserved 'e164' context if not specified. Returns -1 if the channel is hungup during the lookup or 0 otherwise. On completion, the variable ${DUNDTECH} and ${DUNDDEST} will contain the technology and destination of the appropriate technology and destination to access the number. If no answer was found, and the priority n + 101 exists, execution will continue at that location. But does that return everything? Or just a single result? -- Vice President of N2Net, a New Age Consulting Service, Inc. Company http://www.n2net.net Where everything clicks into place! KP-216-121-ST _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users