Asterisk GOIP Outgoing Callerid Not Working

Home » Asterisk Users » Asterisk GOIP Outgoing Callerid Not Working
Asterisk Users 3 Comments

Hello

I have a simple 1 channel goip gateway (http://www.voip-info.org/wiki/view/GoIP).

The incoming and outgoing calls work with Asterisk except the caller ID for the outgoing calls. I think I have exhausted all possible options regarding setting a caller ID and it still doesn’t work. The recipients will get “private number”. The incomings caller ids are work just fine.

exten => _XXXXXXX.,1,Set(DIAL_NUMBER=…)
exten => _XXXXXXX.,2,Set(CALLERID(num)=…)
exten => _XXXXXXX.,3,Set(CALLERID(name)=…)
exten => _XXXXXXX.,4,Set(CALLERID(all)= “…” <...>)
exten => _XXXXXXX.,n,Dial(SIP/${EXTEN}@gsm1)

Also there is 1 setting in the Goip device itself to set “SIM Number” which supposed to be the phone number (http://www.geekzone.co.nz/imagessubs/581abf9ffb19bc54aedcf2e6a898643b.jpg), I tried to set that as well it doesn’t help. I also tried with and without + country prefixes, none works 🙁
I tried with Gsm caller ID anonymous enabled and disabled. I saved the config and rebooted the device after any changes just to make it 100% sure it’s applied.

Any suggestions are welcome. If anyone have full configs for this hw (outbound/inbound calls + smses) more than welcome to post it. I followed this tutorial:

https://github.com/tangaza/Tangaza/wiki/Connecting-a-GoIP-GSM-VoIP-gateway-to-an-Asterisk-AGI

Thanks!

3 thoughts on - Asterisk GOIP Outgoing Callerid Not Working

  • You could do a simple pcap trace and analyze the sip protocol to see what is actually happening. You could also look at the sample sip.conf and the file you are using to check whether the “Remote Party Identification” and possibly “P-Asserted identity” play a role in the communication with your service provider.

    jg

  • First thing to check: Are you sure that your mobile telco actually let you set your own ident on outgoing calls?

    Just because Asterisk requests a particular caller ID, does not mean that the equipment downstream is necessarily going to honour that request (or even have any way to do so; Asterisk won’t protest if you Set(CALLERID(num)=…)
    and then Dial() out through an analogue line). With many telcos, you can only ident as a number you are entitled to use. If you request a number that isn’t yours, the call will be made anonymously, in accordance with (someone’s idea of) the Principle of Least Surprise.

    And with a very few legitimate exceptions, this is entirely Right and Proper.
    Subscribers have a reasonable expectation for the number shown on the phone to be the actual number from which they are being called. If it was any different, we would have unwanted callers spoofing caller ID right, left and centre.

  • One of your jpges showed a combo box close to the bottom with something like “CID Forward Mode”. I think it said Remote Party ID, which may be part of the problem. Whatever you specify here must be supported by the pbx and I usually look at the pcap traces to check that the necessary headers actually exist.

    jg