Summary: | ASTERISK-08348: Call waiting Notification from PRI | ||
Reporter: | lubard (lubard) | Labels: | |
Date Opened: | 2006-12-14 02:09:47.000-0600 | Date Closed: | 2011-06-07 14:02:45 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Hi, I have installed few systems using Digium PRI HW, we have a problem that the Call waiting Notification is not working, we are getting instead regular ring tone. if I?m calling form our asterisk server via PRI to an occupied line I should hear a call waiting tone instead I?m hearing a ring tone. the Feature is enable buy the TELCO, and also when conecting a legacy PBX to the PRI we get a call waiting ring tone and not regular ring tone. i'm attaching a debug report on the SPAN d-channel ****** ADDITIONAL INFORMATION ****** -- Accepting AUTHENTICATED call from 62.219.237.8: > requested format = gsm, > requested prefs = (), > actual format = ulaw, > host prefs = (ulaw|alaw|gsm), > priority = mine -- Executing Macro("IAX2/123-2", "dialout-trunk|1|0544644339||") in new stack -- Executing GotoIf("IAX2/123-2", "1?3:2") in new stack -- Goto (macro-dialout-trunk,s,3) -- Executing Macro("IAX2/123-2", "user-callerid") in new stack -- Executing GotoIf("IAX2/123-2", "0?report") in new stack -- Executing GotoIf("IAX2/123-2", "0?start") in new stack -- Executing Set("IAX2/123-2", "REALCALLERIDNUM=123") in new stack -- Executing NoOp("IAX2/123-2", "REALCALLERIDNUM is 123") in new stack -- Executing Set("IAX2/123-2", "AMPUSER=123") in new stack -- Executing Set("IAX2/123-2", "AMPUSERCIDNAME=test_voicespin") in new stack -- Executing GotoIf("IAX2/123-2", "0?report") in new stack -- Executing Set("IAX2/123-2", "CALLERID(all)=test_voicespin <123>") in new stack -- Executing NoOp("IAX2/123-2", "Using CallerID "test_voicespin" <123>") in new stack -- Executing Macro("IAX2/123-2", "record-enable|123|OUT") in new stack -- Executing GotoIf("IAX2/123-2", "0 > 0?2:4") in new stack -- Goto (macro-record-enable,s,4) -- Executing AGI("IAX2/123-2", "recordingcheck|20061213-144722|1166014042.5203") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck recordingcheck|20061213-144722|1166014042.5203: Outbound recording not enabled -- AGI Script recordingcheck completed, returning 0 -- Executing NoOp("IAX2/123-2", "No recording needed") in new stack -- Executing Macro("IAX2/123-2", "outbound-callerid|1") in new stack -- Executing GotoIf("IAX2/123-2", "1?start") in new stack -- Goto (macro-outbound-callerid,s,3) -- Executing NoOp("IAX2/123-2", "REALCALLERIDNUM is 123") in new stack -- Executing Set("IAX2/123-2", "USEROUTCID=") in new stack -- Executing Set("IAX2/123-2", "EMERGENCYCID=") in new stack -- Executing Set("IAX2/123-2", "TRUNKOUTCID=") in new stack -- Executing GotoIf("IAX2/123-2", "1?trunkcid") in new stack -- Goto (macro-outbound-callerid,s,11) -- Executing GotoIf("IAX2/123-2", "1?usercid") in new stack -- Goto (macro-outbound-callerid,s,13) -- Executing GotoIf("IAX2/123-2", "1?report") in new stack -- Goto (macro-outbound-callerid,s,15) -- Executing NoOp("IAX2/123-2", "CallerID set to "test_voicespin" <123>") in new stack -- Executing Set("IAX2/123-2", "GROUP()=OUT_1") in new stack -- Executing GotoIf("IAX2/123-2", "0?108") in new stack -- Executing Set("IAX2/123-2", "DIAL_NUMBER=0544644339") in new stack -- Executing Set("IAX2/123-2", "DIAL_TRUNK=1") in new stack -- Executing AGI("IAX2/123-2", "fixlocalprefix") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf -- AGI Script fixlocalprefix completed, returning 0 -- Executing Set("IAX2/123-2", "OUTNUM=0544644339") in new stack -- Executing Set("IAX2/123-2", "custom=ZAP/g0") in new stack -- Executing GotoIf("IAX2/123-2", "0?16") in new stack -- Executing Dial("IAX2/123-2", "ZAP/g0/0544644339|120|r") in new stack -- Making new call for cr 34867 -- Requested transfer capability: 0x00 - SPEECH > Protocol Discriminator: Q.931 (8) len=52 > Call Ref: len= 2 (reference 2099/0x833) (Originator) > Message type: SETUP (5) > [04 03 80 90 a3] > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0) > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16) > Ext: 1 User information layer 1: A-Law (35) > [18 03 a9 83 81] > Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 > ChanSel: Reserved > Ext: 1 Coding: 0 Number Specified Channel Type: 3 > Ext: 1 Channel: 1 ] > [28 0e 74 65 73 74 5f 76 6f 69 63 65 73 70 69 6e] > Display (len=14) ????`?0[ test_voicespin ] > [6c 05 21 81 31 32 33] > Calling Number (len= 7) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) > Presentation: Presentation permitted, user number passed network screening (1) '123' ] > [70 0b a1 30 35 34 34 36 34 34 33 33 39] > Called Number (len=13) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '0544644339' ] > [a1] > Sending Complete (len= 1) -- Called g0/0544644339 < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 2 (reference 2099/0x833) (Terminator) < Message type: CALL PROCEEDING (2) < [18 03 a9 83 81] < Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0 < ChanSel: Reserved < Ext: 1 Coding: 0 Number Specified Channel Type: 3 < Ext: 1 Channel: 1 ] -- Processing IE 24 (cs0, Channel Identification) -- Zap/1-1 is proceeding passing it to IAX2/123-2 < Protocol Discriminator: Q.931 (8) len=12 < Call Ref: len= 2 (reference 2099/0x833) (Terminator) < Message type: ALERTING (1) < [1e 02 84 88] < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] < [27 01 e0]I> < Notification indicator (len= 3): Ext: 1 Call is waiting call (96) -- Processing IE 30 (cs0, Progress Indicator) -- Processing IE 39 (cs0, Notification Indicator) -- Zap/1-1 is ringing as you can see asterisk receives a call waiting notification but we get a normal ring tone. | ||
Comments: | By: Joshua C. Colp (jcolp) 2006-12-18 20:27:47.000-0600 I don't imagine there is support for this right now so it would have to be added but I am assigning this to mattf to look at when he gets time. By: Matthew Fredrickson (mattf) 2007-01-04 10:58:54.000-0600 Ugh, that's a lot of nasty work just to do a simple Dial(). Turn of the 'r' flag in your Dial command. It's covering back any inband notification you may be having from the other end on your PRI. By: lubard (lubard) 2007-01-07 09:31:15.000-0600 Thanks!!, it solved the problem. By: Matthew Fredrickson (mattf) 2007-01-08 10:27:27.000-0600 Dialplan bug. Stupid Trixbox/FreePBX |