[asterisk-users] Dial() Macro option error in 1.4.15

Anthony Messina amessina at messinet.com
Tue Dec 18 05:23:24 CST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20071218/1ddf33b1/attachment.pgp 


More information about the asterisk-users mailing list