setting up callerid

Home » Asterisk Users » setting up callerid
Asterisk Users 7 Comments

I am using Asterisk 1.6.2.5-0 running on ubuntu and I have a problem
passing called ID on calls to the PSTN

When I make a call to the PSTN the caller-Id is showing up as
IMSI310410381554227

I want the number set in the callerid field to show up.

My peer is setup as follows:

[IMSI310410381554227]

canreinvite=no

type=peer

context=openbts

callerid=4735202222

disallow=all

allow=gsm

host=dynamic

dtmfmode=info

I use the following in extensions.conf to dial:

exten => _45.,1,Dial(SIP/${EXTEN}@SS72)

Thanks,

Dave

7 thoughts on - setting up callerid

  • Tried the following but no luck:

    exten => _53.,1,Set(CALLERID(num)=4735202222)

    exten => _53.,n,Dial(SIP/${EXTEN}@SS74)

    I am still passing IMSI310410381554227 as the CALLERID.

    My peer is setup as follows:

    [IMSI310410381554227]

    canreinvite=no

    type=peer

    context=openbts

    callerid=4735202222

    disallow=all

    allow=gsm

    host=dynamic

    dtmfmode=info

    Thanks,

    Dave

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Thorsten
    Göllner
    Sent: Monday, December 13, 2010 4:44 AM

    Am 12.12.2010 20:49, schrieb dave george:

    I am using Asterisk 1.6.2.5-0 running on ubuntu and I have a problem
    passing called ID on calls to the PSTN

    When I make a call to the PSTN the caller-Id is showing up as
    IMSI310410381554227

    I want the number set in the callerid field to show up.

    My peer is setup as follows:

    [IMSI310410381554227]

    canreinvite=no

    type=peer

    context=openbts

    callerid=4735202222

    disallow=all

    allow=gsm

    host=dynamic

    dtmfmode=info

    I use the following in extensions.conf to dial:

    exten => _45.,1,Dial(SIP/${EXTEN}@SS72)

    Thanks,

    Dave

    Take a look:
    http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerID

  • Tried the following but no luck:

    exten => _53.,1,Set(CALLERID(num)=4735202222)

    exten => _53.,n,Dial(SIP/${EXTEN}@SS74)

    I am still passing IMSI310410381554227 as the CALLERID.

    My peer is setup as follows:

    [IMSI310410381554227]

    canreinvite=no

    type=peer

    context=openbts

    callerid=4735202222

    disallow=all

    allow=gsm

    host=dynamic

    dtmfmode=info

    Thanks,

    Dave

    href=”mailto:asterisk-users-bounces@lists.digium.com”>asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Thorsten
    Göllner
    Sent: Monday, December 13, 2010 4:44 AM

    Am 12.12.2010 20:49, schrieb dave george:

    I am using Asterisk 1.6.2.5-0 running on ubuntu and I have a problem
    passing called ID on calls to the PSTN

    When I make a call to the PSTN the caller-Id is showing up as
    IMSI310410381554227

    I want the number set in the callerid field to show up.

    My peer is setup as follows:

    [IMSI310410381554227]

    canreinvite=no

    type=peer

    context=openbts

    callerid=4735202222

    disallow=all

    allow=gsm

    host=dynamic

    dtmfmode=info

    I use the following in extensions.conf to dial:

    exten => _45.,1,Dial(SIP/${EXTEN}@SS72)

    Thanks,

    Dave

    Take a look:
    http://www.voip-info.org/wiki/view/Asterisk+cmd+SetCallerID

  • Dave,

    Can you capture the cli output and the sip debug of the call not doing what it’s supposed to?

    Thanks,

  • Hi Dave,

    I see you are using OpenBTS. To my understanding, OpenBTS does not
    support caller ID, so I don’t think it can work.
    But as I have the same issue as you, I’d be glad to be wrong ! 😀 Let me know.

    Regards

    Axelle

  • When I call from a mobile to mobile (both registered on OPENBTS) the correct
    caller ID is passed. That is the callerid that I set in the callerid=
    field.

    When calling from openbts to the PSTN the config header is passed.

    Thanks,
    Dave

  • Hi Dave,

    Disregard my answer. I just tested the callerid on my OpenBTS and it
    worked. So the problem you encounter must be elsewhere.

    Regards

    Axelle