Incoming Caller ID problem after upgrading to 1.4


I have been running Asterisk on FreeBSD 6.0 without a problem for many months but we are in the process of moving the majority of services to Ubuntu.

I installed Asterisk 1.4.17~dfsg-2ubuntu1 via apt-get/sources.list on Ubuntu 8.04.1 this evening and all works well apart from incoming caller ID. Only the first 3 characters of the incoming callerID are displayed on softphone (x-lite) and hard phone (Siemens S685IP).

Any help would be most appreciated.


I would start by finding out what asterisk is seeing when it answers. You could make a quick context with a call script like:

exten => _X.,1,Answer()      ;Answer incoming call
exten => _X.,n,NoOP(CALLERID=${CALLERID(num)})    ;What's my number?
exten => _X.,n,HangUp()     ;Okay, that's enough.

Then I would post the CLI dump from an incoming call, it should look like this:

    -- Executing [17807017364@test:1] Answer("SIP/astbox-b72fda50", "") in new stack
    -- Executing [17807017364@test:2] NoOp("SIP/astbox-b72fda50", "CALLERID=17807027542") in new stack
    -- Executing [17807017364@test:3] Hangup("SIP/astbox-b72fda50", "") in new stack

Once we have that info, troubleshooting gets easier! :smile:

Hi Mark,

Thanks for your reply.

Asterisk seems to be picking up the whole callerID, I have some debugging info from different voip telcos:

-- Executing [105@default:1] Answer("IAX2/", "") in new stack
-- Executing [105@default:2] NoOp("IAX2/", "CALLERID=07769892124") in new stack
-- Executing [105@default:3] Hangup("IAX2/", "") in new stack

-- Executing [105@default:1] Answer("SIP/3638179-081e1970", "") in new stack
-- Executing [105@default:2] NoOp("SIP/3638179-081e1970", "CALLERID=07769892124") in new stack
-- Executing [105@default:3] Hangup("SIP/3638179-081e1970", "") in new stack

I actually made an error in my original post for help, X-Lite does actually show the callerID in full but the Motorola only shows the first 3 characters via asterisk 1.4… using 1.2 the Motorola shows the callerID in full.

What could have changed between 1.2 and 1.4 that would affecting the display of caller ID on the Motorola?



I have run a few additional tests… I downloaded and built the latest versioin of asterisk from source and the problem still occured… I then built asterisk 1.2.31 from source and the problem still occured!

Any help appreciated.