IAX Inbound not working FreePBX 2.11

Hope someone can help me here. We use TTNC IAX trunk for inbound calls in the UK. We have it running for years on our FreePBX 2.9.0.7 but we have recently moved to FreePBX 2.11.0.0rc.1.2 and used the same config for our trunks/inbound routes etc but we can not get inbound calls from our IAX trunk to work. Everything else using SIP does. Firewall setup ok and was disabled for testing. Strange why the new server does not see the connection as IAX compared to the original.

This worked on 2.9

username=xxxyyy
type=friend
secret=xxxyyy
requirecalltoken=no
qualify=3000
host=dynamic
context=from-pstn

Here is what the brief edited log files sees for inbound call:

NEW SERVER

[2013-04-28 20:54:36] VERBOSE[1537][C-00000087] netsock2.c: == Using SIP RTP TOS bits 184
[2013-04-28 20:54:36] VERBOSE[1537][C-00000087] netsock2.c: == Using SIP RTP TOS bits 184
[2013-04-28 20:54:36] VERBOSE[1537][C-00000087] netsock2.c: == Using SIP RTP CoS mark 5
[2013-04-28 20:54:36] VERBOSE[1537][C-00000087] netsock2.c: == Using SIP RTP CoS mark 5
[2013-04-28 20:54:36] VERBOSE[28408][C-00000087] pbx.c: – Executing [xxxxx@from-sip-external:1] NoOp(“SIP/213.166.5.140-000000a9”, “Received incoming SIP connection from unknown peer to xxxxx”) in new stack

Seems to see the call as SIP??

OLD SERVER - works ok

[2013-04-28 20:54:20] VERBOSE[3373] chan_iax2.c: – Accepting AUTHENTICATED call from 213.166.5.129:

requested format = alaw,
requested prefs = (alaw|ulaw|gsm|speex16),
actual format = ulaw,
host prefs = (ulaw|alaw|gsm),
priority = mine
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [441234567890@from-pstn:1] Set(“IAX2/ttncin-27”, “__FROM_DID=441234567890”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [441234567890@from-pstn:2] Gosub(“IAX2/ttncin-27”, “app-blacklist-check,s,1”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [s@app-blacklist-check:1] GotoIf(“IAX2/ttncin-27”, “0?blacklisted”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [s@app-blacklist-check:2] Set(“IAX2/ttncin-27”, “CALLED_BLACKLIST=1”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [s@app-blacklist-check:3] Return(“IAX2/ttncin-27”, “”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [441234567890@from-pstn:3] ExecIf(“IAX2/ttncin-27”, “1 ?Set(CALLERID(name)=0777777000)”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [441234567890@from-pstn:4] Set(“IAX2/ttncin-27”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [441234567890@from-pstn:5] Set(“IAX2/ttncin-27”, “CALLERPRES()=allowed_not_screened”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [441234567890@from-pstn:6] Goto(“IAX2/ttncin-27”, “disa,1,1”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Goto (disa,1,1)
[2013-04-28 20:54:20] VERBOSE[14352] pbx.c: – Executing [1@disa:1] Authenticate(“IAX2/ttncin-27”, “xxxx,”) in new stack
[2013-04-28 20:54:20] VERBOSE[14352] file.c: – <IAX2/ttncin-27> Playing ‘agent-pass.ulaw’ (language ‘en’)
[2013-04-28 20:54:23] WARNING[14352] file.c: Failed to write frame
[2013-04-28 20:54:23] VERBOSE[14352] file.c: – <IAX2/ttncin-27> Playing ‘vm-goodbye.ulaw’ (language ‘en’)
[2013-04-28 20:54:23] VERBOSE[14352] pbx.c: == Spawn extension (disa, 1, 1) exited non-zero on ‘IAX2/ttncin-27’
[2013-04-28 20:54:23] VERBOSE[14352] chan_iax2.c: – Hungup ‘IAX2/ttncin-27’

Perhaps IAX needs to be setup differently on 2.11??

Thanks.

Andy

That’s dial plan debug, how about some IAX debug? Also you trunk config and registration strings.

In the UK make sure that alaw is also acceptable, why are you using ulaw, it stinks of Yankee, no ?

Ahem, stinks of Yankee, back when we used to lead, and Bell Labs developed the North American Digital Hierarchy, the British Post Office just had to be different.

Card carrying member of the Telephone Pioneers of America emphasis added.

If you missed my irony,

No argument there, when I left “old blighty” it was still a hanging offense to connect anything to ones’s phone line. The GPO where still struggling to replace their Strowger cross bar systems.

p.s.

I just realized that very few who read this will have the slightest inkling of which I speak.

God bless ground-starts, party lines and Ernestine.