Callee Id Over Chan_sip Trunk

Home » Asterisk Users » Callee Id Over Chan_sip Trunk
Asterisk Users 1 Comment

Hello!

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 phone,

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!

One thought on - Callee Id Over Chan_sip Trunk

  • I found very useful info here:
    https://www.voip-info.org/wiki/view/Asterisk+func+CONNECTEDLINE

    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
    box.

    (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
    box.)

    —–Ursprungligt meddelande—