mobile_sdk 0.0.1 copy "mobile_sdk: ^0.0.1" to clipboard
mobile_sdk: ^0.0.1 copied to clipboard

A flutter plugin for incoming and outgoing VoIP calls using SIP integration.

sip_ua_calls #

A flutter plugin for incoming and outgoing VoIP calls using SIP integration.

Features #

  • Show and receive an incoming call
  • Start an outgoing call
  • Hold and mute during a call
  • Customize theme

Getting started #

1. #

2. Configure Project #

  • Android

    • AndroidManifest.xml
      Add the following permissions:
       <uses-permission android:name="android.permission.INTERNET"/>
       <uses-permission android:name="android.permission.CALL_PHONE"/>
       <uses-permission android:name="android.permission.RECORD_AUDIO"/>
       <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
      
  • iOS

  • SIP Configuration

    SIP credentials should be added like this
final SipConfig sipConfig = SipConfig(
     webSocketUrl: 'wss://your-sip-server.com:7443',
     password: 'SecurePassword',
     userAgent: 'MyCustomApp',
     uri: 'sip:1001@your-sip-server.com',
     displayName: 'User Test',
     authorizationUser: '1001',
     queueUri: 'queue@your-sip-server.com',
  );

Initialized the Sip Service with these credentials before running the application

  Get.put<SipService>(SipService(sipConfig: sipConfig));

Usage #

To use the package in your, you need to import it into the file you want to use it

import 'package:mobile_sdk/app/mobile_sdk.dart';

For instance, in main.dart, It could be used like this:


  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
       
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: App(), // The package function has been called here. 
    );
  }
3
likes
0
points
6
downloads

Publisher

verified publisherdial-afrika.com

Weekly Downloads

A flutter plugin for incoming and outgoing VoIP calls using SIP integration.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

auto_route, cherry_toast, flutter, flutter_foreground_task, flutter_webrtc, get, google_fonts, logger, sip_ua

More

Packages that depend on mobile_sdk