[asterisk-users] SIP Originate on 1.8.X

Carlos Chavez cursor at telecomabmex.com
Wed Feb 2 10:50:30 CST 2011


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110202/55c82cf7/attachment.pgp>


More information about the asterisk-users mailing list