Ok, this what you say for early media has sense :-)

 

I have tested now creating channel without originator, but unfortunately it 
still doesn’t work.

 

POST /ari/channels/create?endpoint=DAHDI%2Fr11%2F339%3A042000222&app=AriStart 
HTTP/1.1

content-type: application/json

content-length: 172

host: 127.0.0.1

connection: close

authorization: *****

 

{"variables":{"CALLERID(subaddr-valid)":"1","CALLERID(subaddr)":"042000111","CALLERID(num)":"1099","CONNECTEDLINE(subaddr-valid)":"1","CONNECTEDLINE(subaddr)":"042000111"}}

 

In PRI debug ‘Calling Party Subaddress’ is still missing:

 

PRI Span: 1 > [6c 06 21 81 31 30 39 39]

PRI Span: 1 > Calling Party Number (len= 8) [ Ext: 0  TON: National Number (2)  
NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)

PRI Span: 1 >                                 Presentation: Presentation 
allowed, User-provided, verified and passed (1)  '1099' ]

PRI Span: 1 > [70 04 80 33 33 39]

PRI Span: 1 > Called Party Number (len= 6) [ Ext: 1  TON: Unknown Number Type 
(0)  NPI: Unknown Number Plan (0)  '339' ]

PRI Span: 1 > [71 0a 80 30 34 32 30 30 30 32 32 32]

PRI Span: 1 > Called Party Subaddress (len=12) [ Ext: 1  Type: NSAP (X.213/ISO 
8348 AD2) (0)  O: 0  '042000222' ]

 

BR, Marin

 

 

Specifying an originator isn't what causes early media to work, 'nor does 
specifying callerid. Setting an originator causes inheritance to occur from the 
originator channel, and also links them for CDR responses. The use of bridges 
is what causes early media to flow.

 

-- 

Joshua C. Colp

Asterisk Technical Lead

Sangoma Technologies

Check us out at www.sangoma.com <http://www.sangoma.com>  and www.asterisk.org 
<http://www.asterisk.org> 

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to