Activate FreePBX on raspberry pi

freepbx
Tags: #<Tag:0x00007f7024a93fa8>

(Suriname) #28

I ahve configured a static IP


(Suriname) #29

This is what I have in /etc/network/intefaces

auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


(Suriname) #30

i have added this, but i got no result


(Guenni) #31

You may try to install sysadmin via console by typing fwconsole ma install sysadmin
or fwconsole ma installlocal without arguments.
Maybe it is necessary to enable the commercial modulerepo before. fwconsole ma enablerepo commercial
Can you please check with the web FREEPBX webinterface settings from
Administrator --> SystemAdmin, Card DNS. There should be 2 or 3 lines for DNS servers (once available):
127.0.0.1
192.168.1.1 (asuming this is your router and dhcp server)

Otherwise the sysadmin module is really not available within the rasberrypi distro which might be a very strange situation.


(Dr.Or) #32

On the Raspberry Pi edit:
/etc/dhcpcd.conf

and add:

interface eth0
static ip_address=192.168.1.100/24
static routers=192.168.1.1
static domain_name_servers=1.1.1.1 1.0.0.1
interface eth0 manual

save the file and restart service with:
service networking restart


(Guenni) #33

I’ve installed the current raspi version on pi3. And yes. sysadmin module is not available. As Lorne mentioned. Repo for commercial modules can not be activated.
Once DNS is working, updates work with raspbx-upgrade. Online-check of modules work for me.
I’m using raspi with dhcp, where the router always offers the same IP to the raspi.


(Suriname) #34

I have installed the image again on the sd card of the raspberry pi. Before the configuration of the statis IP address, this time i am performing raspbx upgrade. Before i was not able to perform this. Now the system is upgrading. I think some thing was wrong with the static ip configuration. I had not added a DNS server


(Suriname) #35

Hey all I want to let you know that adding 1.1.1.1 as dns server has helped. I am able to update the modules now. Thank you very much for your advices, otherwise I would not be able to see that the problem was an dns issue.

another problem now is, that i can make internal call, between two extensions, but there is no audio. I do not understand how.

The PBX Version is 15.0.16.57. I am using raspberry pi 4.

Regards Renoeka


(Suriname) #36

can someone help me analysing it why there is no audio:
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [1001@from-internal:1] GotoIf(“PJSIP/1000-00000004”, “1?ext-local,1001,1:followme-check,1001,1”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (ext-local,1001,1)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [1001@ext-local:1] Set(“PJSIP/1000-00000004”, “__RINGTIMER=15”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [1001@ext-local:2] ExecIf(“PJSIP/1000-00000004”, “0?Set(__CWIGNORE=)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [1001@ext-local:3] Macro(“PJSIP/1000-00000004”, “exten-vm,novm,1001,0,0,0”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:1] Macro(“PJSIP/1000-00000004”, “user-callerid,”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/1000-00000004”, “TOUCH_MONITOR=1593449156.4”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/1000-00000004”, “AMPUSER=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:3] Set(“PJSIP/1000-00000004”, “HOTDESCKCHAN=1000-00000004”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/1000-00000004”, “HOTDESKEXTEN=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/1000-00000004”, “HOTDESKCALL=0”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:6] ExecIf(“PJSIP/1000-00000004”, “0?Set(HOTDESKCALL=1)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:7] ExecIf(“PJSIP/1000-00000004”, “0?Set(CALLERID(name)=)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“PJSIP/1000-00000004”, “0?report”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:9] ExecIf(“PJSIP/1000-00000004”, “1?Set(REALCALLERIDNUM=1000)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/1000-00000004”, “AMPUSER=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:11] GotoIf(“PJSIP/1000-00000004”, “0?limit”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:12] Set(“PJSIP/1000-00000004”, “AMPUSERCIDNAME=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/1000-00000004”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/1000-00000004”, “0?report”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:15] Set(“PJSIP/1000-00000004”, “AMPUSERCID=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:16] Set(“PJSIP/1000-00000004”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:17] Set(“PJSIP/1000-00000004”, “CALLERID(all)=“1000” <1000>”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:18] ExecIf(“PJSIP/1000-00000004”, “0?Set(CUSDIAL=1001)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:19] ExecIf(“PJSIP/1000-00000004”, “0?Set(CALLERID(all)=1001)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:20] GotoIf(“PJSIP/1000-00000004”, “0?limit”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:21] ExecIf(“PJSIP/1000-00000004”, “0?Set(GROUP(concurrency_limit)=1000)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:22] NoOp(“PJSIP/1000-00000004”, “Macro Depth is 2”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:23] GotoIf(“PJSIP/1000-00000004”, “1?report2:macroerror”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,24)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:24] GotoIf(“PJSIP/1000-00000004”, “0?continue”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:25] Set(“PJSIP/1000-00000004”, “__TTL=64”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:26] GotoIf(“PJSIP/1000-00000004”, “1?continue”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (macro-user-callerid,s,42)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:42] Set(“PJSIP/1000-00000004”, “CALLERID(number)=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:43] Set(“PJSIP/1000-00000004”, “CALLERID(name)=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:44] GotoIf(“PJSIP/1000-00000004”, “0?cnum”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:45] Set(“PJSIP/1000-00000004”, “CDR(cnam)=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:46] Set(“PJSIP/1000-00000004”, “CDR(cnum)=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-user-callerid:47] Set(“PJSIP/1000-00000004”, “CHANNEL(language)=en”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:2] Set(“PJSIP/1000-00000004”, “RingGroupMethod=none”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:3] Set(“PJSIP/1000-00000004”, “__EXTTOCALL=1001”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:4] Set(“PJSIP/1000-00000004”, “__PICKUPMARK=1001”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:5] Set(“PJSIP/1000-00000004”, “RT=”) in new stack
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:6] ExecIf(“PJSIP/1000-00000004”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:7] ExecIf(“PJSIP/1000-00000004”, “0?MacroExit()”) in new stack
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:8] ExecIf(“PJSIP/1000-00000004”, “0?Gosub(ext-intercom,*801001,1())”) in new stack
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:9] ExecIf(“PJSIP/1000-00000004”, “0?MacroExit()”) in new stack
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:10] ExecIf(“PJSIP/1000-00000004”, “0?ChanSpy(PJSIP/1001,q)”) in new stack
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:11] ExecIf(“PJSIP/1000-00000004”, “0?MacroExit()”) in new stack
[2020-06-29 13:45:56] WARNING[25067][C-00000003] chan_sip.c: This function can only be used on SIP channels.
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:12] ExecIf(“PJSIP/1000-00000004”, “0?Macro(vm,novm,DIRECTDIAL,)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:13] ExecIf(“PJSIP/1000-00000004”, “0?MacroExit()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:14] ExecIf(“PJSIP/1000-00000004”, “0?Gosub(ext-intercom,*801001,1())”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:15] ExecIf(“PJSIP/1000-00000004”, “0?MacroExit()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:16] ExecIf(“PJSIP/1000-00000004”, “0?ChanSpy(PJSIP/1001,q)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:17] ExecIf(“PJSIP/1000-00000004”, “0?MacroExit()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:18] Gosub(“PJSIP/1000-00000004”, “sub-record-check,s,1(exten,1001,dontcare)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/1000-00000004”, “0?initialized”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/1000-00000004”, “__REC_STATUS=INITIALIZED”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/1000-00000004”, “NOW=1593449156”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/1000-00000004”, “__DAY=29”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/1000-00000004”, “__MONTH=06”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/1000-00000004”, “__YEAR=2020”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/1000-00000004”, “__TIMESTR=20200629-134556”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/1000-00000004”, “__FROMEXTEN=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/1000-00000004”, “__MON_FMT=wav”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/1000-00000004”, “Recordings initialized”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/1000-00000004”, “0?Set(ARG3=dontcare)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/1000-00000004”, “REC_POLICY_MODE_SAVE=”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/1000-00000004”, “0?Set(REC_STATUS=NO)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/1000-00000004”, “5?checkaction”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (sub-record-check,s,17)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/1000-00000004”, “1?sub-record-check,exten,1”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (sub-record-check,exten,1)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:1] NoOp(“PJSIP/1000-00000004”, “Exten Recording Check between 1000 and 1001”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:2] Set(“PJSIP/1000-00000004”, “CALLTYPE=internal”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:3] ExecIf(“PJSIP/1000-00000004”, “0?Set(CALLTYPE=)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:4] Set(“PJSIP/1000-00000004”, “CALLEE=dontcare”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:5] ExecIf(“PJSIP/1000-00000004”, “0?Set(CALLEE=dontcare)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:6] GotoIf(“PJSIP/1000-00000004”, “0?callee”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:7] GotoIf(“PJSIP/1000-00000004”, “1?caller”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (sub-record-check,exten,13)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:13] Set(“PJSIP/1000-00000004”, “RECMODE=dontcare”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:14] ExecIf(“PJSIP/1000-00000004”, “0?Set(RECMODE=dontcare)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:15] ExecIf(“PJSIP/1000-00000004”, “1?Set(RECMODE=dontcare)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:16] Gosub(“PJSIP/1000-00000004”, “recordcheck,1(dontcare,internal,1001)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/1000-00000004”, “Starting recording check against dontcare”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/1000-00000004”, “dontcare”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/1000-00000004”, “”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [exten@sub-record-check:17] Return(“PJSIP/1000-00000004”, “”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:19] GotoIf(“PJSIP/1000-00000004”, “1?macrodial”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (macro-exten-vm,s,25)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:25] GosubIf(“PJSIP/1000-00000004”, “0?clrheader,1()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-exten-vm:26] Macro(“PJSIP/1000-00000004”, “dial-one,HhTtr,1001”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:1] Set(“PJSIP/1000-00000004”, “DEXTEN=1001”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:2] ExecIf(“PJSIP/1000-00000004”, “0?Set(__EXTTOCALL=1001)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:3] Set(“PJSIP/1000-00000004”, “DIALSTATUS_CW=”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:4] GosubIf(“PJSIP/1000-00000004”, “0?screen,1()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:5] GosubIf(“PJSIP/1000-00000004”, “0?cf,1()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:6] GotoIf(“PJSIP/1000-00000004”, “1?skip1”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (macro-dial-one,s,9)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:9] GotoIf(“PJSIP/1000-00000004”, “0?nodial”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:10] GotoIf(“PJSIP/1000-00000004”, “0?continue”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:11] Set(“PJSIP/1000-00000004”, “EXTHASCW=ENABLED”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:12] GotoIf(“PJSIP/1000-00000004”, “0?next1:cwinusebusy”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (macro-dial-one,s,24)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:24] GotoIf(“PJSIP/1000-00000004”, “0?next3:continue”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (macro-dial-one,s,26)
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:26] GotoIf(“PJSIP/1000-00000004”, “0?nodial”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:27] GosubIf(“PJSIP/1000-00000004”, “1?dstring,1():dlocal,1()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:1] Set(“PJSIP/1000-00000004”, “DSTRING=”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:2] Set(“PJSIP/1000-00000004”, “DEVICES=1001”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:3] ExecIf(“PJSIP/1000-00000004”, “0?Return()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:4] ExecIf(“PJSIP/1000-00000004”, “0?Set(DEVICES=001)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:5] Set(“PJSIP/1000-00000004”, “LOOPCNT=1”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:6] Set(“PJSIP/1000-00000004”, “ITER=1”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:7] Set(“PJSIP/1000-00000004”, “THISDIAL=PJSIP/1001”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:8] GotoIf(“PJSIP/1000-00000004”, “0?docheck”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:9] NoOp(“PJSIP/1000-00000004”, “Debug: Found PJSIP Destination PJSIP/1001”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:10] GotoIf(“PJSIP/1000-00000004”, “0?doset”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:11] NoOp(“PJSIP/1000-00000004”, “Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:12] Set(“PJSIP/1000-00000004”, “THISDIAL=PJSIP/1001/sip:1001@192.168.1.206:5060”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:13] ExecIf(“PJSIP/1000-00000004”, “0?Set(DIALSTATUS=CHANUNAVAIL)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:14] GotoIf(“PJSIP/1000-00000004”, “0?skipset”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:15] Set(“PJSIP/1000-00000004”, “DSTRING=PJSIP/1001/sip:1001@192.168.1.206:5060&”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:16] Set(“PJSIP/1000-00000004”, “ITER=2”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:17] GotoIf(“PJSIP/1000-00000004”, “0?begin”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:18] ExecIf(“PJSIP/1000-00000004”, “0?Return()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:19] Set(“PJSIP/1000-00000004”, “DSTRING=PJSIP/1001/sip:1001@192.168.1.206:5060”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [dstring@macro-dial-one:20] Return(“PJSIP/1000-00000004”, “”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:28] GotoIf(“PJSIP/1000-00000004”, “0?nodial”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:29] GotoIf(“PJSIP/1000-00000004”, “0?skiptrace”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:30] GosubIf(“PJSIP/1000-00000004”, “1?ctset,1():ctclear,1()”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [ctset@macro-dial-one:1] Set(“PJSIP/1000-00000004”, “DB(CALLTRACE/1001)=1000”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [ctset@macro-dial-one:2] Return(“PJSIP/1000-00000004”, “”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:31] Set(“PJSIP/1000-00000004”, “D_OPTIONS=HhTtr”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:32] GosubIf(“PJSIP/1000-00000004”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:33] NoOp(“PJSIP/1000-00000004”, "Blind Transfer: , Attended Transfer: , User: 1000, Alert Info: ") in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:34] ExecIf(“PJSIP/1000-00000004”, “1?Set(ALERT_INFO=)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:35] ExecIf(“PJSIP/1000-00000004”, “0?Set(ALERT_INFO=)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:36] ExecIf(“PJSIP/1000-00000004”, “0?Set(ALERT_INFO=)”) in new stack
[2020-06-29 13:45:56] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:37] ExecIf(“PJSIP/1000-00000004”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:38] ExecIf(“PJSIP/1000-00000004”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:39] GosubIf(“PJSIP/1000-00000004”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:40] ExecIf(“PJSIP/1000-00000004”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:41] GosubIf(“PJSIP/1000-00000004”, “0?qwait,1()”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:42] Set(“PJSIP/1000-00000004”, “__CWIGNORE=”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:43] Set(“PJSIP/1000-00000004”, “__KEEPCID=TRUE”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:44] GotoIf(“PJSIP/1000-00000004”, “0?usegoto,1”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:45] GotoIf(“PJSIP/1000-00000004”, “0?godial”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:46] Gosub(“PJSIP/1000-00000004”, “sub-presencestate-display,s,1(1001)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@sub-presencestate-display:1] Goto(“PJSIP/1000-00000004”, “state-not_set,1”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (sub-presencestate-display,state-not_set,1)
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [state-not_set@sub-presencestate-display:1] Set(“PJSIP/1000-00000004”, “PRESENCESTATE_DISPLAY=”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [state-not_set@sub-presencestate-display:2] Return(“PJSIP/1000-00000004”, “”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:47] Set(“PJSIP/1000-00000004”, “CONNECTEDLINE(name,i)=1001”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:48] Set(“PJSIP/1000-00000004”, “CONNECTEDLINE(num)=1001”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:49] Set(“PJSIP/1000-00000004”, “D_OPTIONS=HhTtr”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:50] Macro(“PJSIP/1000-00000004”, “dialout-one-predial-hook,”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dialout-one-predial-hook:1] MacroExit(“PJSIP/1000-00000004”, “”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:51] ExecIf(“PJSIP/1000-00000004”, “0?Set(D_OPTIONS=HhtrI)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:52] ExecIf(“PJSIP/1000-00000004”, “0?Set(CWRING=r(callwaiting)):Set(CWRING=)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:53] NoOp(“PJSIP/1000-00000004”, “”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:54] ExecIf(“PJSIP/1000-00000004”, “0?Set(D_OPTIONS=HhTtrg)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-dial-one:55] Dial(“PJSIP/1000-00000004”, “PJSIP/1001/sip:1001@192.168.1.206:5060,HhTtrb(func-apply-sipheaders^s^1)”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] app_stack.c: PJSIP/1001-00000005 Internal Gosub(func-apply-sipheaders,s,1) start
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/1001-00000005”, “Applying SIP Headers to channel PJSIP/1001-00000005”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:2] Set(“PJSIP/1001-00000005”, “TECH=PJSIP”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“PJSIP/1001-00000005”, “SIPHEADERKEYS=”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:4] While(“PJSIP/1001-00000005”, “0”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] app_while.c: Jumping to priority 12
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] pbx.c: Executing [s@func-apply-sipheaders:13] Return(“PJSIP/1001-00000005”, “”) in new stack
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] app_stack.c: Spawn extension (from-internal, 1001, 1) exited non-zero on ‘PJSIP/1001-00000005’
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] app_stack.c: PJSIP/1001-00000005 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] app_dial.c: Called PJSIP/1001/sip:1001@192.168.1.206:5060
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] app_dial.c: PJSIP/1001-00000005 is ringing
[2020-06-29 13:45:57] VERBOSE[25067][C-00000003] app_dial.c: PJSIP/1001-00000005 is ringing
[2020-06-29 13:45:58] VERBOSE[25067][C-00000003] app_dial.c: PJSIP/1001-00000005 answered PJSIP/1000-00000004
[2020-06-29 13:45:58] VERBOSE[25068][C-00000003] bridge_channel.c: Channel PJSIP/1001-00000005 joined ‘simple_bridge’ basic-bridge
[2020-06-29 13:45:58] VERBOSE[25067][C-00000003] bridge_channel.c: Channel PJSIP/1000-00000004 joined ‘simple_bridge’ basic-bridge
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] bridge_channel.c: Channel PJSIP/1000-00000004 left ‘simple_bridge’ basic-bridge
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] app_macro.c: Spawn extension (macro-dial-one, s, 55) exited non-zero on ‘PJSIP/1000-00000004’ in macro ‘dial-one’
[2020-06-29 13:46:30] VERBOSE[25068][C-00000003] bridge_channel.c: Channel PJSIP/1001-00000005 left ‘simple_bridge’ basic-bridge
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] app_macro.c: Spawn extension (macro-exten-vm, s, 26) exited non-zero on ‘PJSIP/1000-00000004’ in macro ‘exten-vm’
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx.c: Spawn extension (ext-local, 1001, 3) exited non-zero on ‘PJSIP/1000-00000004’
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx.c: Executing [h@ext-local:1] Macro(“PJSIP/1000-00000004”, “hangupcall,”) in new stack
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/1000-00000004”, “1?theend”) in new stack
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/1000-00000004”, “0?Set(CDR(recordingfile)=)”) in new stack
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-hangupcall:4] NoOp(“PJSIP/1000-00000004”, "PJSIP/1001-00000005 montior file= ") in new stack
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/1000-00000004”, “1?skipagi”) in new stack
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx_builtins.c: Goto (macro-hangupcall,s,7)
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx.c: Executing [s@macro-hangupcall:7] Hangup(“PJSIP/1000-00000004”, “”) in new stack
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] app_macro.c: Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/1000-00000004’ in macro ‘hangupcall’
[2020-06-29 13:46:30] VERBOSE[25067][C-00000003] pbx.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘PJSIP/1000-00000004’


(Suriname) #37

This is the version i am using: Asterisk 16.6.1 & FreePBX 15.0.16.22


#38

At the Asterisk command prompt, type
pjsip set logger on
and make another test call.
Paste the relevant section of the Asterisk log (which will now include a SIP trace) at https://pastebin.freepbx.org and post the link here.


(Suriname) #39

i have typed pjsip set logger on and made another test call. But I could not paste it to https://pastebin.freepbx.og. how can i paste it, which command


#40

Sorry, my bad.
https://pastebin.freepbx.org


(Suriname) #41

Here is my link: https://pastebin.freepbx.org/view/14a0199a


#42

It appears that in Settings -> Asterisk SIP Settings, Local Networks is not correctly set. Based on what you’ve posted so far, I assume that it should be
192.168.1.0 / 24
If you had set Local Network on the pjsip tab, it should be the same, or left blank.

You must restart (not just reload) Asterisk after changing any of these settings.

If this is not your issue, please post screenshots of your Asterisk SIP Settings, both General and pjsip tabs.


(Suriname) #43

okay i am going to check


(Suriname) #44

@Stewart1 I have now configured the Local network settings, and I have removed the NAT settings. But now I have only one way audio: https://pastebin.freepbx.org/view/cb59a273


(Suriname) #45

I have removed the Nat settings now, By I still do have audio problems. I sit necessary to have nat settings?


#46

The client devices should not have any NAT options enabled.

pjsip extensions do not have NAT settings per se, but for proper operation whether behind NAT or not, RTP Symmetric, Rewrite Contact and Force rport should all be set to Yes.

In Asterisk SIP settings, External Address and Local Networks should be correctly set. It’s usually not necessary to have any non-default settings for a pjsip transport.

I didn’t see anything wrong with the signaling in your last paste. Possibly, a codec issue; try disabling all but ulaw in Asterisk SIP Settings.

If you still have trouble, please report: On call from 1000 to 1001, which extension can’t hear? On call from 1001 to 1000? On call from 1000 to *43 (echo test), can you hear the announcement? Does the echo test work? On call from 1001 to *43, answer same questions.


(Suriname) #47

I have tested calling 1000 to 1001 again, it seems that the audio drops sometimes. I am going to check that. And thank you for the explanation about NAT.