Ha! yes - we are getting there - hopefully soon you will allow yourself
some time for anything other than me.

see inbetween - and then at the end.



Rich Adamson wrote:

Now we're getting there. In one of your previous emails, you indicated:
8) IAX username - still left blank
9) IAX password - still left blank

Edit those to something valid, don't leave them blank.

Then, in iax.conf, enter the same username and password.
username=
secret=

did that earlier today and started getting different errors, so I knew I
was on the right track.

Power cycle the phone and _now_ it should register properly.
(That's why you are getting "register_verify: Empty registration from 192.168.0.202" in the above CLI.
yep

To jump ahead a little, if the phone has a config entry for type
of dtmf, set it to rfc2833. This applies more to the sip use then
it does to iax, but set it anyway.

didnt see it anywhere on the phone web-setup, but I've set this in iax.conf

Also, if the phone's config has a parameter that says something
about "transmit silence" (or words that are something close), be
sure to set that to "yes".
couldn't find anything like this

Regarding your comments about the 3com and netgear "switches",
ethernet switches do not forward "all" packets to every port. They
are smart enough to know where each MAC resides, and only forward
packets out a switch port if the packet is destined for the device
attached to that port.  So, in your ethereal packet traces all you
will ever see is broadcast packets (which are sent out all ports).

If you need to run ethereal again with those switches, you will
have to install and run it on the asterisk box. Otherwise, you will
never see the desired traffic.
I was running ethereal on the same box as asterisk!!!

Rich

OK,
Based on last nights breakthru & this mornings fiddling, I have
minimised iax.conf & filled in "everything" on the phone itself.

Hallelujah! (I'm sure Rich & Carlos will agree) :-)

I'm still not ringing the other phone, but that is now surely a dialplan
issue - extensions.conf has been totally ignored and that can be
tomorrows fun as my wife & I have a nice dinner date tonight.

************* iax.conf: ***************
[general]
port=4569
bindaddr=0.0.0.0
bandwidth=medium
disallow=LPC10
all0w=ulaw
all0w=alaw
all0w=gsm
jitterbuffer=yes

[z1]
type=friend
user=z1
secret=z1
context=geograph
host=dynamic
dtmfmode=rfx2833

[z2]
type=friend
user=z2
secret=z2
context=geograph
host=dynamic
dtmfmode=rfx2833

*************** asterisks response as I dial ************
Asterisk Ready.
*CLI> iax2 show p
peers         provisioning
*CLI> iax2 show peers
Name/Username    Host                 Mask             Port      Status
z2               192.168.0.202   (D)  255.255.255.255  4569      Unmonitored
z1               192.168.0.201   (D)  255.255.255.255  4569      Unmonitored
*CLI> iax2 show users
Username         Secret                Authen           Def.Context
A/C
z2               z2                    000000000000003  geograph
No
z1               z1                    000000000000003  geograph
No
*CLI>     -- Accepting AUTHENTICATED call from 192.168.0.201, requested
format = 4, actual format = 256
    *-- Executing Dial("IAX2/[EMAIL PROTECTED]/3", "IAX/z2|20|tr") in new stack*
Jul  9 16:49:59 WARNING[13788]: channel.c:1913 ast_request: No channel
type registered for 'IAX'
Jul  9 16:49:59 NOTICE[13788]: app_dial.c:764 dial_exec: Unable to
create channel of type 'IAX'
  == Everyone is busy/congested at this time
Jul  9 16:50:09 WARNING[13788]: pbx.c:1948 ast_pbx_run: Timeout, but no
rule 't' in context 'geograph'
    -- Hungup 'IAX2/[EMAIL PROTECTED]/3'
    -- Registered 'z1' (AUTHENTICATED) at 192.168.0.201:4569
    -- Registered 'z2' (AUTHENTICATED) at 192.168.0.202:4569
    -- Registered 'z1' (AUTHENTICATED) at 192.168.0.201:4569
    -- Registered 'z2' (AUTHENTICATED) at 192.168.0.202:4569
    -- Accepting AUTHENTICATED call from 192.168.0.202, requested format
= 4, actual format = 256
    -- Executing Dial("IAX2/[EMAIL PROTECTED]/1", "IAX/z1|20|tr") in new stack
Jul  9 16:51:29 WARNING[13788]: channel.c:1913 ast_request: No channel
type registered for 'IAX'
Jul  9 16:51:29 NOTICE[13788]: app_dial.c:764 dial_exec: Unable to
create channel of type 'IAX'
  == Everyone is busy/congested at this time
Jul  9 16:51:39 WARNING[13788]: pbx.c:1948 ast_pbx_run: Timeout, but no
rule 't' in context 'geograph'
    -- Hungup 'IAX2/[EMAIL PROTECTED]/1'

*CLI> stop now





_______________________________________________
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

Reply via email to