On Tuesday 14 October 2008 08:29:18 Rodolfo Alcazar Portillo wrote:
> 1xx -- office extensions
> 92xxxxxx -- local city calls, which must be free
> 90800xxxxxx. -- national 0800 calls, which must be free
> 4___#9xxxxxxx. other calls, which must be paid: cell, national,
> international. the three "___" are each user account code.
>
> Is that ok? I don't know how I'll extract the 4___ calls account code,
> but that's the idea.
Set(CDR(accountcode)=${EXTEN:1:3})
Dial(Zap/g0/${EXTEN:6})
--
Tilghman
_______________________________________________
-- 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