Ok, I install Adorees soft phone and I have the same issue.
Here is the overview of everything, I am at a complete and total loss.
I can call into my asterisk server from a land line and listen to the welcome message, but no SIP phones can make outbound calls.
I have the Teliax recommended setting but still nothing.
Can some kind person please take a look and tell me where I am going wrong?
Teliax recommends this:
[general]
register => xxxx:xxxxxxxxxxx@voip-co3.teliax.com
And add the following context to your sip.conf -
[authentication]
auth = xxxx:xxxxxxxxxxx@voip-co3.teliax.com
[teliax]
context=default (or a valid context in your extensions.conf of your choosing.)
type=friend
username=UXMC
user=UXMC
host=voip-co3.teliax.com
secret=xxxxxxxxx
insecure=very
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
(you may set as many codecs to “allow” as you like. We will configure your connection according to the chosen
settings from your account at www.teliax.com.)
STEP 2
Using the service:
The following is an example for use in the asterisk extensions.conf file that should allow you to terminate calls (dial out).
exten => _1XXXXXXXXXX,1,DIAL(SIP/teliax/${EXTEN},30,tr)
And the following line is an example of what is needed for TelIAX originated calls (incoming calls). This example assumes you
are using an SIP phone but an SIP phone is, of course, not required.
exten => YOURNUMBER,1,Answer()
exten => YOURNUMBER,1,DIAL(SIP/user,20)
I have the following in sip.conf
register => xxxxxxxxx:xxxxxxxxxxxx@voip-co3.teliax.com
[authentication]
auth = xxxx:xxxxxxxxxx@voip-co3.teliax.com
[teliax]
context=default
type=friend
username=UXMC
user=UXMC
host=voip-co3.teliax.com
secret=xxxxxxxxxxx
insecure=very
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
[UXMC]
user=xxxx
context=internal
type=friend
secret=xxxxxxxxxxxx
insecure=very
canreinvite=no
context=home
host=dynamic
disallow=all
allow=ulaw
allow=alaw
allow=ilbc ; preference
allow=gsm
nat=no
I have the following in extensions.conf
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest ; IAXtel username/password
TRUNK=Zap/g2 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
PSTN=Zap/g2
[default]
;exten => 8005181896,1,Answer()
;exten => 8005181896,2,Playback(dir-intro)
;exten => 8005181896,3,Queue(service|t||8005181896|45)
[outbound]
exten => 8008629121,1,Answer()
exten => 8008629121,2,Playback(demo-congrats)
exten => h,1,DeadAGI(postqueue.agi)
[8008629121]
;exten => 8008629121,1,Answer()
;exten => 8008629121,1,DIAL(SIP/user,20)
[UXMC]
exten => _1XXXXXXXXXX,1,DIAL,(SIP/teliax/${EXTEN},30,tr)
exten => 8005181896,1,Answer
exten => 8005181896,2,Hangup
And here is my debug from an attempted call
<— SIP read from 66.176.193.46:2190 —>
INVITE sip:19544790554@66.109.17.92 SIP/2.0
Via: SIP/2.0/UDP 66.176.193.46:11214
Max-Forwards: 70
From: “UXMC” sip:UXMC@66.109.17.92;tag=cad85e11a8654f28ab8cf63a785fd2c4;epid=1114cb07d4
To: sip:19544790554@66.109.17.92
Call-ID: 36ab7cec5c6542c191d64520253925a5@66.176.193.46
CSeq: 1 INVITE
Contact: sip:66.176.193.46:11214
User-Agent: RTC/1.2
Content-Type: application/sdp
Content-Length: 448
v=0
o=- 0 0 IN IP4 66.176.193.46
s=session
c=IN IP4 66.176.193.46
b=CT:1000
t=0 0
m=audio 46340 RTP/AVP 97 111 112 6 0 8 4 5 3 101
a=rtpmap:97 red/8000
a=rtpmap:111 SIREN/16000
a=fmtp:111 bitrate=16000
a=rtpmap:112 G7221/16000
a=fmtp:112 bitrate=24000
a=rtpmap:6 DVI4/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
<------------->
— (11 headers 20 lines) —
Sending to 66.176.193.46 : 11214 (no NAT)
Using INVITE request as basis request - 36ab7cec5c6542c191d64520253925a5@66.176.193.46
<— Reliably Transmitting (no NAT) to 66.176.193.46:11214 —>
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 66.176.193.46:11214;received=66.176.193.46
From: “UXMC” sip:UXMC@66.109.17.92;tag=cad85e11a8654f28ab8cf63a785fd2c4;epid=1114cb07d4
To: sip:19544790554@66.109.17.92;tag=as0b374235
Call-ID: 36ab7cec5c6542c191d64520253925a5@66.176.193.46
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="17d55c85"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘36ab7cec5c6542c191d64520253925a5@66.176.193.46’ in 32000 ms (Method: INVITE)
Found user ‘UXMC’
<— SIP read from 66.176.193.46:2190 —>
ACK sip:19544790554@66.109.17.92 SIP/2.0
Via: SIP/2.0/UDP 66.176.193.46:11214
Max-Forwards: 70
From: “UXMC” sip:UXMC@66.109.17.92;tag=cad85e11a8654f28ab8cf63a785fd2c4;epid=1114cb07d4
To: sip:19544790554@66.109.17.92;tag=as0b374235
Call-ID: 36ab7cec5c6542c191d64520253925a5@66.176.193.46
CSeq: 1 ACK
User-Agent: RTC/1.2
Content-Length: 0
<------------->
— (9 headers 0 lines) —
<— SIP read from 66.176.193.46:2190 —>
INVITE sip:19544790554@66.109.17.92 SIP/2.0
Via: SIP/2.0/UDP 66.176.193.46:11214
Max-Forwards: 70
From: “UXMC” sip:UXMC@66.109.17.92;tag=cad85e11a8654f28ab8cf63a785fd2c4;epid=1114cb07d4
To: sip:19544790554@66.109.17.92
Call-ID: 36ab7cec5c6542c191d64520253925a5@66.176.193.46
CSeq: 2 INVITE
Contact: sip:66.176.193.46:11214
User-Agent: RTC/1.2
Proxy-Authorization: Digest username=“UXMC”, realm=“asterisk”, algorithm=MD5, uri="sip:19544790554@66.109.17.92", nonce=“17d55c85”, response="06a3dd76f64fa529c2f87842a6adfdec"
Content-Type: application/sdp
Content-Length: 448
v=0
o=- 0 0 IN IP4 66.176.193.46
s=session
c=IN IP4 66.176.193.46
b=CT:1000
t=0 0
m=audio 46340 RTP/AVP 97 111 112 6 0 8 4 5 3 101
a=rtpmap:97 red/8000
a=rtpmap:111 SIREN/16000
a=fmtp:111 bitrate=16000
a=rtpmap:112 G7221/16000
a=fmtp:112 bitrate=24000
a=rtpmap:6 DVI4/16000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
<------------->
— (12 headers 20 lines) —
Sending to 66.176.193.46 : 11214 (no NAT)
Using INVITE request as basis request - 36ab7cec5c6542c191d64520253925a5@66.176.193.46
Found user 'UXMC’
Found RTP audio format 97
Found RTP audio format 111
Found RTP audio format 112
Found RTP audio format 6
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 4
Found RTP audio format 5
Found RTP audio format 3
Found RTP audio format 101
Peer audio RTP is at port 66.176.193.46:46340
Found description format red for ID 97
Found description format SIREN for ID 111
Found description format G7221 for ID 112
Found description format DVI4 for ID 6
Found description format PCMU for ID 0
Found description format PCMA for ID 8
Found description format G723 for ID 4
Found description format DVI4 for ID 5
Found description format GSM for ID 3
Found description format telephone-event for ID 101
Capabilities: us - 0x40e (gsm|ulaw|alaw|ilbc), peer - audio=0xc3f (g723|gsm|ulaw|alaw|g726|adpcm|ilbc|g726aal2)/video=0x0 (nothing), combined - 0x40e (gsm|ulaw|alaw|ilbc)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 66.176.193.46:46340
Looking for 19544790554 in home (domain 66.109.17.92)
<— Reliably Transmitting (no NAT) to 66.176.193.46:11214 —>
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 66.176.193.46:11214;received=66.176.193.46
From: “UXMC” sip:UXMC@66.109.17.92;tag=cad85e11a8654f28ab8cf63a785fd2c4;epid=1114cb07d4
To: sip:19544790554@66.109.17.92;tag=as0b374235
Call-ID: 36ab7cec5c6542c191d64520253925a5@66.176.193.46
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog ‘36ab7cec5c6542c191d64520253925a5@66.176.193.46’ in 32000 ms (Method: INVITE)
<— SIP read from 66.176.193.46:2190 —>
ACK sip:19544790554@66.109.17.92 SIP/2.0
Via: SIP/2.0/UDP 66.176.193.46:11214
Max-Forwards: 70
From: “UXMC” sip:UXMC@66.109.17.92;tag=cad85e11a8654f28ab8cf63a785fd2c4;epid=1114cb07d4
To: sip:19544790554@66.109.17.92;tag=as0b374235
Call-ID: 36ab7cec5c6542c191d64520253925a5@66.176.193.46
CSeq: 2 ACK
User-Agent: RTC/1.2
Content-Length: 0