[asterisk-users] Question on retrieve_file() function in app_voicemail.c

Anselm Martin Hoffmeister anselm at hoffmeister-online.de
Sun Dec 10 14:59:59 MST 2006


Am Sonntag, den 10.12.2006, 12:51 -0800 schrieb jezzzz .:
> Amazing, exactly what I was looking for, thanks so
> much! Question about the callerid:
> 
> callerid="201" <201>
> 
> Means that "201" is the name of the extension (which
> is provided by the person who called and left a
> message) and <201> is the actual number (or location)
> of the extension. Is that correct?

I usually set CALLERID(name)=CALLERID(num) somewhere in my dialplan,
because I have a few Siemens phones behind FritzBoxes, and they tend to
give unreliable CLID with certain names.

However I just updated my dialplan to have an additional exten, setting
CALLERID(name), and ended up with

server2:/var/spool/asterisk/voicemail/default/01/INBOX# cat msg0000.txt
...
callerid="Anselm Martin Hoffmeister" <201>
origdate=Sun Dec 10 10:51:04 PM CET 2006
...

So you seem to be right there. In reality, my SIP devices have 5xx
numbers, but are rewritten to 2xx extensions because there are several
SIP devices behind most extensions. But in theory, you can configure
those informations to display in the sip.conf [device] sections afaik.

BR
Anselm



More information about the asterisk-users mailing list