[prev in list] [next in list] [prev in thread] [next in thread]
List: asterisk-users
Subject: Re: [asterisk-users] how to join 2 channels using AGI/AMI
From: nik600 <nik600 () gmail ! com>
Date: 2016-06-30 22:27:29
Message-ID: CA+5uZNNYQ97nz719LGL0G-LNzvZDrvu1i9+6yYiw+aacYMaCBw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
to simplify the scenario, i've changed some settings to create a more
simple test-case:
i'm using this callfile:
Channel: DAHDI/g0/{mycellnumber}
Context:mytestdtmf
Extension:01
Priority:1
and this is my dialplan:
[mytestdtmf]
exten => 01,1,Answer
exten => 01,n,Read(digito,,1)
exten => 01,n,SayDigits(${digito})
Any idea?
2016-07-01 0:13 GMT+02:00 nik600 <nik600@gmail.com>:
> i've tried rfc2833,inband and info having the same behaviour in all
> situation.
>
> 2016-06-30 23:53 GMT+02:00 nik600 <nik600@gmail.com>:
>
>> sorry for top-posting, the two topics started with 2 different reason
>> subject, but then we finished on the same problem.
>>
>> btw,the 2 show channel are reported above:
>>
>> the channel with DTMF working
>>
>> kcenter*CLI> core show channel SIP/pbx2-000004b9
>> -- General --
>> Name: SIP/pbx2-000004b9
>> Type: SIP
>> UniqueID: 1467323106.1275
>> Caller ID: xxxx
>> Caller ID Name: xxxx
>> DNID Digits: yyyy
>> Language: en
>> State: Up (6)
>> Rings: 0
>> NativeFormats: 0x4 (ulaw)
>> WriteFormat: 0x4 (ulaw)
>> ReadFormat: 0x4 (ulaw)
>> WriteTranscode: No
>> ReadTranscode: No
>> 1st File Descriptor: 29
>> Frames in: 325
>> Frames out: 44
>> Time to Hangup: 0
>> Elapsed Time: 0h0m6s
>> Direct Bridge: <none>
>> Indirect Bridge: <none>
>> -- PBX --
>> Context: c_Queues
>> Extension: 01
>> Priority: 1
>> Call Group: 0
>> Pickup Group: 0
>> Application: Read
>> Data: RESPONSE,beep,1,s,3,5
>> Blocking in: ast_waitfor_nandfds
>>
>>
>> the channel with DTMF not working:
>>
>> kcenter*CLI> core show channel Local/user1@c_Queues-5d47;1
>> -- General --
>> Name: Local/user1@c_Queues-5d47;1
>> Type: Local
>> UniqueID: 1467323176.1277
>> Caller ID: zzz
>> Caller ID Name: zzz
>> DNID Digits: (N/A)
>> Language: en
>> State: Ringing (5)
>> Rings: 0
>> NativeFormats: 0x4 (ulaw)
>> WriteFormat: 0x4 (ulaw)
>> ReadFormat: 0x4 (ulaw)
>> WriteTranscode: No
>> ReadTranscode: No
>> 1st File Descriptor: -1
>> Frames in: 1
>> Frames out: 0
>> Time to Hangup: 0
>> Elapsed Time: 0h0m13s
>> Direct Bridge: <none>
>> Indirect Bridge: <none>
>> -- PBX --
>> Context: c_Queues
>> Extension: 01
>> Priority: 1
>> Call Group: 0
>> Pickup Group: 0
>> Application: AppQueue
>> Data: (Outgoing Line)
>> Blocking in: ast_waitfor_nandfds
>>
>> the only difference i see is the "1st File Descriptor" pointing to -1
>>
>> 2016-06-30 23:29 GMT+02:00 Steve Edwards <asterisk.org@sedwards.com>:
>>
>>> Please don't top post.
>>>
>>> On Thu, 30 Jun 2016, nik600 wrote:
>>>
>>> this is the point, and the strange thing:DTMF is set to rfc2833, but is
>>>> working both on incoming and outgoing calls, it is not working only on
>>>> calls generated with the Originate AMI command, or with the queue member
>>>> that point to Local dialplan, as you suggested
>>>>
>>>
>>> Does 'show channel' on a leg originated by a handset differ from a leg
>>> originated by AMI?
>>>
>>> --
>>> Thanks in advance,
>>> -------------------------------------------------------------------------
>>> Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867
>>> PST
>>> https://www.linkedin.com/in/steve-edwards-4244281
>>> --
>>> _____________________________________________________________________
>>> -- 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
>>>
>>
>>
>>
>> --
>> /*************/
>> nik600
>> http://www.kumbe.it
>>
>
>
>
> --
> /*************/
> nik600
> http://www.kumbe.it
>
--
/*************/
nik600
http://www.kumbe.it
[Attachment #5 (text/html)]
<div dir="ltr">to simplify the scenario, i've changed some settings to create a \
more simple test-case:<div><br></div><div>i'm using this \
callfile:</div><div><br></div><div><div>Channel: \
DAHDI/g0/{mycellnumber}<br></div><div>Context:mytestdtmf</div><div>Extension:01</div><div>Priority:1</div><div><br></div><div>and \
this is my dialplan:</div><div><br></div><div><div>[mytestdtmf]</div><div><br></div><div>exten \
=> 01,1,Answer</div><div>exten => \
01,n,Read(digito,,1)</div><div>exten => \
01,n,SayDigits(${digito})</div></div><div><br></div><div>Any \
idea?</div><div><br></div></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">2016-07-01 0:13 GMT+02:00 nik600 <span dir="ltr"><<a \
href="mailto:nik600@gmail.com" \
target="_blank">nik600@gmail.com</a>></span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
dir="ltr">i've tried rfc2833,inband and info having the same behaviour in all \
situation.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">2016-06-30 23:53 GMT+02:00 nik600 <span dir="ltr"><<a \
href="mailto:nik600@gmail.com" \
target="_blank">nik600@gmail.com</a>></span>:<br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
dir="ltr">sorry for top-posting, the two topics started with 2 different reason \
subject, but then we finished on the same problem.<div><br></div><div>btw,the 2 show \
channel are reported above:</div><div><br></div><div>the channel with DTMF \
working</div><div><br></div><div><div>kcenter*CLI> core show channel \
SIP/pbx2-000004b9 </div><div> -- General --</div><div> Name: \
SIP/pbx2-000004b9</div><div> Type: SIP</div><div> UniqueID: \
1467323106.1275</div><div> Caller ID: xxxx</div><div> Caller ID Name: \
xxxx</div><div> DNID Digits: yyyy</div><div> Language: en</div><div> \
State: Up (6)</div><div> Rings: 0</div><div> NativeFormats: 0x4 \
(ulaw)</div><div> WriteFormat: 0x4 (ulaw)</div><div> ReadFormat: 0x4 \
(ulaw)</div><div> WriteTranscode: No</div><div> ReadTranscode: No</div><div>1st \
File Descriptor: 29</div><div> Frames in: 325</div><div> Frames out: \
44</div><div> Time to Hangup: 0</div><div> Elapsed Time: 0h0m6s</div><div> \
Direct Bridge: <none></div><div>Indirect Bridge: <none></div><div> -- \
PBX --</div><div> Context: c_Queues</div><div> Extension: \
01</div><div> Priority: 1</div><div> Call Group: 0</div><div> \
Pickup Group: 0</div><div> Application: Read</div><div> Data: \
RESPONSE,beep,1,s,3,5</div><div> Blocking in: \
ast_waitfor_nandfds</div></div><div><br></div><div><br></div><div>the channel with \
DTMF not working:</div><div><br></div><div><div>kcenter*CLI> core show channel \
Local/user1@c_Queues-5d47;1 </div><div> -- General --</div><div> \
Name: Local/user1@c_Queues-5d47;1 </div><div> Type: Local</div><div> \
UniqueID: 1467323176.1277</div><div> Caller ID: zzz</div><div> Caller ID \
Name: zzz</div><div> DNID Digits: (N/A)</div><div> Language: \
en</div><div> State: Ringing (5)</div><div> Rings: \
0</div><div> NativeFormats: 0x4 (ulaw)</div><div> WriteFormat: 0x4 \
(ulaw)</div><div> ReadFormat: 0x4 (ulaw)</div><div> WriteTranscode: \
No</div><div> ReadTranscode: No</div><div>1st File Descriptor: -1</div><div> \
Frames in: 1</div><div> Frames out: 0</div><div> Time to Hangup: 0</div><div> \
Elapsed Time: 0h0m13s</div><div> Direct Bridge: <none></div><div>Indirect \
Bridge: <none></div><div> -- PBX --</div><div> Context: \
c_Queues</div><div> Extension: 01</div><div> Priority: 1</div><div> \
Call Group: 0</div><div> Pickup Group: 0</div><div> Application: \
AppQueue</div><div> Data: (Outgoing Line)</div><div> Blocking \
in: ast_waitfor_nandfds</div></div><div><br></div><div>the only difference i see is \
the "1st File Descriptor" pointing to -1</div></div><div \
class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-06-30 23:29 GMT+02:00 \
Steve Edwards <span dir="ltr"><<a href="mailto:asterisk.org@sedwards.com" \
target="_blank">asterisk.org@sedwards.com</a>></span>:<br></div></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div>Please don't top post.<span><br> <br>
On Thu, 30 Jun 2016, nik600 wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> this is the point, and the strange thing:DTMF is set to \
rfc2833, but is working both on incoming and outgoing calls, it is not working only \
on calls generated with the Originate AMI command, or with the queue member that \
point to Local dialplan, as you suggested<br> </blockquote>
<br></span>
Does 'show channel' on a leg originated by a handset differ from a leg \
originated by AMI?<span><font color="#888888"><br> <br>
-- <br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com" \
target="_blank">sedwards@sedwards.com</a> Voice: <a \
href="tel:%2B1-760-468-3867" value="+17604683867" target="_blank">+1-760-468-3867</a> \
PST<br> <a href="https://www.linkedin.com/in/steve-edwards-4244281" rel="noreferrer" \
target="_blank">https://www.linkedin.com/in/steve-edwards-4244281</a></font></span><br></div></div><span>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" \
rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br> New to \
Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" rel="noreferrer" \
target="_blank">http://www.asterisk.org/hello</a><br> <br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" \
rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></span></blockquote></div><span><br><br \
clear="all"><div><br></div>-- <br><div \
data-smartmail="gmail_signature">/*************/<br>nik600<br><a \
href="http://www.kumbe.it" target="_blank">http://www.kumbe.it</a></div> \
</span></div> </blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
data-smartmail="gmail_signature">/*************/<br>nik600<br><a \
href="http://www.kumbe.it" target="_blank">http://www.kumbe.it</a></div> </div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature" \
data-smartmail="gmail_signature">/*************/<br>nik600<br><a \
href="http://www.kumbe.it" target="_blank">http://www.kumbe.it</a></div> </div>
--
_____________________________________________________________________
-- 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic