<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 6, 2015 at 11:56 AM, Murthy Gandikota <span dir="ltr"><<a href="mailto:murthy64@hotmail.com" target="_blank">murthy64@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tested with X-Lite and it worked fiine. Is there some way to replace "Anonymous" with a config parameter?<br>
<br>
Thanks for your kind help<br>
<div class="hm HOEnZb"><br>
----------------------------------------<br>
> From: <a href="mailto:murthy64@hotmail.com">murthy64@hotmail.com</a><br>
> To: <a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
> Subject: Asterisk uses "Anonymous", but why?<br>
> Date: Wed, 5 Aug 2015 21:38:16 +0000<br>
</div><div class="HOEnZb"><div class="h5">><br>
> Hi All<br>
><br>
> I am trying to dial out using SIP and Vonage using the instructions :<br>
><br>
> <a href="<a href="http://www.voip-info.org/wiki/view/Asterisk+and+Vonage" rel="noreferrer" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+and+Vonage</a>" target="_blank" class="newlyinsertedlink"><a href="http://www.voip-info.org/wiki/view/Asterisk+and+Vonage" rel="noreferrer" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+and+Vonage</a></a><br>
><br>
> It was not working. So I downloaded X-PRO Vonage, the vonage sip phone, and wiresharked the port. I see that a significant difference is the vonage phone uses "Vonage User" where<br>
> asterisk uses "Anonymous". Is that the problem? The Inbound call works fine. Here is my sip.conf<br>
><br>
> [general]<br>
> context = demo ; Default context for incoming calls<br>
> bindport = 5060 ; UDP Port to bind to (SIP standard port is 5060)<br>
> bindaddr = 0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)<br>
> srvlookup = yes ; Enable DNS SRV lookups on outbound calls<br>
> context=incoming<br>
> disallow=all<br>
> allow=ulaw<br>
> allow=alaw<br>
> allow=g729<br>
> allow=g723<br>
> externip=72.220.28.226<br>
> localnet=192.168.0.0<br>
> nat=yes<br>
> maxexpiry=15<br>
> minexpiry=14<br>
> ;rtautoclear=no<br>
> ;autofallthrough=yes<br>
><br>
> register =><did>:<password>@<a href="http://69.59.234.67:5060/202" rel="noreferrer" target="_blank">69.59.234.67:5060/202</a><br>
><br>
> [vonage-out]<br>
> username=<did><br>
> type=friend<br>
> secret=<password><br>
> port=5061<br>
> nat=yes<br>
> host=69.59.234.67<br>
> fromuser=<did><br>
> fromdomain=69.59.234.67<br>
> dtmfmode=rfc2833<br>
> auth=md5<br>
> context=from-pstn<br>
> canreinvite=no<br>
><br>
> Here is the CLI command used:<br>
><br>
> ubuntu*CLI> originate SIP/732-xxx-xxxx@vonage-out application dial<br>
> == Using SIP RTP CoS mark 5<br>
> [Aug 5 14:16:49] WARNING[32891][C-00000006]: chan_sip.c:23160 handle_response_invite: Received response: "Forbidden" from '"Anonymous" <sip:<did>@<a href="http://69.59.234.67" rel="noreferrer" target="_blank">69.59.234.67</a>>;tag=as69898393'<br>
> ubuntu*CLI><br></div></div></blockquote><div><br></div><div>Use the AMI Originate action or a call file.  You can specify a caller id there.  You cannot specify one from the command line.<br><br></div><div>Richard<br></div></div><br></div></div>