Skip to content

Unable to dial "short codes" #103

@rndthoughts

Description

@rndthoughts

Describe the bug

My SIP server uses shortcodes to activate night service, pickup calls ringing elsewhere but if i attempt to call "MakeCall" with the short code (e.g. "**20") I get - "Choice stack is empty. Unable to fallback to another state". I am assuming it's because the asterisks are the problem, but how do i get the short code transmitted?

If it's because i need to send Dtmf codes, how do I open the line without making a call to a specific number so that they can be sent?

To Reproduce
Steps to reproduce the behavior:

_userAgent.CallManager.MakeCall(x => x.To("**20").At(_serverName).Through("5060").From(_userAgent.AccountManager.Accounts.First()).Call());

Expected behavior
Short code executes command on server and user either hears response read back (e.g. "Night mode activated" or call is transferred.

Environment (please complete the following information):

  • OS: Windows 10
  • Internet (TCP/IP)
  • Latest Version

App configuration (please complete the following information):

<sipua srtp="Disabled" secureSignaling="0" logMessages="true" logLevel="5" traceAndDebug="false" autoAnswer="false" autoRecording="false" autoConference="false" maxCalls="5">
    <sipTransport type="udp" Port="5080" />
    <networkSettings natInSDP="true" forceLooseRoute="false">
      <turn enabled="false" server="" type="udp" userName="" password="" realm="" />
      <ice enabled="false" noRTCP="false" />
    </networkSettings>
    <media isVADEnabled="true" />
  </sipua>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions