Re: [Asterisk-Users] iax2 trunk - unable to accept trunk packet

2004-04-06 Thread John Fraizer


dkwok wrote:
Let's not cynical about the way I raised the question. I know there is 
no matching peer. I do not using windoz myself and I am not accustomed 
to pop up gui. But why there is no matching peer, this is not expected. 
I presume ztdummy will provide the same timing device as zaptel card. 
But apparently it is not. Or is it really due to missing of zaptel card 
on the other peer.
OK.  I'll try my best not to be cynical.  OK.  That's as good as I can do. 
Now, *one more time*  There is no matching peer.  It is telling you all 
you need to know.  Time to install a M$ operating system if you can't get 
past this one.

*plonk*

___
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] iax2 trunk - unable to accept trunk packet

2004-04-06 Thread Jeremy McNamara
Vic Cross wrote:

[iax_office]
type=friend
#auth=md5
context=int-ext
disallow=all
allow=g729
trunk=yes
   

You've only shown us one iax.conf; we'd need both to get the complete 
picture.

Jeremy has spoken in the past about his dislike of "type=friend" (for more
info, search the list archives for "evil of type=friend").  You may have
exposed this evil.  To see if it is a problem for you, try defining this
as "type=user" on this box and "type=peer" on the other.  To get calls
coming back, add a "type=peer" to this box and a "type=user" to the other.
 



The biggest problem is there is no host directive, either hardcoded or 
dynamicthat is the problem with trunking.

And yes type=friends are evil.

Jeremy McNamara





___
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] iax2 trunk - unable to accept trunk packet

2004-04-05 Thread Vic Cross
On Tue, 6 Apr 2004, dkwok wrote:

> My * box which has the zaptel card is also connect to voip termination 
> using zaptel card. The same problem exist as with the * box which does 
> not have the zaptel card.
> 
> The tech director of the voip provider told me that it is not a timing 
> issue and more to do with my config.
> 
> Let's not cynical about the way I raised the question. I know there is 
> no matching peer.

I think you're not understanding what 'peer' means in this context. Your
reply has demonstrated that you've missed what Jeremy and John are telling
you.  At a guess, I'd say you're not going to get anything more than
flames from them.  ;-)

> I do not using windoz myself and I am not accustomed to pop up gui. But
> why there is no matching peer, this is not expected.  I presume ztdummy
> will provide the same timing device as zaptel card.  But apparently it
> is not. Or is it really due to missing of zaptel card on the other peer.

It has nothing to do with zaptel timing.  The message is meant to tell you 
that you do not have the boxes defined to each other as IAX2 peers.

"iax2 show peers" may illuminate.

> My iax.conf is as follows:
> [general]
> port=5036
> bandwidth=low
> disallow=all; same as bandwidth=high
> allow=gsm
> allow=g729
> ;disallow=g723.1; Hm...  Proprietary, don't use it...
> disallow=lpc10  ; Icky sound quality...  Mr. Roboto.
> jitterbuffer=yes
> dropcount=3
> maxjitterbuffer=500
> maxexccessbuffer=100
> trunkfreq=20; How frequently to send trunk msgs (in ms)
> register => iax_home:[EMAIL PROTECTED]
> trunk=yes
> tos=lowdelay
> [iax_office]
> type=friend
> #auth=md5
> context=int-ext
> disallow=all
> allow=g729
> trunk=yes

You've only shown us one iax.conf; we'd need both to get the complete 
picture.

Jeremy has spoken in the past about his dislike of "type=friend" (for more
info, search the list archives for "evil of type=friend").  You may have
exposed this evil.  To see if it is a problem for you, try defining this
as "type=user" on this box and "type=peer" on the other.  To get calls
coming back, add a "type=peer" to this box and a "type=user" to the other.


 
> have I got the necessary modules to do trunking?

Since none are required (well, other than your network device), yes.

Cheers,
Vic Cross
___
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] iax2 trunk - unable to accept trunk packet

2004-04-05 Thread dkwok
My * box which has the zaptel card is also connect to voip termination 
using zaptel card. The same problem exist as with the * box which does 
not have the zaptel card.

The tech director of the voip provider told me that it is not a timing 
issue and more to do with my config.

Let's not cynical about the way I raised the question. I know there is 
no matching peer. I do not using windoz myself and I am not accustomed 
to pop up gui. But why there is no matching peer, this is not expected. 
I presume ztdummy will provide the same timing device as zaptel card. 
But apparently it is not. Or is it really due to missing of zaptel card 
on the other peer.

My iax.conf is as follows:
[general]
port=5036
bandwidth=low
disallow=all; same as bandwidth=high
allow=gsm
allow=g729
;disallow=g723.1; Hm...  Proprietary, don't use it...
disallow=lpc10  ; Icky sound quality...  Mr. Roboto.
jitterbuffer=yes
dropcount=3
maxjitterbuffer=500
maxexccessbuffer=100
trunkfreq=20; How frequently to send trunk msgs (in ms)
register => iax_home:[EMAIL PROTECTED]
trunk=yes
tos=lowdelay
[iax_office]
type=friend
#auth=md5
context=int-ext
disallow=all
allow=g729
trunk=yes
The other thing may be helpful is what modules should be loaded without 
zaptel card. My lsmod show me:
[EMAIL PROTECTED] asterisk]# lsmod
Module  Size  Used byNot tainted
ztdummy 2532   0  (unused)
zaptel179424   8  [ztdummy]
soundcore   6404   0  (autoclean)
autofs 13268   0  (autoclean) (unused)
e100   60644   1
keybdev 2944   0  (unused)
mousedev5492   0  (unused)
hid22148   0  (unused)
input   5856   0  [keybdev mousedev hid]
usb-uhci   26348   0  [ztdummy]
usbcore78784   1  [hid usb-uhci]
ext3   70784   2
jbd51892   2  [ext3]

have I got the necessary modules to do trunking?
--
David Kwok
Tel: 612 99292086 ext 1002
Iaxtel/FWD # 17001813482 ext 1002


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [Asterisk-Users] iax2 trunk - unable to accept trunk packet

2004-04-05 Thread John Fraizer


Jeremy McNamara wrote:
It told you everything you need to know:   no matching peer.

For the cheap seats:   You need a peer.

Jeremy McNamara
I'm convinced that some people can't function without a M$ GUI.  It doesn't 
matter how verbose and descriptive an error message is, unless it's in a 
pop-up window with an option to "report it" to Microsoft, it's just too 
damned confusing for some people to follow.

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


Re: [Asterisk-Users] iax2 trunk - unable to accept trunk packet

2004-04-05 Thread Jeremy McNamara
dkwok wrote:

I have 1 * box having x100p installed and the other has no zaptel card 
at all. both of the * box has compiled in ztdummy module and both have 
been activated by modprobe ztdummy.

When using trunk to connect the 2 *box. The one without zaptel card 
complaint about unable to accept trunked packet: no matching peer.

On the one has zaptel card I have tried to remove the ztdummy module 
and connect the other * box but still have the same error.

Any suggestion?

It told you everything you need to know:   no matching peer.

For the cheap seats:   You need a peer.

Jeremy McNamara

___
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] iax2 trunk - unable to accept trunk packet

2004-04-05 Thread dkwok
I have 1 * box having x100p installed and the other has no zaptel card 
at all. both of the * box has compiled in ztdummy module and both have 
been activated by modprobe ztdummy.

When using trunk to connect the 2 *box. The one without zaptel card 
complaint about unable to accept trunked packet: no matching peer.

On the one has zaptel card I have tried to remove the ztdummy module and 
connect the other * box but still have the same error.

Any suggestion?

--
David Kwok
Tel: 612 99292086 ext 1002
Iaxtel/FWD # 17001813482 ext 1002


smime.p7s
Description: S/MIME Cryptographic Signature