hmm.. I've trunks with localphone, messagenet.it, ukddi.com, ipcomms, and couple of others. While all of them basically are free DID trunks that I use, only localphone is used for outgoing. I dont know if trunk configuration is of any importance here, but if required maybe I can post the config for one of them to make things simpler.
I'm running on a dynamic ip resolved to dyndns on the router. The Piaf is in the internal lan with a local IP. I'm also running trunk monitor scrip which I installed just yesterday to keep a track how often it goes down.
Following are few lines from the log:
[2010-06-18 19:56:55] NOTICE[3082] chan_sip.c: -- Registration for '
[email protected]' timed out, trying again
(Attempt #52)
[2010-06-18 19:56:55] NOTICE[3082] chan_sip.c: -- Registration for '
[email protected]' timed out, trying again (Attempt #5
3)
I think this was a result of the trunk monitor scrip that does sip reload:
[2010-06-18 20:01:21] WARNING[3082] chan_sip.c: No such host: localphone.com
[2010-06-18 20:01:21] WARNING[3082] chan_sip.c: Probably a DNS error for registration to
[email protected], trying REGISTER a
gain (after 20 seconds)
Also when the trunks goes down, on freepbx system status screen, IP trunk registrations becomes 0 where as IP trunks online is still the same at 8, I cant however make or receive calls using these trunks.
I was not running sip debug, do you want me to post sip debug results ? (will have to wait for it to go down next to get the results).