[Asterisk-Users] Session Media 183 and Ringing Tone 180 Passing To SIP At the Same Time

David Liu david at deltapath.com
Tue Feb 21 00:14:45 MST 2006


Hi there,

I am seeing some very interesting thing with the latest Zaptel 1.2.X, hope may
be someone can shed some light on this.

Normally, to dial via your Zaptel T1 card, you would do something like:

;Dial to PSTN
exten => _9.,1,Dial(Zap/g1d/{EXTEN:1})

by not adding any option after the extension e.g. no "r" and no "m", Asterisk
will pass thru the session media from the PSTN (e.g. when calling a mobile
number with music on ringing, you will hear the music)

This works nicely up to Zaptel 1.0.9

But when using the latest 1.2.X versions, all of them seem to pass thru the
session media from PSTN as well as generating a fake progress tone.  The
"fake" progress tone is generated according to what you put in
loadzone=countrycode in zaptel.conf.  If you put US, it generates a US tone,
UK then a UK tone etc. (Asterisk sends a Ringing 180 over)

I have tried doing:

callprogress=no in zapata.conf and it doesn't seem to make much difference.

Now there is a way to fix this, if I answer the channel first, e.g.

;Dial to PSTN
exten => _9.,1,Answer
exten => _9.,2,Dial(Zap/g1d/{EXTEN:1})

Then I won't hear the progress tone but just the session media from the PSTN.
 But doing this poses a problem, it messes up CDR records.

Is there anyway to disable progress tone on Zaptel?

David




More information about the asterisk-users mailing list