i’m trying to setup a trunk for a sonetel number with freepbx,
i’ve successfuly setup for outbound calls using the config found here
unfortunately, inbound call is not working correctly…
sip.sonetel.com has 2 differents ips … and i get the call 1 time out of 2
here is my configuration : pastebin.com/HYEXNrEQ
and both log when success and failure :
I see 2 solutions : make 2 different trunk for each number with fix ip … with is going to drive me crasy with the amount of number i need
or accept anonymous call… with is not what i want
does any one have a solution?
************* PEER DETAIL **********
********** Register String *********
defaultuser and username are the same thing.
allowguest can only work in the general section as it only applies to peers that don’t match a specific section. It is also a security hazard.
Does sonetel really authenticate itself to you? All ITSPs I’ve heard of only want remotesecret. This will cause incoming calls to fail to authenticate.
I removed remotesecret and allowguest
still able to make call but impossible to receive
No matching peer for ‘+XXXXXXXXXX’ from ‘22.214.171.124:5060’ : pastebin.com/umpNUj5r
i did 2 identical trunk with fixed ip
sip.sonetel.com. 300 IN A 126.96.36.199
sip.sonetel.com. 300 IN A 188.8.131.52
Register String: email@example.com:firstname.lastname@example.org
this is working perfectly… but changing ip by sip.sonetel.com break everything
any idea to avoid that?