[Asterisk-Users] *69
Andrew Thompson
asteriskuser at aktzero.com
Tue Jun 22 11:09:34 MST 2004
Jeremy Jones wrote:
>>exten=s,1,DBput(LastCIDNum/${DNID}=${CALLERIDNUM}) ; grab
>>CALLERIDNUM & store it for the dialed number as LastCIDNum exten=etc...
>
> exten => *69,1,DBget(temp=LastCIDNum/${CALLERIDNUM})
> exten => *69,2,GotoIf($[${temp:0:3} = 208]?3:4)
> exten => *69,3,Macro(dialout,${temp:3})
> exten => *69,4,Macro(dialout,${temp})
> exten => *69,102,Congestion
Are your internal-to-internal calls handled seperately from
external-to-internal calls?
I see you are accounting for local versus ld calls, but what about when the
person in the next cube over calls you?
-----
Andrew Thompson
http://aktzero.com/
More information about the asterisk-users
mailing list