Hi all,
I have a 3CX server and it has a SIP trunk to an Asterisk. Asterisk is setup to register to the 3CX as a peer. my question is;
when a call comes into asterisk, the caller ID shows as 11000(the peer extension) and the caller name is the extnesion that is calling on the 3CX side. See below for the invite. Is it possible to get asterisk to pull the caller ID from the Remote-party-id?
Request-Line: INVITE sip:2270@192.168.10.14:5060 SIP/2.0
Method: INVITE
Request-URI: sip:2270@192.168.10.14:5060
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.10.12:5060;branch=z9hG4bK-d8754z-84470a753548743f-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:11000@192.168.10.12:5060>
To: <sip:2270@192.168.10.14:5060>
From: "nelson"<sip:11000@192.168.10.14:5060>;tag=0457d826
Call-ID: ZDc2NTBmMDdiZDMwNDNmNjIwMTlhZDEyZWQwMjBlNmQ.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 14.0.49169.513 (48654)
Content-Length: 209
Remote-Party-ID: "nelson"<sip:1001@192.168.10.12:5060>;party=calling
My 3cx peer in sip.conf is setup as:
[3cx]
type=peer
insecure=invite,port
username=11000
fromuser=11000
secret=123456
host=192.168.10.12
context=from-3cx
port=5060
dmfmode=rfc2833
canreinvite=no
nat=never
disallow=all
allow=ulaw
qualify=yes