[asterisk-users] TDMoE with GFP(Generic Framing Procedure)

2016-11-13 Thread Mehdi Shirazi
HiIs it possible to tune a GFP(Generic Framing procedure) enable device(E1 or 
STM1 to Ethernet converter with standard GFP encapsulation) to connect it 
troughs TDMoE to Asterisk ?
RegardsM.Shirazi-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

[asterisk-users] Force out-bond call to specific CIC

2016-07-13 Thread Mehdi Shirazi
Hi
How is it possible to use Dial application to force out-bond call use 
"specified channel" number in one E1 or specified CIC (SS7) ? 

RegardsM.Shirazi



-- 
_
-- 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

[asterisk-users] using dynamic DAHDI loop back

2016-03-13 Thread Mehdi Shirazi
Hi 
This is my system.conf :
dynamic=loc,1:0,31,0
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31

dynamic=loc,1:1,31,0
bchan=32-46,48-62
dchan=47
echocanceller=mg2,32-46,48-62

and this is my chan_dahdi.conf:
group=0
echocancel = yes 
echocancelwhenbridged=no
context=from-pstn
switchtype = euroisdn
signalling = pri_net
channel => 1-15,17-31
group=1
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62

all dahdi command line outputs like dahdi_tool are ok but inside Asterisk  
there is 
nothing in "Dahdi show channels" .
please help me

Regards

-- 
_
-- 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


[asterisk-users] TDMoE with wmware

2016-02-18 Thread Mehdi Shirazi
Hi
I want to test a SS7 connection with 3 virtual machines running with Wmware 
workstation player. 
I tried all configurations in network setting in Wmware but although I can ping 
other machines and then see their 
mac address but it seems TDMoE cannot find other side.
appreciate for any comment.

Regards
M.Shirazi 

-- 
_
-- 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


[asterisk-users] res_memcached vs System(/redis...)

2015-09-14 Thread Mehdi Shirazi
Hi 
For sharing data between Asterisk and other applications which method you 
recommend?Using command line Redis via system() has performance loss  over 
builtin function/Application MCD(..) ?
RegardsMehdi
-- 
_
-- 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

[asterisk-users] Shared RealTime Database

2015-08-17 Thread Mehdi Shirazi
Hi
If we have a shared RealTime database for sip registration of multiple Asterisk 
servers, is there a way to realize which Asterisk server registered sip phones ?
RegardsM.Shirazi  
-- 
_
-- 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

[asterisk-users] Load Balancing with DNS SRV without DUNDI

2015-05-24 Thread Mehdi Shirazi
HiI want to load balance SIP calls between two(or more) 
Asterisks with only DNS SRV. I used bidirectional sync 
Unison to synchronize configuration files and internal database file between 
two Asterisk boxes.The problem is when a calls come to Asterisk1 but 
SIPendpoint is registered on Asterisk2.How we can check 
a SIP endpoint is registered or not and what is Contact information in Dialplan 
?
Regardsbabak
 -- 
_
-- 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] Custom UUID in originate and AMI

2015-05-11 Thread Mehdi Shirazi
 what do you mean by set
 you can use like:
 Variable: __CUSTOMID=UUID-string\r\n

 to be able to read back ${CUSTOMID} back in the dialplan ... ? 

Thanks for replyTiagoI want to write a voice message broadcast system with AMI 
asynchronously , so need to analyze returned event messages  based on UUID to 
to check if call is successful or... for each originate action...
Regards
-- 
_
-- 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] Call Deflection with DAHDISendCallreroutingFacility

2012-04-10 Thread Mehdi Shirazi

 I want to use Call Deflection with DAHDISendCallreroutingFacility
 Application.
 I use Asterisk:1.8.11 libpri:1.4.12 facilityenable=yes transfer=yes
 my dialplan is like this:

You should always specify the switchtype and signaling parameters for
ISDN issues as well.  In this case it is not critical to determine
what is happening.
 
I used one E1 with switchtype=euroisdn signalling=pri_cpe 
connected to CC08 Huawei Local eXchange.All supplementary services are enabled 
in LX.


 
 [Call-Deflection]
 exten = 66,n,Proceeding()
 exten = 66,1,wait(5)
 exten = 66,n,DAHDISendCallreroutingFacility(88050048,8262000,cfb)
 exten = 66,n,wait(5)
 exten = 66,n,Hangup()
 
 after Executing
 DAHDISendCallreroutingFacility(DAHDI/i1/2188602827-3,
 88050048,8262000,cfb)
 in new stack == Spawn extension (Call-Deflection, 66, 3) exited
 non-zero on 'DAHDI/i1/2188602827-3'
 
 Asterisk exit immediately and last wait(5) won't Execute.
 
 I used another PRI Analyzer and this is message sequence:
 
 Asterisk --setup-- Local exchange
 Asterisk --proceeding-- Local exchange
 Asterisk --facility-- Local exchange
 Asterisk --Disconnect(Subscriber Absent)-- Local exchange
 Asterisk --Release-- Local exchange
 Asterisk --Release complete-- Local exchange
 
 from the Analyzer report Asterisk send Disconnect immediately after
 Facility message
 (don't wait for response from Local exchange).
 please help me solve this problem

Asterisk does not care about the response from the switch in this case
so it does not wait for the defined response before hanging up the call.
DAHDISendCallreroutingFacility always returns nonzero to hangup the call.
I think it needs to have a built in wait(5) after sending the request
before returning to accommodate switches like yours that need time to
process the request.

How about Disconnect message after facility message ? I changed parameter: 
|cfb|cfnr|unknown but always Asterisk send Disconnect message with 
Subscriber Absent cause. DAHDISendCallreroutingFacility sends Disconnect 
message?
maybe this cause is why LX don't do anything. 

Please file a bug report on this so it does not get lost.
https://issues.asterisk.org/jira
Thanks.
ok I will do but I am not sure about add always Cause value=Subscriber Absent 
to bug report or not.

Richard

--
_
-- 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
--
_
-- 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

[asterisk-users] Call Deflection with DAHDISendCallreroutingFacility

2012-04-09 Thread Mehdi Shirazi
Hi 
I want to use Call Deflection with DAHDISendCallreroutingFacility Application.
I use Asterisk:1.8.11 libpri:1.4.12 facilityenable=yes transfer=yes
 my dialplan is like this:

[Call-Deflection]
exten = 66,n,Proceeding()
exten = 66,1,wait(5)
exten = 66,n,DAHDISendCallreroutingFacility(88050048,8262000,cfb)
exten = 66,n,wait(5)
exten = 66,n,Hangup()

after Executing DAHDISendCallreroutingFacility(DAHDI/i1/2188602827-3, 
88050048,8262000,cfb) 
in new stack  == Spawn extension (Call-Deflection, 66, 3) exited non-zero on 
'DAHDI/i1/2188602827-3'

Asterisk exit immediately and last wait(5) won't Excute.

I used another PRI Analyzer and this is message sequence:

Asterisk    --setup--    Local exchange
Asterisk  --proceeding-- 
 Local exchange
Asterisk   --facility--  Local exchange
Asterisk   --Disconnect(Subscriber Absent)-- Local exchange
Asterisk    --Release-- Local exchange
Asterisk    --Release complete-- Local exchange

from the Analyzer report Asterisk send Disconnect immediately after Facility 
message
(don't wait for response from Local exchange).
please help me solve this problem

Regards
M.Shirazi
--
_
-- 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] DAHDISendCallreroutingFacility

2012-03-12 Thread Mehdi Shirazi
for using this application it is enough to put this in 
chan_dahdi.conf  ?
...

context=incoming
facilityenable=yes
transfer=yes

--- On Sat, 3/10/12, Karsten Wemheuer k...@gmx.de wrote:

From: Karsten Wemheuer k...@gmx.de
Subject: Re: [asterisk-users] DAHDISendCallreroutingFacility
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com
Date: Saturday, March 10, 2012, 12:05 PM

Hi,

Am Samstag, den 10.03.2012, 08:42 -0800 schrieb Mehdi Shirazi:
 Hi
 I installed Asterisk 1.8.7 with CD ISO(Elastix 2.2)
 I want to use DAHDISendCallreroutingFacility Application on a PRI link(LIBPRI 
 Already installed).
 according to
 https://wiki.asterisk.org/wiki/display/AST/New+in+1.8
 Asterisk 1.8 include this application but I cannot see it with core show 
 applications
 Do I need to install mISDN or other modules for using that ?
 
 Regards
 M.Shirazi

No You don't need mISDN or other modules. DAHDISendCallreroutingFacility
is part of chan_dahdi. But as far as I know Asterisk 1.8.7 had problems
with this application. Try using at least 1.8.8 (1.8.10.0 is currently
the stable version of 1.8 release).

HTH,
Karsten



--
_
-- 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
--
_
-- 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

[asterisk-users] DAHDISendCallreroutingFacility

2012-03-10 Thread Mehdi Shirazi
Hi
I installed Asterisk 1.8.7 with CD ISO(Elastix 2.2)
I want to use DAHDISendCallreroutingFacility Application on a PRI link(LIBPRI 
Already installed).
according to
https://wiki.asterisk.org/wiki/display/AST/New+in+1.8
Asterisk 1.8 include this application but I cannot see it with core show 
applications
Do I need to install mISDN or other modules for using that ?

Regards
M.Shirazi







--- On Mon, 2/27/12, Richard Mudgett rmudg...@digium.com wrote:

From: Richard Mudgett
 rmudg...@digium.com
Subject: Re: Libpri
To: Mehdi Shirazi mahdi_shir...@yahoo.com
Date: Monday, February 27, 2012, 11:55 AM

 Is it possible to do this with Libpri:
 
 exten = _X.,1,Set(_SS7_LSPI_IDENT=ON)
 exten = _X.,n,Set(_SS7_RLT_ON=YES)
 exten = _X.,n,Answer()
 exten = _X.,n,Playback(demo-congrats)
 
 Do your database lookup here and than redirect the call
 back to the ss7 switch based on your lookup
 results
 and drop out of the media path
 
 exten = _X.,n,Dial(DAHDI/r2/8005551212,30)
 exten = _X.,n,Hangup()

You really should ask this on the asterisk-users mailing list.
You have not specified the Asterisk version you are using.

For Asterisk v1.8, the euroisdn(ETSI) switchtype can transfer
the call back to the switch with ECT.  Other switches use the
term 2BCT.  For ETSI and QSIG switchtypes, you could also
deflect the call before you answer the call with the
DAHDISendCallreroutingFacility application.

exten = _X.,1,Proceeding()
same = n, Do your database lookup to decide what to do with the call.
same = n,DAHDISendCallreroutingFacility(destination-5551212, 
original-my-number, cfu|cfb|cfnr|unknown)
same = n,Hangup()

Richard--
_
-- 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