FreePBX / sng_freepbx_debian_install

FreePBX 17 Installation Script
51 stars 15 forks source link

[bug]: Outbound calls, phone display shows "s" instead of called # #61

Closed chewy-chewbacca closed 1 week ago

chewy-chewbacca commented 1 week ago

FreePBX Version

FreePBX 17

Issue Description

Posted on the community: https://community.freepbx.org/t/freepbx-17-outbound-caller-id-shows-s/97292

When I call outbound I get the number I’m calling replaced with “s”

Confirmed with both Bria and the Yealink T48 on my desk.

Edit: This is just the display on the phone or app that shows “s” where the number I’m calling should be.

Operating Environment

FreePBX 17 on Debian @ Vultr

Relevant log output

<--- Transmitting SIP response (352 bytes) to UDP:172.112.14.65:6080 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.192.199:6080;rport=6080;received=111.111.111.111;branch=z9hG4bK3990792496
Call-ID: 0_1710232633@192.168.192.199
From: "101" <sip:101@pbx.redacted.net>;tag=1523339896
To: <sip:18888881234@pbx.redacted.net>;tag=6c14c43e-0dcf-4e72-84f8-0bf6dce96c18
CSeq: 3 BYE
Server: FPBX-17.0.16(21.3.1)
Content-Length:  0

    -- Channel PJSIP/101-00000027 left 'simple_bridge' basic-bridge <ac60be2a-0d91-4d1b-b76a-622395fcb43e>
    -- Channel PJSIP/Flowroute-00000028 left 'simple_bridge' basic-bridge <ac60be2a-0d91-4d1b-b76a-622395fcb43e>
    -- PJSIP/Flowroute-00000028 Internal Gosub(app-missedcall-hangup,Flowroute,1) start
    -- Executing [Flowroute@app-missedcall-hangup:1] NoOp("PJSIP/Flowroute-00000028", "Dialed: Flowroute") in new stack
    -- Executing [Flowroute@app-missedcall-hangup:2] NoOp("PJSIP/Flowroute-00000028", "Caller: 101") in new stack
    -- Executing [Flowroute@app-missedcall-hangup:3] GotoIf("PJSIP/Flowroute-00000028", "0?exit") in new stack
    -- Executing [Flowroute@app-missedcall-hangup:4] Set("PJSIP/Flowroute-00000028", "EXTENNUM=Flowroute") in new stack
    -- Executing [Flowroute@app-missedcall-hangup:5] Set("PJSIP/Flowroute-00000028", "FEXTENNUM=Flowroute") in new stack
    -- Executing [Flowroute@app-missedcall-hangup:6] GotoIf("PJSIP/Flowroute-00000028", "0?exit") in new stack
    -- Executing [Flowroute@app-missedcall-hangup:7] AGI("PJSIP/Flowroute-00000028", "missedcallnotify.php,Flowroute,,Flowroute,0,,PJSIP/Flowroute-00000028,,,,") in new stack
  == Spawn extension (macro-dialout-trunk, s, 29) exited non-zero on 'PJSIP/101-00000027'
    -- Executing [h@macro-dialout-trunk:1] Gosub("PJSIP/101-00000027", "macro-hangupcall,s,1()") in new stack
    -- Executing [s@macro-hangupcall:1] Set("PJSIP/101-00000027", "__MCVMSTATUS=") in new stack
    -- Executing [s@macro-hangupcall:2] Gosub("PJSIP/101-00000027", "app-missedcall-hangup,s,1()") in new stack
    -- Executing [s@app-missedcall-hangup:1] NoOp("PJSIP/101-00000027", "Dialed: s") in new stack
    -- Executing [s@app-missedcall-hangup:2] NoOp("PJSIP/101-00000027", "Caller: 101") in new stack
    -- Executing [s@app-missedcall-hangup:3] GotoIf("PJSIP/101-00000027", "0?exit") in new stack
    -- Executing [s@app-missedcall-hangup:4] Set("PJSIP/101-00000027", "EXTENNUM=s") in new stack
    -- Executing [s@app-missedcall-hangup:5] Set("PJSIP/101-00000027", "FEXTENNUM=s") in new stack
    -- Executing [s@app-missedcall-hangup:6] GotoIf("PJSIP/101-00000027", "0?exit") in new stack
    -- Executing [s@app-missedcall-hangup:7] AGI("PJSIP/101-00000027", "missedcallnotify.php,s,,s,0,,PJSIP/101-00000027,ANSWER,,,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/missedcallnotify.php
    -- Launched AGI Script /var/lib/asterisk/agi-bin/missedcallnotify.php
    -- <PJSIP/Flowroute-00000028>AGI Script missedcallnotify.php completed, returning 0
    -- Executing [Flowroute@app-missedcall-hangup:8] Return("PJSIP/Flowroute-00000028", "") in new stack
  == Spawn extension (from-pstn-e164-us, , 1) exited non-zero on 'PJSIP/Flowroute-00000028'
    -- PJSIP/Flowroute-00000028 Internal Gosub(app-missedcall-hangup,Flowroute,1) complete GOSUB_RETVAL=
<--- Transmitting SIP request (522 bytes) to UDP:34.210.91.112:5060 --->
BYE sip:+18888881234@67.231.4.85:5060 SIP/2.0
chewy-chewbacca commented 1 week ago

Duplicate with https://github.com/FreePBX/issue-tracker/issues/264