[asterisk-bugs] [Asterisk 0018797]: RTP Early Media not Passed to Caller

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 14 02:20:49 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18797 
====================================================================== 
Reported By:                imp
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18797
Category:                   Core/RTP
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           Older 1.6.2 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-11 10:44 CST
Last Modified:              2011-02-14 02:20 CST
====================================================================== 
Summary:                    RTP Early Media not Passed to Caller
Description: 
In Switzerland the price of value added numbers is announced via early
audio before the connection is established to allow the caller to hang up
without generating costs.

This early media is not passed if the call is routed via asterisk.

Traces show:

Asterisk sends invite with sdp to carrier SIP GW.

SIP GW starts sending RTP early media to RTP endpoint specified by
invite.

SIP GW signals '100 trying'
SIP GW signals '180 ringing'

No Audio is passed to the client connected to the asterisk.

Depending on the 'progressinband' and 'rematuremedia' settings, either the
client is told to 'ring' or inband 'ringing' is generated by asterisk, but
no media from the carrier forwarded.

SIP GW signals '200 OK' + sdp

Call is established and two way audio is working. The caller has missed
the early media announcement.

According my interpretation of RFC3960 asterisk should forward early audio
if it is receiving early audio.
====================================================================== 

---------------------------------------------------------------------- 
 (0131915) imp (reporter) - 2011-02-14 02:20
 https://issues.asterisk.org/view.php?id=18797#c131915 
---------------------------------------------------------------------- 
sip.conf:

progressinband=no
prematuremedia=no

[alcatel]
type=peer
context=from-alcatel
host=157.161.3.19
qualify=yes
allow=alaw
language=de
dtmfmode=RFC2833
canreinvite=no

[imp1]
type=peer
context=from-imp
host=157.161.10.10
dtmfmode=auto
disallow=all
allow=alaw
language=de
canreinvite=no

----------------------
extensions.conf

[from-alcatel]
exten => _xx.,1,AGI(screening-customer.agi,alcatel.conf)
exten => _xx.,n,AGI(dial-imp-new-emerg.agi,4133,${SIP_HEADER(Privacy)})
exten => _xx.,n,Macro(dundi,${ITUNUM})
exten => _xx.,n,Dial(${IMPDESTINATION})
exten => _xx.,n,HangUp()

'screening-customer.agi' just makes sure the callerID the customer is
signaling is realy belonging to the customer if not the caller id is
replaced by the main number of the customer.

'dial-imp-new-emerg.agi' checks if the customer has dialed an emergency
number which has to be routed to the nearest emergency central according to
the postal code passed as argument. I'm ommiting that part.



More information about the asterisk-bugs mailing list