I was hit recently by the change O2 put through that broke my asterisk. I've found settings that work after these changes. I can both place and receive calls, and the sound quality is good. However, after about an hour of having connected the router, out-going calls start failing with:
Restarting my router fixes the problem.
I'll post my asterisk config below. First some quick information about my setup. I disconnected the O2 router+modem and instead put in a D-Link DSL-321B modem which is in bridge mode connected to my Asus WL-500G which runs PPPoE. The WL-500g is running openwrt and I've installed asterisk (1.2.14) on it. Thus, my asterisk is talking directly from the NAT which runs PPPoE; it is not behind a firewall or NAT. I then have SIP phones inside my LAN which are registered with the asterisk server on the router (wl-500g).
Here's what works for me:
... I had a few other options in general, but they probably are not relevant to others. The key fix for me was to add the '@[email protected]'. The doubled @hostname seemed to be the trick that others had missed.
Like I said, the registration works 100% reliably. I get incoming calls no problem. It's only for outgoing calls where I need to restart the PPPoE connection. Restarting asterisk alone does not help.
Here's hoping someone else can take this information and get us asterisk users the last step of the way to a working fix post O2 breakage.
PS. I can understand german replies.
Code:
chan_sip.c:9813 handle_response_invite: Forbidden - wrong password on authentication for INVITE to '"49xxx" <sip:[email protected]>;tag=as3d772309'
I'll post my asterisk config below. First some quick information about my setup. I disconnected the O2 router+modem and instead put in a D-Link DSL-321B modem which is in bridge mode connected to my Asus WL-500G which runs PPPoE. The WL-500g is running openwrt and I've installed asterisk (1.2.14) on it. Thus, my asterisk is talking directly from the NAT which runs PPPoE; it is not behind a firewall or NAT. I then have SIP phones inside my LAN which are registered with the asterisk server on the router (wl-500g).
Here's what works for me:
Code:
[general]
srvlookup=yes
bindport=5060
bindaddr=0.0.0.0
disallow=all
allow=alaw
insecure=very
qualify=4000
register => 49xxx:password:[email protected]@sip.o2online.de/anyone
[o2out]
host=sip.o2online.de
canreinvite=yes
type=peer
[email protected]
fromdomain=sip.o2online.de
secret=password
... I had a few other options in general, but they probably are not relevant to others. The key fix for me was to add the '@[email protected]'. The doubled @hostname seemed to be the trick that others had missed.
Like I said, the registration works 100% reliably. I get incoming calls no problem. It's only for outgoing calls where I need to restart the PPPoE connection. Restarting asterisk alone does not help.
Here's hoping someone else can take this information and get us asterisk users the last step of the way to a working fix post O2 breakage.
PS. I can understand german replies.
Zuletzt bearbeitet: