Need help trouble shooting Outgoing Caller ID


Hello everyone. We are using a UCM6204 and gxp2160 phones. When calling out we are getting some phone numbers that are not accepting our calls as they do not allow phone numbers without caller ID. I contacted our SIP provider on one of the calls and got this

Here is the Call INVITE that is being send from our network:

INVITE sip:15303427805@xxx:5060;transport=udp SIP/2.0
Record-Route: <sip:XXX.XXX.XXX.XXX;lr=on;ftag=6886326e-4966-40dc-8e59-1b966a73c128;did=732.2862;vsf=U2s0M1hoczBhYGB3Yjd8QEQ4aFNuMyVZZ24uZ1dW;vst=U2s0M1hoczBhYGBwaDtwTUA0dl90IzVednQpUFZS>
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bK2ddf.dd30511af268706b6705a9fbf67b1c1b.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:64260;received=XXX.XXX.XXX.XXX;TH=div;rport=64260;branch=z9hG4bKPje0c4c740-7e09-457b-8add-296964ef205b
From: “Dr 4” <sip:+15303420518@XXX.XXX.XXX.XXX>;tag=6886326e-4966-40dc-8e59-1b966a73c128
To: <sip:+15303427805@xxx>
Contact: “Dr 4” <sip:15303420518@XXX.XXX.XXX.XXX:64260>
Call-ID: 614cc7a9-3662-4b72-9d72-0593b2d9f8cd
CSeq: 18902 INVITE
Supported: 100rel, timer, replaces, norefersub
Session-Expires: 600
Min-SE: 90
X-Grandstream-Transport: trunk
Max-Forwards: 69
User-Agent: Grandstream UCM6202V1.5A
Content-Type: application/sdp
Content-Length: 349
TH: dih
P-Asserted-Identity: “Dr 4” <sip:+15303420518@XXX.XXX.XXX.XXX>

o=- 2114747319 2114747319 IN IP4
c=IN IP4
t=0 0
m=audio 10120 RTP/AVP 0 8 3 2 18 97 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:18 G729/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

I removed identifying IP addresses. they said that the ID that is going out is “Dr.4” but it looks like there is also a phone number. I have used their tool to change the name associated with the phone number, but that has not worked. I know that there are several placed that the caller ID can be stored from the individual phones to the PBX. Can someone help me find the correct place to store this information so that it is getting reported to the world correctly?




Any help is most appreciated. Thank you.


Are you using DOD in the trunk settings?


Thanks for the reply. I just checked and my trunks do not have a DOD number set up in the settings area. Do I need to do this?


Well, it really depends on where/what header field your provider wants to see the number contained. Also, post a snippet of what the the first page of an extension looks like in the UCM.


Thanks again. Here is the first of a few shots. Dr 4 will come up at unknown caller. Dr. 6 showed up on once CID as Dr. 6.




Just added phone number to the DOD section of the VOIP trunk


Could this be the problem?


I added our phone to all these spots (DOD, CID for each trunk) and applied changes. Still getting unknown caller CID. Maybe I need a reboot? Maybe need a couple hours?


One more thing. Can you explain this to me?


What does keep CID from inbound call when dialing out mean? Is this for a situation where you would transfer a call from outside to another extension so that extension you are transferring to will see the inbound CID and not the transferring extension?


Try setting the Caller ID at the extension level to the extension number. I think that might solve your problem.


It means to keep the original CID from the caller such that if you have a forward set to an external number, that it will keep the originator number rather than say, the office number, so that the recipient can see who is truly calling and in the event of a disconnect, will have the original number so they can call back if needed.


Isn’t that what I have done here?

It is the extension 1023 and the CID says out phone number 5303420518


I’m suggesting that you put the extension number in the CallerIDNumber field at the top right of the extension settings. Worth a try - I think that might solve the problem. The DoD settings are looking for outbound calls from a certain set of extensions. Your extension isn’t sending its extension number with the outbound call, thus the DoD can’t substitute the number you’ve set there. That, combined with the fact that you haven’t checked the “Keep Original Caller ID” box on the trunk is what is causing your problem (I think.)


Thanks so much for the reply. Just so I understand you want me to try this?




Yes, that’s what I meant. Did it work?


Here are the trunk settings too