passing a call from 1 elastix box to another

mattrh

Joined
Jul 15, 2008
Messages
175
Likes
0
Points
0
#1
i have a call comming into my main office then passing, the call to ther other office and i am getting this error on the remote server

Code:
    -- Accepting UNAUTHENTICATED call from 192.168.0.12:
       > requested format = ulaw,
       > requested prefs = (ulaw|alaw|gsm),
       > actual format = ulaw,
       > host prefs = (ulaw|alaw|gsm),
       > priority = mine
    -- Executing [s@from-internal:1] Macro("IAX2/OfficeEncino-1783", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/OfficeEncino-1783", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/OfficeEncino-1783", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/OfficeEncino-1783", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("IAX2/OfficeEncino-1783", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/OfficeEncino-1783' in macro 'hangupcall'
  == Spawn extension (from-internal, s, 1) exited non-zero on 'IAX2/OfficeEncino-1783'
    -- Executing [h@from-internal:1] Macro("IAX2/OfficeEncino-1783", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/OfficeEncino-1783", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/OfficeEncino-1783", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/OfficeEncino-1783", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("IAX2/OfficeEncino-1783", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/OfficeEncino-1783' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/OfficeEncino-1783'
    -- Hungup 'IAX2/OfficeEncino-1783'

any idea. interconnected via IAX2 and VPN.

basic lay out ( changed ip's and user names)

System 1
def.com.au
System 2
xyz.com.au
IAX Trunk
Outgoing Dial Rules: XX. XX.
Trunk Name Parramatta MainOffice
Peer Details
host=xyz.com.au (or System
2 IP)
qualify=yes
secret=xxxyyy
type=peer
username=91000
host=def.com.au (or System 1
IP)
qualify=yes
secret=xxxyyy
type=peer
username=90000
User Context Leave blank Leave blank
User Details Leave blank Leave blank
Register String 91000:xxxyyy@xyz.com.au 90000:xxxyyy@def.com.au
Note: Registration isn
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#2
check your authtoken* settings
 

mattrh

Joined
Jul 15, 2008
Messages
175
Likes
0
Points
0
#3
where would i find that and what should the setting be? thanks dicko!
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0
#4
Well largely they wont be any settings anywhere until you put them there. it is a security enhancement to Asterisk particularly IAX2, that you agreed to on you last update, (either explicitly or implicitly), unfortunately the Elastix packagers haven't caught up with this problem yet so all updates are doomed to failure in this area until they fix the underlying base Elastix installation, I'm sure they will as soon as they become aware of the plethora of problems here in the trenches using their rpms , or perhaps until someone cares to file a bug report, maybe you.

There are many posts here about the how-tos of the authtoken* thingy, just search the fora, unfortunately the commonly accepted practice around here seems to be to accept all unauthenticated iax2 connections from everywhere, which completely defeats the solution, oh well, I guess nobody does that RTFM thing any more.
 

mattrh

Joined
Jul 15, 2008
Messages
175
Likes
0
Points
0
#5
i will have to google around a little bit to find the answer i guess then. but what is funny is that, now for no reason:


Code:
 -- Accepting AUTHENTICATED call from 192.168.0.12:
       > requested format = ulaw,
       > requested prefs = (ulaw|alaw|gsm),
       > actual format = ulaw,
       > host prefs = (ulaw|alaw|gsm),
       > priority = mine
    -- Executing [s@from-internal:1] Macro("IAX2/9000-69", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/9000-69", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/9000-69", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/9000-69", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("IAX2/9000-69", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/9000-69' in macro 'hangupcall'
  == Spawn extension (from-internal, s, 1) exited non-zero on 'IAX2/9000-69'
    -- Executing [h@from-internal:1] Macro("IAX2/9000-69", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("IAX2/9000-69", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] GotoIf("IAX2/9000-69", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("IAX2/9000-69", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] Hangup("IAX2/9000-69", "") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'IAX2/9000-69' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/9000-69'
    -- Hungup 'IAX2/9000-69'
but it still doesn't work. hmmm... well google here is come :(
 

dicko

Joined
Oct 24, 2008
Messages
4,099
Likes
0
Points
0

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top