Grandstream 503

Status
Not open for further replies.

crazy-alex

Joined
Sep 1, 2011
Messages
29
Reaction score
0
ok so im here to annoy again... :( well ive managed everything iv needed except for one last thing i have my Elastix server here in Miami and ive sent Grandstream 503 to different places like Salvador, Venezuela, China, and Guatemala. These 503 ar supposed to capture the line and turn it into a SIP trunk in my Elastix... when i tried it here everything worked like a charm now when they have everything connected over there and i dial my pattern to connect out to my sip its not getting dial tone... so this is my cli log please i would really appreciate any help thanks in advanced
-- Registered SIP '999' at 74.169.36.250:53999
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [50378428207@from-internal:1] Macro("SIP/999-00000aaa", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/999-00000aaa", "AMPUSER=999") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/999-00000aaa", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/999-00000aaa", "1?Set(REALCALLERIDNUM=999)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/999-00000aaa", "AMPUSER=999") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/999-00000aaa", "AMPUSERCIDNAME=Alex Iphone") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/999-00000aaa", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/999-00000aaa", "AMPUSERCID=999") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/999-00000aaa", "CALLERID(all)="Alex Iphone" <999>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/999-00000aaa", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/999-00000aaa", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] Set("SIP/999-00000aaa", "CALLERID(number)=999") in new stack
-- Executing [s@macro-user-callerid:20] Set("SIP/999-00000aaa", "CALLERID(name)=Alex Iphone") in new stack
-- Executing [s@macro-user-callerid:21] NoOp("SIP/999-00000aaa", "Using CallerID "Alex Iphone" <999>") in new stack
-- Executing [50378428207@from-internal:2] NoOp("SIP/999-00000aaa", "Calling Out Route: Salvador") in new stack
-- Executing [50378428207@from-internal:3] Set("SIP/999-00000aaa", "MOHCLASS=default") in new stack
-- Executing [50378428207@from-internal:4] Set("SIP/999-00000aaa", "_NODEST=") in new stack
-- Executing [50378428207@from-internal:5] Macro("SIP/999-00000aaa", "record-enable,999,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/999-00000aaa", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/999-00000aaa", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/999-00000aaa", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/999-00000aaa", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/999-00000aaa", "1?MacroExit()") in new stack
-- Executing [50378428207@from-internal:6] Macro("SIP/999-00000aaa", "dialout-trunk,6,78428207,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/999-00000aaa", "DIAL_TRUNK=6") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/999-00000aaa", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/999-00000aaa", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/999-00000aaa", "DIAL_NUMBER=78428207") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/999-00000aaa", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/999-00000aaa", "OUTBOUND_GROUP=OUT_6") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/999-00000aaa", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/999-00000aaa", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/999-00000aaa", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/999-00000aaa", "outbound-callerid,6") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/999-00000aaa", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/999-00000aaa", "0?Set(REALCALLERIDNUM=999)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/999-00000aaa", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/999-00000aaa", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/999-00000aaa", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/999-00000aaa", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/999-00000aaa", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/999-00000aaa", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/999-00000aaa", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/999-00000aaa", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/999-00000aaa", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/999-00000aaa", "0?sub-flp-6,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/999-00000aaa", "OUTNUM=978428207") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/999-00000aaa", "custom=SIP/5000") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/999-00000aaa", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/999-00000aaa", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/999-00000aaa", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/999-00000aaa", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/999-00000aaa", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/999-00000aaa", "SIP/5000/978428207,300,") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/5000/978428207
-- Got SIP response 503 "Service Unavailable" back from 190.53.17.196:12756
-- SIP/5000-00000aab is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dialout-trunk:20] NoOp("SIP/999-00000aaa", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/999-00000aaa", "s-CONGESTION,1") in new stack
-- Goto (macro-dialout-trunk,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/999-00000aaa", "RC=34") in new stack
-- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/999-00000aaa", "34,1") in new stack
-- Goto (macro-dialout-trunk,34,1)
-- Executing [34@macro-dialout-trunk:1] Goto("SIP/999-00000aaa", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/999-00000aaa", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/999-00000aaa", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/999-00000aaa", "CALLERID(number)=999") in new stack
-- Executing [50378428207@from-internal:7] Macro("SIP/999-00000aaa", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/999-00000aaa", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/999-00000aaa", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/999-00000aaa", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/999-00000aaa", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/999-00000aaa> Playing 'all-circuits-busy-now.gsm' (language 'en')
-- <SIP/999-00000aaa> Playing 'pls-try-call-later.gsm' (language 'en')
-- Executing [s@macro-outisbusy:5] Congestion("SIP/999-00000aaa", "20") in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/999-00000aaa' in macro 'outisbusy'
== Spawn extension (from-internal, 50378428207, 7) exited non-zero on 'SIP/999-00000aaa'
-- Executing [h@from-internal:1] Macro("SIP/999-00000aaa", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/999-00000aaa", "1?endmixmoncheck") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] NoOp("SIP/999-00000aaa", "End of MIXMON check") in new stack
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/999-00000aaa", "1?nomeetmemon") in new stack
-- Goto (macro-hangupcall,s,15)
-- Executing [s@macro-hangupcall:15] NoOp("SIP/999-00000aaa", "MEETME_RECORDINGFILE=") in new stack
-- Executing [s@macro-hangupcall:16] GotoIf("SIP/999-00000aaa", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,18)
-- Executing [s@macro-hangupcall:18] NoOp("SIP/999-00000aaa", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:19] GotoIf("SIP/999-00000aaa", "1?noautomon2") in new stack
-- Goto (macro-hangupcall,s,25)
-- Executing [s@macro-hangupcall:25] NoOp("SIP/999-00000aaa", "MONITOR_FILENAME=") in new stack
-- Executing [s@macro-hangupcall:26] GotoIf("SIP/999-00000aaa", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,29)
-- Executing [s@macro-hangupcall:29] GotoIf("SIP/999-00000aaa", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,32)
-- Executing [s@macro-hangupcall:32] GotoIf("SIP/999-00000aaa", "1?theend") in new stack
-- Goto (macro-hangupcall,s,34)
-- Executing [s@macro-hangupcall:34] Hangup("SIP/999-00000aaa", "") in new stack
== Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/999-00000aaa' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/999-00000aaa'
 
Alex,

It depends in how you are configuring your unit. If you are registering the FXO port of the HT503 to the elastix and you want to get the dial tone from the PSTN connected to the FXO port: you have to configure the unit to use stage method number two (2) and to be able to get the dial tone you have to dial the extension of the FXO and you will get dial tone. Note: you have to register the fxo port to the elastix.

The other way that you can do is configure the HT503 as a trunk. For this you will need to set the unit in peer with your elastix. So when pressing a prefix the call will go through the FXO line and you won't be able to hear the dial tone. In this case you are using the stage method dial tone and all the routing is done by your pbx in this case elastix. For more information in how to set the unit on peer check the manual http://www.grandstream.com/products/ht_ ... HT-503.pdf

Regards,
 
Status
Not open for further replies.

Forum statistics

Threads
111,865
Messages
589,461
Members
164,704
Latest member
cdl1