Martin Blatter
2004-Jul-26 10:00 UTC
[Asterisk-Users] Display and UUS IEs on PRI - Q.931 question
During an outgoing call on the PRI (E1, Euro ISDN) my provider regularly sends INFORMATION type messages containing IE 40 (Display) elements with the current cost of the call in progress (see below for example). The same Display IE is also transmitted during a RELEASE. I would like to pass this (very useful, IMHO) information to the calling device (i.e. a SIP phone) using the SendText() command. How can I get this information out of libpri and into Asterisk? Also, during setup of a call, we sometimes get IE 45 (User-to-User) containing the name of the caller. This information could be used as the "Name" part of the caller ID. How can I get and set this information within Asterisk? Thanks for any pointers. regards martin < Message type: INFORMATION (123) < [< [28< [28 08< [28 08 46< [28 08 46 52< [28 08 46 52 2e< [28 08 46 52 2e 20< [28 08 46 52 2e 20 30< [28 08 46 52 2e 20 30 2e< [28 08 46 52 2e 20 30 2e 32< [28 08 46 52 2e 20 30 2e 32 30< [28 08 46 52 2e 20 30 2e 32 30] < Display (len= 8) [ FR. 0.20 ] -- Processing IE 40 (cs0, Display) -- Martin A. Blatter | lic. oec. publ. Wirtschaftsinformatiker | IT-Leiter OLMeRO AG | Europastrasse 30 | CH-8152 Glattbrugg | Switzerland blatter@olmero.ch | phone +41 44 200 44 50
Klaus-Peter Junghanns
2004-Jul-26 10:15 UTC
[Asterisk-Users] Display and UUS IEs on PRI - Q.931 question
Hi, you can take a look at how bristuff does this (it only has to be enabled in chan_zap to actually forward the display IE, uncomment line 8007). Latest version of bristuff is 0.1.0-RC2g which works with todays CVS versions. You can find it at www.junghanns.net/asterisk/ best regards Klaus -- Klaus-Peter Junghanns CEO, CTO Junghanns.NET GmbH Breite Strasse 13a - 12167 Berlin - Germany fon: (de) +49 30 79705390 fon: (uk) +44 870 1244692 fax: (de) +49 30 79705391 iaxtel: 1-700-157-8753 http://www.Junghanns.NET/asterisk/> At 7:00 PM +0200 on 7/26/04, Martin Blatter wrote: > >During an outgoing call on the PRI (E1, Euro ISDN) my provider regularly > >sends INFORMATION type messages containing IE 40 (Display) elements with > >the current cost of the call in progress (see below for example). > >The same Display IE is also transmitted during a RELEASE. > > > >I would like to pass this (very useful, IMHO) information to the calling > >device (i.e. a SIP phone) using the SendText() command. > > > >How can I get this information out of libpri and into Asterisk? > > > >Also, during setup of a call, we sometimes get IE 45 (User-to-User) > >containing the name of the caller. This information could be used > >as the "Name" part of the caller ID. How can I get and set this > >information within Asterisk? > > > >Thanks for any pointers. > > > >regards > >martin > > > >< Message type: INFORMATION (123) > >< [< [28< [28 08< [28 08 46< [28 08 46 52< [28 08 46 52 2e< [28 08 > >46 52 2e 20< [28 08 46 52 2e 20 30< [28 08 46 52 2e 20 30 2e< [28 08 > >46 52 2e 20 30 2e 32< [28 08 46 52 2e 20 30 2e 32 30< [28 08 46 52 > >2e 20 30 2e 32 30] > >< Display (len= 8) [ FR. 0.20 ] > >-- Processing IE 40 (cs0, Display) > > > >-- > >Martin A. Blatter | lic. oec. publ. Wirtschaftsinformatiker | IT-Leiter > >OLMeRO AG | Europastrasse 30 | CH-8152 Glattbrugg | Switzerland > >blatter@olmero.ch | phone +41 44 200 44 50 > > > This is not an exact answer to your question, but might point you in > the right direction if you wanted to make your own patch for > incorporating UUI q.931 information into your system. If you make a > patch, please submit it to http://bugs.digium.com/ since there are > others who would find this useful. > > http://lists.digium.com/pipermail/asterisk-dev/2003-September/001751.html > > JT > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
John Todd
2004-Jul-26 10:42 UTC
[Asterisk-Users] Display and UUS IEs on PRI - Q.931 question
At 7:00 PM +0200 on 7/26/04, Martin Blatter wrote:>During an outgoing call on the PRI (E1, Euro ISDN) my provider regularly >sends INFORMATION type messages containing IE 40 (Display) elements with >the current cost of the call in progress (see below for example). >The same Display IE is also transmitted during a RELEASE. > >I would like to pass this (very useful, IMHO) information to the calling >device (i.e. a SIP phone) using the SendText() command. > >How can I get this information out of libpri and into Asterisk? > >Also, during setup of a call, we sometimes get IE 45 (User-to-User) >containing the name of the caller. This information could be used >as the "Name" part of the caller ID. How can I get and set this >information within Asterisk? > >Thanks for any pointers. > >regards >martin > >< Message type: INFORMATION (123) >< [< [28< [28 08< [28 08 46< [28 08 46 52< [28 08 46 52 2e< [28 08 >46 52 2e 20< [28 08 46 52 2e 20 30< [28 08 46 52 2e 20 30 2e< [28 08 >46 52 2e 20 30 2e 32< [28 08 46 52 2e 20 30 2e 32 30< [28 08 46 52 >2e 20 30 2e 32 30] >< Display (len= 8) [ FR. 0.20 ] >-- Processing IE 40 (cs0, Display) > >-- >Martin A. Blatter | lic. oec. publ. Wirtschaftsinformatiker | IT-Leiter >OLMeRO AG | Europastrasse 30 | CH-8152 Glattbrugg | Switzerland >blatter@olmero.ch | phone +41 44 200 44 50This is not an exact answer to your question, but might point you in the right direction if you wanted to make your own patch for incorporating UUI q.931 information into your system. If you make a patch, please submit it to http://bugs.digium.com/ since there are others who would find this useful. http://lists.digium.com/pipermail/asterisk-dev/2003-September/001751.html JT