Editing Least cost routing

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
This page is a work in progress; it documents my efforts to hack up some sort of script-based Least Cost Routing arrangement on my [[Nokia N900|N900]].  
+
This page is a work in progress; it documents my efforts to hack up some sort of script-based Least Cost Routing arrangement on my N900.  
 +
 
== Objective 1: pre-dialing ==
== Objective 1: pre-dialing ==
Line 10: Line 11:
# if so, end the call, rewrite the number to suit, and autoredial before I the end user know or care about it
# if so, end the call, rewrite the number to suit, and autoredial before I the end user know or care about it
-
Looking at D-Bus, when we place a call via GSM we get:
+
Looking at D-BUS, when we place a call via GSM we get:
  =================================
  =================================
Line 33: Line 34:
now, let's test that we can forcibly end the call before it happens:
now, let's test that we can forcibly end the call before it happens:
-
<source lang="bash">
 
  #!/bin/sh
  #!/bin/sh
  echo "Least Cost Routing script: detected outgoing call to $5";
  echo "Least Cost Routing script: detected outgoing call to $5";
  echo "Ending call to $5"
  echo "Ending call to $5"
  dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.Release
  dbus-send --system --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.Release
-
</source>
 
-
 
-
[[Category:N900]]
 
-
[[Category:Connectivity]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)