Page 1 of 1

Question regarding IAX Trunk dialing

PostPosted: Fri Jun 23, 2006 3:38 pm
by enjay
I have a FreePBX system dialing through my VICIDial Server (which has T1's) over an IAX trunk when I dial it goes through however I see this in the logs from the VICIDial system..

Code: Select all
    -- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
    -- AGI Script call_log.agi completed, returning 0
    -- Hungup 'IAX2/cobastsrv03-7'
    -- Accepting UNAUTHENTICATED call from 192.168.0.7:
       > requested format = ulaw,
       > requested prefs = (ulaw|alaw|gsm),
       > actual format = ulaw,
       > host prefs = (ulaw),
       > priority = mine
    -- Executing Goto("IAX2/cobastsrv03-13", "6026638055|1") in new stack
    -- Goto (dialer,6026638055,1)
    -- Executing Dial("IAX2/cobastsrv03-13", "Zap/g1/6026638055||o") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called g1/6026638055
    -- Channel 1/3, span 2 got hangup
    -- Channel 1/3, span 2 received AOC-E charging 0 units
    -- Zap/3-1 is circuit-busy
    -- Hungup 'Zap/3-1'
  == Everyone is busy/congested at this time (1:0/1/0)
Jun 23 13:37:29 WARNING[9868]: pbx.c:2412 __ast_pbx_run: Timeout, but no rule 't' in context 'dialer'
    -- Executing DeadAGI("IAX2/cobastsrv03-13", "call_log.agi|h") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
    -- AGI Script call_log.agi completed, returning 0
    -- Hungup 'IAX2/cobastsrv03-13'

PostPosted: Fri Jun 23, 2006 3:44 pm
by mflorell
That all looks quite strange, especially since you say the call goes through.

Is the IAX server registered? ("iax2 show registry")

It is strange that it shows UNAUTHENTICATED if it is. Although freepbx does things in a rather strange way as it is.

PostPosted: Fri Jun 23, 2006 3:56 pm
by enjay
funny thing was it wasnt registered I changed the host to dynamic and now it is registered however I am NOW receiving the following error instead of it actually dialling

Code: Select all
Jun 23 13:56:27 NOTICE[9372]: chan_iax2.c:6796 socket_read: Rejected connect attempt from 192.168.0.7, who was trying to reach '602XXXXXXX@'

PostPosted: Fri Jun 23, 2006 3:58 pm
by mflorell
Very strange indeed. You might want to post on the asterisk-users or the digium forums about this. I've never seen errors like that before coming out of my IAX connections.

PostPosted: Fri Jun 23, 2006 4:04 pm
by enjay
yea i'll give that a go and see what transpires I think it has something to do with the context since from the VICIDial server its using the dialer or outbound context and from the FreePBX its using a different one though thats newb speculation at this point ;)

Thanks again!..