I'm trying to setup a simple tcp sip connection based on the toronto osaka example in the Asterisk book.

On the remote box (osaka) (1.8.9.0-rc1):

[toronto]
type=friend
transport=tcp
secret=welcome
context=toronto_incoming
host=dynamic
disallow=all
allow=ulaw

 sip show peer toronto


  * Name       : toronto
  Secret       : <Set>
  MD5Secret    : <Not set>
  Remote Secret: <Not set>
  Context      : toronto_incoming
........
  Useragent    : Asterisk PBX 10.1.0-rc1
  Reg. Contact : sip:osaka@<toronto>:5060;transport=TCP


On the home box (toronto) (10.1.0-rc1):

register => tcp://toronto:welcome@officePBX/osaka
[osaka]
type=friend
transport=tcp
secret=welcome
context=incoming
host=dynamic
disallow=all
allow=ulaw

But make a call from the remote Dial(SIP/toronto) , and the home cli shows:

Call from '' (<remote>:5060) to extension 'osaka' rejected because extension not found in context 'default'.

which makes no sense to me at all. Doesn't the string after the "/" in register refer to the user/device on the box doing the register? Doesn't it tell the device on the remote host which local device to connect to? i.e., toronto@remote > osaka@home ?? And where's context "default" coming from?

Is the book just out of date? Or is tcp not ready?

sean


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