Randy Bush wrote:

i try to place a call

    exten => _X.,1,Dial(SIP/[EMAIL PROTECTED]:5061,60,Ttr)

where sip.conf has an entry

    [foo]
    secret=torture
    callerid="local ext 103" <19146665555>
    type=friend
    fromuser=asterisk
    auth=both
    host=dynamic
    canreinvite=yes
    context=in-914
    mailbox=001


Randy,

Try the following:

exten => _X.,1,Dial(SIP/foo:5061,60,Ttr)

This will cause asterisk to send the call to sip peer "foo".

If you're trying to send the call to a specific extension on host "foo.bar", you'll need to do something like this:

exten => _X.,1,Dial(SIP/[EMAIL PROTECTED]:5061,60,Ttr)

If the other side is an * box as well, I highly recommend you use IAX2 and not SIP.

John
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to