Example #1
0
void PstnCallProvider::abortDial
	( uint modemIdentifier, QPhoneCall::Scope scope )
{
    Q_UNUSED(modemIdentifier);
    Q_UNUSED(scope);
    atchat()->abortDial();
    atchat()->chat( "ATH" );
}
Example #2
0
/*
 * Reimplementation because we don't want the standard notifications
 * as we have a CPI which should give us everything that we need.
 * We don't need:
 *    +CRING (CPI gives us the calltype)
 *    +CLIP  (CPI gives us the number)
 *    RING
 */
void NeoCallProvider::resetModem()
{
    // We don't want RING, CRING, CLIP, COLP, COWA  but callNotification
    // disable all of these and do not call the base class
    atchat()->chat( "AT+CRC=0" );
    service()->retryChat( "AT+CLIP=0" );
    service()->retryChat( "AT+COLP=0" );
    service()->retryChat( "AT+CCWA=1" );
}
Example #3
0
void PstnCallProvider::resetModem()
{
    atchat()->chat( "AT+VCID=1" );
    atchat()->chat( "AT+VLS=6" );
}
Example #4
0
 // Use the AT+CHUP command to abort outgoing calls, instead of AT+CHLD=1. Also
 // use send() without waiting like chat() does.
 void NeoCallProvider::abortDial(uint id, QPhoneCall::Scope scope)
{
    Q_UNUSED(id);
    Q_UNUSED(scope);
    atchat()->send("AT+CHUP");
}
Example #5
0
void HtcuniversalCallProvider::abortDial(uint id, QPhoneCall::Scope scope)
{
  // Use the ATH command to abort outgoing calls, instead of AT+CHLD=1.
  atchat()->chat("ATH");
}