On Thursday 06 December 2007 03:03:35 pm Anthony Messina wrote: > What was I trying to do???... > > Using the "M" option is probably not the best way to set the CDR(userfield) > anyway. What I was trying to accomplish was to have inbound DUNDi calls > define something like "dundi-in" in the userfield, and ENUM would say > "enum, or something like that. The trouble is, I use a grabber script > which grabs all the AT&T numbers "local" to my pstn and store those area > codes/prefixes in realtime for use with DUNDi or local calls. I know I > could use a Set(CDR(userfield)=dundi-in) as priority 1, and have the Dial > as priority 2 in MySQL, but I have to figure out how to fix my grabber > script for that. > > Is there a way that an inbound DUNDi call could have an accountcode based > on the peer which is connecting to place the call?
after i wrote that question, i realized (duh!) that i could simply put the accountcode in the [dundi] user section in iax.conf! some things end up being so simple... -- Anthony - http://messinet.com - http://messinet.com/~amessina/gallery 8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
