i created DID for every extension.... problem is when i am calling some external mobile phone (e.g. from extension 300) in sip message there is
300@ip.address when my call is going to the 3cx, 3cx have outbound rule for mobile network to route them to GSM gateway, when that call is coming to the GSM , GSM see in the sip message from 1001@ipaddress (virtual line), or
100@ip.address (number of trunk) and that call is forward outside to the mobile network. if that call was not connected there is an option in gsm gateway to keep that call in routing table so when pearson who has missed call, call back gsm gateway can automatically forward that call to extension form which call was originated. problem is when i look that routing table og gsm gateway instead of real extension number which originated that call there is a "100" or 1001. what i need to setup is when some call from extension 300 and that call is passing through sip trunk between 3cx and gsm gateway ,to came to the gsm gateway as
300@ip.addd, and when person from mobile phone call back gsm see in his table when someone call that mobile number on gsm gateway can automaticly forward that call to extension xy. right now everything is going to extension 100 (secretary).
there are some options in outbound parameters on trunk, from user part , from host part, from display name.... i think that i can solve my problem with that.. I dont know exactly what to change...
P.S. my extension have otubound caller ID setup for another sip trunk which is on the same 3cx and I cant change it.