Details

    • Target Release:
      12

      Description

      G722 (HDVoice) is a new Codec that is supported by most current VOIP Phones, but NOT by most VOIP Providers.

      When I enable G722 on my system and make a call using a phone which supports G722, FreePBX places all calls in G722 mode, regardless of whether they are internal or external calls. For external calls, this means that Asterisk must transcode the call from G722 to G711, which introduces another latency step.

      I'd prefer to have some way to set the Codec by route, i.e. so that when I make internal calls, the calls use G722, but when I make an external call using a SIP Trunk, the call goes out on G711 (avoiding the transcoding/latency issues).

      I suggest that FreePBX add a feature that allows a user to select an internal vs. external Codec, or to set an outbound route Codec that will override the general Asterisk SIP codecs.

        Issue Links

          Activity

          Hide
          martin_anderson Martin Anderson added a comment - - edited

          My Aastra 6757i is configured to offer ALL codecs.

          When I place an outbound call, the phone uses G722, and Asterisk has to transcode.
          When I receive an inbound call, the phone accepts the call in ULAW.

          Show
          martin_anderson Martin Anderson added a comment - - edited My Aastra 6757i is configured to offer ALL codecs. When I place an outbound call, the phone uses G722, and Asterisk has to transcode. When I receive an inbound call, the phone accepts the call in ULAW.
          Hide
          xrobau Rob Thomas added a comment - - edited

          What version of Asterisk are you running?

          Edit: Ooh, I just noticed that it IS working properly:

          For incoming calls, it works fine. The call comes in with ULAW, FreePBX presents it to my endpoint with ULAW, and the call goes on ULAW.

          So something in your FreePBX setup is Answer()ing the call before it is sent out to the trunk. Can you paste a trace of you making a call please? Again, wrap it in {code} ... {code} to have it formatted correctly.

          Show
          xrobau Rob Thomas added a comment - - edited What version of Asterisk are you running? Edit: Ooh, I just noticed that it IS working properly: For incoming calls, it works fine. The call comes in with ULAW, FreePBX presents it to my endpoint with ULAW, and the call goes on ULAW. So something in your FreePBX setup is Answer()ing the call before it is sent out to the trunk. Can you paste a trace of you making a call please? Again, wrap it in {code} ... {code} to have it formatted correctly.
          Hide
          martin_anderson Martin Anderson added a comment -

          I'm using Asterisk 1.8.

          [2015-08-10 21:41:21] VERBOSE[3932] netsock2.c:   == Using SIP RTP TOS bits 184
          [2015-08-10 21:41:21] VERBOSE[3932] netsock2.c:   == Using SIP RTP CoS mark 5
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [411@from-internal:1] Macro("SIP/61-00001e5a", "user-callerid,LIMIT,") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:1] Set("SIP/61-00001e5a", "AMPUSER=61") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:2] GotoIf("SIP/61-00001e5a", "0?report") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:3] ExecIf("SIP/61-00001e5a", "1?Set(REALCALLERIDNUM=61)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:4] Set("SIP/61-00001e5a", "AMPUSER=61") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:5] Set("SIP/61-00001e5a", "AMPUSERCIDNAME=REDACTED") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:6] GotoIf("SIP/61-00001e5a", "0?report") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:7] Set("SIP/61-00001e5a", "AMPUSERCID=61") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:8] Set("SIP/61-00001e5a", "CALLERID(all)="REDACTED" <61>") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:9] GotoIf("SIP/61-00001e5a", "0?limit") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:10] ExecIf("SIP/61-00001e5a", "1?Set(GROUP(concurrency_limit)=61)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:11] GosubIf("SIP/61-00001e5a", "7?sub-ccss,s,1(from-internal,411)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-ccss:1] ExecIf("SIP/61-00001e5a", "0?Return()") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-ccss:2] Set("SIP/61-00001e5a", "CCSS_SETUP=TRUE") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-ccss:3] GosubIf("SIP/61-00001e5a", "0?monitor_config,1(from-internal,411):monitor_default,1(from-int$
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/61-00001e5a", "0?is_exten") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/61-00001e5a", "") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [monitor_default@sub-ccss:3] Return("SIP/61-00001e5a", "FALSE") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:12] ExecIf("SIP/61-00001e5a", "0?Set(CHANNEL(language)=)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:13] GotoIf("SIP/61-00001e5a", "1?continue") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Goto (macro-user-callerid,s,26)
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:26] Set("SIP/61-00001e5a", "CALLERID(number)=61") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:27] Set("SIP/61-00001e5a", "CALLERID(name)=REDACTED") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-user-callerid:28] Set("SIP/61-00001e5a", "CHANNEL(language)=en") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [411@from-internal:2] Set("SIP/61-00001e5a", "MOHCLASS=default") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [411@from-internal:3] Set("SIP/61-00001e5a", "_NODEST=") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [411@from-internal:4] Gosub("SIP/61-00001e5a", "sub-record-check,s,1(out,411,)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:1] GotoIf("SIP/61-00001e5a", "1?check") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Goto (sub-record-check,s,6)
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:6] Set("SIP/61-00001e5a", "__MON_FMT=wav") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:7] GotoIf("SIP/61-00001e5a", "1?next") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Goto (sub-record-check,s,10)
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:10] ExecIf("SIP/61-00001e5a", "0?Return()") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:11] GotoIf("SIP/61-00001e5a", "0?out,1") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:12] Set("SIP/61-00001e5a", "__REC_STATUS=INITIALIZED") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:13] ExecIf("SIP/61-00001e5a", "0?Set(__REC_POLICY_MODE=)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:14] Set("SIP/61-00001e5a", "NOW=1439268081") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:15] Set("SIP/61-00001e5a", "__DAY=10") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:16] Set("SIP/61-00001e5a", "__MONTH=08") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:17] Set("SIP/61-00001e5a", "__YEAR=2015") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:18] Set("SIP/61-00001e5a", "__TIMESTR=20150810-214121") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:19] Set("SIP/61-00001e5a", "__FROMEXTEN=61") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:20] Set("SIP/61-00001e5a", "__CALLFILENAME=out-411-61-20150810-214121-1439268081.8963")$
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-record-check:21] Goto("SIP/61-00001e5a", "out,1") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Goto (sub-record-check,out,1)
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [out@sub-record-check:1] ExecIf("SIP/61-00001e5a", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [out@sub-record-check:2] GosubIf("SIP/61-00001e5a", "0?record,1(exten,411,61)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [out@sub-record-check:3] Return("SIP/61-00001e5a", "") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [411@from-internal:5] Macro("SIP/61-00001e5a", "dialout-trunk,7,411,") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:1] Set("SIP/61-00001e5a", "DIAL_TRUNK=7") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/61-00001e5a", "0?sub-pincheck,s,1()") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/61-00001e5a", "0?disabletrunk,1") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:4] Set("SIP/61-00001e5a", "DIAL_NUMBER=411") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:5] Set("SIP/61-00001e5a", "DIAL_TRUNK_OPTIONS=r") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:6] Set("SIP/61-00001e5a", "OUTBOUND_GROUP=OUT_7") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/61-00001e5a", "1?nomax") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Goto (macro-dialout-trunk,s,9)
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/61-00001e5a", "0?skipoutcid") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:10] Set("SIP/61-00001e5a", "DIAL_TRUNK_OPTIONS=") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:11] Macro("SIP/61-00001e5a", "outbound-callerid,7") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/61-00001e5a", "0?Set(CALLERPRES()=)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/61-00001e5a", "0?Set(REALCALLERIDNUM=61)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/61-00001e5a", "1?normcid") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Goto (macro-outbound-callerid,s,6)
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:6] Set("SIP/61-00001e5a", "USEROUTCID="hidden" <REDACTED>") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:7] Set("SIP/61-00001e5a", "EMERGENCYCID=") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:8] Set("SIP/61-00001e5a", "TRUNKOUTCID=REDACTED") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/61-00001e5a", "1?trunkcid") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Goto (macro-outbound-callerid,s,12)
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/61-00001e5a", "1?Set(CALLERID(all)=REDACTED)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/61-00001e5a", "1?Set(CALLERID(all)="hidden" <REDACTED>)") in n$
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/61-00001e5a", "0?Set(CALLERID(all)=)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/61-00001e5a", "1?Set(CALLERPRES()=prohib_passed_screen)") in new$
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/61-00001e5a", "1?sub-flp-7,s,1()") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-flp-7:1] ExecIf("SIP/61-00001e5a", "1?Set(TARGET_FLP_7=14087528052)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-flp-7:2] GotoIf("SIP/61-00001e5a", "1?match") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Goto (sub-flp-7,s,18)
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-flp-7:18] Set("SIP/61-00001e5a", "DIAL_NUMBER=14087528052") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@sub-flp-7:19] Return("SIP/61-00001e5a", "") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:13] Set("SIP/61-00001e5a", "OUTNUM=14087528052") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:14] Set("SIP/61-00001e5a", "custom=SIP/Sipstation1") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/61-00001e5a", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in ne$
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/61-00001e5a", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:17] Macro("SIP/61-00001e5a", "dialout-trunk-predial-hook,") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/61-00001e5a", "") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/61-00001e5a", "0?bypass,1") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/61-00001e5a", "1?Set(CONNECTEDLINE(num,i)=14087528052)") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/61-00001e5a", "1?Set(CONNECTEDLINE(name,i)=CID:REDACTED)") in new $
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/61-00001e5a", "0?customtrunk") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] pbx.c:     -- Executing [s@macro-dialout-trunk:22] Dial("SIP/61-00001e5a", "SIP/Sipstation1/14087528052,300,") in new stack
          [2015-08-10 21:41:21] VERBOSE[9833] netsock2.c:   == Using SIP RTP TOS bits 184
          [2015-08-10 21:41:21] VERBOSE[9833] netsock2.c:   == Using SIP RTP CoS mark 5
          [2015-08-10 21:41:21] VERBOSE[9833] app_dial.c:     -- Called SIP/Sipstation1/14087528052
          [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state InUse for Notify User 68
          [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state InUse for Notify User 64
          [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state InUse for Notify User 63
          [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state InUse for Notify User 62
          [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state InUse for Notify User 66
          [2015-08-10 21:41:22] VERBOSE[9833] app_dial.c:     -- SIP/Sipstation1-00001e5b is making progress passing it to SIP/61-00001e5a
          [2015-08-10 21:41:23] VERBOSE[9833] app_dial.c:     -- SIP/Sipstation1-00001e5b answered SIP/61-00001e5a
          [2015-08-10 21:41:23] VERBOSE[9833] rtp_engine.c:     -- Locally bridging SIP/61-00001e5a and SIP/Sipstation1-00001e5b
          [2015-08-10 21:41:25] VERBOSE[9832] asterisk.c:     -- Remote UNIX connection disconnected
          [2015-08-10 21:41:29] VERBOSE[9833] pbx.c:     -- Executing [h@macro-dialout-trunk:1] Macro("SIP/61-00001e5a", "hangupcall,") in new stack
          [2015-08-10 21:41:29] VERBOSE[9833] pbx.c:     -- Executing [s@macro-hangupcall:1] GotoIf("SIP/61-00001e5a", "1?theend") in new stack
          [2015-08-10 21:41:29] VERBOSE[9833] pbx.c:     -- Goto (macro-hangupcall,s,3)
          [2015-08-10 21:41:29] VERBOSE[9833] pbx.c:     -- Executing [s@macro-hangupcall:3] ExecIf("SIP/61-00001e5a", "0?Set(CDR(recordingfile)=)") in new stack
          [2015-08-10 21:41:29] VERBOSE[9833] pbx.c:     -- Executing [s@macro-hangupcall:4] Hangup("SIP/61-00001e5a", "") in new stack
          [2015-08-10 21:41:29] VERBOSE[9833] app_macro.c:   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/61-00001e5a' in macro 'hangupcall'
          [2015-08-10 21:41:29] VERBOSE[9833] features.c:   == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/61-00001e5a'
          [2015-08-10 21:41:29] VERBOSE[9833] app_macro.c:   == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/61-00001e5a' in macro 'dialout-trunk'
          [2015-08-10 21:41:29] VERBOSE[9833] pbx.c:   == Spawn extension (from-internal, 411, 5) exited non-zero on 'SIP/61-00001e5a'
          [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state Idle for Notify User 68
          [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state Idle for Notify User 64
          [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state Idle for Notify User 63
          [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state Idle for Notify User 62
          [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c:   == Extension Changed 61[ext-local] new state Idle for Notify User 66
          

          Show
          martin_anderson Martin Anderson added a comment - I'm using Asterisk 1.8. [2015-08-10 21:41:21] VERBOSE[3932] netsock2.c: == Using SIP RTP TOS bits 184 [2015-08-10 21:41:21] VERBOSE[3932] netsock2.c: == Using SIP RTP CoS mark 5 [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [411@from-internal:1] Macro("SIP/61-00001e5a", "user-callerid,LIMIT,") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/61-00001e5a", "AMPUSER=61") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/61-00001e5a", "0?report") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/61-00001e5a", "1?Set(REALCALLERIDNUM=61)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/61-00001e5a", "AMPUSER=61") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/61-00001e5a", "AMPUSERCIDNAME=REDACTED") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/61-00001e5a", "0?report") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/61-00001e5a", "AMPUSERCID=61") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/61-00001e5a", "CALLERID(all)="REDACTED" <61>") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:9] GotoIf("SIP/61-00001e5a", "0?limit") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:10] ExecIf("SIP/61-00001e5a", "1?Set(GROUP(concurrency_limit)=61)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:11] GosubIf("SIP/61-00001e5a", "7?sub-ccss,s,1(from-internal,411)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-ccss:1] ExecIf("SIP/61-00001e5a", "0?Return()") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-ccss:2] Set("SIP/61-00001e5a", "CCSS_SETUP=TRUE") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-ccss:3] GosubIf("SIP/61-00001e5a", "0?monitor_config,1(from-internal,411):monitor_default,1(from-int$ [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/61-00001e5a", "0?is_exten") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/61-00001e5a", "") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [monitor_default@sub-ccss:3] Return("SIP/61-00001e5a", "FALSE") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:12] ExecIf("SIP/61-00001e5a", "0?Set(CHANNEL(language)=)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:13] GotoIf("SIP/61-00001e5a", "1?continue") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Goto (macro-user-callerid,s,26) [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:26] Set("SIP/61-00001e5a", "CALLERID(number)=61") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:27] Set("SIP/61-00001e5a", "CALLERID(name)=REDACTED") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-user-callerid:28] Set("SIP/61-00001e5a", "CHANNEL(language)=en") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [411@from-internal:2] Set("SIP/61-00001e5a", "MOHCLASS=default") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [411@from-internal:3] Set("SIP/61-00001e5a", "_NODEST=") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [411@from-internal:4] Gosub("SIP/61-00001e5a", "sub-record-check,s,1(out,411,)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:1] GotoIf("SIP/61-00001e5a", "1?check") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Goto (sub-record-check,s,6) [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:6] Set("SIP/61-00001e5a", "__MON_FMT=wav") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:7] GotoIf("SIP/61-00001e5a", "1?next") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Goto (sub-record-check,s,10) [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:10] ExecIf("SIP/61-00001e5a", "0?Return()") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:11] GotoIf("SIP/61-00001e5a", "0?out,1") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:12] Set("SIP/61-00001e5a", "__REC_STATUS=INITIALIZED") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:13] ExecIf("SIP/61-00001e5a", "0?Set(__REC_POLICY_MODE=)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:14] Set("SIP/61-00001e5a", "NOW=1439268081") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:15] Set("SIP/61-00001e5a", "__DAY=10") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:16] Set("SIP/61-00001e5a", "__MONTH=08") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:17] Set("SIP/61-00001e5a", "__YEAR=2015") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:18] Set("SIP/61-00001e5a", "__TIMESTR=20150810-214121") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:19] Set("SIP/61-00001e5a", "__FROMEXTEN=61") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:20] Set("SIP/61-00001e5a", "__CALLFILENAME=out-411-61-20150810-214121-1439268081.8963")$ [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-record-check:21] Goto("SIP/61-00001e5a", "out,1") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Goto (sub-record-check,out,1) [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [out@sub-record-check:1] ExecIf("SIP/61-00001e5a", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [out@sub-record-check:2] GosubIf("SIP/61-00001e5a", "0?record,1(exten,411,61)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [out@sub-record-check:3] Return("SIP/61-00001e5a", "") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [411@from-internal:5] Macro("SIP/61-00001e5a", "dialout-trunk,7,411,") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/61-00001e5a", "DIAL_TRUNK=7") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/61-00001e5a", "0?sub-pincheck,s,1()") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/61-00001e5a", "0?disabletrunk,1") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/61-00001e5a", "DIAL_NUMBER=411") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/61-00001e5a", "DIAL_TRUNK_OPTIONS=r") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/61-00001e5a", "OUTBOUND_GROUP=OUT_7") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/61-00001e5a", "1?nomax") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Goto (macro-dialout-trunk,s,9) [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/61-00001e5a", "0?skipoutcid") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/61-00001e5a", "DIAL_TRUNK_OPTIONS=") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/61-00001e5a", "outbound-callerid,7") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/61-00001e5a", "0?Set(CALLERPRES()=)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/61-00001e5a", "0?Set(REALCALLERIDNUM=61)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/61-00001e5a", "1?normcid") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Goto (macro-outbound-callerid,s,6) [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/61-00001e5a", "USEROUTCID="hidden" <REDACTED>") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/61-00001e5a", "EMERGENCYCID=") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/61-00001e5a", "TRUNKOUTCID=REDACTED") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/61-00001e5a", "1?trunkcid") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Goto (macro-outbound-callerid,s,12) [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/61-00001e5a", "1?Set(CALLERID(all)=REDACTED)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/61-00001e5a", "1?Set(CALLERID(all)="hidden" <REDACTED>)") in n$ [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/61-00001e5a", "0?Set(CALLERID(all)=)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/61-00001e5a", "1?Set(CALLERPRES()=prohib_passed_screen)") in new$ [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/61-00001e5a", "1?sub-flp-7,s,1()") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-flp-7:1] ExecIf("SIP/61-00001e5a", "1?Set(TARGET_FLP_7=14087528052)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-flp-7:2] GotoIf("SIP/61-00001e5a", "1?match") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Goto (sub-flp-7,s,18) [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-flp-7:18] Set("SIP/61-00001e5a", "DIAL_NUMBER=14087528052") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@sub-flp-7:19] Return("SIP/61-00001e5a", "") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/61-00001e5a", "OUTNUM=14087528052") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/61-00001e5a", "custom=SIP/Sipstation1") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/61-00001e5a", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in ne$ [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/61-00001e5a", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:17] Macro("SIP/61-00001e5a", "dialout-trunk-predial-hook,") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/61-00001e5a", "") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/61-00001e5a", "0?bypass,1") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/61-00001e5a", "1?Set(CONNECTEDLINE(num,i)=14087528052)") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/61-00001e5a", "1?Set(CONNECTEDLINE(name,i)=CID:REDACTED)") in new $ [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:21] GotoIf("SIP/61-00001e5a", "0?customtrunk") in new stack [2015-08-10 21:41:21] VERBOSE[9833] pbx.c: -- Executing [s@macro-dialout-trunk:22] Dial("SIP/61-00001e5a", "SIP/Sipstation1/14087528052,300,") in new stack [2015-08-10 21:41:21] VERBOSE[9833] netsock2.c: == Using SIP RTP TOS bits 184 [2015-08-10 21:41:21] VERBOSE[9833] netsock2.c: == Using SIP RTP CoS mark 5 [2015-08-10 21:41:21] VERBOSE[9833] app_dial.c: -- Called SIP/Sipstation1/14087528052 [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state InUse for Notify User 68 [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state InUse for Notify User 64 [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state InUse for Notify User 63 [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state InUse for Notify User 62 [2015-08-10 21:41:21] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state InUse for Notify User 66 [2015-08-10 21:41:22] VERBOSE[9833] app_dial.c: -- SIP/Sipstation1-00001e5b is making progress passing it to SIP/61-00001e5a [2015-08-10 21:41:23] VERBOSE[9833] app_dial.c: -- SIP/Sipstation1-00001e5b answered SIP/61-00001e5a [2015-08-10 21:41:23] VERBOSE[9833] rtp_engine.c: -- Locally bridging SIP/61-00001e5a and SIP/Sipstation1-00001e5b [2015-08-10 21:41:25] VERBOSE[9832] asterisk.c: -- Remote UNIX connection disconnected [2015-08-10 21:41:29] VERBOSE[9833] pbx.c: -- Executing [h@macro-dialout-trunk:1] Macro("SIP/61-00001e5a", "hangupcall,") in new stack [2015-08-10 21:41:29] VERBOSE[9833] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/61-00001e5a", "1?theend") in new stack [2015-08-10 21:41:29] VERBOSE[9833] pbx.c: -- Goto (macro-hangupcall,s,3) [2015-08-10 21:41:29] VERBOSE[9833] pbx.c: -- Executing [s@macro-hangupcall:3] ExecIf("SIP/61-00001e5a", "0?Set(CDR(recordingfile)=)") in new stack [2015-08-10 21:41:29] VERBOSE[9833] pbx.c: -- Executing [s@macro-hangupcall:4] Hangup("SIP/61-00001e5a", "") in new stack [2015-08-10 21:41:29] VERBOSE[9833] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/61-00001e5a' in macro 'hangupcall' [2015-08-10 21:41:29] VERBOSE[9833] features.c: == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/61-00001e5a' [2015-08-10 21:41:29] VERBOSE[9833] app_macro.c: == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/61-00001e5a' in macro 'dialout-trunk' [2015-08-10 21:41:29] VERBOSE[9833] pbx.c: == Spawn extension (from-internal, 411, 5) exited non-zero on 'SIP/61-00001e5a' [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state Idle for Notify User 68 [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state Idle for Notify User 64 [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state Idle for Notify User 63 [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state Idle for Notify User 62 [2015-08-10 21:41:29] VERBOSE[3845] chan_sip.c: == Extension Changed 61[ext-local] new state Idle for Notify User 66
          Hide
          xrobau Rob Thomas added a comment -

          -- Locally bridging SIP/61-00001e5a and SIP/Sipstation1-00001e5b
          

          Asterisk SHOULD be bridging it, but it's not.

          I've checked this with FreePBX 12 and Asterisk 13, and it worked fine (specifically, to Sipstation, too!)

          Show
          xrobau Rob Thomas added a comment - -- Locally bridging SIP/61-00001e5a and SIP/Sipstation1-00001e5b Asterisk SHOULD be bridging it, but it's not. I've checked this with FreePBX 12 and Asterisk 13, and it worked fine (specifically, to Sipstation, too!)
          Hide
          xrobau Rob Thomas added a comment -

          Confirmed that this also doesn't work in Asterisk 1.8, so yeah. Asterisk issue.

          Show
          xrobau Rob Thomas added a comment - Confirmed that this also doesn't work in Asterisk 1.8, so yeah. Asterisk issue.

            People

            • Assignee:
              xrobau Rob Thomas
              Reporter:
              AdHominem Martin Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development