I am having a problem trying to use originate from the CLI on Asterisk
1.8.2.3.  The SIP peer is defined correctly and it works if I dial using
my IP phone.  When I try to dial from the CLI I get this message:

pbxoficina*CLI> originate SIP/protel-out/0445540881644 application playback 
tt-monkeys
[Jan 18 12:00:09] WARNING[3336]: chan_sip.c:19048
handle_response_invite: Received response: "Forbidden" from '"Anonymous"
<sip:XXXXXXXXXX@anonymous.invalid>;tag=as67d9024d'

        This same peer works fine in Asterisk 1.6.2.X so I guess something need
to be modified for 1.8?  So far it has failed in all 1.8.X versions.  Here is 
the sip.conf definition:

[protel-out]
fromdomain=i2next.com.mx
defaultuser=123456789
secret=secret
fromuser=123456789
type=peer
host=i2next.com.mx
qualify=no
insecure=port,invite
directmedia=no
disallow=all
allow=g729
allow=ulaw

        This same peer works when used from a dial command in the dial plan.  I 
guess the problem has something to do that originate is not 
setting the proper domain and it is trying to send the call as anonymous.  
Should I open a bug for this?  

-- 
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001

Attachment: signature.asc
Description: This is a digitally signed message part

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