This is my old post: https://www.tek-tips.com/threads/avaya-ip-office-asterisk-wrong-outgoing-caller-id-on-pri.1833704/
TouchToneTommy helped me with this:
Thank you!!!
I have integrated an Avaya IP Office 500 system with an Asterisk PBX.
Calls are working perfectly, both inbound and outbound.
I have a PRI line with 16 public numbers, each associated with specific internal extensions.
When I make an outbound call from an Avaya extension (e.g., extension 710), the correct public number is used (e.g., 123456710).
However, when I call from an Asterisk extension (e.g., extension 711), the call goes out using the default public number (e.g., 123456700) instead of the correct one (123456711).
TouchToneTommy helped me with this:
The IPO will match a User's Incoming Call Route (their DID) when dialing out through ARS. The Asterisk extensions will need to dial into the IPO with different shortcodes that will direct their outbound calls through different ARS tables that specify the CID to send. For instance, when Ext. 711 on Asterisk makes a call, Asterisk needs to send something like *7112135551212 to the IPO, the IPO needs a shortcode of *711N/Dial/N/ARS:51, and ARS 51 needs N;/Dial/NS123456711/LineGroup to call out sending the correct CID
But now i have to set 50 extensions. is possible to use only one ars/shortcode instead of 50?Thank you!!!