greetings to all,
possible to ask for insights on how could i identify the SIP registration that my ISP use?
so that i can replicate/transfer it for Asterisk use instead of the bland traditional telephone?
my purpose/goal is to have an ‘upgraded telephone system’ (to have more “flexibility”)
PITA sometimes using the telephone if it goes too long…, & i hope no one would push me w/ using something like linksys spa2102 & friends…
so anyways, some to take note on:
-: i know Asterisk for a long time but this is my first ‘tinker’ w/ it
-: my ISP wont help me in this matter (common w/ residential ISP, but not all)
-: pjsip.conf below are bits N pieces from the wild…, put together
the info i got from my ISP side of things…
note: i’ll just use alias instead of the actual ip & url (if this is not okay, please let ke know)
-: 0448888888 (username is in the format of XYYZZZZZZZ, XYY is area code + ZZZZZZZ the telephone number)
-: 1234 (some password)
-: SIP ProxyServer=“10.143.44.88”
-: RegistrarServer=“some.sip.provider.com”
-: there are no 2nd proxy server defined
-: there are no gateway defined as well…
on the hardware/software side of things…
-: the VOIP vlan is set to ‘bridge mode’ and binded to LAN2 of the modem…
-: then LAN2 goes to (eth5) to my virtualized OpenWRT via Proxmox (all ethernet is passed-thru, all owned physically by OpenWRT)
-: eth5 is set to DHCP (v4 only) (i’m getting: 5.x.x.x /18, a GINORMOUS network!!!)
-: the DNS servers that is on eth5 has 2 entries (from DHCP), both are 255.255.255.255 (funny, scary or something else?)
-: for some reason, ‘SIP ProxyServer’ & ‘RegistrarServer’ appears the same thing but cannot PING it.
-: Asterisk is installed inside OpenWRT
i tried to read: asterisk/configs/samples/pjsip.conf.sample at master · asterisk/asterisk · GitHub
and below is my pjsip.conf monstrosity (but am still confused…)
[global]
type=global
user_agent=""
debug=yes
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
[registration_myISP]
type=registration
outbound_auth=auth_myISP
server_uri=sip:some.sip.provider.com
client_uri=sip:0448888888@some.sip.provider.com
contact_user=0448888888
retry_interval=60 ;change to 30 afterwards if it is working
forbidden_retry_interval=600
expiration=3600
transport=transport-udp
[auth_myISP]
type=auth
auth_type=userpass
username=0448888888@some.sip.provider.com
password=1234 ;majority mentioned, this is the right password ^_^
realm=some.sip.provider.com
[myISP_aor]
type=aor
contact=sip:0448888888@some.sip.provider.com
qualify_frequency=60
[myISP_endpoint]
type=endpoint
context=internal
disallow=all
allow=ulaw,alaw
aors=myISP_aor
outbound_auth=auth_myISP
from_user=0448888888
from_domain=some.sip.provider.com
rewrite_contact=yes
[myISP_identify]
type=identify
endpoint=myISP_endpoint
match=some.sip.provider.com
so with what i learned (or not), below is the result…
Host: '10.143.44.88:5060': No auth objects matching realm(s) 'Huawei' from challenge found.
Failed to create authenticated REGISTER request to server 'sip:0448888888@some.sip.provider.com' from client 'sip:0448888888@some.sip.provider.com'
Fatal response '401' received from 'sip:0448888888@some.sip.provider.com' on registration attempt to 'sip:0448888888@some.sip.provider.com', stopping outbound registration
any hints perhaps on my predicament?
PS: kindly delete this post if the citizens here finds my post unfit for the forum.
thank you for your time reading my post!
later & good day to all!