Dial into external conference including conf number and code

…seems that no one else had this problem so far. But I found out a solution meanwhile.

In case someone else will face that in future or trying to deal with calling cards or similar, here is how I configured it in freepbx:
Trying to achieve that via setting up an extension via Misc Applications and then link it to custom destination and put an according dial command into extensions_custom.conf is a dead end, as freepbx doesn’t allow the user of patterns in Misc Applications. So one will never see the whole dialed number.

Solution:

  1. Setup a custom trunk via “Add custom trunk” and configure in “custom Settings” a “Custom Dial String” like this:
    PJSIP/9876540000@PjsipTrunkName,30,D(wwww123456#wwww$OUTNUM$#)

  2. Setup an Outbound route using that trunk and set 8 in prefix and a . in match pattern.

The point is that you can use other, already existing trunks in the dial string of custom trunks.

With that configuration dialing 86541234321 will result in:

  1. stripping of the leading 8 in the outbound route
  2. Calling the number 9876540000 via PjsipTrunkName
  3. Wait for 2 seconds after connecting (wwww)
  4. DTMF send of pincode 123456 followed by #-key
  5. Wait for 2 seconds
  6. DTMF send 6541234321 followed by #-key

On the asterisk console it’s visible that freepbx still extend the dial string with it’s own timeout and dial parameters (“T”). But that simply is ignored by asterisk, so it works.

kind regards
Tjareson

3 Likes