On 4/6/2010 10:31 AM, Steve Edwards wrote: > On Tue, 6 Apr 2010, bob gailer wrote: > > >> I have2 Trixbox Servers. Each has an IAX trunks to the other. One works >> the other fails: >> >> -- Executing [...@macro-dialout-trunk:19] Dial("SIP/526-09eec7c8", >> "IAX2/InterOffice/210,300,tr") in new stack >> -- Called InterOffice/210 >> -- Hungup 'IAX2/InterOffice-7578' >> == Everyone is busy/congested at this time (1:0/0/1) >> >> The only difference I am aware of is that one server has a public IP >> address, the other is behind a NAT. >> >> The trunk from the server with the public address works fine. >> >> I added nat=yes to the other's peer details - did not help. >> >> What should I do? >> > 0) Use a more descriptive subject. > > 1) Set "auth=plaintext" (only for the duration of the debug session) and > enable iax2 debugging on the CLI. > > You should see the "NEW" request and the passwords in plaintext. >
Here is the calling server side: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00009ms SCall: 06719 DCall: 00000 [67.228.218.114:4569] VERSION : 2 CALLED NUMBER : 210 CODEC_PREFS : (ulaw|alaw|gsm) CALLING NUMBER : 526 CALLING PRESNTN : 0 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 CALLING NAME : Bob's Office LANGUAGE : en FORMAT : 4 CAPABILITY : 14 ADSICPE : 2 DATE TIME : 2010-04-06 14:57:22 Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT Timestamp: 00009ms SCall: 00001 DCall: 06719 [67.228.218.114:4569] Here is the called server side: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00019ms SCall: 10453 DCall: 00000 [75.177.136.251:4569] VERSION : 2 CALLED NUMBER : 210 CODEC_PREFS : (ulaw|alaw|gsm) CALLING NUMBER : 526 CALLING PRESNTN : 0 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 CALLING NAME : Bob's Office LANGUAGE : en FORMAT : 4 CAPABILITY : 14 ADSICPE : 2 DATE TIME : 2010-04-06 14:58:02 Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK Timestamp: 00019ms SCall: 10453 DCall: 00001 [75.177.136.251:4569] > Verify the username, password, context, and extension all exist. > I do not understand or see username. I do not see context. I do not see or have passwords or know how to specify them. Extension exists. I can call the other way with no problem. -- Bob Gailer 919-636-4239 Chapel Hill NC -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users