[asterisk-users] Setting outgoing caller id on a zap channel
for one sip extension only
Rob Schall
rschall at callone.net
Wed Dec 6 13:49:42 MST 2006
Ron,
By source #, i assume you mean you have something like a SIP phone on
the network with the extension like 4455, and you want that to have a
different caller id when you make outgoing calls, then the rest of the
phones on your network (the rest would show a global company number).
Based on where you put the exten, it works as either an incoming or
outgoing handle. For example, I have it setup on our network, that if
you dial out and connect to our local area code, that the callerid is
one number. If you call long distance, you would see our 1800 number.
Is this the setup you are looking for?
Rob
Ron McCarthy wrote:
> Hi Rob,
>
> Well see that would work great if I knew the numbers they would be
> calling, but all I know is the source number/phone, i have no clue who
> they will be calling. Any ideals now? I wish it was that easy!
>
> Thanks!
>
> On 12/6/06, *Rob Schall* <rschall at callone.net
> <mailto:rschall at callone.net>> wrote:
>
> Ron,
>
> I believe you would just want to edit your extensions.conf file so
> that
> the extension you want separate has its own rule set.
>
> exten => 4567,1,Set(CALLERID(all)=000-000-0000)
> exten => 4567,n,Dial(SIP/4567)
>
> all other calls would just fit in like:
>
> exten => _4.,1,Set(CALLERID(all)=111-000-0000)
> exten => 4567,n,Dial(SIP/${EXTEN})
>
> Hope that gives a bit of insight or puts you in the right direction.
> Rob
>
>
> Ron McCarthy wrote:
> > Hi List,
> >
> > Ive got one extension/login that when they call out from that it
> needs
> > to show a different name/number, and then the rest of the phone will
> > have a default one. Whats the best way to do this? I know it can be
> > done, just cant figure out how! Ive looked around and seem to see no
> > docs on it. Any help or examples would be great on this!
> >
> > Thanks!
> > Ron
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com
> <http://Easynews.com> --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> <http://lists.digium.com/mailman/listinfo/asterisk-users>
> >
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com
> <http://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
>
More information about the asterisk-users
mailing list