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 | + | 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- | + | 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: | ||
- | |||
#!/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 | ||
- | |||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.