Problem with call transfering

When someone calls in, they have the option to dial 2 for sales, 3 for tech support, or someone’s extension, for instance 112. The problem is when people are dialing an extension, sometimes the phone system cuts off the first character or two. If someone dials 112, we’ll receive either 12 or just 2.

Has anyone else experienced this, and can anyone give me any information as to why this is happening?~

I use the following dialplan to avoid this:

       s => {
               Answer();
               Ringing();
               WaitExten(2);

               //do something..

       };

This also lets user hear a nice beep-beep-beep, and it sounds familiar.

So how would I implement something like that? If someone were to call extension 112:

   112 => {
            Answer();
            Ringing();
            WaitExten(2);
           Dial(SIP/test,20)
            VoiceMail(112@office)
            Hangup
   };

Right now I have something like this:

exten => 112,1,Answer()
exten => 112,2,Dial(SIP/test,20,m)
exten => 112,3,Voicemail(112@office)
exten => 112,4,Hangup

What kind of incoming line do you use? This is a typical DTMF detection problem. Search the forum and look up voip-info.org/wiki/view/Aste … p+dtmfmode

I’m using an IAX provider. SIP is within the local office. in SIP.conf I have:

[general]
dtmfmode=auto

[tech]
dtmfmode=rfc2833

and in iax.conf I have:
dtmfmode=rfc2833

I somewhat understand the concept of dtmf, but I don’t know what the correct settings should be. So please advise if this is incorrect.

Peter

rfc2833 is out of band, so generally there shouldn’t be any surprises. You need to talk to the provider and ask what they use and get help in troubleshooting.