----- Original Message ----- From: "Timothy Parez" <[EMAIL PROTECTED]>
To: <asterisk-users@lists.digium.com>
Sent: Wednesday, December 13, 2006 1:03 AM
Subject: [asterisk-users] Settings CallerId for outgoing calls based on thesip account making them


Hi,

I have 10 DID numbers.
Calls coming from the PSTN network are routed correctly to the SIP users
based on the number that was called.

But when sip users call the PSTN network, the CallerID should be set
to correspondent with their DID number.

At the moment I can set the CallerID to a global number,
but I have no idea how to check who's making the call.

All sip users start in the context [internal]

Any ideas?

Thank you.

If your provider allows you to set your own CID you can try setting it in sip.conf. If not you can create a seperate context for each user and then have them use the diffrent DID's. Another option is too have diffrent pattern matches. For instance to use DID1 dial 1+number for DID2 dial 2+number etc.

_______________________________________________
--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

Reply via email to