Started out looking for what I thought was going to be a simple variable name,
have not found it.
Does anyone know of a variable that would contain only the SIP peer name of the
originating channel?
${CHANNEL} contains it, but it needs to be parsed and our dial plan sometimes
uses local channels, in one case it may be SIP/peer-id and in another case
local/peer-id
The peer is defined as type=friend
v1.2.13
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20061217/32b0b081/attachment.htm
Check out this page: http://www.voip-info.org/wiki/index.php?page=Asterisk+func+sipchaninfo bp On 12/17/06, Damon Estep <damon@suburbanbroadband.net> wrote:> > Started out looking for what I thought was going to be a simple variable > name, have not found it. > > > > Does anyone know of a variable that would contain only the SIP peer name > of the originating channel? > > > > ${CHANNEL} contains it, but it needs to be parsed and our dial plan > sometimes uses local channels, in one case it may be SIP/peer-id and in > another case local/peer-id > > > > The peer is defined as type=friend > > > > v1.2.13 > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061217/c78ab9ab/attachment.htm
Or this link :
<http://www.voip-info.org/wiki/index.php?page=Asterisk+Local+channels>
http://www.voip-info.org/wiki/index.php?page=Asterisk+Local+channels
se the /n parameter of ?Local/? channels.
Cheers
Greg
_____
De : asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] De la part de William Piper
Envoy? : lundi 18 d?cembre 2006 06:03
? : Asterisk Users Mailing List - Non-Commercial Discussion
Objet : Re: [asterisk-users] sip peer name channel variable?
Check out this page:
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+sipchaninfo
bp
On 12/17/06, Damon Estep <damon@suburbanbroadband.net> wrote:
Started out looking for what I thought was going to be a simple variable
name, have not found it.
Does anyone know of a variable that would contain only the SIP peer name of
the originating channel?
${CHANNEL} contains it, but it needs to be parsed and our dial plan
sometimes uses local channels, in one case it may be SIP/peer-id and in
another case local/peer-id
The peer is defined as type=friend
v1.2.13
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>
--
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20061218/b1ae976e/attachment.htm
Perfect.
I guess I could not find it on my own because I was searching for a
variable, but a function is fine with me!
Thank you,
Damon
________________________________
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of William
Piper
Sent: Sunday, December 17, 2006 10:03 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] sip peer name channel variable?
Check out this page:
http://www.voip-info.org/wiki/index.php?page=Asterisk+func+sipchaninfo
bp
On 12/17/06, Damon Estep <damon@suburbanbroadband.net> wrote:
Started out looking for what I thought was going to be a simple variable
name, have not found it.
Does anyone know of a variable that would contain only the SIP peer name
of the originating channel?
${CHANNEL} contains it, but it needs to be parsed and our dial plan
sometimes uses local channels, in one case it may be SIP/peer-id and in
another case local/peer-id
The peer is defined as type=friend
v1.2.13
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com
<http://easynews.com/> --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20061218/4cd4d588/attachment.htm