Hi,
My network looks like this. I have a router which have a static(public ip) IP and my asterisk system is having the private local ip.
I have followed all the instruction provided in this forum but it did'nt help.
My trixbox kernal version is 2.6.9-34.0.2.ELsmp (SMP)
Asterisk version is Asterisk 1.2.13 svn rev 47264
I am not able to register to voipuser server. My config looks like
[voipuser]
username=uperformkarthick
type=friend
secret=xxxxx
qualify=no
insecure=very
host=sip.voipuser.org
fromuser=uperformkarthick
fromdomain=voipuser.org
context=from-pstn
[voipuserout]
username=uperformkarthick
type=peer
secret=xxxx
qualify=no
insecure=very
host=sip.voipuser.org
fromuser=uperformkarthick
fromdomain=voipuser.org
context=from-pstn
canreinvite=no
My call log shows like
utils.c
asterisk1*CLI> show version
Asterisk 1.2.13 svn rev 47264 built by root @ localhost.localdomain on a i686 running Linux on 2006-12-31 19:02:30 UTC
REGISTER attempt 106 to uperformkarthick [!at] sip.voipuser.org (replace the [!at] with a @)
asterisk1*CLI>
[root@asterisk1 ~]# asterisk -r
Asterisk 1.2.13 svn rev 47264, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.13 svn rev 47264 currently running on asterisk1 (pid = 2638)
Verbosity is at least 10
Core debug is at least 11
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/200-09561298' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on 'SIP/200-09561298'
-- Executing Macro("SIP/200-09561298", "hangupcall") in new stack
-- Executing ResetCDR("SIP/200-09561298", "w") in new stack
-- Executing NoCDR("SIP/200-09561298", "") in new stack
-- Executing GotoIf("SIP/200-09561298", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing GotoIf("SIP/200-09561298", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing Wait("SIP/200-09561298", "5") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/200-09561298' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/200-09561298'
-- Executing Macro("SIP/200-09561298", "dialout-trunk|2|00919008599332||") in new stack
-- Executing Set("SIP/200-09561298", "DIAL_TRUNK=2") in new stack
-- Executing Set("SIP/200-09561298", "_NODEST=") in new stack
-- Executing Set("SIP/200-09561298", "DIAL_NUMBER=00919008599332") in new stack
-- Executing Set("SIP/200-09561298", "ROUTE_PASSWD=") in new stack
-- Executing Set("SIP/200-09561298", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing GotoIf("SIP/200-09561298", "1?noauth") in new stack
-- Goto (macro-dialout-trunk,s,
-- Executing Set("SIP/200-09561298", "GROUP()=OUT_2") in new stack
-- Executing Macro("SIP/200-09561298", "user-callerid|SKIPTTL") in new stack
-- Executing NoOp("SIP/200-09561298", "user-callerid: device 200") in new stack
-- Executing GotoIf("SIP/200-09561298", "0?report") in new stack
-- Executing GotoIf("SIP/200-09561298", "0?start") in new stack
-- Executing Set("SIP/200-09561298", "REALCALLERIDNUM=200") in new stack
-- Executing NoOp("SIP/200-09561298", "REALCALLERIDNUM is 200") in new stack
-- Executing Set("SIP/200-09561298", "AMPUSER=200") in new stack
-- Executing Set("SIP/200-09561298", "AMPUSERCIDNAME=karthick") in new stack
-- Executing GotoIf("SIP/200-09561298", "0?report") in new stack
-- Executing Set("SIP/200-09561298", "CALLERID(all)=karthick <200>") in new stack
-- Executing Set("SIP/200-09561298", "REALCALLERIDNUM=200") in new stack
-- Executing NoOp("SIP/200-09561298", "TTL: ARG1: SKIPTTL") in new stack
-- Executing GotoIf("SIP/200-09561298", "1?continue") in new stack
-- Goto (macro-user-callerid,s,21)
-- Executing NoOp("SIP/200-09561298", "Using CallerID "karthick" <200>") in new stack
-- Executing Macro("SIP/200-09561298", "record-enable|200|OUT") in new stack
-- Executing GotoIf("SIP/200-09561298", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing DeadAGI("SIP/200-09561298", "recordingcheck|20090121-044232|1232530952.20") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090121-044232|1232530952.20: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/200-09561298", "No recording needed") in new stack
-- Executing GotoIf("SIP/200-09561298", "0?skipoutcid") in new stack
-- Executing Set("SIP/200-09561298", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing Macro("SIP/200-09561298", "outbound-callerid|2") in new stack
-- Executing GotoIf("SIP/200-09561298", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/200-09561298", "REALCALLERIDNUM is 200") in new stack
-- Executing GotoIf("SIP/200-09561298", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,9)
-- Executing Set("SIP/200-09561298", "USEROUTCID=") in new stack
-- Executing Set("SIP/200-09561298", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/200-09561298", "TRUNKOUTCID=") in new stack
-- Executing GotoIf("SIP/200-09561298", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,16)
-- Executing GotoIf("SIP/200-09561298", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,1
-- Executing GotoIf("SIP/200-09561298", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,22)
-- Executing NoOp("SIP/200-09561298", "CallerID set to "karthick" <200>") in new stack
-- Executing GotoIf("SIP/200-09561298", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,16)
-- Executing DeadAGI("SIP/200-09561298", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/200-09561298", "OUTNUM=00919008599332") in new stack
-- Executing Set("SIP/200-09561298", "custom=SIP/voipuserout") in new stack
-- Executing GotoIf("SIP/200-09561298", "0?customtrunk") in new stack
-- Executing Dial("SIP/200-09561298", "SIP/voipuserout/00919008599332|300|") in new stack
-- Called voipuserout/00919008599332
REGISTER attempt 114 to uperformkarthick [!at] sip.voipuser.org (replace the [!at] with a @)
REGISTER attempt 115 to uperformkarthick [!at] sip.voipuser.org (replace the [!at] with a @)
REGISTER attempt 116 to uperformkarthick [!at] sip.voipuser.org (replace the [!at] with a @)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/200-09561298", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/200-09561298", "Dial failed due to CHANUNAVAIL - failing through to other trunks") in new stack
-- Executing Macro("SIP/200-09561298", "outisbusy|") in new stack
-- Executing Playback("SIP/200-09561298", "all-circuits-busy-now|noanswer") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
-- Executing Playback("SIP/200-09561298", "pls-try-call-later|noanswer") in new stack
-- Playing 'pls-try-call-later' (language 'en')
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/200-09561298' in macro 'outisbusy'
== Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/200-09561298'
REGISTER attempt 117 to uperformkarthick [!at] sip.voipuser.org (replace the [!at] with a @)
asterisk1*CLI> sip show registry
Host Username Refresh State
sip.voipuser.org:5060 uperformkart 120 Request Sent
asterisk1*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
voipuserout/uperformkarth 194.0.210.251 N 5060 Unmonitored
voipuser/uperformkarthick 194.0.210.251 N 5060 Unmonitored
201/201 (Unspecified) D N 0 UNKNOWN
200/200 172.168.100.26 D N 63088 OK (109 ms)
4 sip peers [3 online , 1 offline]
I am not able to find out the issue if any suggestion will be appreciated
Thanks
Karthick