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/
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users