Hello All,
I created dial-peers and translation and all is working well. I can make the call with 10 digits and 6 digits extensions. Now I was told to add diversion header modification under voice class sip-profiles 500.
So I went under voice class sip-profiles 500 and entered the following command. I don't know if this is correct or need modification. My DIDs are as follow
310508 7192-7201
310508 7379-7388
Config as follow
voice class sip-profiles 500
request INVITE sip-header Diversion modify "<sip:70(71[9].)@*.*.*.*>" "<sip:310508\1@voip.centurylink.com>"
request INVITE sip-header Diversion modify "<sip:70(72[0].)@*.*.*.*>" "<sip:310508\1@voip.centurylink.com>"
request INVITE sip-header Diversion modify "<sip:70(73[7-8].)@*.*.*.*>" "<sip:310508\1@voip.centurylink.com>"
Thanks!