Re: [asterisk-users] Originate call from cli does not work for SIP line...

2012-08-03 Thread Mikhail Lischuk
 

Carlos Chavez писал 02.08.2012 20:24: 

> originate
SIP/protel-out/0445540881644 application playback tt-monkeys

And if you
route it via local context? For example,
originate
local/outgoing/0445540881644 application playback tt-monkeys

where
"outgoing" is your context which knows how to route 0445 prefix

--

With Best Regards
Mikhail Lischuk

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

[asterisk-users] Originate call from cli does not work for SIP line...

2012-08-02 Thread Carlos Chavez
I have a SIP line that is working fine when I make calls from IP
phones.  I can send and receive calls.  The problem is that if I try to
dial from the CLI using the originate command or use an AMI connection
to originate a call I get the following error:

originate SIP/protel-out/0445540881644 application playback tt-monkeys
WARNING[12950]: chan_sip.c:20437 handle_response_invite: Received
response: "Forbidden" from '"Anonymous"
;tag=as79fffc8d'

Here is the sip.conf entry for that line:

[protel-out]
defaultuser=XX
secret=
fromuser=XX
type=peer
fromdomain=i2next.com.mx
host=i2next.com.mx
disallowed_methods = UPDATE
nat=no
qualify=no
insecure=port,invite
directmedia=no
disallow=all
allow=g729
context=entrada
trustrpid=yes
sendrpid=yes

As I mentioned it works if I dial from a phone.  CLI or AMI fails.

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


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