[Asterisk-Users] Caller-ID is being sent wrong. How to fix it?

Robert Hajime Lanning lanning+asterisk at monsoonwind.com
Sat Feb 7 13:29:05 MST 2004


<quote who="Robert Hajime Lanning">
> <quote who="John Fraizer">
>>
>> OK.  I upgraded to 0.7.2 but and also set a "callerid=" entry in sip.conf.
>> The behavior is the same.
>>
>> Caller-ID is sent as "Name of Calling Party" <number of CALLED party>
>> instead of "Name of Calling Party" <number of CALLING party> like it should
>> be.
>
> You are not setting the caller ID properly...
>
> callerid = "string portion" <number portion>
>
> If you want no string portion, then:
>
> callerid = "" <number portion>

Also, it is the same syntax for the SetCallerID() application.

The way you had it:

callerid = 200

Sets the string portion to "200" and leaves the number portion null.

The null number portion is what is causing you trouble.

-- 
END OF LINE
       -MCP



More information about the asterisk-users mailing list