Jump to content

Playing a wave / message then redirect


Leonmeijer

Recommended Posts

Hello,

 

I want to route annonymouse calls away from 1 trunk before the call enters the agent group (I need the agent group because of the name on the display of the phone and queue settings).

 

Now I guess I can put:

 

!0!8100! in the FROM based routing (IF annonymouse (=0) goto voicemail of 100.

!E!100! in the DTMF list for end of wave file playback (AND NOT annonymouse)

 

What I want is, to notify the caller about something, then filter annonymouse to voicemail and other just to the extension (agent group).

(in the case, I din't put in the agent group but an extension number but it's just the example;)).

 

Can someone tell me if this is correct or what todo if not.

Link to comment
Share on other sites

  • 10 months later...

Hello,

 

Any updates on this one? just upgraded to SNOM one and trying to play a wave file using a SOAP response.

<destionation>100</destination>

<play>recordings/rec0001.wav</play>

 

but it doesn't work, how to get this working? I can't create a 1000 IVR nodes (for each wave file another IVR) unless you give me a free license :P.

 

Regards,

 

Leon

Link to comment
Share on other sites

Well, right now you cannot tell the PBX what WAV file to play back, the only thing that you can do is to tell it what the destination number is.

 

 

The only dirty workaround I can think of is to write the WAV file to the file system before returning the SOAP... Could be a bit flaky, the PBX WAV cache might become your enemy here.

 

 

Even if you return a WAV file, that would not entirely solve the problem. What should the PBX do next? Wait for more DTMF? We had this idea to write some small programming language (like a small subset of Javascript) that can be used to program the behavior of the IVR node and make it a very powerful mechanism to solve all kinds of problems (talking about version 6 here). That would be the ultimate solution to any kind of problem.

Link to comment
Share on other sites

Allright, yeah then I will wait for version 6. I suggested such a scripting languages a while ago, at that point it wasn't planned. Great to hear that it might become available in v6. What I want to do is when a call comes down the line, check the number (lookup in a database) then play some wave file and redirect the call to the destination in the database.

 

Regards,

 

Leon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...