[asterisk-bugs] [JIRA] (ASTERISK-26158) Asterisk 13.1-cert1 : no RTP when using local channels and sip channel in extensions.conf

NOC Afone (JIRA) noreply at issues.asterisk.org
Tue Jun 28 08:11:56 CDT 2016


NOC Afone created ASTERISK-26158:
------------------------------------

             Summary: Asterisk 13.1-cert1 : no RTP when using  local channels and sip channel in extensions.conf
                 Key: ASTERISK-26158
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26158
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Bridges/bridge_native_rtp, Channels/chan_bridge
    Affects Versions: 13.1.0
         Environment: CentOS release 5.6 (Final)

            Reporter: NOC Afone


hello,

We see no RTP packets out of Asterisk when using  local channels and sip channel in that configuration :

The call flow of the call is : 

=> PSTN (0170131121) => ASTERISK => PSTN (0637286210)

here is an extract of extensions.conf

--------------------------------------------------------------
exten => _0170131121,1,Progress()
exten => _0170131121,n,Dial(Local/S00637286210 at appelsortant/n,20)

[appelsortant]
exten => _S.,1,Set(NETWORKSTATUS=${SIPPEER(STD1-BCT1-VIP-MGC,status)})
exten => _S.,n,Set(DATACENTER=${IF($["${NETWORKSTATUS}"="UNREACHABLE"]?CBV2:STD1)})
exten => _S.,n,Dial(SIP/${EXTEN:2}@${DATACENTER}-BCT1-VIP-MGC)
exten => h,n,Set(SHARED(AF_${NUMDEST}_DIALSTATUS,${AFPARENTCHANNEL})=${CDR(disposition)})
exten => h,n,Set(SHARED(AF_${NUMDEST}_HANGUPCAUSE,${AFPARENTCHANNEL})=${HANGUPCAUSE})
exten => h,n,Set(SHARED(AF_${NUMDEST}_DURATION,${AFPARENTCHANNEL})=${CDR(duration)})
exten => h,n,Set(SHARED(AF_${NUMDEST}_BILLSEC,${AFPARENTCHANNEL})=${CDR(billsec)})
exten => h,n,Set(SHARED(AF_${NUMDEST}_COMPLETE,${AFPARENTCHANNEL})=1)
--------------------------------------------------------------

A tcpdump capture shows there are no RTP packets out of ASTERISK.

-----

We have no problems :

-  When we replace
exten => _S.,n,Dial(SIP/${EXTEN:2}@${DATACENTER}-BCT1-VIP-MGC)
by
exten => _S.,n,Dial(SIP/${EXTEN:2}@${DATACENTER}-BCT1-VIP-MGC,,r) 

We force ASTERISK to generate in ringbacktone : we see rtp packets out of Asterisk.

- when we decide to play an audio file before Dial(SIP/${EXTEN:2}@${DATACENTER}-BCT1-VIP-MGC).

Regards
Abdoul OSSENI
aosseni at afone.com
AFONE



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list