[asterisk-users] Incoming SIP line does not display CallerID correctly

Lee Jenkins lee at datatrakpos.com
Fri Jan 19 14:57:02 MST 2007



Hi all,

I've just setup a sip line with Telasip and when they route the calls to 
my asterisk box, they include an extension along with the context that 
is defined in sip.conf for that DID.

At first, I couldn't figure why they were getting 404 error from my 
asterisk box, but then figured out that they are sending the call to an 
extension that matches my number with them, in the context defined in 
sip.conf.  So instead of transferring the call to say, "incoming" they 
are sending the call to incoming/5555555555 where "5555555555" is the 
sip phone number I have with them.

So, I have to account for that extension with something like this:

[incoming]
exten=>5555555555,Goto(incoming,s,1)

Thus transferring the call to the context that I want it to come in on. 
  The problem that I have is the caller ID ${CALLERID(num)} always shows 
the actual number provided by Telasip and not the actual caller id 
information.

I also have axVoice and they do not do it this way.  They simply send it 
to the context without specifying an extension.

Below is a sip packet.  The Caller ID comes through correctly on the sip 
packet by for some reason as I mentioned, Asterisk is reporting it as 
the number I have with the sip provider.

Below is the sip packet.  The "3333333333" represents my cell phone I 
was using to call into the system, which was correct.

localhost*CLI> exit
<-- SIP read from 4.79.19.56:5060:
ACK sip:myaccount at 12.224.173.123 SIP/2.0
Record-Route: <sip:4.79.19.56;ftag=as5bfea671;lr=on>
Via: SIP/2.0/UDP 4.79.19.56:5060;branch=0
Via: SIP/2.0/UDP 
4.79.19.58:5060;received=192.168.3.5;branch=z9hG4bK3f2e414e;rport=5060
From: "3333333333" <sip:3333333333 at 4.79.19.58>;tag=as5bfea671
To: <sip:rjenkins at proxy-in.telasip.com>;tag=as12b47a8d
Contact: <sip:3333333333 at 4.79.19.58>
Call-ID: 71642b1e05c56b3318e7dae651f7f987 at 4.79.19.58
CSeq: 102 ACK
User-Agent: Telasip GW3
Max-Forwards: 69
Remote-Party-ID: "3333333333" 
<sip:3333333333 at 4.79.19.58>;privacy=off;screen=no
Content-Length: 0
P-hint: proxy loose route



-- 

Warm Regards,

Lee



More information about the asterisk-users mailing list