RE: [Asterisk-Users] IAXTEL Configuration

2004-12-22 Thread Adam Robins
Seems I was looking in all the wrong places.

The problem was that I was stripping the leading '1' off of the outbound
IAXTEL phone number.

exten = _91700NXX,1,Dial(${IAXNET}/${EXTEN:[EMAIL PROTECTED]) will not work


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anders F
Eriksson
Sent: Tuesday, December 21, 2004 7:26 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] IAXTEL Configuration

Hi,

I think you should remove the [iaxtel_out] from iax.conf

This is a snip from mine iax.conf:


[general]
register = user:[EMAIL PROTECTED]

[iaxtel]
type=user
context=incoming
auth=rsa
inkeys=iaxtel

You then can modify extensions.conf to handle outgoing calls. See
http://www.iaxtel.com/setup.html (which is where I got my settings).

/Anders

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Adam 
 Robins
 Sent: den 21 december 2004 22:52
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: [Asterisk-Users] IAXTEL Configuration
 
 I signed up for an IAXTEL account and have been trying, 
 unsuccessfully, to get it working.  In IAX.CONF I have:
  
 [iaxtel_out]
 type=peer
 host=iaxtel.com
 username=USERNAME
 secret=SECRET
 auth=rsa
 inkeys=iaxtel
  
 [iaxtel]
 type=friend
 context=incoming
 host=iaxtel.com
 auth=rsa
 inkeys=iaxtel
  
 However, when I start Asterisk, I get the following warning:
  
  [chan_iax2.so] = (Inter Asterisk eXchange (Ver 2))
   == Manager registered action IAXpeers
   == Parsing '/etc/asterisk/iax.conf': Found Dec 21 15:44:04
 WARNING[24873]: chan_iax2.c:6602 build_user: Cannot allow unknown 
 format 'iaxtel.com'
 Dec 21 15:44:04 WARNING[24873]: chan_iax2.c:6497 build_peer: 
 Cannot allow unknown format 'iaxtel.com'
  
 For some reason, it does not like the host= lines.  I've replaced 
 'iaxtel.com' with their IP, but that gives the same error.
  
 Please assist.  Thanks,
  
 Adam
 
 
 The contents of this email message and any attachments are 
 confidential and are intended solely for addressee. The information 
 may also be legally privileged. This transmission is sent in trust, 
 for the sole purpose of delivery to the intended recipient. If you 
 have received this transmission in error, any use, reproduction or 
 dissemination of this transmission is strictly prohibited. If you are 
 not the intended recipient, please immediately notify the sender by 
 reply email and delete this message and its attachments, if any.
 
 

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


[Asterisk-Users] IAXTEL Configuration

2004-12-21 Thread Adam Robins



I signed up for an 
IAXTEL account and have been trying, unsuccessfully, to get it working. In 
IAX.CONF I have:

[iaxtel_out]type=peerhost=iaxtel.comusername=USERNAMEsecret=SECRETauth=rsainkeys=iaxtel

[iaxtel]type=friendcontext=incominghost=iaxtel.comauth=rsainkeys=iaxtel

However, when I 
start Asterisk, I get the following warning:

[chan_iax2.so] 
= (Inter Asterisk eXchange (Ver 2)) == Manager registered action 
IAXpeers == Parsing '/etc/asterisk/iax.conf': FoundDec 21 15:44:04 
WARNING[24873]: chan_iax2.c:6602 build_user: Cannot allow unknown format 
'iaxtel.com'Dec 21 15:44:04 WARNING[24873]: chan_iax2.c:6497 build_peer: 
Cannot allow unknown format 'iaxtel.com'

For some reason, it 
does not like the "host=" lines. I've replaced 'iaxtel.com' with their IP, 
but that gives the same error.

Please assist. 
Thanks,

Adam
The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

RE: [Asterisk-Users] IAXTEL Configuration

2004-12-21 Thread Anders F Eriksson
Hi,

I think you should remove the [iaxtel_out] from iax.conf

This is a snip from mine iax.conf:


[general] 
register = user:[EMAIL PROTECTED]

[iaxtel]
type=user
context=incoming
auth=rsa
inkeys=iaxtel

You then can modify extensions.conf to handle outgoing calls. See
http://www.iaxtel.com/setup.html (which is where I got my settings).

/Anders

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Adam Robins
 Sent: den 21 december 2004 22:52
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: [Asterisk-Users] IAXTEL Configuration
 
 I signed up for an IAXTEL account and have been trying, 
 unsuccessfully, to get it working.  In IAX.CONF I have:
  
 [iaxtel_out]
 type=peer
 host=iaxtel.com
 username=USERNAME
 secret=SECRET
 auth=rsa
 inkeys=iaxtel
  
 [iaxtel]
 type=friend
 context=incoming
 host=iaxtel.com
 auth=rsa
 inkeys=iaxtel
  
 However, when I start Asterisk, I get the following warning:
  
  [chan_iax2.so] = (Inter Asterisk eXchange (Ver 2))
   == Manager registered action IAXpeers
   == Parsing '/etc/asterisk/iax.conf': Found Dec 21 15:44:04 
 WARNING[24873]: chan_iax2.c:6602 build_user: Cannot allow 
 unknown format 'iaxtel.com'
 Dec 21 15:44:04 WARNING[24873]: chan_iax2.c:6497 build_peer: 
 Cannot allow unknown format 'iaxtel.com'
  
 For some reason, it does not like the host= lines.  I've 
 replaced 'iaxtel.com' with their IP, but that gives the same error.
  
 Please assist.  Thanks,
  
 Adam
 
 
 The contents of this email message and any attachments are 
 confidential and are intended solely for addressee. The 
 information may also be legally privileged. This transmission 
 is sent in trust, for the sole purpose of delivery to the 
 intended recipient. If you have received this transmission in 
 error, any use, reproduction or dissemination of this 
 transmission is strictly prohibited. If you are not the 
 intended recipient, please immediately notify the sender by 
 reply email and delete this message and its attachments, if any.
 
 

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


[Asterisk-Users] IAXTEL configuration for new iaxtel users.

2003-12-02 Thread Robert Mann



After battling for days trying to figure 
out whatwas wrong with my iax.conf it was determined that I do not have 
any inkeys set on the digium server. Now whether that is something new or 
just in a few cases I am not sure. Messing around and reading on IRC and 
the mailing list I could get certain things to work and then break other 
things. Now I can dial a IAXTEL number, 800 number and FWD numbers using 
the IAXTEL service. The iaxtel configuration I am now using 
is.

iax.conf

[general]
register = 
iaxuser:[EMAIL PROTECTED]

; For some reason be it a bug or a feature 
from what I have read
; the iaxtel context must be the last thing 
in your iax.conf file.
[iaxtel]type 
 = 
userhost = 
iaxtel.comcontext = 
incoming-iaxteldisallow = all 

   ; My preference 
YMMVallow = gsm 

   ; My preference 
YMMVdeny = 
0.0.0.0/0.0.0.0permit = 
69.73.19.178/255.255.255.255

extensions.conf

[general]IAXTELUSERNAME= iaxuserIAXTELPASSWORD= 
iaxpassIAXTELUSERID= 1700XXX

[incoming-iaxtel]exten 
= 
s,1,Dial(Zap/3,20); 
Change to something that works for you.
exten= 
s,2,Hangup 
; You could add voicemail here.

[macro-iaxtel]exten 
= 
s,1,Dial(IAX/${IAXTELUSERNAME}:[EMAIL PROTECTED]/[EMAIL PROTECTED])exten 
= 
s,2,Playback(invalid)exten 
= s,3,Hangup

[outbound]
exten = 
_1700NXX,1,macro(iaxtel,${EXTEN})exten 
= 
_1800NXX,1,macro(iaxtel,${EXTEN})exten 
= 
_1866NXX,1,macro(iaxtel,${EXTEN})exten 
= 
_1877NXX,1,macro(iaxtel,${EXTEN})exten 
= _1888NXX,1,macro(iaxtel,${EXTEN})

Before I get a chewing for the spacing in 
my config files. This works for me without any problems just fine. People 
are always telling me you can not have spaces in your config files like this but 
I have no issues with it. I understand that there might be places in the 
config files where spaces are not allowed nor appropriate but so far I have not 
had issues with the spacing I use. For email purposes I have formatted 
this with Courier New at 10 and it looks right in the email message. If 
you have other defaulted fonts and can not change them in this message then my 
apologies.

Thisconfiguration comes from 
different sources with just slight changes but is now finally working on my 
end. If you can not receive calls from IAXTEL either from someone on the 
outside calling you or calling your own IAXTEL number and getting a call waiting 
beep and you have inkeys somewhere in your iax.conf configuration for IAXTEL 
then change your configuration to this and see if you have better results. 
Remember to change your context to something that is valid for your 
setup.

Not sure if someone else has any 
suggestions to add to this but at some point we should add this to the iax.conf 
sample config file so that new users understand and use the correct 
configuration. The samples still show the inkeys for use with RSA and 
anotherexample for pre RSA but neither look like this one. Not sure 
why RSA is not being used anymore or if there is just a problem with the IAXTEL 
signup server but at least this works for now.

My macros are a lot more complicated but I 
shortened them up here for easy reading. You don't necessarily need to use 
macros but in my case I use them for just about everything. They 
canshorten your extensions.conf file many lines by eliminating repetitive 
code and make for lessadmin errors not to mention then you only have to 
make the change in one place.

Robert