Menu

Expand
Rate this page:

TwiML™ Voice: <Sim>

The <Dial> verb's <Sim> noun specifies a Programmable Wireless SIM to dial.

In order to make a call to a SIM, voice_enabled must be set to true in the SIM's Rate Plan. See the Programmable Wireless voice overview for details.

Noun Attributes

The <Sim> noun does not currently support any of the attributes commonly used with other nouns in the <Dial> verb.

Examples

Example 1: Dialing to a SIM

In this example, we want to connect the current call to a SIM with Sid DE8caa2afb9d5279926619c458dc7098a8. To connect the call to the SIM, use a <Dial> verb with a <Sim> noun nested inside.

Loading Code Sample...
        
        

        Dialing to a SIM

        Example 2: Dialing to a SIM with recording enabled

        In this case, we want to record both legs of the call when dialing a Sim using <Dial>.

        Loading Code Sample...
              
              

              Dialing to a SIM with recording enabled

              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

              Loading Code Sample...
                    
                    
                    

                    Thank you for your feedback!

                    Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                    Sending your feedback...
                    🎉 Thank you for your feedback!
                    Something went wrong. Please try again.

                    Thanks for your feedback!

                    thanks-feedback-gif