Obi110 - Phone Line CallerID not passed to Asterisk
bravo2:
I have setup Obi110 as a PSTN and Google Voice gateway on my Asterisk server. Both incoming and outgoing calls are routed as specified on both PSTN and Google Voice channels. But I have an issue with caller id.
For incoming calls through PSTN, Asterisk phones does not show the Caller ID. Instead it shows the trunk name (username) I used for Obi110 SP2 SIP registration. But for calls coming through Obi110's Google Voice channel, the caller id is displayed correctly.
Google Voice caller id started showing up after I enabled X_SpoofCallerID on ITSP Profile A, but I don't see a similar option for Physical Phone Line.
Do you know about any particular setting to get caller id working in this case?
Analog phones connected to PSTN line displays caller id correctly.
thanks
azrobert:
How are you routing inbound Line Port calls to Asterisk?
Please post your Line Port InboundCallRoute
Did you change Line Port parm RingDelay?
Edit:
If your Line inbound route is something like:
sp1(100@192.168.1.100:5060)
Change it to:
sp1(100@192.168.1.100:5060;ui=$1)
If you altered RingDelay set it back to the default setting.
bravo2:
Thanks azrobert for your help here.
Phone Line InboundCallRoute is set to sp1(1234567890) where 1234567890 is my land line number. Asterisk routes the call to ring all connected phones based on the landline number coming in. I assume, your suggestion is to add ";ui=$1 to it. Please let me know if the following is correct. I will try it out tonight and let you know.
sp1(1234567890;ui=$1)
I did not change RingDelay.
azrobert:
Do you have SP1 registered as an extension on Asterisk?
Is GV defined on SP2?
What is the GV inbound route?
The ui=$1 is only valid on a SIP URI.
I send calls to Asterisk like this:
sp1(100@192.168.1.100:5060;ui=$1)
100 = an extension
192.168.1.100:5060 is the IP address of asterisk
ui = userid (This will override the userid defined on SP1)
$1 is a variable containing the inbound callerid
You are sending the call to Asterisk with the callerid as the userid
You must setup a trunk on Asterisk with the OBi100's IP address and port number, otherwise Asterisk will reject the call.
Or I think you can just accept anonymous calls.
I don't understand why GV calls pass callerid.
Are you forwarding them the same way?
X_SpoofCallerID is defined on the outbound SP trunk.
If it fixed GV calls it should fix line port inbound calls.
When I get time I will setup routing like yours and try to reproduce your problem.
You can test my method by defining a speed dial on the OBi like:
sp1(100@192.168.1.100:5060;ui=8005551212)
Extension 100 should receive the call with callerid = 8005551212
bravo2:
Thanks azrobert for the detailed response.
I made a mistake in my last comment. I have Obi110 SP2 as an asterisk SIP extension and I should have written sp2(1234567890;ui=$1). SP1 is registered with Google Voice. I have the GV trunk setup on Asterisk too. GV calls started sending callerid after I enabled X_SpoofCallerID, it was disabled by default.
GV inbound route is SP2(gv-number), Asterisk dial plan will route the gv call to my office phone only based on gv-number.
Again, thanks for taking time to answer my question with details.
Navigation
[0] Message Index
[#] Next page