| Author |
Message |
serik
Joined: Jan 12, 2005
Posts: 16
Status: Offline
|
| Posted:
Jan 15, 2005 - 05:26 PM |
|
|
Hi
I have followed the IAX2 setup as posted
When I dial this is what i get from console:
-- Executing Dial("SIP/2002-5428", "SIP/01536521717@voipuser") in new stack
-- Called 01536521717@voipuser
-- SIP/voipuser-285a is making progress passing it to SIP/2002-5428
-- SIP/voipuser-285a answered SIP/2002-5428
-- Attempting native bridge of SIP/2002-5428 and SIP/voipuser-285a
== Spawn extension (from-sip-internal, 4401536521717, 2) exited non-zero on 'SIP/2002-5428'
-- Executing Hangup("SIP/2002-5428", "") in new stack
== Spawn extension (from-sip-internal, h, 1) exited non-zero on 'SIP/2002-5428'
There is no riningtone and I have to hangup the phone (Budgetone100) to exit the call.
I have asterisk working to other servers as well as FWD.
Please help!!
Thanks Eric |
|
|
|
 |
clivecarter332
Joined: Nov 18, 2004
Posts: 78
Location: Blaina, Abertillery, Gwent
Status: Offline
|
| Posted:
Jan 15, 2005 - 09:34 PM |
|
|
I am only learning myself but
>> == Spawn extension (from-sip-internal, 4401536521717, 2) exited
^^
This seems wrong. it should be either 441536....
OR 01536.......
Cant run a test on my * box at moment to tell you what I get when I dial, but its definitely different.
hth
Clive |
|
|
|
 |
ichilton
Joined: Aug 30, 2004
Posts: 514
Location: UK
Status: Offline
|
| Posted:
Jan 15, 2005 - 11:53 PM |
|
| serik : | -- Executing Dial("SIP/2002-5428", "SIP/01536521717@voipuser") in new stack
-- Called 01536521717@voipuser |
That looks ok.
It sounds to me like a NAT/firewall problem.
You'll probably find that the person on the other end can hear you but you can't hear them.
Check your Asterisk setup (see http://www.voipuser.org/forum_topic_330.html) and make sure you have the right port forwards in your router (see http://www.voipuser.org/forum_topic_322.html).
--ian |
|
|
|
 |
serik
Joined: Jan 12, 2005
Posts: 16
Status: Offline
|
| Posted:
Jan 16, 2005 - 07:36 AM |
|
HI Ian
| Quote: | Ian wrote:
It sounds to me like a NAT/firewall problem. |
Question:
If there are other services like conections to other asterisk boxes, will these ports not be open anyway?
What I am not sure about is the forwarding of the voipusers UK numbers in the control panel.
We have ONE provider available, who do not block the ports, this we know. BUT they change our IP address with regular monotony!
I registered with dnydns.org to over come this problem months ago for other reasons such as VPN's setup to a number of local and international servers.
Control Panel entry is set to IAX and is serik-pmb.dyndns.org/871504****
This will have to be correct first won't it?
I have tried to call my Voipuser number from a landlne but all I get is "NUMBER NOT AVAILABLE" tone, and have assumed this is because my number cannot be dialed from outide of the UK.
The setup of Asterisk is virtually identical to forum_topic_330.html
Eric |
|
|
|
 |
ichilton
Joined: Aug 30, 2004
Posts: 514
Location: UK
Status: Offline
|
| Posted:
Jan 16, 2005 - 09:15 AM |
|
| serik : | | What I am not sure about is the forwarding of the voipusers UK numbers in the control panel. |
So are you saying that you are having problems with outgoing calls on the outgoing service and incoming calls on a "My Numbers" number via IAX?
You already pointed out the thread for setting up the outbound (using SIP). Setting up inbound numbers (from "My Numbers") via IAX is discussed here: http://www.voipuser.org/forum_topic_95.html
[/quote]
For IAX2 inbound, you need port 4569 forwarding in to your Asterisk box and open on the firwall.
For SIP, you need port 5060 and the ports from rtp.conf (but i'd make this range smaller) forwarding in to your Asterisk box and open on the firewall.
--ian |
|
|
|
 |
serik
Joined: Jan 12, 2005
Posts: 16
Status: Offline
|
| Posted:
Jan 16, 2005 - 11:15 AM |
|
| Quote: | Ian Wrote:
So are you saying that you are having problems with outgoing calls on the outgoing service and incoming calls on a "My Numbers" number via IAX? |
THis is what I am not sure about! Since my last post I looked at the settings and changed to IAX2/serik:*******@serik-pmb.dyndns.org, but this made no diffs.
ALSO"
| Quote: | | For IAX2 inbound, you need port 4569 forwarding in to your Asterisk box and open on the firwall. |
THis is what Asterisk queries give me.
*CLI> sip show users
Username Secret Accountcode Def.Context ACL NAT
2004 from-sip-intern No Alway
2003 from-sip-intern No Alway
voipuser ******* incoming_voipus No Alway
2002 from-sip-intern No RFC35
*CLI> sip show registry
Host Username Refresh State
voipuser.org:5060 serik 105 Registered
*CLI> sip show peers
Name/username Host Dyn Nat ACL Mask Port Status
2004/2004 (Unspecified) D N 255.255.255.255 0 Unmonitored
2003 (Unspecified) D N 255.255.255.255 0 UNKNOWN
voipuser/serik 216.127.66.119 N 255.255.255.255 5060 Unmonitored
2002/2002 10.0.0.80 D 255.255.255.255 5060 Unmonitored
*CLI> iax2 show registry
Host Username Perceived Refresh State
65.39.205.121:4569 535192 165.165.169.132:4569 60 Registered
** Should there not be a similar entry for voipuser here as well?
*CLI> iax2 show users
Username Secret Authen Def.Context A/C
dcdata ****** 000000000000001 from-sip-intern No
voipuser ******* 000000000000003 incoming-voipus No
iaxfwd Key: freeworlddialup 000000000000004 fromiaxfwd No
iaxtel Key: iaxtel 000000000000004 default No
guest -no secret- 000000000000003 default No
*CLI> iax2 show peers
Name/Username Host Mask Port Status
dcdata 10.0.32.1 (S) 255.255.255.255 4569 Unmonitored
dcdata is a VPN connection.
I am a litle confused to say the least.
Thanks for your time so far I really appreciate it
Eric |
|
|
|
 |
ichilton
Joined: Aug 30, 2004
Posts: 514
Location: UK
Status: Offline
|
| Posted:
Jan 16, 2005 - 01:52 PM |
|
ok, you've confused me now
What are you trying to get working, outbound or incoming?
--ian |
|
|
|
 |
serik
Joined: Jan 12, 2005
Posts: 16
Status: Offline
|
| Posted:
Jan 16, 2005 - 04:04 PM |
|
| Quote: | | ok, you've confused me now Smile |
Sorry Ian!
Based on the assumption that I can dial out, I assume outgoing is working. Also the console "says" it is connecting etc.
The frustrating part is the person I am dialing has an ansering service when not there. If he can hear me, and is at home he would have called me by now.
What is confusing me is the other connections including FWD are working OK.
The port 4569 is available to the other services and should be available to voipuser by deduction, but is it?
Thanks for all you assistance. One thing I found was the "My Number" setting for IAX was not correct and I have since corrected it.
The issue is trying to track why I get no audio through this connection.
Where else can I look?
Eric[/quote] |
|
|
|
 |
ichilton
Joined: Aug 30, 2004
Posts: 514
Location: UK
Status: Offline
|
| Posted:
Jan 16, 2005 - 05:04 PM |
|
| serik : | | Thanks for all you assistance. One thing I found was the "My Number" setting for IAX was not correct and I have since corrected it. |
Ok, so incoming over IAX is working fine now - it's just the outbound service you are still having problems with - right?
--ian |
|
|
|
 |
serik
Joined: Jan 12, 2005
Posts: 16
Status: Offline
|
| Posted:
Jan 16, 2005 - 07:08 PM |
|
|
Ian
I actually think both are working with the exception that for some reason I get no audio.
This has to be something simple that I am missing!!! It's driving me crazy.
As far as I can see I've done it "by-the-book" and I'm hoping you or somone else can see what it is that is missing.
BTW: sorry I took so long to get back to you now, had to go out for a while.
Kindest
Eric |
|
|
|
 |
ichilton
Joined: Aug 30, 2004
Posts: 514
Location: UK
Status: Offline
|
| Posted:
Jan 16, 2005 - 09:25 PM |
|
|
ok, no audio on sip (the outbound service) is common when using with nat/firewall.
Are you saying you're getting no audio on inbound calls over IAX too? - there is not normally any more to that than forwarding port 4569 in.
--ian |
|
|
|
 |
serik
Joined: Jan 12, 2005
Posts: 16
Status: Offline
|
| Posted:
Jan 17, 2005 - 09:08 PM |
|
|
Ian
I think I have found the problem!!!
It appears that the entry in dyndns.org is corrupt. I am waiting to hear from them.
If dyndns.org does not work, then there will be no forwading to me here what-so-ever, especially new links. The ones already established will be OK until my IP changes.
My son in UK (the number I have been tryiing) eventually got home and he confirmed he could hear me OK. So outbound is working but not incoming. He also dialed my voipuser number and it went straight to voicemail.
I then noticed that I was not getting other data from other servers as well (not asterisk).
So looked into it and found from most servers I could not ping myself. As soon as this is up again, I'll test again and let you know.
Kindest
Eric |
|
|
|
 |
ichilton
Joined: Aug 30, 2004
Posts: 514
Location: UK
Status: Offline
|
| Posted:
Jan 17, 2005 - 09:36 PM |
|
|
Hi,
Yeah, if dyndns is not working, the inbound numbers over IAX will not work.
The 1-way audio problem is normally a NAT/firewall issue.
--ian |
|
|
|
 |
serik
Joined: Jan 12, 2005
Posts: 16
Status: Offline
|
| Posted:
Jan 17, 2005 - 09:55 PM |
|
|
Thanks Ian
As soon as it is working again I'll try again. Thanks for your patience and I'll keep you posted. I've never had such a run around before.
Kindest
Eric |
|
|
|
 |
zainasif
Joined: Mar 05, 2008
Posts: 1
Status: Offline
|
| Posted:
Jul 11, 2008 - 03:13 PM |
|
|
can anyone tell me what is the problem
i am having problem connecting asterisk to fwd through IAX most of the times.. it connects sometime so this means my settings are correct i guess.. so what should i do ? plz help me out .. |
|
|
|
 |
|