I have the following strange (maybe normal ?) issue since i “converted” my SIP devices to realtime DB:
I send all calls as default to a “notinservice” context. Calls coming in from a SIP trunk get directed to a “from-sip” context.
Now since i use realtime (with cachefriends e.t.c.) my “sip show peers” is empty after an asterisk reload, as expected. What happens is that incoming calls get then directed to the “notinservice” context. As soon as i dial out once on that same trunk, it shows up in “sip show peers” and is cached. Then, while the SIP peer is cached, incoming calls do work without problems.
Is there a workaround, or must trunks stay in classic config files ?