[asterisk-users] - SOLVED - stream file not working but get data and exec background work

Patrick Fortin gestion at royaume.com
Wed May 23 12:28:34 MST 2007


Hi

While testing I found a solution to my problem. I don't understand it maybe 
someone here can explain it.

In my script,
if I call a Playback just before my stream file then everything works ok.

Without the playback then the digits are not captured

I will playback a silence to patch my scripts.

Patrick



===========================
Hi

I have a strange problem.

I use the agi command stream file for my vertical services like *98

If the call comes from a sip phone with dtmfmode=inband in sip.conf then it 
works.

But if I call the same script from an external line the stream file doesn't 
work properly

The audio is played but the digits are not captured.

I tested with get data and it works
I tested with exec background and it works

The calls from the exterior use RFC2833. If I use inband, none of the 3 work.

Why would stream file behave like this

Here is the setup

Pri SIP Gateway(Patton) - Asterisk (ztdummy) - SIP Phone

Thanks

Patrick 



More information about the asterisk-users mailing list