Hi,
I’m a bit confused as to how FreePBX “should” generate sip_additional.conf.
The “devices” MySQL table contains a “description” filed for each extension.
The add_sip function in admin/function.php which I quickly overviewed seems to try to fetch “description” and if it can’t then writes “device” to the conf file.
So basically my question is:
Why is FreePBX generating "callerid=device " in sip_additional intead of "callerid=description " ?
Is this behavior expected? If so then I´m having trouble with the caller ID name.
In particular, I created a “misc app” extension which destination is a custom context (custom_app1,s,1). This custom context gets and uses the CALLERID(all) variable which in my case reveals “device <100>” instead of “me <100>”.
However, calling from one sip extension to another does show the right callerid(name).
So is there a simple way for me to get the “real” caller id name within my custom context?
Regards,
Vieri