<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [asterisk-users] Re: DUNDi with SIP</TITLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff size=2>Didn't
work Brad. I changed fromuser to dundisip1 from dundisip2. The first Asterisk
box sends dundisip1.</FONT></SPAN></DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2>[dundisip1]</DIV></FONT></SPAN>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2>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></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=046563314-04082006><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=dundisip1</FONT></SPAN></DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff size=2>My
sip.conf now has:</FONT></SPAN></DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff size=2>but at
the other end, I get:</FONT></SPAN></DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2>Aug 4 08:33:25 NOTICE[20569]: chan_sip.c:10469
handle_request_invite: Failed to authenticate user "Chocolate Chip"
<sip:dundisip1@xxx.yyy.142.162>;tag=as1345d31c</FONT></SPAN></DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff size=2>I
assume because the call is coming in from [dundisip2]. It then looks for a
username of 'dundisip2' but it's receiving dundisip1.</FONT></SPAN></DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff size=2>No
wonder the sip.conf and iax.conf files drive me nuts! You spend all your time
going in circles!</FONT></SPAN></DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2>Doug.</FONT></SPAN></DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046563314-04082006><FONT face=Arial color=#0000ff
size=2></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> Friday, August 04, 2006
4:20 AM<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>
<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. 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> </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> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>180netsip =>
global_dundi_local,0,SIP,dundisip1/${NUMBER},nopartial<BR>180netsip =>
global_dundi_local,0,SIP,dundisip2/${NUMBER},nopartial</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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> </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> </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> -----Original Message-----<BR>From: Douglas
Garstang [<A
href="mailto:dgarstang@oneeighty.com">mailto:dgarstang@oneeighty.com</A>]<BR>Sent:
Thu Aug 03 15:58:50 2006<BR>To: Asterisk Users
Mailing List - Non-Commercial
Discussion<BR>Subject: 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>><BR>> <-- SIP read
from xxx.yyy.142.162:5060:<BR>> INVITE
sip:9220370@labpbx2.ipt.twoeighty.com SIP/2.0<BR>> Via: SIP/2.0/UDP
xxx.yyy.142.162:5060;branch=z9hG4bK047028fa;rport<BR>> From: "Chocolate
Chip" <sip:3254101@xxx.yyy.142.162>;tag=as34445cb0<BR>> To:
<sip:9220370@labpbx2.ipt.twoeighty.com><BR>> Contact:
<sip:3254101@xxx.yyy.142.162><BR>> Call-ID:
7ca53bec20139d6a305b54936921b0ab@xxx.yyy.142.162<BR>> CSeq: 103
INVITE<BR>> User-Agent: Asterisk PBX<BR>> Max-Forwards: 70<BR>>
Remote-Party-ID: "Chocolate Chip"<BR>>
<sip:3254101@xxx.yyy.142.162>;privacy=off;screen=no<BR>>
Proxy-Authorization: Digest username="dundisip2",<BR>>
realm="ipt.twoeighty.com", algorithm=MD5,<BR>>
uri="sip:9220370@labpbx2.ipt.twoeighty.com",<BR>>
nonce="012b66e9",<BR>> response="bd5b3881afd0bdb827915a9eeb97dcd8",
opaque=""<BR>> Date: Thu, 03 Aug 2006 19:52:26 GMT<BR>> Allow: INVITE,
ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY<BR>> Content-Type:
application/sdp<BR>> Content-Length: 269<BR>><BR>> v=0<BR>>
o=root 16558 16559 IN IP4 xxx.yyy.142.162<BR>> s=session<BR>> c=IN IP4
xxx.yyy.142.162<BR>> t=0 0<BR>> m=audio 28454 RTP/AVP 0 18 101<BR>>
a=rtpmap:0 PCMU/8000<BR>> a=rtpmap:18 G729/8000<BR>> a=fmtp:18
annexb=no<BR>> a=rtpmap:101 telephone-event/8000<BR>> a=fmtp:101
0-16<BR>> 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> <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. </BLOCKQUOTE></BODY></HTML>