[Asterisk-Users] Manipulate CALLERIDNUM
Chad Brown
chad.brown at identitymine.com
Wed Aug 31 00:07:30 MST 2005
This is probably part of the equation. However, I really need a dev to suggest some logic that first determines if the CALLERIDNUM starts with a 6 and if so increase the CALLERIDNUM by 200. (Probably suing the SetCIDNum)
I just need the logic. ;-) Thanks for your help.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Sergio Serrano
Sent: Tuesday, August 30, 2005 11:53 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Manipulate CALLERIDNUM
Hi,
Try SetCIDNum application before VoiceMail application
regards,
srsergio
-----Mensaje original-----
De: Chad Brown [mailto:chad.brown at identitymine.com]
Enviado el: miércoles, 31 de agosto de 2005 8:48
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Asunto: [Asterisk-Users] Manipulate CALLERIDNUM
Can someone tell me how to do this...Given the following line:
exten => *97,3,VoicemailMain(${CALLERIDNUM}@default)
Is it possible to add some logic to manipulate the CALLERIDNUM to send back
801 even if the extension is 601 and 901 even if the extension is 701? I
have 2 branch offices where users have both Office and Home SIP phones. I
want them to share a VM box.
Branch1 = 8XX , Home = 7XX
Branch2 = 9XX, Home = 6XX
Therefore I would like to manipulate the home CALLERIDNUM in both examples.
Make sense?
Thanks in advance.
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 30/08/2005
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list