[asterisk-users] Callee id over chan_sip trunk

Sebastian Nielsen sebastian at sebbe.eu
Mon May 15 06:31:03 CDT 2017

I found very useful info here:

In other words, on the asterisk1 box, you need to fetch from SIPPEER in
extensions on asterisk1 box, and then populate connectedline.
SIPPEER is the callee leg of the call, and CONNECTEDLINE is the caller. So
if you set CONNECTEDLINE on caller (eg the asterisk2 side of the trunk
between asterisk1 and asterisk2),
You need to fetch this info in extensions for the SIPPEER on asterisk1 side
of the trunk between asterisk1 and asterisk2, and copy this info into
CONNECTEDLINE (the ISDN PRI leg of the call) on the asterisk1 box.

I guess you have a extension on asterisk2, and then call "through" asterisk1

(Otherwise, if you are "behind" asterisk2 box and call the Conf line on
asterisk1, you need to do the opposite of above, set the things on asterisk2

-----Ursprungligt meddelande-----
Från: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] För Dmitry Melekhov
Skickat: den 15 maj 2017 12:47
Till: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Ämne: [asterisk-users] Callee id over chan_sip trunk


I run two asterisks 13.13.1.

Here is how they are connected:

me---PBX--isdn pri--asterisk1--sip--asterisk2.

If I call something from asterisk1 and have in dial plan:

Let's say

exten => 6000,n,Set(CONNECTEDLINE(name)=Conf. 6000)

exten => 6000,n,Meetme(6000,TL(10800000:60000))

Then I see Conf. 6000 on my phone if I call 6000.

If I have the same code for number on asterisk2, then there is no name on my

i.e. looks like asterisk doesn't send this info, at least I don't see it in
sip debug.

Could you tell me is it possible to pass this over sip?

Thank you!

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

Check out the new Asterisk community forum at:

New to Asterisk? Start here:

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6298 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170515/dcbb27e6/attachment.bin>

More information about the asterisk-users mailing list