Re: [Asterisk-Users] Using IAXTel to dial FWD

2004-05-02 Thread Joe Baptista

On Sat, 1 May 2004, Rich Adamson wrote:


  now. But if you have a look at this page -
  http://www.freeworlddialup.com/advanced/iax you will find that you can now
  use FWD with IAX2 along with SIP :)

 FWIW, I just moved our FWD account to iax2, and it works rather well
 with *. The referenced web page does have a couple of configuration
 errors on it, but nothing all that difficult to diagnose/fix.

 Also, it appears the FWD - IaxTel definitions are incorrect (again)
 causing problems with connectivity in both directions.

Could you share your conf files with us.

I can connect to FWD on my asterisk - but FWD only see me as an external
SIP agent and not a SIP client of the FWD network.  DOn't know exactly why
- so would luv to compare your conf files.

thanks
joe

Joe Baptista: USG Portal www.joebaptista.com, Personal www.baptista.god

 LOW: low cost, Low Lands. http://www.dot.low/
   Everything you need to know about LOW

___
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


Re: [Asterisk-Users] Using IAXTel to dial FWD

2004-05-02 Thread Rich Adamson
Joe,

Inline comments...

   now. But if you have a look at this page -
   http://www.freeworlddialup.com/advanced/iax you will find that you can now
   use FWD with IAX2 along with SIP :)
 
  FWIW, I just moved our FWD account to iax2, and it works rather well
  with *. The referenced web page does have a couple of configuration
  errors on it, but nothing all that difficult to diagnose/fix.
 
  Also, it appears the FWD - IaxTel definitions are incorrect (again)
  causing problems with connectivity in both directions.
 
 Could you share your conf files with us.

I followed the instructions on the fwd page, but I had to add allow=ulaw
to the iax.conf general section (which was hinted on the page but easily
missed), and changed the Dial statements (since only one of them is needed).
I also wrote back to FWD regarding this and Ed has updated those fwd pages
as of yesterday. Might compare your config files to his again.

What he is showing on the pages right now should work just fine; they do
work for me.

 I can connect to FWD on my asterisk - but FWD only see me as an external
 SIP agent and not a SIP client of the FWD network.  DOn't know exactly why
 - so would luv to compare your conf files.

I don't know that I'm understanding your statement above relative to sip.

Taking a guess... one of the steps on the page indicates you have to
write an email to Ed and ask him to make the changes so your account
uses iax2 instead of sip. That note suggests it might take a day or two
for those manual changes to be completed. It could be your changes have
not been completed as yet, or you didn't send him the email; tough to
guess based only on the words noted above.

If you previously had a register statement in your sip.conf for fwd, you
should comment it out as its no longer needed after the iax conversion.

The following steps should help you diagnose what is happening:

1. I don't remember which asteisk config file changes get reread when
you do an asterisk relaod command from the CLI, so just get in the
habbit of stop now and restart asterisk from scratch when making
the changes needed for this sip to iax conversion.

2. If your register statement in iax.conf is correct, then when you
execute the iax2 show registry it should return something like:
 Host  UsernamePerceived Refresh  State
 65.39.205.121:456962353   203.212.183.101:4569   60  Registered
where 62353 represents your fwd number (whatever it is). If you don't
see the above, then fix your register statement and stop/restart asterisk.

3. FWD site indicates that dialing 612 will provide you with the current
time. Assuming you followed the instructions correctly on their page,
dial that number from one of your phones, then execute iax2 show channels
while the call is in progress. You should see something like:
Peer UsernameID (Lo/Rem)  Seq (Tx/Rx)  Lag  Jitter  Format
65.39.205.12162353   1/1  3/7  0ms  0019ms  ULAW  
1 active IAX channel(s)

The above would confirm your outbound entries in extensions.conf and 
iax.conf are correct. If you don't see the above, then go back and check
your configs again.

4. The FWD site includes a page that sends a test call to your asterisk box.
Find it and use it to generate an incoming call, which will test all
remaining configuration statements on your system. Its currently about half
the way down the page at:
 http://www.freeworlddialup.com/content/view/full/274/
where it says Call Me. It is a handy way to make inbound call tests
without bothering other FWD users.

4. Last, you should be able to originate a call to your own FWD number and
watch the asterisk CLI send that call to FWD, and FWD attempting to call
your phone. Read those statements very carefully as the words will 
actually describe most configuration problems.

If you want to test further, then initiate a FWD call from some other phone
other then the one that you normally receive incoming FWD calls from. You
should be able to call yourself via FWD nicely.

If you still can't get this to work, then give us some real output from
your asterisk CLI, and paste portions of the extensions.conf and iax.conf 
that relate to this. 

Rich


___
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


Re: [Asterisk-Users] Using IAXTel to dial FWD

2004-05-02 Thread Karl Brose



 I can connect to FWD on my asterisk - but FWD only see me as an external
 SIP agent and not a SIP client of the FWD network.  DOn't know exactly why
 - so would luv to compare your conf files.


There is really not much you can do about that with your local
configuration.
The problem is on FWD's Asterisk, it doesn't properly log an IAX user into
the
SIP Express router.  The only service that is broken because of it seems to
be
PSTN access.  There has been a long discussion about this in the FWD forum.
You can see this in your received calls log on FWD. The registration realm
is
not proper, it's just the IP address of the asterisk server.

The following configuration should help those who would like to give this a
try.

Finally, a note regarding the FWD setup with unauthenticated calls and host
access
only, as shown below in the [fwd-in] section and the FWD website:
Technically this is an incorrect configuration and security hole, as there
should be some
authentication token, either a secret or a key (as the IAXTEL people are
using)
Since FWD IAX was announced, the chan_iax driver has been changed to allow
this without failure if you have more than one such client in your config
file (it had to
be the last one, before the change, or you had to accept the call totally
unauthenticated
through the default context, which was a major bug.

Note also that you have to have g711 enabled with FWD.


IAX.CONF
==
[general]
;   ..  other things here most likely
;
disallow=all
allow=ulaw; and perhaps others

register=##FWDNO##:[EMAIL PROTECTED]


[fwd-in]
type=user
deny=0.0.0.0/0.0.0.0
permit=65.39.205.0/255.255.255.0
accountcode=IAXFWD.01
context=fwd-iax-inbound

[fwd-peer]
type=peer
host=iax2.fwdnet.net
username=##FWDNO##
secret=**
accountcode=IAXFWD.02
qualify=yes
context=NOACCESS



EXTENSIONS.CONF
==
[some_where_in_your_dial_plan]
exten=_**393.,1,Macro,fwd_iax_call,${EXTEN:5}

[fwd-iax-inbound]
 exten=##FWDNO##,1,Answer
;and whatever you want to do for an incoming call


[macro-fwd_iax_call]Macro to place an IAX call through FWD
;   ${ARG1} - number to call
  exten= s,1,SetCIDNum(##FWDNO##)
  exten= s,2,SetCIDName(##your name##)
  exten= s,3,Dial(IAX2/[EMAIL PROTECTED]/${ARG1})
  exten= s,4,Hangup
  exten= s,104,Hangup
  exten= s,105,Congestion

___
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


Re: [Asterisk-Users] Using IAXTel to dial FWD

2004-05-01 Thread Rich Adamson

 now. But if you have a look at this page -
 http://www.freeworlddialup.com/advanced/iax you will find that you can now
 use FWD with IAX2 along with SIP :)

FWIW, I just moved our FWD account to iax2, and it works rather well
with *. The referenced web page does have a couple of configuration 
errors on it, but nothing all that difficult to diagnose/fix.

Also, it appears the FWD - IaxTel definitions are incorrect (again)
causing problems with connectivity in both directions.

Rich


___
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


RE: [Asterisk-Users] Using IAXTel to dial FWD

2004-05-01 Thread Ed Guy
Rich,

please send me a note pointing out the errors and we'll get them fixed.

Thanks!
/ed guy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Rich Adamson
Sent: Saturday, May 01, 2004 12:01 PM
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Using IAXTel to dial FWD



 now. But if you have a look at this page -
 http://www.freeworlddialup.com/advanced/iax you will find that you can now
 use FWD with IAX2 along with SIP :)

FWIW, I just moved our FWD account to iax2, and it works rather well
with *. The referenced web page does have a couple of configuration
errors on it, but nothing all that difficult to diagnose/fix.

Also, it appears the FWD - IaxTel definitions are incorrect (again)
causing problems with connectivity in both directions.

Rich


___
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



___
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