Friendly greetings, everyone !
I set up two Asterisk boxes : one with 2000 to 2999 extensions, the other with 5000 to 5999 extensions. On both, I have SIP users : 2005 and 2025 on one, 5002 and 5025 on the other.
I set up an IAX trunk between the two, using Asterisk-GUI : on my trunks, the user's extensions are 2999 and 5999. The trunks are registered, everything is OK on this matter.
Let's say user SIP 2005 (on one side) wants to call user SIP 5002 (on the other side). I make the call, the call is normally relayed (I can join the other side) but, on 5002's phone, the displayed Caller ID is "2999" (trunk ID), which is bothersome.
Is there a way to keep the original Caller ID (so, in my example, 2005) and display it on 5002's phone ?
I consulted Asterisk's doc and voip-info.org, but I haven't found my answer as of yet.