[Asterisk-Users] External IAX2 phone defined as internal behaving as from PSTN

Francesco Peeters (Asterisk) francesco at fampeeters.com
Fri Jan 27 09:54:29 MST 2006


On Fri, January 27, 2006 17:23, Ian Cowley said:
> Iax.conf
>
> [general]
> ;bindport = 4569           ; Port to bind to (IAX is 4569)
> bindport = 5036           ; Port to bind to (IAX is 4569)
> bindaddr = 0.0.0.0    ; Address to bind to (all addresses on machine)
> disallow=all
> allow=g729 ; 4 simultaneous allowed
> allow ilbc ; prefered for iax2
> allow=gsm  ; 13 Kbps (full rate), 20ms frame size
> allow=ulaw ;(g711)64 Kbps, sample-based
> allow=alaw ;(g711)64 Kbps, sample-based
> mailboxdetail=yes
> jitterbuffer=yes
>
> context=from-internal
>
> #include iax_additional.conf
> #include iax_custom.conf
>
> iax_additional.conf
> [1055]
> username=1055
> type=friend
> secret=#####################
> record_out=Adhoc
> record_in=Adhoc
> qualify=yes
> port=4569
> notransfer=yes
> mailbox=1055 at device
> host=dynamic
> context=from-internal
> callerid=device <1055>
>
> Regards
> ianC
>
>

Looks like you are using AMP / A at H...

As far as I can tell, this should work correctly... There might be
something going on in the translation by the Checkpoint NAT control...

Have you tried iax2 debug to see what it is receiving? the first few
packets should give you sufficient information...

Good luck!

-- 
F Peeters
  PIII 450 - 1 GB - * 1.2 - BRIstuff 0.3.0 Pre 1 - Florz patch
  2 Sweex HFC-PCI modes=2 sync_slave=2 timer_card=0
    Cologne HFC-S pins #52, #54, #55 connected in parallel for synching.
  AMD Duron 1GHz - 1GB - * 1.2.1
  2 Sweex HFC-PCI cards



More information about the asterisk-users mailing list