Hi,
I'm using the SIP credentials of an inOne with an old FreePBX running asterisk 11, and I'm able to do both inbound and outbound calls.
But after a little more than 60 seconds after the registration from a "sip reload" the line stops working in both directions and if I try to place a call I get:
[2019-06-07 10:33:06] WARNING[10210][C-00000529]: chan_sip.c:23019 handle_response_invite: Received response: "Forbidden" from '<sip:+4191922XXXX@swisscom.ch>;tag=as6cd12bc5'
that's the error I'm getting until the next register refresh from asterisk and after that the line works for 60 seconds and we start again with the problem.
Asterisk is automatically refreshing after about 3 minutes because fs1.ims.swisscom.ch has a minimum expiry time of 179 seconds.
Anyone is having the same issue? and/or has managed to solve the problem?
Anyone is not having any issue with asterisk? and if yes with which version?
Thanks
Giuseppe
PS: That's my config for the trunk:
OUTGOING:
user=+41919XXXXX
type=peer
srvlookup=yes
secret=XXXXXXXXXXX
outboundproxy=fs1.ims.swisscom.ch
nat=yes
insecure=invite, port
host=swisscom.ch
fromuser=+41919XXXXX
fromdomain=swisscom.ch
dtmfmode=auto
disallow=all
defaultuser=NC00000XXXXXX@swisscom.ch
canreinvite=no
allow=alaw & ulaw & g729 & gsm & slinear & ulaw
INCOMING:
type=peer
host=fs1.ims.swisscom.ch
fromdomain=swisscom.ch
disallow=all
allow=alaw & ulaw & g729 & gsm & slinear & ulaw
REGISTER STRING:
+41919XXXXX@swisscom.ch:XXXXXXXX:NC00000XXXXXX@fs1.ims.swisscom.ch/+419192XXXXX