[asterisk-users] Re: DUNDi with SIP
Douglas Garstang
dgarstang at oneeighty.com
Thu Aug 3 13:17:30 MST 2006
*scream* I just got it to work with this...
180netsip => global_dundi_local,0,SIP,dundisip1/${NUMBER},nopartial
180netsip => global_dundi_local,0,SIP,dundisip2/${NUMBER},nopartial
[dundisip1]
type=friend
secret=password
insecure=very
context=global_dundi_local
host=labpbx1.ipt.oneeighty.com
qualify=no
username=dundisip1
fromuser=dundisip1
[dundisip2]
type=friend
secret=password
insecure=very
context=global_dundi_local
host=labpbx2.ipt.oneeighty.com
qualify=no
username=dundisip2
fromuser=dundisip2
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?
Doug.
-----Original Message-----
From: Watkins, Bradley [mailto:Bradley.Watkins at compuware.com]
Sent: Thursday, August 03, 2006 2:06 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] Re: DUNDi with SIP
I forget if this does what you want, but try adding a fromuser setting to yoyr peer entries.
- Brad
-----Original Message-----
From: Douglas Garstang [ mailto:dgarstang at oneeighty.com]
Sent: Thu Aug 03 15:58:50 2006
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] Re: DUNDi with SIP
Brad...
Here's the INVITE that the second asterisk box receives from
the first Asterisk box, after the second asterisk box sends a
Proxy auth message to the first. The first sends the dundisip
userid, but for some reason the second asterisk box is
matching it against the From: 3254101 address. Do I need more
than just the two sip.conf entries, dundisip, and dundisip2
as type=peer?
Anyone?
Doug.
>
> <-- SIP read from xxx.yyy.142.162:5060:
> INVITE sip:9220370 at labpbx2.ipt.twoeighty.com SIP/2.0
> Via: SIP/2.0/UDP xxx.yyy.142.162:5060;branch=z9hG4bK047028fa;rport
> From: "Chocolate Chip" <sip:3254101 at xxx.yyy.142.162>;tag=as34445cb0
> To: <sip:9220370 at labpbx2.ipt.twoeighty.com>
> Contact: <sip:3254101 at xxx.yyy.142.162>
> Call-ID: 7ca53bec20139d6a305b54936921b0ab at xxx.yyy.142.162
> CSeq: 103 INVITE
> User-Agent: Asterisk PBX
> Max-Forwards: 70
> Remote-Party-ID: "Chocolate Chip"
> <sip:3254101 at xxx.yyy.142.162>;privacy=off;screen=no
> Proxy-Authorization: Digest username="dundisip2",
> realm="ipt.twoeighty.com", algorithm=MD5,
> uri="sip:9220370 at labpbx2.ipt.twoeighty.com",
> nonce="012b66e9",
> response="bd5b3881afd0bdb827915a9eeb97dcd8", opaque=""
> Date: Thu, 03 Aug 2006 19:52:26 GMT
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Content-Type: application/sdp
> Content-Length: 269
>
> v=0
> o=root 16558 16559 IN IP4 xxx.yyy.142.162
> s=session
> c=IN IP4 xxx.yyy.142.162
> t=0 0
> m=audio 28454 RTP/AVP 0 18 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:18 G729/8000
> a=fmtp:18 annexb=no
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=silenceSupp:off - - - -
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060803/9ef48891/attachment.htm
More information about the asterisk-users
mailing list