Inbound calls on IAX2 trunk going to "hangupcall"

tabbertmj

Member
Joined
Jul 23, 2008
Messages
176
Reaction score
0
Ok, I am going to try this post in the trunks section. I think it fits better.

I am trying to test an inbound DID from didww. I have SIP working fine, but would rather use IAX2. The call comes in, but is sent directly to "hangupcall" even though I have an inbound route for all calls. Does anybody have an idea?

Here is the console logs.

-- Accepting UNAUTHENTICATED call from 204.11.194.35:
> requested format = ulaw,
> requested prefs = (),
> actual format = gsm,
> host prefs = (gsm),
> priority = mine
-- Executing [s@from-internal:1] Macro("IAX2/from-trunk-11733", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("IAX2/from-trunk-11733", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("IAX2/from-trunk-11733", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("IAX2/from-trunk-11733", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("IAX2/from-trunk-11733", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("IAX2/from-trunk-11733", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("IAX2/from-trunk-11733", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'IAX2/from-trunk-11733' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'IAX2/from-trunk-11733'
-- Hungup 'IAX2/from-trunk-11733'


Thanks!!
 
Does it work if you create an Any/Any route. If it does, you have a problem with the DID being sent from DIDWW. The string there should be

IAX2://[email protected]/yourDID

Make sure you have an inbound IAX2 trunk called guest with no credentials.
 
Hi john,

Well, part of that helped. If I put the guest@ on the front of it, it doesn't even try to connect to the PBX. If I remove that, and just use the domain/ext, it works. Thanks, I don't think I would have ever solved that one. Do you know if you can list more than one host in a trunk?

Thanks for the help,
Mike
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top