Help with PSTN caller ID presentation to SIP client

Status
Not open for further replies.

Borsoock

Joined
Apr 8, 2007
Messages
149
Reaction score
0
Hello
OK, I give up... For last 2 hours I've been trying to set up Linksys SPA-3102 and 3CX for sending PSTN Caller ID to a SIP client. Unfortunatelly all I can see on the SIP phone is gateway ID or gateway IP address, no CID from PSTN. Maybe I'm missing something so, can somebody help me with appropriate settings please?

Thanks in advance

Marcin
 
Hi,

Can you make a wireshark (or ethereal) capture of incoming call from PSTN gateway? Than I can try to answer your question, or make necessary fixes for next build.
 
Thanks Archie.

I'll prepare dump, but still please advice wchich gateway advanced settings combination suppose to be correct for this purpose.

Thanks

Marcin
 
Oh, it's a difficult question for me, because i've never tried to set it up. I know that ITFarmer has prepared detailed manulal on setting up that device. I believe it was posted on the forum somewhere. Or PM him for your question.
 
I have prepared one too recently. but found a small error in it and have to update the faq in the website. Indeed IT farmer has created one too way before anyone of us even tried to do such a thing.

Just remember that if you are going to use both the fxo and fxs interfaces that they have to be configured on different ports (which I forgot to mention in my faq and thats why i have to update it).
http: //www.3cx.com/voip-gateways/linksys-3102/ - NO LONGER AVAILABLE
 
Hi Costas
I use FXO only. With settings from ITfarmer's website I can see only gateway IP address on SIP clients (tested with x-lite and Avaya 6425). Still no PSTN CID forward :( . I'll prepare ethereal dump for you in the near future.

Thanks

Marcin
 
I have struggled a lot to get the PSTN caller id but in the end i got it i.e the telephone number of the caller. If you have configured the linksys 3102 gateway and able to inbound and outbound calls as you told you are getting the gateway ID or IP. If you are getting ID of the gateway that would be something like 103 which is in fact extention you have created. Please follow these steps .

Step 1. Open linksys 3102 web administrator. Click on Admin Login and then click advance now click on PSTN. Under PSTN-To-VoIP Gateway Setup you will see PSTN CID For VoIP CID: if it is no make it yes.

Step 2. Now logon to 3CX and click on Server Status. You will see the activity of the 3CX. Now dial your gateway line, Please dont worry if you are not getting the in-coming call. No try to concentrate on the activity log. It will give you some error trace like give under. Here is key to door that we will try to get the caller ID of the in coming call from PSTN. Look in [email protected]:5061 I have 0515598889 as my caller number and 192.168.0.230 is ip of linksys gateway and 5061 is the port of the linksys 3102.

CM102001]: Authentication failed for SipReq: INVITE [email protected] tid=-9e0a8575 cseq=INVITE [email protected]:5061 / 102 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
10:00:05.988 evt::CheckAuth::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.0.230:5061;branch=z9hG4bK-9e0a8575
Max-Forwards: 70
Contact: "LinkSys103"[sip:[email protected]:5061]
To: [sip:[email protected]]
From: "LinkSys103"[sip:[email protected]];tag=598aa9c3a8cc429o1
Call-ID: [email protected]
CSeq: 102 INVITE
Expires: 240
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Proxy-Authorization: Digest username="103",realm="3CXPhoneSystem",nonce="12851413205:3a86fb7719baeb097c6424f7a8d4a17b",uri="sip:[email protected]",algorithm=MD5,response="d89a28e2e8a8b4de597d5be0e207b811"
Supported: x-sipura
User-Agent: Linksys/SPA3102-3.3.6(GW)
Content-Length: 0
Remote-Party-ID: LinkSys103 [sip:[email protected]];screen=yes;party=calling
Diversion: Gateway10001 [sip:[email protected]];reason=unconditional


Step 3. This error log given above is generated as 3CX assumes 0515598889 as sip id from the statement "sip:[email protected]" (taken from the above log). We have to Authenticate it in 3CX. In step 3 remove password from the gateway. To do this click manage in Lines in the 3CX management console. Now you will see you gateway some thing like 10000 ... click on Gateway/Provider Name, In my case it is LinksysGateway it is name given to my gateway when gateway was added. You will find Source Identification here.

there will be three rows under it.
You have to set only first row, In the SIP Field: choose-> Contact: Host Part
In Value choose -> Custom Field
Custom Value -> 192.168.0.230:5061

Now dial the call I hope you will get the Caller ID i.e. hhe telephone number of the caller.
 
Raja Adil said:
I have struggled a lot to get the PSTN caller id but in the end i got it i.e the telephone number of the caller. If you have configured the linksys 3102 gateway and able to inbound and outbound calls as you told you are getting the gateway ID or IP. If you are getting ID of the gateway that would be something like 103 which is in fact extention you have created. Please follow these steps .

Step 1. Open linksys 3102 web administrator. Click on Admin Login and then click advance now click on PSTN. Under PSTN-To-VoIP Gateway Setup you will see PSTN CID For VoIP CID: if it is no make it yes.

Step 2. Now logon to 3CX and click on Server Status. You will see the activity of the 3CX. Now dial your gateway line, Please dont worry if you are not getting the in-coming call. No try to concentrate on the activity log. It will give you some error trace like give under. Here is key to door that we will try to get the caller ID of the in coming call from PSTN. Look in [email protected]:5061 I have 0515598889 as my caller number and 192.168.0.230 is ip of linksys gateway and 5061 is the port of the linksys 3102.

CM102001]: Authentication failed for SipReq: INVITE [email protected] tid=-9e0a8575 cseq=INVITE [email protected]:5061 / 102 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings
10:00:05.988 evt::CheckAuth::not_handled [CM500002]: Unidentified incoming call. Review INVITE and adjust source identification:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.0.230:5061;branch=z9hG4bK-9e0a8575
Max-Forwards: 70
Contact: "LinkSys103"[sip:[email protected]:5061]
To: [sip:[email protected]]
From: "LinkSys103"[sip:[email protected]];tag=598aa9c3a8cc429o1
Call-ID: [email protected]
CSeq: 102 INVITE
Expires: 240
Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER
Proxy-Authorization: Digest username="103",realm="3CXPhoneSystem",nonce="12851413205:3a86fb7719baeb097c6424f7a8d4a17b",uri="sip:[email protected]",algorithm=MD5,response="d89a28e2e8a8b4de597d5be0e207b811"
Supported: x-sipura
User-Agent: Linksys/SPA3102-3.3.6(GW)
Content-Length: 0
Remote-Party-ID: LinkSys103 [sip:[email protected]];screen=yes;party=calling
Diversion: Gateway10001 [sip:[email protected]];reason=unconditional


Step 3. This error log given above is generated as 3CX assumes 0515598889 as sip id from the statement "sip:[email protected]" (taken from the above log). We have to Authenticate it in 3CX. In step 3 remove password from the gateway. To do this click manage in Lines in the 3CX management console. Now you will see you gateway some thing like 10000 ... click on Gateway/Provider Name, In my case it is LinksysGateway it is name given to my gateway when gateway was added. You will find Source Identification here.

there will be three rows under it.
You have to set only first row, In the SIP Field: choose-> Contact: Host Part
In Value choose -> Custom Field
Custom Value -> 192.168.0.230:5061

Now dial the call I hope you will get the Caller ID i.e. hhe telephone number of the caller.

Brilliant!! Thanks for share!
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,884
Messages
589,543
Members
164,743
Latest member
aa1