Hi there,
I have compiled and installed the latest version of the asterisk server
on a Linux(centos) box. I am now trying to configure outgoing dialing using
a voipuser account. Unfortunately after trying out the procedure described
on the webpage :
"asterisk support for community VoIp) at :
http://www.voipuser.org/forum_topic_330.html
but I am unfortunately unable to make outgoing calls. I get a
call failed (user not found) error. I am using the latest version of
XTEN lite as my SIP client. My Aterisk installation otherwise
works and I have verified this by calling from one XTEN
phone to the other XTEN client successfully.
I have also independently configured XTEN to use my voipuser account
information directly and I was able to successfully call a phone
number in the US.
I am copying below the additions to sip.conf and extensions.conf
(changed IP address to 100.200.300.x , username etc). These machines
are not behind a NAT and directly connected to the internet. I am
also attaching below the SIP messages by turning on "sip debug" in
the CLI console of Asterisk.
Any help would be appreciated !
thanks
Yuvraj
--------------------------------
Inserted in sip.conf
--------------------------------
;insert by Username - start
disallow=all
allow=g729
allow=gsm
allow=ulaw
allow=alaw
allow=all
;inserted by Username – finish
;Inserted by Username - Start
register => username:password@voipuser.org/448449335187
[voipuser]
type=friend
context=incoming_voipuser
username=username
secret=password
host=voipuser.org
fromuser=username
fromdomain=voipuser.org
insecure=very
qualify=no
disallow=all
allow=g729
allow=gsm
allow=ulaw
;Inserted by Username – Finish
--------------------------------
Inserted below in extensions.conf
--------------------------------
;Inserted by Username - Start voipuser account stuff
[incoming_voipuser]
exten => 448449335187,1,NoOp(--- ${CALLERID} calling on VoIPUser (${EXTEN}) ---)
exten => 448449335187,2,Dial(SIP/yoursipphone,20)
exten => 448449335187,3,Answer
exten => 448449335187,4,Wait,1
exten => 448449335187,5,Voicemail(u1)
exten => 448449335187,6,HangUp
;To make calls through voipuser.org by dialing 999<number to call>:
[outgoing_voipuser]
exten => _999.,1,Dial(SIP/${EXTEN:3}@voipuser,60)
exten => _999.,2,Congestion
;Inserted by Username - Finish
--------------------------------
Inserted below the log from "sip debug on" inside asterisk
--------------------------------
--------------------------------------------------<-- SIP read from 100.200.300.245:41616:
INVITE sip:9990018581234567@100.200.300.243 SIP/2.0
Via: SIP/2.0/UDP 100.200.300.245:41616;branch=z9hG4bK-d87543-c53bd3408c474d78-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:username@100.200.300.245:41616>
To: "9990018581234567"<sip:9990018581234567@100.200.300.243>
From: "Username (dar)"<sip:username@100.200.300.243>;tag=485f2909
Call-ID: 3e7d90208c635803MjFlYWU0NTI1YjdkMmNmZjE0MThkNDc3ZjU1NzA0NjY.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1003l stamp 30942
Content-Length: 385
v=0
o=- 7 2 IN IP4 100.200.300.245
s=CounterPath eyeBeam 1.5
c=IN IP4 100.200.300.245
t=0 0
m=audio 45750 RTP/AVP 107 119 0 98 8 3 101
a=alt:1 1 : IEpFDGgo MTlbl1iu 100.200.300.245 45750
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv
a=x-rtp-session-id:BDDBB5576D9F4D3E972A53ED54D8FC14
--- (12 headers 14 lines)---
Using INVITE request as basis request - 3e7d90208c635803MjFlYWU0NTI1YjdkMmNmZjE0MThkNDc3ZjU1NzA0NjY.
Sending to 100.200.300.245 : 41616 (NAT)
Found user 'username'
Found RTP audio format 107
Found RTP audio format 119
Found RTP audio format 0
Found RTP audio format 98
Found RTP audio format 8
Found RTP audio format 3
Found RTP audio format 101
Peer audio RTP is at port 100.200.300.245:45750
Found description format BV32
Found description format BV32-FEC
Found description format iLBC
Found description format telephone-event
Capabilities: us - 0x1f07ff (g723|gsm|ulaw|alaw|g726|adpcm|slin|lpc10|g729|speex|ilbc|jpeg|png|h261|h263|h263p), peer - audio=0x40e (gsm|ulaw|alaw|ilbc)/video=0x0 (nothing), combined - 0x40e (gsm|ulaw|alaw|ilbc)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Looking for 9990018581234567 in dar-users (domain 100.200.300.243)
Reliably Transmitting (no NAT) to 100.200.300.245:41616:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 100.200.300.245:41616;branch=z9hG4bK-d87543-c53bd3408c474d78-1--d87543-;rport;received=100.200.300.245
From: "Username (dar)"<sip:username@100.200.300.243>;tag=485f2909
To: "9990018581234567"<sip:9990018581234567@100.200.300.243>;tag=as01810731
Call-ID: 3e7d90208c635803MjFlYWU0NTI1YjdkMmNmZjE0MThkNDc3ZjU1NzA0NjY.
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:9990018581234567@100.200.300.243>
Content-Length: 0
---
<-- SIP read from 100.200.300.245:41616:
ACK sip:9990018581234567@100.200.300.243 SIP/2.0
Via: SIP/2.0/UDP 100.200.300.245:41616;branch=z9hG4bK-d87543-c53bd3408c474d78-1--d87543-;rport
To: "9990018581234567"<sip:9990018581234567@100.200.300.243>;tag=as01810731
From: "Username (dar)"<sip:username@100.200.300.243>;tag=485f2909
Call-ID: 3e7d90208c635803MjFlYWU0NTI1YjdkMmNmZjE0MThkNDc3ZjU1NzA0NjY.
CSeq: 1 ACK
Content-Length: 0
--- (7 headers 0 lines)---
Destroying call '3e7d90208c635803MjFlYWU0NTI1YjdkMmNmZjE0MThkNDc3ZjU1NzA0NjY.'
<-- SIP read from 100.200.300.245:41616:
--- (0 headers 1 lines)---
<-- SIP read from 100.200.300.2:62616: