Caller ID being sent in SIP packet "Contact" field by the trunk


I’m on version 2.8.1
My VoIP provider (which happens to be a GSM gateway for me) is sending the caller ID of the caller in the “Contact” field of the SIP packet:

<--- SIP read from UDP: ---> INVITE sip:[email protected];transport=udp SIP/2.0 Via: SIP/2.0/UDP;branch=z9hG4bKervg377699842 To: From: ;tag=t1815786539 Contact: Call-ID: [email protected] CSeq: 1542 INVITE Allow: INVITE, BYE, CANCEL, ACK, INFO, REGISTER Supported: Max-Forwards: 70 Content-Type: application/sdp Content-Length: 217 When the call comes in, it ofcourse shows me the "From" ID which in this case is 1000. I need to see what's in "Contact" field - 02474666 as caller ID. I'm guessing this needs some form of dialplan hacking and trunk settings need to change. It would be great if someone can help me out in this.



Thankfully Eurotech support allowed me to change it so this returns to normal behavior of sending called id in the “From” field of the SIP Packet.

So, no thanks to the FreePBX “community”.