Tobias Unsleber
2007-Jan-10 02:06 UTC
[asterisk-users] caller id not transferred to SIP device
Hello,
I'm wondering why asterisk is not transferring the callerid to the sip
device.
Scenario as follows:
sangoma <---> zaptel <---> asterisk <---> sip <--->
SIP-Device
zaptel is reporting the callerid, but in the sip packages the sip-address
shows unknown as user part, as this sip debug package shows:
Executing Dial("Zap/62-1", "SIP/123|25|d") in new stack
We're at 172.31.253.80 port 10460
Adding codec 0x2 (gsm) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
13 headers, 12 lines
Reliably Transmitting (no NAT) to 192.168.11.47:2075:
INVITE sip:123@192.168.11.47:2075;line=gv8x1x75 SIP/2.0
Via: SIP/2.0/UDP 172.31.253.80:5060;branch=z9hG4bK5e96f554;rport
From: "Unknown" <sip:Unknown@172.31.253.80>;tag=as14f7c144
To: <sip:123@192.168.11.47:2075;line=gv8x1x75>
Contact: <sip:Unknown@172.31.253.80>
Call-ID: 781dc21a7047817005024d9b4f2d2b62@172.31.253.80
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 10 Jan 2007 08:58:09 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 265
------
Versions:
asterisk 1.2.14
zaptel 1.2.12
linux 2.6.15.7
asterisk addons 1.2.4
----
SIP-Device:
I set CallingPress to "allowed" also, no effect. I think this is for
the
outgoing caller id presentation. (?)
SIP device config(sip show peer)
* Name : 123
Secret : <Set>
MD5Secret : <Not set>
Context : wahlplan_international
Subscr.Cont. : <Not set>
Language : de
AMA flags : Unknown
CallingPres : Presentation Allowed, Not Screened
Callgroup : 5
Pickupgroup : 5
Mailbox : 123
VM Extension : asterisk
LastMsgsSent : 0/0
Call limit : 0
Dynamic : Yes
Callerid : "" <>
Expire : 3010
Insecure : no
Nat : RFC3581
ACL : No
CanReinvite : No
PromiscRedir : No
User=Phone : No
Trust RPID : No
Send RPID : No
DTMFmode : rfc2833
LastMsg : 0
ToHost :
Addr->IP : 192.168.11.47 Port 2069
Defaddr->IP : 0.0.0.0 Port 2069
Def. Username: 123
SIP Options : (none)
Codecs : 0x8000e (gsm|ulaw|alaw|h263)
Codec Order : (none)
Status : Unmonitored
Useragent : snom360/6.5.1
Reg. Contact : sip:123@192.168.11.47:2069;line=h9dxgpnb
--
Tobias Unsleber
VoIP Consultant
focus::voip GmbH
http://www.focus-voip.de
Hausadresse:
Robert-Koch-Strasse 9
D-64331 weiterstadt
Postfach 10 01 21
D-64201 Darmstadt
Tel.: +49 61 51 / 90 67 - 256
FAX : +49 61 51 / 90 67 - 299
>From: Tobias Unsleber <tobias.unsleber@focus-voip.de> > >Hello, > >I'm wondering why asterisk is not transferring the callerid to the sip >device. >Scenario as follows: > >sangoma <---> zaptel <---> asterisk <---> sip <---> SIP-Device > >zaptel is reporting the callerid, but in the sip packages the sip-address >shows unknown as user part, as this sip debug package shows:Have you set up a "callerid" for your Asterisk box? (Could be anything.) I got "Asterisk" as caller ID before setting callerid. Afterward (as I recall the sequence of events) I get caller's ID. Yuan Liu>Executing Dial("Zap/62-1", "SIP/123|25|d") in new stack >We're at 172.31.253.80 port 10460 >Adding codec 0x2 (gsm) to SDP >Adding codec 0x4 (ulaw) to SDP...>-- >Tobias Unsleber >VoIP Consultant