[asterisk-users] Mapping CLI'S in Dialplan
Benjamin Jacob
benjamin.jacob at masconit.com
Tue Nov 7 04:24:37 MST 2006
Your offnet calls will be more than 4 digits, so use that to ur advantage.
so, for internal calls,
exten => _XXXX,1,Set(CALLERID(all)=Name ${CALLERID(num)})
or if u dont want to change the CLID at all.. dont do anything..
exten => _XXXX,1,NoOp(nothing)
else, for all external calls(>4 digits)
exten => _XXXXX.,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 <XXXX>
>
>
>
> 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
>
>
More information about the asterisk-users
mailing list