bleow dial plan shows how i call softphone node on receiving _2XXX call.
exten => _2xxx,1,Noop(${EXTEN})
same=> n,Dial(PJSIP/softphone)
every thing works ok. but there is no extension number in outgoing INVITE message:
this is the log of invite message:
INVITE sip:softphone@192.168.xx.xx:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.xx.xx:5060;rport;branch=z9hG4bKPj01593628-0283-497f-b171-86c87218b008
From: “Sasan” sip:yealink@192.168.xx.xx;tag=35ac31a1-d1a6-4f45-868e-a71fcb6ea90f
To: sip:softphone@192.168.xx.xx;ob;tag=ub3XBdE36l3AIwihvknffnUTD6prc4w8
how can i change the dial plan to get the dialed number in softphone?
Asterisk Version: 16.22.0
Thanks