Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Roger Burton West
On Sun, Dec 19, 2010 at 12:14:11AM -0500, Stephen Reese wrote: Thanks for the heads up, I have been setting the caller-ID but the trouble I'm running into is specifying the which number to call out as. How can an extension specify a different number? See below for my current extension.conf,

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Jeroen Eeuwes
Hi Stephen, Thanks for the heads up, I have been setting the caller-ID but the trouble I'm running into is specifying the which number to call out as. How can an extension specify a different number? See below for my current extension.conf, thanks. You can check the channel-name to see which

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Stephen Reese
You can check the channel-name to see which extension is making the call and set the CallerID accordingly. The channel-name will be something like SIP/201-abc23ef34 or SIP/User1-def34abc51. The 201 or User1 part depends on how you put the username in sip.conf  You can use the CUT function to

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread William Stillwell
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Stephen Reese Sent: Sunday, December 19, 2010 12:49 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Specifying DID

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread sean darcy
Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Specifying DID for outbound calls You can check the channel-name to see which extension is making the call and set the CallerID accordingly. The channel-name will be something like SIP/201-abc23ef34 or SIP/User1-def34abc51

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Joshua Colp
- Original Message - The host I am working with has two accounts from the same DID provider. Incoming calls work correctly and dial the appropriate extensions. This also allows incoming calls to be billed appropriately to the individual DID accounts. Outgoing calls from either

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread William Stillwell
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joshua Colp Sent: Sunday, December 19, 2010 2:40 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Specifying DID

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Joshua Colp
: [asterisk-users] Specifying DID for outbound calls - Original Message - The host I am working with has two accounts from the same DID provider. Incoming calls work correctly and dial the appropriate extensions. This also allows incoming calls to be billed appropriately

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Joshua Colp
- Original Message - On Sun, Dec 19, 2010 at 2:40 PM, Joshua Colp jc...@digium.com wrote: I'm surprised nobody has suggested using the setvar functionality. It's extremely useful for stuff like this and would allow you to keep all CallerID information with the actual

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Stephen Reese
First, when using multiple accounts from the same DID provider, is it ideal to use IP based routing using one context as I currently am or have a separate contexts for each account in the sip.conf? That's really the only way to do it presently. So I should have multiple incoming and outgoing

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Joshua Colp
- Original Message - First, when using multiple accounts from the same DID provider, is it ideal to use IP based routing using one context as I currently am or have a separate contexts for each account in the sip.conf? That's really the only way to do it presently. So I

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Stephen Reese
So I should have multiple incoming and outgoing contexts? Vitelity will allow me to use IP routing or user/pass auth, the latter would allow me to specify the outgoing context, this would also guarantee the correct account is billed and not alone rely on caller-ID. Let me clarify further.

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Stephen Reese
On Sun, Dec 19, 2010 at 4:36 AM, Jeroen Eeuwes jeroeneeu...@gmail.com wrote: Hi Stephen, Thanks for the heads up, I have been setting the caller-ID but the trouble I'm running into is specifying the which number to call out as. How can an extension specify a different number? See below for my

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Jonathan Thurman
On Sun, Dec 19, 2010 at 2:57 PM, Stephen Reese rsre...@gmail.com wrote: I believe I have made a little headway. I have two outgoing DID contexts and have changed the GotoIf statement to the extension name. User One acts as expected and User two now displays unknown when calling so I believe it

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-19 Thread Stephen Reese
I believe I have made a little headway. I have two outgoing DID contexts and have changed the GotoIf statement to the extension name. User One acts as expected and User two now displays unknown when calling so I believe it is trying to to goto 20 but it's not quite making it. Any tips? Thanks

[asterisk-users] Specifying DID for outbound calls

2010-12-18 Thread Stephen Reese
The host I am working with has two accounts from the same DID provider. Incoming calls work correctly and dial the appropriate extensions. This also allows incoming calls to be billed appropriately to the individual DID accounts. Outgoing calls from either extension default to the first DID, i.e.

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-18 Thread Jonathan Thurman
On Sat, Dec 18, 2010 at 4:03 PM, Stephen Reese rsre...@gmail.com wrote: The host I am working with has two accounts from the same DID provider. Incoming calls work correctly and dial the appropriate extensions. This also allows incoming calls to be billed appropriately to the individual DID

Re: [asterisk-users] Specifying DID for outbound calls

2010-12-18 Thread Stephen Reese
The outgoing caller-id is probably just the extension number, so the provider is setting it to a default (usually the main billing number).  You can set what Asterisk sends as the outbound Caller-ID in the outbound context before the Dial statement.  Make sure your provider will honor what