Hi, Is there a way to restart the DISA to the enter phone number? For instance, Bell Calling Cards let you hit # at any point which lets you enter another number to call. This is useful to reduce the number of digits dialed and to utilize per-minute calls. I was not able to find anything on the web. Thanks, -Ryan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, i have encountered RESTARTs during call establishing which occurs under irregular conditions: The behaviour is like described below: When an outgoing call is dialed a SETUP isdn message is send to the telco's switch. The teleco's switch answers with an SETUP ACKNOWLEDGE message. In my special case * sends a RESTART message right after SETUP ACKNOWLEDGE , due to unknown reasons? This causes the channel to be restarted and the call establishing canceled ! Under working conditions the switch sends back CALL PROCEDING, ALERTING, CONNECT message which are replied by a CONNECT ACKNOWLEDGE message. => connection established Please find my trace below, thanx in advance, Hanson ~ -- Executing CallingPres("SIP/8-66ac", "1") in new stack ~ -- Executing NoOp("SIP/8-66ac", "0") in new stack ~ -- Executing NoOp("SIP/8-66ac", "") in new stack ~ -- Executing Dial("SIP/8-66ac", "Zap/r1/103330037xxxxxxxxx|45|Tt") in new stack - -- Making new call for cr 32932 | Protocol Discriminator: Q.931 (8) len=41 Call Ref: len= 2 | (reference 164/0xA4) (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 88] 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: 8 ] [6c 03 11 81 38] Calling Number (len= 5) [ | Ext: 0 TON: International Number (1) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) | Presentation: Presentation permitted, user number passed network screening (1) '8' ] | [70 13 91 31 30 33 33 33 30 30 33 37 33 36 39 36 31 33 30 35 38] | Called Number (len=21) [ Ext: 1 TON: International Number (1) | NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '103330037xxxxxxxxx' ] ~ -- Called r1/103330037xxxxxxxxx < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 2 (reference 32932/0x80A4) (Terminator) < Message type: SETUP ACKNOWLEDGE (13) < [18 03 a9 83 88] < 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: 8 ] - -- Processing IE 24 (cs0, Channel Identification) < Protocol Discriminator: Q.931 (8) len=13 < Call Ref: len= 2 (reference 0/0x0) (Originator) < Message type: RESTART (70) < [18 03 a9 83 88] < 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: 8 ] < [79 01 80] < Restart Indentifier (len= 3) [ Ext: 1 Spare: 0 Resetting Indicated Channel (0) ] - -- Processing Q.931 Restart - -- Processing IE 24 (cs0, Channel Identification) - -- Processing IE 121 (cs0, Restart Indicator) | Protocol Discriminator: Q.931 (8) len=13 Call Ref: len= 2 | (reference 32768/0x8000) (Terminator) Message type: RESTART | ACKNOWLEDGE (78) [18 03 a9 83 88] 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: 8 ] [79 01 80] Restart Indentifier (len= 3) [ Ext: | 1 Spare: 0 Resetting Indicated Channel (0) ] ~ -- B-channel 0/8 restarted on span 1 Jan 21 10:43:57 WARNING[7358]: app_dial.c:399 wait_for_answer: Unable to forward voice NEW_HANGUP DEBUG: Destroying the call, ourstate Overlap sending, peerstate Overlap Receiving ~ -- Hungup 'Zap/8-1' ~ == No one is available to answer at this time ~ -- Executing NoOp("SIP/8-66ac", "NOANSWER") in new stack ~ -- Executing NoOp("SIP/8-66ac", "0") in new stack ~ -- Registered SIP '880001' at 213.189.154.108 port 36365 expires 60 Jan 21 10:44:07 WARNING[7358]: pbx.c:1933 ast_pbx_run: Timeout, but no rule 't' in context 'default' ~ -- Executing NoOp("SIP/8-66ac", "h HANGUPCAUSE is 0") in new stack -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB8NTJ75fQW47llQgRAkGJAKCYUvBR42KafXmaSpvFkQjpoq30PACaAyj+ 1YZBM/NfOf0kuznZSmkpAxU=vAfQ -----END PGP SIGNATURE-----
Klaus-Peter Junghanns
2005-Jan-21 06:01 UTC
[Asterisk-Users] PRI - ISDN RESTART before connect
Am Freitag, den 21.01.2005, 13:48 +0100 schrieb Hannes Kepplinger:> Klaus, > > thanks for your quick reply. I thought that Originator or Terminator > shows the direction. > > Danke, Hannes >Hannes, yes it does, but you also have to look at the call reference. Basically the RESTART message from the switch is an outgoing call, that's why you find "originator" in there. best regards Klaus