[Asterisk-Users] IAX-IAX Trunking not works

Gary Lawrence VOIP at ITcom.Net
Wed May 25 07:30:07 MST 2005


Trunking works for me. I'm not sure what the problem is but can have you try
different things till we find it.

Notransfer=yes doesn't work for me. Calls still transfer.

Try putting trunk=yes in EVERY user.

Also I don't use type=friend. Try setting up a seperate user and peer
context.

Sincerely;

Gary Lawrence
ITcom.Net

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Adnan Ahmed
Sent: Wednesday, May 25, 2005 9:34 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] IAX-IAX Trunking not works

no man iax2 trunking not working i don't know why its really odd 
iax2 trunk debug command shows
IAX2 Trunk Debug Requested
Beginning trunk processing
Ending trunk processing with 0 peers and 0 calls processed
wat's that means how can i enable trunking on one ser iax2 show
channels command shows:
asteriskser1*CLI> iax2 show channels
Channel               Peer             Username    ID (Lo/Rem)  Seq
(Tx/Rx)  Lag      Jitter  JitBuf  Format
IAX2/test2 at 192.168.0  192.168.0.151    test2       00003/00003 
00121/00108  00020ms  0006ms  0056ms  gsm
IAX2/test2 at 192.168.0  192.168.0.151    test2       00006/00008 
00006/00003  00013ms  0001ms  0049ms  gsm
on another server shows

test2*CLI> iax2 show channels
Channel               Peer             Username    ID (Lo/Rem)  Seq
(Tx/Rx)  Lag      Jitter  JitBuf  Format
IAX2/adnan at adnan/2    192.168.0.77     adnan       00002/20687 
00026/00023  [Native Bridged to ID=00004]
IAX2/192.168.0.51:45  192.168.0.51     test2       00004/00004 
00021/00025  [Native Bridged to ID=00002]
IAX2/iphone at iphone/5  192.168.0.79     iphone      00005/25617 
00025/00024  [Native Bridged to ID=00006]
IAX2/192.168.0.51:45  192.168.0.51     test2       00006/00003 
00021/00026  [Native Bridged to ID=00005]
4 active IAX channel(s)
is something going wrong plz i am very keen to solve this as soon as
possible plz kindly enlighten on this issue.

> 
> IAX2 Trunk Debug Requested
> Beginning trunk processing
> Ending trunk processing with 1 peers and 3 calls processed
> 
> If you want to free up more bandwidth add "echocancel=no" to your iax.conf
> 
> Gary Lawrence
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Clark
> Sent: Monday, May 23, 2005 10:01 AM
> To: Adnan Ahmed; Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] IAX-IAX Trunking not works
> 
> Adnan Ahmed wrote:
> > Hello ,
> > I want some tips guidance i am sure this topic discuss alot in list,i
> > try my best to solve it by myself try googling looking wiki everywhere
> > but no luck question is iax-iax trunking not working setting,trying
> > each n every option
> >
> > server2 iax.conf:
> > [general]
> > bindport=4569
> > bandwidth=low
> > disallow=all
> > allow=gsm
> > jitterbuffer=no
> > tos=lowdelay
> > trunk=yes
> > notransfer=yes
> >
> > [saim]
> > username=saim
> > secret=saim
> >
> > type=friend
> > host=dynamic
> > context=from-sip
> >
> > disallow=all
> > allow=gsm
> >
> > [noman]
> > username=saim
> > secret=noman
> > type=friend
> > host=dynamic
> > context=from-sip
> > disallow=all
> > allow=gsm
> >
> > [asteriskser1]
> > type=friend
> > ;auth=md5
> > ;secret=qwerty
> > context=local
> > ;host=dynamic
> > defaultip=192.168.0.51
> > notransfer=yes
> > qualify=no
> > trunk=yes
> > canreinvite=no
> >
> > server1 iax.conf:
> > [general]
> > bindport=4569
> > bandwidth=low
> > disallow=all
> > allow=gsm
> > jitterbuffer=no
> > tos=lowdelay
> > trunk=yes
> > notransfer=yes
> >
> > [user1]
> > username=user1
> > secret=user1
> > type=friend
> > host=dynamic
> > context=from-sip
> > disallow=all
> > allow=gsm
> >
> > [user2]
> > username=user2
> > secret=user2
> > type=friend
> > host=dynamic
> > context=from-sip
> > disallow=all
> > allow=gsm
> >
> > [test2]
> > type=friend
> > context=local
> > defaultip=192.168.0.51
> > notransfer=yes
> > qualify=no
> > trunk=yes
> > canreinvite=no
> >
> >
> > I am using Kiax soft phone  on both servers using codec GSM asterisk
> > latest stable version OS SLES9 ,any help is highly appreciated i had
> > look almost every place in wiki regarding iax trunking but all in
> > vein.
> > Thanks In Advance.
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at 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
> >
> >
> Please don't use reply when you are starting a new thread.
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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 at 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 at 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




More information about the asterisk-users mailing list