Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 195749 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]
fix to transmit_register function
chan_sip_bug_15052.patch (text/plain), 860 bytes, created by
Federico Santulli
on 2009-06-25 13:15:04 UTC
(
hide
)
Description:
fix to transmit_register function
Filename:
MIME Type:
Creator:
Federico Santulli
Created:
2009-06-25 13:15:04 UTC
Size:
860 bytes
patch
obsolete
>--- asterisk-trunk.orig/channels/chan_sip.c 2009-06-25 14:31:52.041767553 +0200 >+++ asterisk-trunk/channels/chan_sip.c 2009-06-25 14:34:35.964266466 +0200 >@@ -11396,6 +11396,7 @@ > char tmp[80]; > char addr[80]; > struct sip_pvt *p; >+ struct sip_peer *peer; > int res; > char *fromdomain; > char *domainport = NULL; >@@ -11410,8 +11411,9 @@ > > 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, sip_cfg.srvlookup ? transport : NULL); >+ ast_dnsmgr_lookup(peer ? peer->tohost : r->hostname, &r->us, &r->dnsmgr, sip_cfg.srvlookup ? transport : NULL); > } > > 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