Hi Folks,

 Just wondering if anyone can give me some pointers, I'm configuring Asterisk to talk 
to FWD's new IAX service. The asterisk server is behind an iptables NAT Firewall, with 
port 5036 forwarded:

$IPTABLES -t nat -A PREROUTING -p udp -d $EXTERNAL_IP --dport 5036 -j DNAT 
--to-destination 172.16.20.200:5036

 I can make outgoing calls just fine, but when I receive an inbound call (FWD call me 
service) I get the following errors from iax2 debug...

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: ACK    
   Timestamp: 00088ms  SCall: 00002  DCall: 00109 [65.39.205.121:4569]
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW    
   Timestamp: 00009ms  SCall: 00040  DCall: 00000 [65.39.205.121:4569]
   VERSION         : 2
   CALLED NUMBER   : 398xxx
   CALLING NUMBER  : 511
   CALLING NAME    : [EMAIL PROTECTED]
   LANGUAGE        : en
   USERNAME        : iaxfwd
   FORMAT          : 4
   CAPABILITY      : 4
   ADSICPE         : 2
   DATE TIME       : 148517838
Asterisk*CLI> 
Jun 26 12:36:10 NOTICE[98311]: chan_iax2.c:4439 socket_read: Rejected connect attempt 
from 65.39.205.121
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: REJECT 
   Timestamp: 00001ms  SCall: 00003  DCall: 00040 [65.39.205.121:4569]
   CAUSE           : No authority found
Asterisk*CLI> 
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: REJECT 
   Timestamp: 00001ms  SCall: 00003  DCall: 00040 [65.39.205.121:4569]
   CAUSE           : No authority found
Asterisk*CLI> 
Rx-Frame Retry[No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: INVAL  
   Timestamp: 00000ms  SCall: 00040  DCall: 00003 [65.39.205.121:4569]

 I've googled for this and have found pointers to problems with using call groups (I'm 
not using them) and context issues. I've checked out the contexts, excerpts below...

iax.conf:

[general]
  port=5036
  bandwidth=high
  disallow=lpc10
  jitterbuffer=no
  tos=lowdelay
  context=from-iax

  ;Register with IAX Peers
  ;
  register => 398xxx:[EMAIL PROTECTED]

[free_world_dialup]
 type=user
 auth=rsa
 inkeys=freeworlddialup

extensions.conf

 [globals]
  PHONE1=SIP/1001
  PHONE2=SIP/1002
  FWDNUMBER=398xxx

 [from-iax]
  ;Handle iax calls from FWD to my FWD#
  exten => {FWDNUMBER},1,Dial(${PHONE1}&${PHONE2},20,tr)
  exten => {FWDNUMBER},2,Hangup  

 If anyone has any other suggestions I'd be very grateful :)

 -Cheers Max.

--
Max Lock
_______________________________________________
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

Reply via email to