I'll complete this info later but for now I tested like this:
Using a trunk (pstn) to call an other trunk (iax) on the same Sark:
outbound shows:
AGI Rx << SET CALLERID S ROMANO<5145552945>
inbound shows:
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: S
Cdr shows:
"","5145552945","5901","default","""S"" <5145552945>","IAX2/5145557975peer-15905","SIP/5901-0a176858","Dial","SIP/5901|30|t","2009-01-06 13:50:23",,"2009-01-06 13:50:27",4,0,"NO ANSWER","DOCUMENTATION","1231249823.40",""
It is like quotes are not processed easily.
The caller info tools shows:
S (<unknown>)
With my absence of knowledge of Asterisk, shouldn't we have some quotes like:
AGI Rx << SET CALLERID "S ROMANO<5145552945>"