[Asterisk-Dev] ast_callerid_parse

Brian Capouch brianc at palaver.net
Thu Dec 29 11:28:31 MST 2005


Luigi Rizzo wrote:
> ast_callerid_parse(), as it is written now,
> never returns an error, despite the documentation
> says it may return -1 on error.
> 
> Question is - is there any illegal callerid string ?
> 

I don't know the code well enough to know whether work done at this 
point in time would help, but I have discovered that there are certain 
permuations of CallerID string that come in to Asterisk via the Sipura 
SPA-3000 that break things and cause Asterisk to drop the call.

I posted a mail about it to the -users group last week.

I don't know whether the problem is in the ast_ stuff or in the SIP 
channel driver, but it's a major PIA, that's for sure.  Even if the SPA 
is sending something in a mangled fashion, it would seem best to just 
ignore the CID info and proceed with the call. . . .

B.



More information about the asterisk-dev mailing list