[Freeswitch-users] Register->From->Caller ID
    George F. Phelps 
    GeorgePhelps at gfphelps.com
       
    Wed Jan  7 01:59:04 MSK 2015
    
    
  
My current gateway REGISTER packet has a certain FROM header, as shown
below:
 
   REGISTER sip:66.33.147.150;transport=udp SIP/2.0
   Via: SIP/2.0/UDP 54.174.255.168:5080;rport;branch=z9hG4bKKQayX8pZ5yctp
   Max-Forwards: 70
   From: <sip:+1404XXXXXXX at 66.33.147.150>;tag=FQag8jSNpac9c
   To: <sip:+1404XXXXXXX at 66.33.147.150>
   Call-ID: d3cd81b1-c9e2-4401-8126-f4e545e3ebce
   CSeq: 69955649 REGISTER
   Contact:
<sip:gw+switch2voip.us at 54.174.255.168:5080;transport=udp;gw=switch2voip.us>
   . . .
 
What do I set/change in my gateway configuration to add a character string
"1404XXXXXXX" to the FROM header?  As shown in red below:
 
   REGISTER sip:66.33.147.150;transport=udp SIP/2.0
   Via: SIP/2.0/UDP 54.174.255.168:5080;rport;branch=z9hG4bKKQayX8pZ5yctp
   Max-Forwards: 70
   From: "1404XXXXXXX" <sip:+1404XXXXXXX at 66.33.147.150>;tag=FQag8jSNpac9c
   To: <sip:+1404XXXXXXX at 66.33.147.150>
   Call-ID: d3cd81b1-c9e2-4401-8126-f4e545e3ebce
   CSeq: 69955649 REGISTER
   Contact:
<sip:gw+switch2voip.us at 54.174.255.168:5080;transport=udp;gw=switch2voip.us>
   . . .
 
I am already setting the following values (in my gateway definition):
 
   <param name="from-user" value="1404XXXXXXX"/>
   <param name="caller-id-in-from" value="true"/>
 
Thanks,
 
George
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150106/4c755827/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6528 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150106/4c755827/attachment-0001.bin 
    
    
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list