<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [asterisk-users] Re: DUNDi with SIP</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=337061910-04082006><FONT face=Arial 
color=#0000ff size=2>Easy, you change the fromuser=dundisip2 line to 
fromuser=dundisip1.&nbsp; You're just matching the destination peer (dunsip2, 
labpbx2.ipt.oneeighty.com) and sending the configured 
fromuser.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=337061910-04082006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=337061910-04082006><FONT face=Arial 
color=#0000ff size=2>- Brad</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com 
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Douglas 
Garstang<BR><B>Sent:</B> Thursday, August 03, 2006 4:18 PM<BR><B>To:</B> 
Asterisk Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> RE: 
[asterisk-users] Re: DUNDi with SIP<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=871151620-03082006>*scream* I just got it to work with 
this...</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=871151620-03082006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2>180netsip =&gt; 
global_dundi_local,0,SIP,dundisip1/${NUMBER},nopartial<BR>180netsip =&gt; 
global_dundi_local,0,SIP,dundisip2/${NUMBER},nopartial</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff 
size=2>[dundisip1]<BR>type=friend<BR>secret=password<BR>insecure=very<BR>context=global_dundi_local<BR>host=labpbx1.ipt.oneeighty.com<BR>qualify=no<BR>username=dundisip1<BR>fromuser=dundisip1</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff 
size=2>[dundisip2]<BR>type=friend<BR>secret=password<BR>insecure=very<BR>context=global_dundi_local<BR>host=labpbx2.ipt.oneeighty.com<BR>qualify=no<BR>username=dundisip2<BR>fromuser=dundisip2<BR></FONT></DIV>
<DIV><SPAN class=871151620-03082006><FONT face=Arial color=#0000ff size=2>It 
works... but the first system sends dundisip2 as the authid, not dundisip1. I 
assume that's because it matches the host labpbx2. Well, it should be sending 
dundisip1.... how can I get it to do that?</FONT></SPAN></DIV>
<DIV><SPAN class=871151620-03082006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=871151620-03082006><FONT face=Arial color=#0000ff 
size=2>Doug.</FONT></SPAN></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Watkins, Bradley 
  [mailto:Bradley.Watkins@compuware.com]<BR><B>Sent:</B> Thursday, August 03, 
  2006 2:06 PM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial 
  Discussion<BR><B>Subject:</B> RE: [asterisk-users] Re: DUNDi with 
  SIP<BR><BR></FONT></DIV><!-- Converted from text/plain format -->
  <P><FONT size=2>I forget if this does what you want, but try adding a fromuser 
  setting to yoyr peer entries.<BR><BR>- Brad<BR><BR>&nbsp;-----Original 
  Message-----<BR>From: &nbsp; Douglas Garstang [<A 
  href="mailto:dgarstang@oneeighty.com">mailto:dgarstang@oneeighty.com</A>]<BR>Sent:&nbsp;&nbsp; 
  Thu Aug 03 15:58:50 2006<BR>To:&nbsp;&nbsp;&nbsp;&nbsp; Asterisk Users Mailing 
  List - Non-Commercial 
  Discussion<BR>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RE: 
  [asterisk-users] Re: DUNDi with SIP<BR><BR>Brad...<BR><BR>Here's the INVITE 
  that the second asterisk box receives from<BR>the first Asterisk box, after 
  the second asterisk box sends a<BR>Proxy auth message to the first. The first 
  sends the dundisip<BR>userid, but for some reason the second asterisk box 
  is<BR>matching it against the From: 3254101 address. Do I need more<BR>than 
  just the two sip.conf entries, dundisip, and dundisip2<BR>as 
  type=peer?<BR><BR>Anyone?<BR><BR>Doug.<BR><BR>&gt;<BR>&gt; &lt;-- SIP read 
  from xxx.yyy.142.162:5060:<BR>&gt; INVITE 
  sip:9220370@labpbx2.ipt.twoeighty.com SIP/2.0<BR>&gt; Via: SIP/2.0/UDP 
  xxx.yyy.142.162:5060;branch=z9hG4bK047028fa;rport<BR>&gt; From: "Chocolate 
  Chip" &lt;sip:3254101@xxx.yyy.142.162&gt;;tag=as34445cb0<BR>&gt; To: 
  &lt;sip:9220370@labpbx2.ipt.twoeighty.com&gt;<BR>&gt; Contact: 
  &lt;sip:3254101@xxx.yyy.142.162&gt;<BR>&gt; Call-ID: 
  7ca53bec20139d6a305b54936921b0ab@xxx.yyy.142.162<BR>&gt; CSeq: 103 
  INVITE<BR>&gt; User-Agent: Asterisk PBX<BR>&gt; Max-Forwards: 70<BR>&gt; 
  Remote-Party-ID: "Chocolate Chip"<BR>&gt; 
  &lt;sip:3254101@xxx.yyy.142.162&gt;;privacy=off;screen=no<BR>&gt; 
  Proxy-Authorization: Digest username="dundisip2",<BR>&gt; 
  realm="ipt.twoeighty.com", algorithm=MD5,<BR>&gt; 
  uri="sip:9220370@labpbx2.ipt.twoeighty.com",<BR>&gt; nonce="012b66e9",<BR>&gt; 
  response="bd5b3881afd0bdb827915a9eeb97dcd8", opaque=""<BR>&gt; Date: Thu, 03 
  Aug 2006 19:52:26 GMT<BR>&gt; Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, 
  SUBSCRIBE, NOTIFY<BR>&gt; Content-Type: application/sdp<BR>&gt; 
  Content-Length: 269<BR>&gt;<BR>&gt; v=0<BR>&gt; o=root 16558 16559 IN IP4 
  xxx.yyy.142.162<BR>&gt; s=session<BR>&gt; c=IN IP4 xxx.yyy.142.162<BR>&gt; t=0 
  0<BR>&gt; m=audio 28454 RTP/AVP 0 18 101<BR>&gt; a=rtpmap:0 PCMU/8000<BR>&gt; 
  a=rtpmap:18 G729/8000<BR>&gt; a=fmtp:18 annexb=no<BR>&gt; a=rtpmap:101 
  telephone-event/8000<BR>&gt; a=fmtp:101 0-16<BR>&gt; a=silenceSupp:off - - - 
  -<BR>_______________________________________________<BR>--Bandwidth and 
  Colocation provided by Easynews.com --<BR><BR>asterisk-users mailing 
  list<BR>To UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp; <A 
  href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR><BR></FONT></P>The 
  contents of this e-mail are intended for the named addressee only. It contains 
  information that may be confidential. Unless you are the named addressee or an 
  authorized designee, you may not copy or use it, or disclose it to anyone 
  else. If you received it in error please notify us immediately and then 
  destroy it. </BLOCKQUOTE>The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. </BODY></HTML>