[asterisk-users] Need to call number from conference

2014-07-12 Thread Akib Sayyed
Dear List

I have implemented application for my client which include calling 2 end
points and bridging them in conference.

now end point A is local sip extension. and endpoint B is cellphone number
which is called via sip trunk.

I does this by AMI with originate action. now issue is when i try to place
call if user is not reachable or switched off then i dont get to know
instead i get only one message thats failed to establish channel.

So i wanted to initiate call from conference room so that i can get callee
details if its ringing or not rechable or switched off .

if you people know any other way to do same then please let me know.

-- 
Akib Sayyed
Matrix-Shell
akibsay...@gmail.com
akibsay...@matrixshell.com
Mob:- +91-966-514-2243
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] CDR(dst) not set in AEL macro

2014-07-12 Thread Johan Wilfer

2014-07-11 15:38, Rafael dos Santos Saraiva skrev:

Hi

I'm using a macro to dial in a AEL dialplan. The problem is the macro do
not set the field  CDR(dst), showing only ~~s~~.

I tried various configurations, but without solutions.

This is the macro:
macro dial-out(destno,dialstring,route_descr,interno) {
__TRANSFER_CONTEXT=ipbx;
if(${interno} = 1) {
Set(__PICKUPMARK=${destno});
if(${ODBC_verify_user(${CALLERID(num)})}  0) {
t = tT;
} else {
t = t;
}
} else {
t = T;
}
Dial(${dialstring}/${destno},30,${t});
return;
}



I don't know if this is maybe related to this: 
https://issues.asterisk.org/jira/browse/ASTERISK-20441


If it is this is a bug in the AEL compiler I think.


--
Johan Wilfer

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Explicit Call Transfer(ECT)

2014-07-12 Thread babak
Hi
Other side is a Huawei CC08 Local Exchange.
I compared Asterisk Trace with CC08 Trace


Asterisk side I see ROSE_ETSI_EctInform then ROSE_ETSI_EctLinkIdRequest then 
Invalid Call State

At CC08 I see OPERATION.Begin3PTY and then Invalid Call State

My Asterisk version !.8.11.0 and Libpri 1.4.12 
If I enable 3PTY( 3 party call supplementary service on CC08) will help?

Regards
babak





On Monday, June 16, 2014 10:11 PM, Richard Mudgett rmudg...@digium.com wrote:
 







On Mon, Jun 16, 2014 at 4:05 AM, babak bk1...@yahoo.com wrote:

Hi
I have done everything richard told to enable ECT .

below is my trace, anyone can help ?
    -- DAHDI/i1/09123278669-4 answered DAHDI/i1/88050048-3
    -- Native bridging DAHDI/i1/88050048-3 and DAHDI/i1/09123278669-4
PRI Span: 1 Adding facility ie contents to send in FACILITY message:
PRI Span: 1 ASN.1 dump
PRI Span: 1   Context Specific/C [1 0x01] A1 Len:11 0B
PRI Span: 1     Integer(2 0x02) 02 Len:1 01
PRI Span: 1       04 - ~
PRI Span: 1     OID(6 0x06) 06 Len:6 06
PRI Span: 1       04 00 82 71 01 04 - ~~~q~~
PRI Span: 1 ASN.1 end
PRI Span: 1 INVOKE Component Context Specific/C [1 0x01]
PRI Span: 1   invokeId Integer(2 0x02) = 4 0x0004
PRI Span: 1   operationValue OID(6 0x06) = 4.0.369.1.4
PRI Span: 1   operationValue = ROSE_ETSI_EctLinkIdRequest
PRI Span: 1
PRI Span: 1  DL-DATA request
PRI Span: 1  Protocol Discriminator: Q.931 (8)  len=21
PRI Span: 1  TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
PRI Span: 1  Message Type: FACILITY (98)
PRI Span: 1 TEI=0 Transmitting N(S)=14, window is open V(A)=12 K=7
PRI Span: 1
PRI Span: 1  Protocol Discriminator: Q.931 (8)  len=21
PRI Span: 1  TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent from originator)
PRI Span: 1  Message Type: FACILITY (98)
PRI Span: 1  [1c 0e 91 a1 0b 02 01 04 06 06 04 00 82 71 01 04]
PRI Span: 1  Facility (len=16, codeset=0) [ 0x91, 0xA1, 0x0B, 0x02, 0x01, 
0x04, 0x06, 0x06, 0x04, 0x00, 0x82, 'q', 0x01, 0x04 ]
PRI Span: 1
PRI Span: 1  Protocol Discriminator: Q.931 (8)  len=16
PRI Span: 1  TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
PRI Span: 1  Message Type: FACILITY (98)
PRI Span: 1  [1c 09 91 a3 06 02 01 03 02 01 07]
PRI Span: 1  Facility (len=11, codeset=0) [ 0x91, 0xA3, 0x06, 0x02, 0x01, 
0x03, 0x02, 0x01, 0x07 ]
PRI Span: 1 Received message for call 0xa9519f8 on link 0xa83ef9c TEI/SAPI 0/0
PRI Span: 1 -- Processing IE 28 (cs0, Facility)
PRI Span: 1 -- Delayed processing IE 28 (cs0, Facility)
PRI Span: 1 ASN.1 dump
PRI Span: 1   Context Specific/C [3 0x03] A3 Len:6 06
PRI Span: 1     Integer(2 0x02) 02 Len:1 01
PRI Span: 1       03 - ~
PRI Span: 1     Integer(2 0x02) 02 Len:1 01
PRI Span: 1       07 - ~
PRI Span: 1 ASN.1 end
PRI Span: 1 ERROR Component Context Specific/C [3 0x03]
PRI Span: 1   invokeId Integer(2 0x02) = 3 0x0003
PRI Span: 1   errorValue Integer(2 0x02) = 7 0x0007
PRI Span: 1   errorValue = General: Invalid Call State
PRI Span: 1 ROSE RETURN ERROR:
PRI Span: 1     INVOKE ID: 3
PRI Span: 1     ERROR: General: Invalid Call State
PRI Span: 1
PRI Span: 1  Protocol Discriminator: Q.931 (8)  len=16
PRI Span: 1  TEI=0 Call Ref: len= 2 (reference 3/0x3) (Sent to originator)
PRI Span: 1  Message Type: FACILITY (98)
PRI Span: 1  [1c 09 91 a3 06 02 01 04 02 01 07]
PRI Span: 1  Facility (len=11, codeset=0) [ 0x91, 0xA3, 0x06, 0x02, 0x01, 
0x04, 0x02, 0x01, 0x07 ]
PRI Span: 1 Received message for call 0xa9519f8 on link 0xa83ef9c TEI/SAPI 0/0
PRI Span: 1 -- Processing IE 28 (cs0, Facility)
PRI Span: 1 -- Delayed processing IE 28 (cs0, Facility)
PRI Span: 1 ASN.1 dump
PRI Span: 1   Context Specific/C [3 0x03] A3 Len:6 06
PRI Span: 1     Integer(2 0x02) 02 Len:1 01
PRI Span: 1       04 - ~
PRI Span: 1     Integer(2 0x02) 02 Len:1 01
PRI Span: 1       07 - ~
PRI Span: 1 ASN.1 end
PRI Span: 1 ERROR Component Context Specific/C [3 0x03]
PRI Span: 1   invokeId Integer(2 0x02) = 4 0x0004
PRI Span: 1   errorValue Integer(2 0x02) = 7 0x0007
PRI Span: 1   errorValue = General: Invalid Call State
PRI Span: 1 ROSE RETURN ERROR:
PRI Span: 1     INVOKE ID: 4
PRI Span: 1     ERROR: General: Invalid Call State
PRI Span: 1
PRI Span: 1  Protocol Discriminator: Q.931 (8)  len=13
PRI Span: 1  TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent to originator)
PRI Span: 1  Message Type: DISCONNECT (69)
PRI Span: 1  [08 02 80 90]
PRI Span: 1  Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  
Spare: 0  Location: User (0)
PRI Span: 1                   Ext: 1  Cause: Normal Clearing (16), class = 
Normal Event (1) ]
PRI Span: 1  [1e 02 82 88]
PRI Span: 1  Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) 
standard (0)  0: 0  Location: Public network serving the local user (2)
PRI Span: 1                                Ext: 1  Progress Description: 
Inband information or appropriate pattern now available. (8) ]
PRI Span: 1 Received message for call 0xa9760b8 on link 0xa83ef9c TEI/SAPI 0/0
PRI

Regards
Maani

 This is best asked on the asterisk-users mailing list