SOLVED Incredible 13 bails ugly on calls between internal ext.

alange

New Member
Joined
Nov 2, 2015
Messages
6
Reaction score
2
Thank you for this page.

New user of Incredible PBX here. (Not new to SIP or *NIX)
I got the installation running, had a few fights with iptables, etc. and got to a place where phones registered (green lights-yay!).

But no internal calls. Phones would dial and say "ringing" but receiving phone would not ring.

Re-making and installing asterisk did the trick. Thanks.

I originally installed from the latest .iso and everything seemed to be working at the end of the installation.
 

geopeterwc

Guru
Joined
Aug 17, 2010
Messages
385
Reaction score
131
Check to be sure that your IncrediblePBX "knows" about your network. From the Incredible GUI. Select "Asterisk SIP Settings." Click on the "Detect External IP" button ... which will also propagate the Local Networks field (representing your local LAN). Click on "Submit" at the bottom of the panel, Click the red "Apply Config" button and retest.

Note that if you have a dynamic IP address, you'll need to go to the Chan SIP link at the top-right of the screen, and change the IP Configuration settings to match your Dynamic IP address Host Name, etc.

/Pete./
 

The Deacon

Guru
Joined
Jan 29, 2008
Messages
296
Reaction score
14
I'm using the Proxmox 4 config and am using the backup listed in that article.

Not experiencing the joy that everyone else seems to have - even after doing the upgrade-asterisk-to-current.

Here is the asterisk log for calling between internal extensions 702 to 703...

Code:
[2015-11-06 13:14:56] ERROR[4484]: res_pjsip.c:2806 create_out_of_dialog_request: Unable to create outbound OPTIONS request to endpoint <none>
[2015-11-06 13:14:56] ERROR[4484]: res_pjsip/pjsip_options.c:338 qualify_contact: Unable to create request to qualify contact sip:[email protected]:5060
    
< SNIP >

    -- Executing [s@sub-record-check:17] GotoIf("PJSIP/702-00000002", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] NoOp("PJSIP/702-00000002", "Exten Recording Check between 702 and 703") in new stack
    -- Executing [exten@sub-record-check:2] Set("PJSIP/702-00000002", "CALLTYPE=internal") in new stack
    -- Executing [exten@sub-record-check:3] ExecIf("PJSIP/702-00000002", "0?Set(CALLTYPE=)") in new stack
    -- Executing [exten@sub-record-check:4] Set("PJSIP/702-00000002", "CALLEE=dontcare") in new stack
    -- Executing [exten@sub-record-check:5] ExecIf("PJSIP/702-00000002", "0?Set(CALLEE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:6] GotoIf("PJSIP/702-00000002", "0?callee") in new stack
    -- Executing [exten@sub-record-check:7] GotoIf("PJSIP/702-00000002", "1?caller") in new stack
    -- Goto (sub-record-check,exten,13)
    -- Executing [exten@sub-record-check:13] Set("PJSIP/702-00000002", "RECMODE=dontcare") in new stack
    -- Executing [exten@sub-record-check:14] ExecIf("PJSIP/702-00000002", "0?Set(RECMODE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:15] ExecIf("PJSIP/702-00000002", "1?Set(RECMODE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:16] Gosub("PJSIP/702-00000002", "recordcheck,1(dontcare,internal,703)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/702-00000002", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/702-00000002", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/702-00000002", "") in new stack
    -- Executing [exten@sub-record-check:17] Return("PJSIP/702-00000002", "") in new stack
    -- Executing [s@macro-exten-vm:9] GotoIf("PJSIP/702-00000002", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,15)
    -- Executing [s@macro-exten-vm:15] GosubIf("PJSIP/702-00000002", "0?clrheader,1()") in new stack
    -- Executing [s@macro-exten-vm:16] Macro("PJSIP/702-00000002", "dial-one,15,Ttr,703") in new stack
    -- Executing [s@macro-dial-one:1] Set("PJSIP/702-00000002", "DEXTEN=703") in new stack
    -- Executing [s@macro-dial-one:2] Set("PJSIP/702-00000002", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("PJSIP/702-00000002", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("PJSIP/702-00000002", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("PJSIP/702-00000002", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,8)
    -- Executing [s@macro-dial-one:8] GotoIf("PJSIP/702-00000002", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:9] GotoIf("PJSIP/702-00000002", "0?continue") in new stack
    -- Executing [s@macro-dial-one:10] Set("PJSIP/702-00000002", "EXTHASCW=ENABLED") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("PJSIP/702-00000002", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,23)
    -- Executing [s@macro-dial-one:23] GotoIf("PJSIP/702-00000002", "1?next3:continue") in new stack
    -- Goto (macro-dial-one,s,24)
    -- Executing [s@macro-dial-one:24] ExecIf("PJSIP/702-00000002", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
    -- Executing [s@macro-dial-one:25] GotoIf("PJSIP/702-00000002", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:26] GosubIf("PJSIP/702-00000002", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("PJSIP/702-00000002", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("PJSIP/702-00000002", "DEVICES=703") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("PJSIP/702-00000002", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("PJSIP/702-00000002", "0?Set(DEVICES=03)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("PJSIP/702-00000002", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("PJSIP/702-00000002", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("PJSIP/702-00000002", "THISDIAL=PJSIP/703") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("PJSIP/702-00000002", "1?zap2dahdi,1()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("PJSIP/702-00000002", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("PJSIP/702-00000002", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("PJSIP/702-00000002", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("PJSIP/702-00000002", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("PJSIP/702-00000002", "THISPART2=PJSIP/703") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("PJSIP/702-00000002", "0?Set(THISPART2=DAHDIIP/703)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("PJSIP/702-00000002", "NEWDIAL=PJSIP/703&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("PJSIP/702-00000002", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("PJSIP/702-00000002", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("PJSIP/702-00000002", "THISDIAL=PJSIP/703") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("PJSIP/702-00000002", "") in new stack
    -- Executing [dstring@macro-dial-one:9] GotoIf("PJSIP/702-00000002", "0?doset") in new stack
    -- Executing [dstring@macro-dial-one:10] NoOp("PJSIP/702-00000002", "Debug: Found PJSIP Destination PJSIP/703, updaing with PJSIP_DIAL_CONTACTS") in new stack
    -- Executing [dstring@macro-dial-one:11] Set("PJSIP/702-00000002", "THISDIAL=PJSIP/703/sip:[email protected]:5060") in new stack
    -- Executing [dstring@macro-dial-one:12] Set("PJSIP/702-00000002", "DSTRING=PJSIP/703/sip:[email protected]:5060&") in new stack
    -- Executing [dstring@macro-dial-one:13] Set("PJSIP/702-00000002", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:14] GotoIf("PJSIP/702-00000002", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:15] Set("PJSIP/702-00000002", "DSTRING=PJSIP/703/sip:[email protected]:5060") in new stack
    -- Executing [dstring@macro-dial-one:16] Return("PJSIP/702-00000002", "") in new stack
    -- Executing [s@macro-dial-one:27] GotoIf("PJSIP/702-00000002", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("PJSIP/702-00000002", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:29] GosubIf("PJSIP/702-00000002", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [ctset@macro-dial-one:1] Set("PJSIP/702-00000002", "DB(CALLTRACE/703)=702") in new stack
    -- Executing [ctset@macro-dial-one:2] Return("PJSIP/702-00000002", "") in new stack
    -- Executing [s@macro-dial-one:30] Set("PJSIP/702-00000002", "D_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dial-one:31] ExecIf("PJSIP/702-00000002", "0?SIPAddHeader(Alert-Info: )") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("PJSIP/702-00000002", "0?SIPAddHeader()") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("PJSIP/702-00000002", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial-one:34] GosubIf("PJSIP/702-00000002", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:35] Set("PJSIP/702-00000002", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:36] Set("PJSIP/702-00000002", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:37] GotoIf("PJSIP/702-00000002", "0?usegoto,1") in new stack
    -- Executing [s@macro-dial-one:38] GotoIf("PJSIP/702-00000002", "0?godial") in new stack
    -- Executing [s@macro-dial-one:39] Gosub("PJSIP/702-00000002", "sub-presencestate-display,s,1(703)") in new stack
[2015-11-06 13:14:58] WARNING[4963][C-00000002]: func_presencestate.c:133 presence_read: PRESENCE_STATE unknown
    -- Executing [s@sub-presencestate-display:1] Goto("PJSIP/702-00000002", "state-,1") in new stack
    -- Goto (sub-presencestate-display,state-,1)
    -- Executing [state-@sub-presencestate-display:1] Set("PJSIP/702-00000002", "PRESENCESTATE_DISPLAY=") in new stack
    -- Executing [state-@sub-presencestate-display:2] Return("PJSIP/702-00000002", "") in new stack
    -- Executing [s@macro-dial-one:40] Set("PJSIP/702-00000002", "CONNECTEDLINE(name,i)=703") in new stack
    -- Executing [s@macro-dial-one:41] Set("PJSIP/702-00000002", "CONNECTEDLINE(num)=703") in new stack
    -- Executing [s@macro-dial-one:42] Set("PJSIP/702-00000002", "D_OPTIONS=TtrI") in new stack
    -- Executing [s@macro-dial-one:43] Macro("PJSIP/702-00000002", "dialout-one-predial-hook,") in new stack
    -- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("PJSIP/702-00000002", "") in new stack
    -- Executing [s@macro-dial-one:44] Dial("PJSIP/702-00000002", "PJSIP/703/sip:[email protected]:5060,15,TtrI") in new stack
pbx1*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.

I'll try to install it from .ISO next and see if that fixes it.
 

The Deacon

Guru
Joined
Jan 29, 2008
Messages
296
Reaction score
14
Thanks Ward! That worked!

On another note: I tried installing from ISO but it failed the first couple of times (for some reason it couldn't create a ton of directories). After doing some digging, it turned out that I wasn't making the virtual hard drive big enough - it needed more than 4GB to do an install. Lesson learned.
 

Members online

No members online now.

Forum statistics

Threads
25,810
Messages
167,754
Members
19,240
Latest member
nikko
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.
Top