Asahi Net IP Phone C
Asahi Net offer a VOIP service called "IP Phone C". This service is parts of the 050 VOIP network in Japan, with calls trunked by NTT. This service is compatible with third party SIP clients, but Asahi Net provides no configuration support.
The supplied information is:
- Server Name: e.g. voipXX.nc.asahi-net.or.jp
- Service Domain: e.g. asahi-net.or.jp
- User ID: e.g. myusername
- Password: e.g. mypassword
- Telephone Number: e.g. 050XXXXXXXX
Translating this into SIP terminology:
server name -> SIP proxy
service domain -> authentication realm
user id -> auth id
password -> auth password
telephone number -> user id
Why do they invent non standard terminology?
Asahi Net's service actually uses SIP servers operated by a company called OCN. Unfortunately, their SIP implementation rejects messages with the "rport" parameter set in the "Via" header. This is a problem because many other implementations include "rport" by default. Sometimes, it cannot be disabled, meaning you cannot interoperate with OCN.
Yate is a telephony engine that can talk many protocols.
In accfile.conf place a stanza like this:
[asahi_net] enabled=yes protocol=sip description=asahi_net username=user_id domain=asahi-net.or.jp authname=auth_id password=auth_password server=voipXX.nc.asahi-net.or.jp interval=600 keepalive=15 ;use if behind stateful firewall to keep flow open xsip_flags=1 ;use if your server refuses messages with rport
Cisco 504g Handset
On a Cisco 504g there is no explicit setting for the SIP authentication realm. The solution is to configure "proxy" with the authentication realm, and "outbound proxy" with the SIP proxy. Note that this device sets the "rport" parameter and will not interoperate with OCN SIP servers.