@ma.riveraYo tuve que poner esto en mi extensions.lua para que me funcionara el caller ID cuando configuré mi servidor inicialmente: local cid = channel.SIP_HEADER( "P-Asserted-Identity" ):get()
if cid then
cid = cid:match( "sip:(%+%d+)@?" )
if cid then
channel.CALLERID( "num" ):set( cid )
end
end También debería poderse hacer con el dialplan "normal" de Asterisk, pero no sabría decirte cómo.
... Mostrar más