[Asterisk-Users] IAX Configuration

Sean Cook scook at kinex.net
Tue May 2 07:19:25 MST 2006


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,
>




More information about the asterisk-users mailing list