[Asterisk-Dev] CDR question
Sergio Serrano Revuelto
sergio.serrano at avanzada7.com
Mon Jul 21 10:52:37 MST 2003
But you must strip first digit, is not?
Below I put some example that my extensions.conf, but this configuration
doesn't work.
[outgoing]
exten=>_99XXXXXXXX,1,StripMSD(1)
exten=>_9XXXXXXXX,2,Goto(fijo|BYEXTENSION,1)
exten=>_96XXXXXXXX,1,StripMSD(1)
exten=>_6XXXXXXXX,2,Goto(movil|BYEXTENSION|1)
[fijo]
exten=>_9XXXXXXXX,1,Dial(CAPI/@951014943:BBYEXTENSION|17)
exten=>_9XXXXXXXX,2,Dial(CAPI/@951014944:BBYEXTENSION|17)
[movil]
exten=>_6XXXXXXXX,1,Dial(Zap/1/BYEXTENSION|17)
Regards,
srsergio
-----Mensaje original-----
De: asterisk-dev-admin at lists.digium.com
[mailto:asterisk-dev-admin at lists.digium.com] En nombre de Steven
Critchfield
Enviado el: lunes, 21 de julio de 2003 19:37
Para: asterisk-dev at lists.digium.com
Asunto: Re: [Asterisk-Dev] CDR question
On Mon, 2003-07-21 at 11:50, Sergio Serrano Revuelto wrote:
> Hi,
> I would like to know how suppress number for outside dialling in
CDR
> table. For example, if I need press 9 key to make an outside call, I
> would like that the number in dst field in cdr table was the outside
> number without 9 key. It's possible?
You could always use the 9 to jump to a context that then accepted the
number patterns without the 9. This would mean that the dialed number at
this point wouldn't contain the 9.
--
Steven Critchfield <critch at basesys.com>
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list