Re: [asterisk-users] how to join 2 channels using AGI/AMI

2016-07-01 Thread nik600
finally i've found that the SIP gateway i'm using is based on a DAHDI
channel and it seems that on outgoing calls, if the called leg sends some
digit they are not forwarded toAsterisk.

i'm investigating on it

2016-07-01 4:25 GMT+02:00 Steve Edwards :

> On Fri, 1 Jul 2016, nik600 wrote:
>
> i've tried rfc2833,inband and info having the same behaviour in all
>> situation.
>>
>> 2016-06-30 23:53 GMT+02:00 nik600 :
>>   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-04b9
>>  -- General --
>>Name: SIP/pbx2-04b9
>>Type: SIP
>>UniqueID: 1467323106.1275
>>   Caller ID: 
>>  Caller ID Name: 
>> DNID Digits: 
>>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: 
>> Indirect Bridge: 
>>  --   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: 
>> Indirect Bridge: 
>>  --   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
>>
>
> 1) The 'frames' counts look odd to me.
>
> 2) Does a comparison of 'sip show channel' yield any clues?
>
> 3) Can you use 'sipdtmfmode()' to set a mode that works?
>
>
> --
> Thanks in advance,
> -
> Steve Edwards   sedwa...@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
-- 
_
-- 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] CALLERID on pjsip doesn't work?

2016-07-01 Thread Joshua Colp

Andrew Ivins wrote:

Asterisk 13.8

Is CALLERID(all) supposed to wok for pjsip? When I do this:

exten => 1234,Set(CALLERID(all)="Jon Doe" <+123456789>)
same => n,Dial(PJSIP/phone123, 30)


Your exten line has no priority, is that how it is in your dialplan?

If not you can isolate things a bit further by trying the following:

Set(CALLERID(all)=Jon Doe <+123456789>)

Or individually:

Set(CALLERID(name)=Jon Doe)
Set(CALLERID(num)=+123456789)

If those don't work I'd suggest showing the console and your 
configuration for the endpoint as it's something there instead.


Cheers,

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org


--
_
-- 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] CALLERID on pjsip doesn't work?

2016-07-01 Thread Andrew Ivins
Asterisk 13.8

Is CALLERID(all) supposed to wok for pjsip? When I do this:

exten => 1234,Set(CALLERID(all)="Jon Doe" <+123456789>)
same => n,Dial(PJSIP/phone123, 30)

I expect the callerid to be as set, but is always seems to be "phone123",
the name of the endpoint.

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