[asterisk-users] Asterisk + VOSP account working configuration?

Gilles codecomplete at free.fr
Tue Dec 14 16:52:28 UTC 2010


On Tue, 14 Dec 2010 16:56:14 +0100, Gilles <codecomplete at free.fr>
wrote:
>PS: Here's what I'm thinking of using:

At this point, Asterisk seems to register OK with my VOSP, but when I
call the number from my cellphone, I get this error:

"NOTICE[88]: chan_sip.c:14033 handle_request_invite: Call from
'myvospaccount' to extension 's' rejected because extension not
found."

Incidently, how does Asterisk know how to link calls from the VOSP to
an extension in the dialplan?

Here's what I'm using:

;================ sip.conf
[general]
port = 5060
bindaddr = 0.0.0.0

;deny=0.0.0.0/0
;permit=<IP address of VOSP server>
externip=<my public IP address>
localnet=192.168.0.0/24
nat=yes

;all RTP packets go through Asterisk
canreinvite=no

disallow=all
allow=ulaw
allow=alaw
allow=gsm

;incoming calls from VOSP
;can't use "s" extension?
context = vosp-incoming
register => myvospaccount:mypasswd at myvosp.com

;================ extension.conf
[general]
static=yes
writeprotect=yes
clearglobalvars=no
autofallthrough=yes

[vosp-incoming]
exten => s,1,Dial(SIP/6011)
exten => s,n,Hangup

Thank you.




More information about the asterisk-users mailing list