[Asterisk-Users] IAX Configuration

Olivier Saulnier steganux at steganux.com
Tue May 2 07:32:19 MST 2006


Yes Sean,
I've just see that :-) I modify, and my communication is now OK.
But i always have the message on the console...

Bets regards,

OLS

Sean Cook a écrit :

> my guess is that you are trying to dial a sip channel to reach an iax 
> peer.
>
> Dial(SIP/19)
>
> should be
>
> Dial(IAX2/19)
>
> Olivier Saulnier wrote:
>
>> Hello,
>>
>> I have some problems with a new configuration:
>> I always have on my asterisk console the message:
>> chan_iax2.c:5886 update registry: restricting registration for peer 
>> '19' to 60 secondes
>> I connect only two ip phone with iax protocol.
>>
>> And when i want to call 19 phone, it's hangup. No information in 
>> console view, or in file /var/log/asterisk/messages.
>> Do you have any idea?
>>
>>
>> My files a there:
>> extensions.conf:
>>
>> [general]
>> static=yes
>> writeprotect=no
>> autofallthrough=yes
>> clearglobalvars=no
>> priorityjumping=no
>>
>> [globals]
>> CONSOLE=Console/dsp                ; Console interface for demo
>> ;CONSOLE=Zap/1
>> ;CONSOLE=Phone/phone0
>> IAXINFO=guest                    ; IAXtel username/password
>> TRUNK=Zap/g2   TRUNKMSD=1      [INTERNAL]
>> exten => 19,1,Dial(SIP/19,20,tr)
>> exten => 19,2,Voicemail(u19)
>> exten => 19,hangup
>> exten => 19,102, Voicemail (b19)
>> exten => 19,103,Hangup
>>
>> exten => 20,1,Dial(SIP/20,20,tr)
>> exten => 20,2,Voicemail(u20)
>> exten => 20,hangup
>> exten => 20,102, Voicemail (b20)
>> exten => 20,103,Hangup
>>
>>
>> iax.conf:
>> [general]
>> bandwidth=low
>> disallow=lpc10   jitterbuffer=no
>> forcejitterbuffer=no
>> [19]
>> type = friend
>> username = 19
>> secret = 19
>> host=dynamic
>> context = INTERNAL
>> mailbox=19
>>
>> [20]
>> type = friend
>> username = 20
>> secret = 20
>> host=dynamic
>> context = INTERNAL
>> mailbox=20
>>
>>
>> Best regards,
>>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>


-- 
Olivier Saulnier
STEGANUX
35 Quai Louis Blanc
03100 Montluçon
T: 04.70.02.80.55
F: 04.70.02.80.57
http://www.steganux.com




More information about the asterisk-users mailing list