Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Asterisk outbond CID setting

Status
Not open for further replies.

Timothy Pang HK

Systems Engineer
May 17, 2022
4
HK
I had extension 2222 and outgoing SIP trunk the range is 12340000-12349999. How can I setup the outgoing CID 12342222 in outbond route?
 
If you need just the number, enter it in the Route CID field of the outbound route and check the Override Extension option. With this configuration, all calls made using this outbound route will use the caller ID 12342222 (even if another number is set in the Outbound CID field in the extension's configuration).
 
Thanks your information. I know that but not suitable for my case. Because I had two sip trunk connected. I could like ext. 2222 one sip trunk is range is 12340000-12349999 and other range is 56780000-56789999. I want to dial 9+XXXXXX will show 12342222 and dial 8+XXXXXXX will show 56782222. But in outbounds route the field Route CID cannot do the (1234+variable). Any idea? Hope you can understand what I am saying.
 
I am not really sure. If you want one outbound CID to be used for 9+XXXXXX and another outbound CID for 8+XXXXXXX, you can simply define two outbound routes (one for 9+XXXXXXX and another for 8+XXXXXXX). If you want extension specific CID, then you should configure the Outbound CID for each extension (instead of setting the outbound CID in outbound routes).
 
Not one outbound CID. difference extension will difference. e.g. ext 2222 when dial 9+XXXXXX will show 12342222 and dial 8+XXXXXXX will show 56782222, ext. 2225 when ial 9+XXXXXX will show 12342225 and dial 8+XXXXXXX will show 56782225. Clear?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top