Ron McCarthy
2006-Dec-06 12:09 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061206/be767896/attachment.htm
Rob Schall
2006-Dec-06 12:32 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
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 -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Ron McCarthy
2006-Dec-06 12:50 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
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@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 -- > > > > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061206/018791af/attachment.htm
Rob Schall
2006-Dec-06 13:49 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
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@callone.net > <mailto:rschall@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 >
Ron McCarthy
2006-Dec-06 14:02 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
Yeah, Bascailly lets say extension 20000 places a outbound call, it needs to show that persons private DID name and number, and anyone else gets the global callerid name/number. I guess you do this via a if statement, im trying but having a hell of a time getting it to work! On 12/6/06, Rob Schall <rschall@callone.net> wrote:> > 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@callone.net > > <mailto:rschall@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 > > > > _______________________________________________ > --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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061206/ddf11f5b/attachment.htm
Rob Schall
2006-Dec-06 14:13 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
The way I would try to solved this would be to have a different context for just that use. His outbound calls would set a personal caller id, and then make the outbound call. Everyone else would use the group context. Other than that, possibly a good Macro might take care of that. Rob Ron McCarthy wrote:> Yeah, > > Bascailly lets say extension 20000 places a outbound call, it needs to > show that persons private DID name and number, and anyone else gets > the global callerid name/number. I guess you do this via a if > statement, im trying but having a hell of a time getting it to work! > > On 12/6/06, *Rob Schall* <rschall@callone.net > <mailto:rschall@callone.net>> wrote: > > 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@callone.net > <mailto:rschall@callone.net> > > <mailto:rschall@callone.net <mailto:rschall@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> > > < 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> > > <http://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 > <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 >
Forrest Beck
2006-Dec-06 15:05 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
I use the GoToIf: If the SIP phone is Extension 2501 and dials out (I am using the norstar 9 to dial out convention). BTW. ${PSTNOUT} is a global variable for "ZAP/G2". exten => _9X.,1,GoToIf($["${CALLERIDNUM}" = "2501"]?2:3) exten => _9X.,2,Set(CALLERID(num)=9195551212) exten => _9X.,3,NoOp(${CALLERIDNUM}) exten => _9X.,4,Dial(${PSTNOUT}/${EXTEN},300,) exten => _9X.,5,Hangup() On 12/6/06, Rob Schall <rschall@callone.net> wrote:> The way I would try to solved this would be to have a different context > for just that use. His outbound calls would set a personal caller id, > and then make the outbound call. Everyone else would use the group > context. Other than that, possibly a good Macro might take care of that. > > Rob > > > Ron McCarthy wrote: > > Yeah, > > > > Bascailly lets say extension 20000 places a outbound call, it needs to > > show that persons private DID name and number, and anyone else gets > > the global callerid name/number. I guess you do this via a if > > statement, im trying but having a hell of a time getting it to work! > > > > On 12/6/06, *Rob Schall* <rschall@callone.net > > <mailto:rschall@callone.net>> wrote: > > > > 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@callone.net > > <mailto:rschall@callone.net> > > > <mailto:rschall@callone.net <mailto:rschall@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> > > > < 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> > > > <http://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 > > <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 > > > > _______________________________________________ > --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 >
C F
2006-Dec-06 16:02 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
Asterisk supports whats called context, using a context just for that phone you can set a different callerid, then use a default context for all the other phones. On 12/6/06, Ron McCarthy <ronmccar@gmail.com> 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 -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Ron McCarthy
2006-Dec-07 08:22 UTC
[asterisk-users] Setting outgoing caller id on a zap channel for one sip extension only
Thanks guys for all the help. For this setup I just did a GoToIf(), I will look into multiple context though, looks like thats whats needed for having alot of different outbound caller ids! Thanks again! On 12/6/06, C F <shmaltz@gmail.com> wrote:> > Asterisk supports whats called context, using a context just for that > phone you can set a different callerid, then use a default context for > all the other phones. > > On 12/6/06, Ron McCarthy <ronmccar@gmail.com> 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 -- > > > > 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061207/816e2d5e/attachment.htm
Dovid B
2006-Dec-07 10:18 UTC
[asterisk-users] Setting outgoing caller id on a zap channel forone sip extension only
Is this for a pots line ? ----- Original Message ----- From: Ron McCarthy To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: Wednesday, December 06, 2006 9:10 PM Subject: [asterisk-users] Setting outgoing caller id on a zap channel forone sip extension only 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 -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061207/21793857/attachment.htm