[asterisk-users] Mapping CLI'S in Dialplan
Hi All I am not sure what I wish to do it possible but I would like to see if you guys know any better. I have a site who has the extensions: 1231, 1232. 1233, 1234 Each of these users can dial each other on the extension number an also has an external CLI mapped to them. On all internal calls or calls to services such as call forwarding their Caller ID is: Name What I would like to have happen is have the Caller ID changed to the CLI only when they make an offnet call. So what I am saying is I need to match an extension to a CLI and reset the Caller ID. Many Thanks SP ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Mapping CLI'S in Dialplan
Your offnet calls will be more than 4 digits, so use that to ur advantage. so, for internal calls, exten = _,1,Set(CALLERID(all)=Name ${CALLERID(num)}) or if u dont want to change the CLID at all.. dont do anything.. exten = _,1,NoOp(nothing) else, for all external calls(4 digits) exten = _X.,1,Set(CALLERID(num)=urDID) cheerz - Ben. Scott Pinhorne wrote: Hi All I am not sure what I wish to do it possible but I would like to see if you guys know any better. I have a site who has the extensions: 1231, 1232. 1233, 1234 Each of these users can dial each other on the extension number an also has an external CLI mapped to them. On all internal calls or calls to services such as call forwarding their Caller ID is: Name What I would like to have happen is have the Caller ID changed to the CLI only when they make an offnet call. So what I am saying is I need to match an extension to a CLI and reset the Caller ID. Many Thanks SP ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Mapping CLI'S in Dialplan
Hi Thanks for reply but that wasnt quite what i was trying to explain :-) Bascially a users callerID would be their extension. On offnet calls i needed to have the callerID reset as their DDI rather than their internal extension. I endup using a mysql command in the dialplan to pull out a ddi based on the extension and the re-wrote me callerID when making offnet calls. thanks sp -Original message- From: Benjamin Jacob [EMAIL PROTECTED] Date: Tue, 7 Nov 2006 05:24:21 -0600 To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Subject: Re: [asterisk-users] Mapping CLI'S in Dialplan Your offnet calls will be more than 4 digits, so use that to ur advantage. so, for internal calls, exten = _,1,Set(CALLERID(all)=Name ${CALLERID(num)}) or if u dont want to change the CLID at all.. dont do anything.. exten = _,1,NoOp(nothing) else, for all external calls(4 digits) exten = _X.,1,Set(CALLERID(num)=urDID) cheerz - Ben. Scott Pinhorne wrote: Hi All I am not sure what I wish to do it possible but I would like to see if you guys know any better. I have a site who has the extensions: 1231, 1232. 1233, 1234 Each of these users can dial each other on the extension number an also has an external CLI mapped to them. On all internal calls or calls to services such as call forwarding their Caller ID is: Name What I would like to have happen is have the Caller ID changed to the CLI only when they make an offnet call. So what I am saying is I need to match an extension to a CLI and reset the Caller ID. Many Thanks SP ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users