Le 15/12/2010 15:21, Gilles a écrit :
[...]
;IMPORTANT: outgoing must be BEFORE incoming
[vosp_outgoing]
type=peer
host=myvosp.com
username=myaccount
secret=mypasswd
fromuser=myaccount
fromdomain=myvosp.com
nat=yes
canreinvite=no

[vosp_incoming]
type=peer
host=myvosp.com
nat=yes
canreinvite=no
context=from_vosp

Why 2 context? Todays Asterisk versions only needs one peer context for incoming/outgoing. Something like

[vosp]
type=peer
host=myvosp.com
username=myaccount
secret=mypasswd
fromuser=myaccount
fromdomain=myvosp.com
nat=yes
canreinvite=no
context=from_vosp

--
Daniel

--
_____________________________________________________________________
-- 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