Configuring pbxnsip to show callerID in SIP trunk
By default pbxnisp sends the extension’s number as caller ID thru SIP trunks. Since it is a not valid DID, many providers, concerned about caller ID spoofing, won’t terminate those calls.The best is if your SIP trunk provider or SIP gateway supports remote-party-id, in that case configure the trunk DID and Remote-Party-ID. You might ask your provider about RFC3325.
If you want to fix it in the PBX side without wondering about the above, follow 2 steps:
1. Create an Alias for the extension with the format tel:callerID
2. In trunk definition select RFC3325 as shown below
Here is how the INVITE goes to that trunk, it shows the right caller ID in the From field:
INVITE sip:19728311600@192.168.0.243;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.0.7:5060;branch=z9hG4bK-5c6a45d05803349c98c47c597c6e3e4c;rport
From: “Henry Castillo” <sip:+19728311600@192.168.0.243>;tag=1049020745
To: <sip:19728311600@192.168.0.243;user=phone>
Call-ID: 0eba8451@pbx
CSeq: 15581 INVITE
Max-Forwards: 70
Contact: <sip:+19728311600@192.168.0.7:5060;transport=udp>
Supported: 100rel, replaces, norefersub
Allow-Events: refer
Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE
Accept: application/sdp
User-Agent: pbxnsip-PBX/2.1.10.2474
P-Asserted-Identity: “Henry Castillo” <sip:115@localhost>
Content-Type: application/sdp
Content-Length: 319
Henry



