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.
calls from either extension have the same callerID. How can an
extension specify separate outgoing contexts so the correct number is
associated with it, also allowing the SIP provider to recognize the
difference for billing purposes, or is there a better way?

In short I'm looking to associate an outgoing call from an extension
with a specific number.

Here's the sip.conf for both accounts as they are using IP routing,
I'm assuming I do not have to perform auth based to separate the two
accounts for outgoing calls:

[vitel-inbound]
type=friend
dtmfmode=auto
host=inbound18.vitelity.net
context=inbound
allow=all
insecure=very

[vitel-outbound]
type=friend
dtmfmode=auto
host=outbound.vitelity.net
context=outbound
insecure=very
allow=all

Thanks

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to