Connecting fpbx to old elastix version

freepbx
elastix
asterisk
Tags: #<Tag:0x00007fafc4650ec0> #<Tag:0x00007fafc4650ce0> #<Tag:0x00007fafc4650b78>

#1

Hello everybody. Im relatively new to freepbx.

Im trying to prepare new server with freepbx 14.0.10.3 and Asterisk 16.3.0, for migration from elastix 2.4.0 with freepbx 2.4.8 and Asterisk 1.8.

I’ve got connected them both throug an IAX with context=from-internal, internal<->internal and internal->external calls works fine. External sip trunk on elastix named sip_trunk_on_elastix.
And i’ve set up Inbound Route with filter for one CID lets say 08997777777 (for testing purposes) being forwarded to Freepbx through the IAX.

Problem is, i cannot fall from external on elastix to freepbx through iax trunk when calling from 08997777777.

logs:

Accepting UNAUTHENTICATED call from 1.1.1.1:4569:
– > requested format = ulaw,
– > requested prefs = (ulaw|gsm|g729|alaw),
– > actual format = ulaw,
– > host prefs = (ulaw|alaw|gsm|g729),
– > priority = mine
– Executing [sip_trunk_on_elastix@from-internal:1] ResetCDR(“IAX2/to-elastix-11307”, “”) in new stack
– Executing [sip_trunk_on_elastix@from-internal:2] NoCDR(“IAX2/to-elastix-11307”, “”) in new stack
– Executing [sip_trunk_on_elastix@from-internal:3] Progress(“IAX2/to-elastix-11307”, “”) in new stack
– Executing [sip_trunk_on_elastix@from-internal:4] Wait(“IAX2/to-elastix-11307”, “1”) in new stack
– Executing [sip_trunk_on_elastix@from-internal:5] Playback(“IAX2/to-elastix-11307”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <IAX2/to-elastix-11307> Playing ‘silence/1.ulaw’ (language ‘en’)
– <IAX2/to-elastix-11307> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
– <IAX2/to-elastix-11307> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
– Executing [h@from-internal:1] Macro(“IAX2/to-elastix-11307”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“IAX2/to-elastix-11307”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“IAX2/to-elastix-11307”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] NoOp(“IAX2/to-elastix-11307”, " montior file= ") in new stack
– Executing [s@macro-hangupcall:5] GotoIf(“IAX2/to-elastix-11307”, “1?skipagi”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] Hangup(“IAX2/to-elastix-11307”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘IAX2/to-elastix-11307’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘IAX2/to-elastix-11307’
– Hungup ‘IAX2/to-elastix-11307’

Can someone help or point me to the right direction?


#2

cannot-complete-as-dialed&check-number-dial-again usually means there is not matching outbound rule for the number you have dialed.


#3

Thats inbound route, anyway changed iax trunk config context=from-internal to context=from-trunk and now its working fine.


(system) closed #4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.