SIPHON SIP for Apple iPhone and iPod Touch

Mobile VoIP Solutions
Provider Plan Details
Rebtel VoIP Cheap International Calling
  • Free Calls to your Rebtel friends
  • Cheap international calls to any phone
  • Make calls from your PC, iPhone, Android phone, or BlackBerry
Details
Touchmods team has released a new thirdparty software for iPhone that enables SIP calls through WIFI.

The first release was only working on iPod Touch due to a microphone problem.

The new version is working quiet properly on both platforms but is linked to one SIP provider (Free.Fr). You need to have Free.fr DSL account.

To make this software work with my asterisk box, I have made a little trick.

1) install SIPHON on your iPhone / iPod via the installer or scp
2) Modify /etc/hosts on iPhone to bypass dns resolution for freephonie.net (Free.fr pbx) and link this entry to your pbx.

/etc/hosts

  1. Host Database
  2. localhost is used to configure the loopback interface
  3. when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
212.217.156.112 freephonie.net (This is a fake IP!!!)

2) Preconfigure your sip account on the iPhone / iPod

/Applications/Siphone.app/accounts.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>nat</key>
<string>yes</string>
<key>password</key>
<string>bar</string>
<key>server</key>
<string>freephonie.net</string>
<key>stundomain</key>
<string></string>
<key>stunserver</key>
<string></string>
<key>timeout</key>
<string>1800</string>
<key>username</key>
<string>foo</string>
</dict>
</plist>

3) Create the asterisk SIP account

[8003]
disallow=all
allow=ulaw
type=friend
username=foo
Secret=bar
callerid=Blah <7003>
host=dynamic
canreinvite=no
qualify=yes
context=internet
dtmf=inband
mailbox=7003
nat=yes

4) Call

Asterisk logs:

Connected to Asterisk 1.4.11-BRIstuffed-0.4.0-test4 currently running on ipbx (pid = 10895)
[Feb 8 09:29:30] NOTICE[10913]: chan_sip.c:12331 handle_response_peerpoke: Peer '8003' is now Reachable. (992ms / 2000ms)
ipbx*CLI> sip show peer 8003

* Name : 8003
Secret : <Set>
MD5Secret : <Not set>
Context : internet
Subscr.Cont. : <Not set>
Language : fr
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Mailbox : 7003
VM Extension : asterisk
LastMsgsSent : 0/0
Call limit : 0
Dynamic : Yes
Callerid : "blablabla SoftP" <7003>
MaxCallBR : 384 kbps
Expire : 1780
Insecure : no
Nat : Always
ACL : No
T38 pt UDPTL : No
CanReinvite : No
PromiscRedir : No
User=Phone : No
Video Support: No
Trust RPID : No
Send RPID : No
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : auto
LastMsg : 0
ToHost :
Addr->IP : IP.IP.IP.IP Port 5060
Defaddr->IP : 0.0.0.0 Port 5060
Def. Username: 8003
SIP Options : (none)
Codecs : 0x4 (ulaw)
Codec Order : (ulaw:20)
Auto-Framing: No
Status : OK (992 ms)
Useragent :
Reg. Contact : sip:8003@freephonie.net

ipbx*CLI>

See also



Touchmods team has released a new thirdparty software for iPhone that enables SIP calls through WIFI.

The first release was only working on iPod Touch due to a microphone problem.

The new version is working quiet properly on both platforms but is linked to one SIP provider (Free.Fr). You need to have Free.fr DSL account.

To make this software work with my asterisk box, I have made a little trick.

1) install SIPHON on your iPhone / iPod via the installer or scp
2) Modify /etc/hosts on iPhone to bypass dns resolution for freephonie.net (Free.fr pbx) and link this entry to your pbx.

/etc/hosts

  1. Host Database
  2. localhost is used to configure the loopback interface
  3. when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
212.217.156.112 freephonie.net (This is a fake IP!!!)

2) Preconfigure your sip account on the iPhone / iPod

/Applications/Siphone.app/accounts.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>nat</key>
<string>yes</string>
<key>password</key>
<string>bar</string>
<key>server</key>
<string>freephonie.net</string>
<key>stundomain</key>
<string></string>
<key>stunserver</key>
<string></string>
<key>timeout</key>
<string>1800</string>
<key>username</key>
<string>foo</string>
</dict>
</plist>

3) Create the asterisk SIP account

[8003]
disallow=all
allow=ulaw
type=friend
username=foo
Secret=bar
callerid=Blah <7003>
host=dynamic
canreinvite=no
qualify=yes
context=internet
dtmf=inband
mailbox=7003
nat=yes

4) Call

Asterisk logs:

Connected to Asterisk 1.4.11-BRIstuffed-0.4.0-test4 currently running on ipbx (pid = 10895)
[Feb 8 09:29:30] NOTICE[10913]: chan_sip.c:12331 handle_response_peerpoke: Peer '8003' is now Reachable. (992ms / 2000ms)
ipbx*CLI> sip show peer 8003

* Name : 8003
Secret : <Set>
MD5Secret : <Not set>
Context : internet
Subscr.Cont. : <Not set>
Language : fr
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
Callgroup :
Pickupgroup :
Mailbox : 7003
VM Extension : asterisk
LastMsgsSent : 0/0
Call limit : 0
Dynamic : Yes
Callerid : "blablabla SoftP" <7003>
MaxCallBR : 384 kbps
Expire : 1780
Insecure : no
Nat : Always
ACL : No
T38 pt UDPTL : No
CanReinvite : No
PromiscRedir : No
User=Phone : No
Video Support: No
Trust RPID : No
Send RPID : No
Subscriptions: Yes
Overlap dial : Yes
DTMFmode : auto
LastMsg : 0
ToHost :
Addr->IP : IP.IP.IP.IP Port 5060
Defaddr->IP : 0.0.0.0 Port 5060
Def. Username: 8003
SIP Options : (none)
Codecs : 0x4 (ulaw)
Codec Order : (ulaw:20)
Auto-Framing: No
Status : OK (992 ms)
Useragent :
Reg. Contact : sip:8003@freephonie.net

ipbx*CLI>

See also



Created by: marronnier, Last modification: Mon 06 of Feb, 2012 (20:55 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+