Chris Abel
2010-Nov-03 14:36 UTC
[asterisk-users] Ring back problem on SIP calls. Order of 183 Session Progress and 180 Ringing
Hello everyone! I've had this problem for a while and cant figure it out. When an outside caller calls an extension on my asterisk system, they do not hear any sort of ringing. Inside extensions calling other extensions do hear ringing. We have 3 other asterisk systems that are configured the same way, but do not have this problem. We think it has something to do with asterisk 1.6. The other asterisk systems are using 1.4. I have played around with "progressinband" in sip.conf with now success. Whatever I set progressinband to, it doesn't seem to change a thing. "183 Session Progress" never seems to be called when looking at sip debug. It is only when I use the Progress application before my dial command that I get the "183 Session Progress" message in sip debug. We also have a Trixbox system using asterisk 1.6 that had the same problem. The way I fixed that was to set progressinband=yes in sip.conf. This did not work with this system (Yes I know Trixbox is completely different). The only thing that looks different is the order in which "183 Session Progress" and "180 Ringing" get sent in sip debug. On the troubled Asterisk system 183 gets sent before 180. On the fixed Trixbox system 180 gets sent before 183. Does this mean anything? We also have Polycom Phones which I heard are notorious with ringback issues. Thanks, Chris
I am getting all circuits busy now. But with my sip phone I can dial normally this provider... I cant see what's wrong here, any idea how to dig into this? My in/out: canreinvite=yes type=peer qualify=yes insecure=very host= x.x.x.x port=5080 username= xxx secret= xxx context=outbound-allroutes allow=all Thanks in advance. -- Executing [8613430491011 at from-internal:1] Macro("SIP/123-00075448", "user-callerid|SKIPTTL|") in new stack -- Executing [s at macro-user-callerid:1] Set("SIP/123-00075448", "AMPUSER=123") in new stack -- Executing [s at macro-user-callerid:2] GotoIf("SIP/123-00075448", "0?report") in new stack -- Executing [s at macro-user-callerid:3] ExecIf("SIP/123-00075448", "1|Set|REALCALLERIDNUM=123") in new stack -- Executing [s at macro-user-callerid:4] Set("SIP/123-00075448", "AMPUSER=123") in new stack -- Executing [s at macro-user-callerid:5] Set("SIP/123-00075448", "AMPUSERCIDNAME=123") in new stack -- Executing [s at macro-user-callerid:6] GotoIf("SIP/123-00075448", "0?report") in new stack -- Executing [s at macro-user-callerid:7] Set("SIP/123-00075448", "AMPUSERCID=123") in new stack -- Executing [s at macro-user-callerid:8] Set("SIP/123-00075448", "CALLERID(all)="123" <123>") in new stack -- Executing [s at macro-user-callerid:9] ExecIf("SIP/123-00075448", "0|Set|CHANNEL(language)=") in new stack -- Executing [s at macro-user-callerid:10] GotoIf("SIP/123-00075448", "1?continue") in new stack -- Goto (macro-user-callerid,s,19) -- Executing [s at macro-user-callerid:19] NoOp("SIP/123-00075448", "Using CallerID "123" <123>") in new stack -- Executing [8613430491011 at from-internal:2] Set("SIP/123-00075448", "_NODEST=") in new stack -- Executing [8613430491011 at from-internal:3] Macro("SIP/123-00075448", "record-enable|123|OUT|") in new stack -- Executing [s at macro-record-enable:1] GotoIf("SIP/123-00075448", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s at macro-record-enable:4] AGI("SIP/123-00075448", "recordingcheck|20101103-174057|1288795257.1108389") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck|20101103-174057|1288795257.1108389: Outbound recording not enabled -- AGI Script recordingcheck completed, returning 0 -- Executing [s at macro-record-enable:5] MacroExit("SIP/123-00075448", "") in new stack -- Executing [8613430491011 at from-internal:4] Macro("SIP/123-00075448", "dialout-trunk|25|8613430491011||") in new stack -- Executing [s at macro-dialout-trunk:1] Set("SIP/123-00075448", "DIAL_TRUNK=25") in new stack -- Executing [s at macro-dialout-trunk:2] GosubIf("SIP/123-00075448", "0?sub-pincheck|s|1") in new stack -- Executing [s at macro-dialout-trunk:3] GotoIf("SIP/123-00075448", "0?disabletrunk|1") in new stack -- Executing [s at macro-dialout-trunk:4] Set("SIP/123-00075448", "DIAL_NUMBER=8613430491011") in new stack -- Executing [s at macro-dialout-trunk:5] Set("SIP/123-00075448", "DIAL_TRUNK_OPTIONS=trf") in new stack -- Executing [s at macro-dialout-trunk:6] Set("SIP/123-00075448", "OUTBOUND_GROUP=OUT_25") in new stack -- Executing [s at macro-dialout-trunk:7] GotoIf("SIP/123-00075448", "1?nomax") in new stack -- Goto (macro-dialout-trunk,s,9) -- Executing [s at macro-dialout-trunk:9] GotoIf("SIP/123-00075448", "0?skipoutcid") in new stack -- Executing [s at macro-dialout-trunk:10] Set("SIP/123-00075448", "DIAL_TRUNK_OPTIONS=") in new stack -- Executing [s at macro-dialout-trunk:11] Macro("SIP/123-00075448", "outbound-callerid|25") in new stack -- Executing [s at macro-outbound-callerid:1] ExecIf("SIP/123-00075448", "0|SetCallerPres|") in new stack -- Executing [s at macro-outbound-callerid:2] ExecIf("SIP/123-00075448", "0|Set|REALCALLERIDNUM=123") in new stack -- Executing [s at macro-outbound-callerid:3] GotoIf("SIP/123-00075448", "1?normcid") in new stack -- Goto (macro-outbound-callerid,s,6) -- Executing [s at macro-outbound-callerid:6] Set("SIP/123-00075448", "USEROUTCID=") in new stack -- Executing [s at macro-outbound-callerid:7] Set("SIP/123-00075448", "EMERGENCYCID=") in new stack -- Executing [s at macro-outbound-callerid:8] Set("SIP/123-00075448", "TRUNKOUTCID=") in new stack -- Executing [s at macro-outbound-callerid:9] GotoIf("SIP/123-00075448", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,12) -- Executing [s at macro-outbound-callerid:12] ExecIf("SIP/123-00075448", "0|Set|CALLERID(all)=") in new stack -- Executing [s at macro-outbound-callerid:13] ExecIf("SIP/123-00075448", "0|Set|CALLERID(all)=") in new stack -- Executing [s at macro-outbound-callerid:14] ExecIf("SIP/123-00075448", "0|SetCallerPres|prohib_passed_screen") in new stack -- Executing [s at macro-dialout-trunk:12] ExecIf("SIP/123-00075448", "0|AGI|fixlocalprefix") in new stack -- Executing [s at macro-dialout-trunk:13] Set("SIP/123-00075448", "OUTNUM=008613430491011") in new stack -- Executing [s at macro-dialout-trunk:14] Set("SIP/123-00075448", "custom=SIP/CHINA01") in new stack -- Executing [s at macro-dialout-trunk:15] ExecIf("SIP/123-00075448", "0|Set|DIAL_TRUNK_OPTIONS=M(setmusic^)") in new stack -- Executing [s at macro-dialout-trunk:16] Macro("SIP/123-00075448", "dialout-trunk-predial-hook|") in new stack -- Executing [s at macro-dialout-trunk-predial-hook:1] MacroExit("SIP/123-00075448", "") in new stack -- Executing [s at macro-dialout-trunk:17] GotoIf("SIP/123-00075448", "0?bypass|1") in new stack -- Executing [s at macro-dialout-trunk:18] GotoIf("SIP/123-00075448", "0?customtrunk") in new stack -- Executing [s at macro-dialout-trunk:19] Dial("SIP/123-00075448", "SIP/CHINA01/008613430491011|300|") in new stack -- Called CHINA01/008613430491011 -- SIP/CHINA01-00075449 is circuit-busy == Everyone is busy/congested at this time (1:0/1/0) -- Executing [s at macro-dialout-trunk:20] Goto("SIP/123-00075448", "s-CONGESTION|1") in new stack -- Goto (macro-dialout-trunk,s-CONGESTION,1) -- Executing [s-CONGESTION at macro-dialout-trunk:1] GotoIf("SIP/123-00075448", "1?noreport") in new stack -- Goto (macro-dialout-trunk,s-CONGESTION,3) -- Executing [s-CONGESTION at macro-dialout-trunk:3] NoOp("SIP/123-00075448", "TRUNK Dial failed due to CONGESTION - failing through to other trunks") in new stack -- Executing [8613430491011 at from-internal:5] Macro("SIP/123-00075448", "outisbusy|") in new stack -- Executing [s at macro-outisbusy:1] Playback("SIP/123-00075448", "all-circuits-busy-now|noanswer") in new stack -- <SIP/123-00075448> Playing 'all-circuits-busy-now' (language 'en') -- Executing [s at macro-outisbusy:2] Playback("SIP/123-00075448", "pls-try-call-later|noanswer") in new stack -- <SIP/123-00075448> Playing 'pls-try-call-later' (language 'en') == Spawn extension (macro-outisbusy, s, 2) exited non-zero on 'SIP/123-00075448' in macro 'outisbusy' == Spawn extension (from-internal, 8613430491011, 5) exited non-zero on 'SIP/123-00075448' -- Executing [h at from-internal:1] Macro("SIP/123-00075448", "hangupcall") in new stack