Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196163 Details for
Bug 275394
Asterisk DNS Manager fails on registrations with asterisk 1.6.1.0 and above
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Asterisk 1.6.1.1 rebase
chan_sip_1.6.1.1.patch (text/plain), 983 bytes, created by
Federico Santulli
on 2009-06-30 15:04:22 UTC
(
hide
)
Description:
Asterisk 1.6.1.1 rebase
Filename:
MIME Type:
Creator:
Federico Santulli
Created:
2009-06-30 15:04:22 UTC
Size:
983 bytes
patch
obsolete
>--- ./asterisk-1.6.1.1.orig/channels/chan_sip.c 2009-04-20 19:08:26.000000000 +0200 >+++ ./asterisk-1.6.1.1/channels/chan_sip.c 2009-06-30 17:00:46.713621713 +0200 >@@ -9969,6 +9969,7 @@ > char tmp[80]; > char addr[80]; > struct sip_pvt *p; >+ struct sip_peer *peer; > int res; > char *fromdomain; > >@@ -9982,8 +9983,12 @@ > > if (r->dnsmgr == NULL) { > char transport[MAXHOSTNAMELEN]; >+ peer = find_peer(r->hostname, NULL, TRUE, FINDPEERS, FALSE); > snprintf(transport, sizeof(transport), "_sip._%s", get_transport(r->transport)); /* have to use static get_transport function */ >- ast_dnsmgr_lookup(r->hostname, &r->us, &r->dnsmgr, global_srvlookup ? transport : NULL); >+ ast_dnsmgr_lookup(peer ? peer->tohost : r->hostname, &r->us, &r->dnsmgr, sip_cfg.srvlookup ? transport : NULL); >+ if (peer) { >+ unref_peer(peer, "removing peer ref for dnsmgr_lookup"); >+ } > } > > if (r->call) { /* We have a registration */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275394
:
195749
|
195830
|
196163
|
196166