On Tue, 14 Dec 2010 16:56:14 +0100, Gilles <[email protected]>
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:[email protected]

;================ 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.


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to