I have an Asterisk 1.8 server, and I want to call inbound and outbound via Voxalot. I have this in sip.conf:
callbackextension=allphones; register to host and specify extension for incoming calls
A summary of my problem: the strange thing is that outbound calling through Voxalot needs my password in ‘secret’. But I can only be called when I have ‘remotesecret’ defined and secret removed. Registering is no problem though, with remotesecret or with secret.
So i’m trying to figure out why this happens. Is it correct that ‘secret’ is mainly for ‘friends’ who authenticate and register against Asterisk, like your local phones? Then ‘remotesecret’ is just for registering to other VSPs and calling out? If so in this case something is wrong: if I want to call, this would need the ‘remotesecret’ right? But it actually needs the ‘secret’, otherwise it won’t work:
[ul][size=85][Dec 11 21:37:17] NOTICE: chan_sip.c:19013 handle_response_invite: Failed to authenticate on INVITE to ‘“IPphone” <sip:@voxalot.com>;tag=bs5f453edb’[/size][/ul]
And then there’s thus this weird behaviour that I cannot be called when ‘secret’ is used.
Does anyone have an up to date example how to use Asterisk with Voxalot? These secrets in particular…
My Asterisk version is:
Asterisk 1.8.0 built by slug @ oldbuilder on a i686 running Linux on 2010-11-30 05:46:07 UTC