Use this:
exten => _1NXXNXXXXXX,2,Dial,IAX2/username:[EMAIL PROTECTED]/${EXTEN}

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joseph
Sent: Sunday, May 14, 2006 2:39 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] plainvoip - IAX2 call rejected

Is anybody using "plainvoip" provider with IAX2?  They seem to support
IAX but it rejects my calls.
   -- Executing Dial("SIP/11-cb98", "IAX2/[EMAIL PROTECTED]") in new
stack
    -- Called [EMAIL PROTECTED]
May 14 00:33:32 WARNING[26580]: chan_iax2.c:5553 socket_read: Call
rejected by 66.199.240.2: No authority found

My registration goes through OK.
My dial plan:
....
exten => _1NXXNXXXXXX,2,Dial,IAX2/[EMAIL PROTECTED]
....

-- 
#Joseph
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


__________ NOD32 1.1536 (20060513) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to