[asterisk-users] Remote party ID - sort of working...

Richard Mudgett rmudgett at digium.com
Wed Jul 18 12:54:01 CDT 2012


> > 
> > exten => 123,1,Verbose(1,Test)
> > exten => 123,n,Set(CONNECTEDLINE(number,i)="555-555-5555")
> > exten => 123,n,Set(rclidname="TestingB <123-444-5555>")
> 
> This line is just setting an ordinary channel variable.
> What do you think is supposed to use this value?
> 
> > exten => 123,n,Set(CONNECTEDLINE(pres)=allowed)
> > exten => 123,n,Set(CONNECTEDLINE(name,i)="Testing")
> 
> Please read about usage of the ,i in [1].  If anything you should
> have the ,i on *all* of the CONNECTEDLINE lines *except* the last
> one before a Dial.
> 
> > exten => 123,n,Set(CONNECTEDLINE(pres)=allowed)
> > exten => 123,n,Dial(SIP/joesmithpolycomphone,20)
> 
> Since you are not using the 'I' option on Dial here, your preset
> CONNECTEDLINE information is being overwritten by what is sent by
> SIP/joesmithpolycomphone when it answers.
> 
> > exten => 123,n,Hangup()
> 
> [1]
> https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information

> Why would you NOT want the connectedline info sent immediately?

So you don't have the channel driver's protocol needlessly
generating update traffic on partial information.  Have the
protocol update the whole party ID information at once instead
of piecemeal.  Depending upon the channel protocol involved,
connected line updates look like call transfers to the peer.

Richard



More information about the asterisk-users mailing list